Linux - SoftwareThis 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.
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.
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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
....
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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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 ?
....
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.
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.