trishume / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

Build 'make' issue #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo make (didn't work without sudo, because, it cannot create a directory: 
/home/simmer/

What is the expected output? What do you see instead?
Ordinary 'make' output.

Instead:

test -z "/home/simmer/ltr/lib/linuxtrack" || /bin/mkdir -p 
"/home/simmer/ltr/lib/linuxtrack"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libltr.la libmacwii.la libwii.la libwc.la libtir.la libltusb1.la '/home/simmer/ltr/lib/linuxtrack'
libtool: install: /usr/bin/install -c .libs/libltr.so.0.0.0 
/home/simmer/ltr/lib/linuxtrack/libltr.so.0.0.0
libtool: install: (cd /home/simmer/ltr/lib/linuxtrack && { ln -s -f 
libltr.so.0.0.0 libltr.so.0 || { rm -f libltr.so.0 && ln -s libltr.so.0.0.0 
libltr.so.0; }; })
libtool: install: (cd /home/simmer/ltr/lib/linuxtrack && { ln -s -f 
libltr.so.0.0.0 libltr.so || { rm -f libltr.so && ln -s libltr.so.0.0.0 
libltr.so; }; })
libtool: install: /usr/bin/install -c .libs/libltr.lai 
/home/simmer/ltr/lib/linuxtrack/libltr.la
libtool: install: error: cannot install `libmacwii.la' to a directory not 
ending in /usr/local/lib/linuxtrack
make[3]: *** [install-pkglibLTLIBRARIES] Error 1
make[3]: Leaving directory 
`/home/tpr0/Desktop/linuxtrack-wine-0.1-bin/XLinuxTracker/linux-track-read-only/
src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/home/tpr0/Desktop/linuxtrack-wine-0.1-bin/XLinuxTracker/linux-track-read-only/
src'
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/home/tpr0/Desktop/linuxtrack-wine-0.1-bin/XLinuxTracker/linux-track-read-only/
src'
make: *** [install-recursive] Error 1

What version of the product are you using? On what operating system?
Latest, Ubuntu 11.04 (latest,Date)

Please provide any additional information below.

Followed the instruction carefully, faced some problems. Please forgive me if i 
was a noob, i really need your help... 

Thank you so much!

Original issue reported on code.google.com by Talal.m...@gmail.com on 9 Oct 2011 at 4:58

GoogleCodeExporter commented 9 years ago
Hi,
the /home/simmer directory was only an example - it can be any directory at 
all...
Also with usage of --prefix in the configure step, if you select a directory 
where you have the write access (like your home directory), you should not use 
sudo at all.

So whenever you see /home/simmer, just use your home directory and you should 
be good to go.
Good luck and let me know if you have any other problems...
Kind regards,

Michal

Original comment by f.jo...@email.cz on 10 Oct 2011 at 6:30

GoogleCodeExporter commented 9 years ago
By the way, are you using 32 or 64 bit ubuntu?
The thing is, if you are using 32 bit one, I can provide you with packages, so 
you wouldn't need to compile anything.
Kind regards,

Michal

PS. Those packages are "experimental" (meaning noone but me tried them yet), 
but they should work.

Original comment by f.jo...@email.cz on 10 Oct 2011 at 7:24

GoogleCodeExporter commented 9 years ago
Thank you so much for this quick response! (Sorry for the late response)  I'm 
using a 64-bit OS, sorry i didn't supply this info in the issue, dummy 
routine... And, i will try this on a 32-bit virtual environment while you 
supply the packages if necessarily... I'll also try again, and let you know...

Thanks again,
Regards,

Talal  

Original comment by Talal.m...@gmail.com on 12 Oct 2011 at 6:29

GoogleCodeExporter commented 9 years ago
EDIT: I don't have the 32-bit virtualized env. now. However, tried the --prefix 
method, still the same error, i guess this issue is related to this problem, 
not to right access. " 

libtool: install: /usr/bin/install -c .libs/libltr.so.0.0.0 
/home/tpr0/lib/linuxtrack/libltr.so.0.0.0
libtool: install: (cd /home/tpr0/lib/linuxtrack && { ln -s -f libltr.so.0.0.0 
libltr.so.0 || { rm -f libltr.so.0 && ln -s libltr.so.0.0.0 libltr.so.0; }; })
libtool: install: (cd /home/tpr0/lib/linuxtrack && { ln -s -f libltr.so.0.0.0 
libltr.so || { rm -f libltr.so && ln -s libltr.so.0.0.0 libltr.so; }; })
libtool: install: /usr/bin/install -c .libs/libltr.lai 
/home/tpr0/lib/linuxtrack/libltr.la
libtool: install: error: cannot install `libmacwii.la' to a directory not 
ending in /usr/local/lib/linuxtrack
make[3]: *** [install-pkglibLTLIBRARIES] Error 1
make[3]: Leaving directory 
`/home/tpr0/Desktop/linuxtrack-wine-0.1-bin/XLinuxTracker/linux-track-read-only/
src'

"

Thanks,
Talal

Original comment by Talal.m...@gmail.com on 12 Oct 2011 at 6:57

GoogleCodeExporter commented 9 years ago
EDIT: Sorry for the several replies, but it worked after doing 'make clean' 
before './configure --prefix=/home/urs'.

Thanks again for your support, hope this is helpful for future issues...

Talal

Original comment by Talal.m...@gmail.com on 12 Oct 2011 at 7:19

GoogleCodeExporter commented 9 years ago
Thanks for the info - I'm glad you made it working...
I'll close this issue then.
Kind regards,

Michal

Original comment by f.jo...@email.cz on 12 Oct 2011 at 10:07