LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-26-2008, 09:43 AM   #1
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Rep: Reputation: 15
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.
 
Old 12-26-2008, 12:54 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
....
 
Old 12-26-2008, 01:21 PM   #3
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
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 View Post
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 View Post
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
 
Old 12-26-2008, 04:06 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
1)
Quote:
g++: command not found
g++ is provided by package 'gcc-c++'

2) Please do 'su' before 'alien ... '

Last edited by knudfl; 12-26-2008 at 04:08 PM.
 
Old 12-27-2008, 02:31 AM   #5
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
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 View Post
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..
 
Old 12-27-2008, 01:43 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 ?
....
 
Old 12-29-2008, 03:05 AM   #7
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
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,
 
Old 12-31-2008, 04:08 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#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.
 
Old 01-01-2009, 09:45 AM   #9
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Thumbs up

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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling GoatTracker / making c64 music jjonas Linux - Software 6 05-12-2018 03:34 AM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration