Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Beginners Guide To Loading Tgz Please!


  • Please log in to reply
11 replies to this topic

#1 Tradesman

Tradesman

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 03 January 2007 - 09:16 AM

Im using mandriva- could be any linux distro but have come up to a stumbling block.

Could anyone add a step by step guide to installing a programme to root!

I've downloaded one and have the source files and a tgz - both unzipped into their own folders.

but Im at a loss as what to do next.

in windblows you would just double click and off it would go!!

obvioulsy this is a step that needs a bit of work

should we and could we do it from root!

BC AdBot (Login to Remove)

 


#2 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:10:24 PM

Posted 03 January 2007 - 10:42 AM

Some packages you do as root, others you do in the user account you want to use it.

As far as installing something, you should have urpmi with RPMDrak in your control center ( I think it's called drakxtools...I could be wrong). Be sure the package you want isn't all ready there before trying a manual install. You will find the power and selectablility easily rivals, if not surpasses windows for control.

The truth is, windows installer is one of the best installation programs around. It's made it so easy...well, you've all ready pointed that out.

Anyway, linux does it this way because it gives the user 100% control of what is or isn't installed.

Have a look here.
Though, admittedly, I haven't been through those in a while, it should have what you need, + a whole lot of other useful stuff.

Also, get yourself to a Mandriva forum! Like this one.

I've said it a million times be for and I will keep on saying it. If people put the same effort into learning linux they did with windows, they'll be zooming along in no time! You'll do fine and have fun along the way.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#3 Tradesman

Tradesman
  • Topic Starter

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 05 January 2007 - 06:31 AM

I think I will have to read some more infoprmation on drakxtools.

Ive tried copying and pasting a text file which started looking like it was compiling someting. Im so used to laoding files from the desktop that this might be my error.
heres the text I ooaded into the console as root-

# Project: gostan
# Makefile created by Dev-C++ 4.9.9.2

CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
OBJ = src/main.o src/datastruct.o src/file.o src/controller.o src/misc.o src/dialogCtrl.o src/modalDialog.o src/addRound.o src/addCourse.o src/canvas.o src/wincreater.o src/winregistrer.o src/callback.o src/DataGrid.o src/splash.o src/menu.o src/tools.o src/childWindowLeft.o src/childWindowRight.o src/ghelp.o
LINKOBJ = src/main.o src/datastruct.o src/file.o src/controller.o src/misc.o src/dialogCtrl.o src/modalDialog.o src/addRound.o src/addCourse.o src/canvas.o src/wincreater.o src/winregistrer.o src/callback.o src/DataGrid.o src/splash.o src/menu.o src/tools.o src/childWindowLeft.o src/childWindowRight.o src/ghelp.o
LIBS = -mwindows -g3
INCS =
CXXINCS =
BIN = gostan.exe
CXXFLAGS = $(CXXINCS) -g3
CFLAGS = $(INCS) -g3
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before gostan.exe all-after


clean: clean-custom
${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "gostan.exe" $(LIBS)

src/main.o: src/main.cpp
$(CPP) -c src/main.cpp -o src/main.o $(CXXFLAGS)

src/datastruct.o: src/datastruct.cpp
$(CPP) -c src/datastruct.cpp -o src/datastruct.o $(CXXFLAGS)

src/file.o: src/file.cpp
$(CPP) -c src/file.cpp -o src/file.o $(CXXFLAGS)

src/controller.o: src/controller.cpp
$(CPP) -c src/controller.cpp -o src/controller.o $(CXXFLAGS)

src/misc.o: src/misc.cpp
$(CPP) -c src/misc.cpp -o src/misc.o $(CXXFLAGS)

src/dialogCtrl.o: src/dialogCtrl.cpp
$(CPP) -c src/dialogCtrl.cpp -o src/dialogCtrl.o $(CXXFLAGS)

src/modalDialog.o: src/modalDialog.cpp
$(CPP) -c src/modalDialog.cpp -o src/modalDialog.o $(CXXFLAGS)

src/addRound.o: src/addRound.cpp
$(CPP) -c src/addRound.cpp -o src/addRound.o $(CXXFLAGS)

src/addCourse.o: src/addCourse.cpp
$(CPP) -c src/addCourse.cpp -o src/addCourse.o $(CXXFLAGS)

src/canvas.o: src/canvas.cpp
$(CPP) -c src/canvas.cpp -o src/canvas.o $(CXXFLAGS)

src/wincreater.o: src/wincreater.cpp
$(CPP) -c src/wincreater.cpp -o src/wincreater.o $(CXXFLAGS)

src/winregistrer.o: src/winregistrer.cpp
$(CPP) -c src/winregistrer.cpp -o src/winregistrer.o $(CXXFLAGS)

src/callback.o: src/callback.cpp
$(CPP) -c src/callback.cpp -o src/callback.o $(CXXFLAGS)

src/DataGrid.o: src/DataGrid.cpp
$(CPP) -c src/DataGrid.cpp -o src/DataGrid.o $(CXXFLAGS)

src/splash.o: src/splash.cpp
$(CPP) -c src/splash.cpp -o src/splash.o $(CXXFLAGS)

src/menu.o: src/menu.res
$(WINDRES) -i src/menu.res -o src/menu.o

src/childWindowLeft.o: src/childWindowLeft.cpp
$(CPP) -c src/childWindowLeft.cpp -o src/childWindowLeft.o $(CXXFLAGS)

src/childWindowRight.o: src/childWindowRight.cpp
$(CPP) -c src/childWindowRight.cpp -o src/childWindowRight.o $(CXXFLAGS)

src/tools.o: src/tools.cpp
$(CPP) -c src/tools.cpp -o src/tools.o $(CXXFLAGS)

src/ghelp.o: src/ghelp.cpp
$(CPP) -c src/ghelp.cpp -o src/ghelp.o $(CXXFLAGS)

however it bash the CXXFLAGS as note found and -C!

what did I miss???

#4 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:24 PM

Posted 07 January 2007 - 04:14 PM

What program is it you are trying to compile?
WINDRES = windres.exe <== Looks like a Windows executable, which
will not compile on a Linux machine.
I see '# Project: gostan' and a quick Google search shows that to be
a Golf Stat Analyzer for Windows.
Please provide more info.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#5 Tradesman

Tradesman
  • Topic Starter

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 08 January 2007 - 06:50 AM

yep its a golf stroke handicap that I found on sourceforge.net

#6 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:10:24 PM

Posted 08 January 2007 - 10:45 AM

just because it's on sourceforge doeesn't mean it's for linux. SF supports developement under the GPL. This could be any OS comatible software, proveded it's open source. The thing you have to watch for is this:

[quote] GOSTAN: GOlf STatistical ANalyzer. Generates, outputs and displayes a golfers statistics over played rounds. Simple but functional golfer tool. This tool is a golf freeware program licensed under GPL.
Download gostan

Project Admins: pudas
Operating System: 32-bit MS Windows (NT/2000/XP)<================Looky here!
License: GNU General Public License (GPL)
Category: Other/Nonlisted Topic
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#7 Tradesman

Tradesman
  • Topic Starter

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 08 January 2007 - 11:23 AM

what a prize plank!!!!!!!!!!!!!!!!!!!!

sorry

found a linux one here http://linux.softpedia.com/progSearch

so will have a go at that

alos found lots on RPM to digest

cant find much on drakxtools - mandriva's website shows no attachment for the documentation

#8 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:10:24 PM

Posted 08 January 2007 - 02:30 PM

fear not!

The man pages (which you will find in the installation directory) will explain a lot esp. command structure)

Additionally, look for the documentation or help which is usually located in your task bar somewhere...unless you have a traditional linux setup...then you have to look for documentation in the installation directory as well. Usually you can find this in /usr/share/"name of application"
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#9 Tradesman

Tradesman
  • Topic Starter

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 09 January 2007 - 04:57 AM

Ive installed golftracker-0.6.4 using ./configure
make
make install
and can see the folder under home

i had to urmpi additional python components

cant get it to run though???

#10 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:10:24 PM

Posted 09 January 2007 - 05:21 AM

look in the directory you untgz'd to. There should be about 3 (at least text files. One will be a credits sort of one and possibly run down some version changes. Another should be the man page and another should be installation instructions.

Show us your out-put on the ./configure and make install (don't fear the make clean either). Be carefull after you unpack it as well. I believe Mandriva uses RPM. There's loads of others out there, make sure you have the right file for your distro.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#11 Tradesman

Tradesman
  • Topic Starter

  • Members
  • 75 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:just outside london
  • Local time:09:24 PM

Posted 09 January 2007 - 07:21 AM

there are plenty of text files, I suspect the python icon is the run program, Im looking for a linux equiv of windows .exe. Are there any basics to look for?
From digging about I think it trys to place an icon on the desktop ( by wathcing the scrip do its bizness) but cant see it. there is an icon folder with png ico etcetc
The only thing I can think is that I didnt download - or place the python prgramme correctly

ill send the dump later, linux on the pc- work wont rick it on my laptop

#12 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:24 PM

Posted 10 January 2007 - 05:57 PM

Even though MDK uses RPM for packages it is possible to compile
from source.
After untarring the archive: tar zxvf filename.tgz
you should have the filename directory. cd into the new directory and
look for these two files - README & INSTALL
Most common commands next are ./configure, make, make install
You don't really need to 'make install' if you don't want to use the
program system wide. After the make command you should have a 'bin'
directory in your new programs directory and you can cd into bin and execute the program directly.
./programname
Sorry I'm not a linux machine to download that program and help you through it, but that should get you going.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users