Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-26-2008, 09:43 AM
|
#1
|
Member
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80
Rep:
|
Installing GoatTracker
Hello,
I'm trying to install GoatTracker 2.67 from source (no rpm's are available). It's not working, I don't know why.
The readme.txt tells me:
To recompile for Linux, use src/makefile.
In both cases you need the SDL development libraries in addition to the SDL
runtime, see http://www.libsdl.org.
Compile first the utilities (datafile & dat2inc) from the src/bme directory, and place them to your path.
I think I've managed to compile the mentioned datafile and dat2inc, or at least they turned up in the bme directory after make. However, I'm not quite sure what it means to "place them in your path". I tried googling for what this means, but the instructions didn't seem to help.
I placed the /usr/share/goattracker/bme on root's path by editing root's .bash_profile thus: "export PATH=$PATH:/usr/share/goattracker/bme", but it's seems to do nothing (even after relogging in).
(Instructions from http://www.linuxheadquarters.com/howto/basic/path.shtml)
What should I do..? Trying to make at the goattracker dir produces this:
datafile gt2stereo.dat gt2stereo.seq
make: datafile: Command not found
make: *** [gt2stereo.dat] Error 127
Thanks.
|
|
|
12-26-2008, 12:54 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Mandriva 2008.1
Your path is the output of this command :
'echo $PATH' so executables are recommended
to be copied to /usr/local/bin/
( root has nothing to do with this, programs are
meant to be run as user, root is for administration
only ).
The 2 files 'dat2inc' and 'datafile' are command
line tools : cp to /usr/local/bin/ and try them.
The main executable is ///linux/goattrk2, also
cp this ( and the other tools ) to /usr/local/bin/
You will probably find out, how they work .....
( goattrk2 will open a GUI )
Also consider trying the package for Debian
http://debian.cs.binghamton.edu/debi...g/goattracker/
which can be converted to 'rpm' with
# 'alien -r goattracker_2.67-1_i386.deb'
( first do # 'urpmi alien dpkg' to have alien )
The result goattracker-2.67-2.i386.rpm will also
install a 'Desktop Entry' in the Menu.
....
|
|
|
12-26-2008, 01:21 PM
|
#3
|
Member
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Mandriva 2008.1
The 2 files 'dat2inc' and 'datafile' are command
line tools : cp to /usr/local/bin/ and try them.
|
That worked to some extent.. (see below)
Quote:
Originally Posted by knudfl
The main executable is ///linux/goattrk2, also
cp this ( and the other tools ) to /usr/local/bin/
You will probably find out, how they work .....
( goattrk2 will open a GUI )
|
I didn't get this far though, now after 'make' it works away longer than last time, but then it says:
/bin/sh: g++: command not found
make: *** [gsid.o] Error 127
What should be done..?
Quote:
Originally Posted by knudfl
Also consider trying the package for Debian
http://debian.cs.binghamton.edu/debi...g/goattracker/
which can be converted to 'rpm' with
# 'alien -r goattracker_2.67-1_i386.deb'
( first do # 'urpmi alien dpkg' to have alien )
The result goattracker-2.67-2.i386.rpm will also
install a 'Desktop Entry' in the Menu.
....
|
Tried the alien command (after installing it), but rpmbuild failed.. error output gave a lot of File not found stuff, like this:
error: File not found: /var/tmp/goattracker-2.67-2-buildroot
error: File not found: /var/tmp/goattracker-2.67-2-buildroot/usr
error: File not found: /var/tmp/goattracker-2.67-2-buildroot/usr/bin
|
|
|
12-26-2008, 04:06 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
1) g++ is provided by package 'gcc-c++'
2) Please do 'su' before 'alien ... '
Last edited by knudfl; 12-26-2008 at 04:08 PM.
|
|
|
12-27-2008, 02:31 AM
|
#5
|
Member
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
1) g++ is provided by package 'gcc-c++'
|
I already have that installed, I don't know why it's not found.
Quote:
Originally Posted by knudfl
2) Please do 'su' before 'alien ... '
|
Didn't help, it's the same error output.
I installed Wine and ran the Win32 version of GoatTracker, which seems to be working. So the problem is kind of "solved" now.. thanks..
|
|
|
12-27-2008, 01:43 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
1) The link g++ is missing :
# 'cd /usr/bin/' .. 'ln -s c++ g++'
2) I don't know, why it happens, but try a workaround :
extract the .deb package, rename 'data.tar.gz' to
'goattracker-2.67.tgz' and convert with # alien -r,
may be it works this time ?
....
|
|
|
12-29-2008, 03:05 AM
|
#7
|
Member
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
1) The link g++ is missing :
# 'cd /usr/bin/' .. 'ln -s c++ g++'
|
It works a bit further now, but the next error msg is:
/usr/bin/ld: cannot open output file ../linux/gt2stereo: No such file or directory
collect2: ld returned 1 exit status
make: *** [../linux/gt2stereo] Error 1
I don't know which directory it tries to look for because it's abbreviated. However, locate shows that anything with "gt2stereo" in it are to be found only in the /usr/share/goattracker directory where the sources are.
Thanks again,
|
|
|
12-31-2008, 04:08 PM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
#1
Quote:
datafile gt2stereo.dat gt2stereo.seq
|
#7
Quote:
../linux/gt2stereo: No such file or directory
|
I do not have these files. Where did you get the
GoatTracker 2.67 source code ???
Please provide a link to the file.
I have used 'goattracker_2.67.orig.tar.gz' from
http://packages.debian.org/sid/goattracker
....
Last edited by knudfl; 12-31-2008 at 04:10 PM.
|
|
|
01-01-2009, 09:45 AM
|
#9
|
Member
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl;3392910 I do not have these files. Where did you get the
GoatTracker 2.67 source code ???
Please provide a link to the file.
I have used 'goattracker_2.67.orig.tar.gz' from
[url
http://packages.debian.org/sid/goattracker[/url]
....
|
I got it from the author's homepage:
http://cadaver.homeftp.net/tools/gt2stereo.zip
But I solved the problem now. The problem was that out the .zip contents, I didn't extract the empty directory ../linux to my /usr/share/goattracker, where I tried to make the thing. Once I extracted everything in the zip and then after making bme, the make worked out just fine.
Thanks for your help, I don't think I would have had the perseverance otherwise!
|
|
|
All times are GMT -5. The time now is 08:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|