skinny honkie
July 29th, 2008, 05:33 AM
So I came across a need for this app. (http://www.fudgie.org/gltrail.html) As it isn't in the official repos for gutsy or hardy, I pull down the source from here (http://github.com/Fudge/gltrail/tree/master) and RTFM.
The first command (sudo apt-get install qt4-dev-tools) brings about the notification that qmake is available in the libqt4-dev package, which I go and install (it ends up in /usr/bin). I then proceed to step 2, wherein I cd to the dir of the extracted source and run: (qmake -unix -recursive -o Makefile gltrail.pro && make)
Which gives me the following output:
Reading /home/skinny/Desktop/gltrail/src/src.pro
cd src/ && make -f Makefile
make[1]: Entering directory `/home/skinny/Desktop/gltrail/src'
g++ -o ../bin/gltrail main.o activity.o element.o textured_element.o window.o glwidget.o background_updater.o input.o ssh.o digg.o twitter.o moc_window.o moc_glwidget.o moc_background_updater.o moc_ssh.o moc_digg.o moc_twitter.o -L/usr/lib -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
/usr/bin/ld: cannot open output file ../bin/gltrail: Permission denied
collect2: ld returned 1 exit status
make[1]: *** [../bin/gltrail] Error 1
make[1]: Leaving directory `/home/skinny/Desktop/gltrail/src'
make: *** [sub-src-make_default] Error 2
I've tried a few different things to sort this out, from various things I've found about qmake on this forum, but I'd be interested to know if anyone else has any knowledge they could impart.
Cheers!
The first command (sudo apt-get install qt4-dev-tools) brings about the notification that qmake is available in the libqt4-dev package, which I go and install (it ends up in /usr/bin). I then proceed to step 2, wherein I cd to the dir of the extracted source and run: (qmake -unix -recursive -o Makefile gltrail.pro && make)
Which gives me the following output:
Reading /home/skinny/Desktop/gltrail/src/src.pro
cd src/ && make -f Makefile
make[1]: Entering directory `/home/skinny/Desktop/gltrail/src'
g++ -o ../bin/gltrail main.o activity.o element.o textured_element.o window.o glwidget.o background_updater.o input.o ssh.o digg.o twitter.o moc_window.o moc_glwidget.o moc_background_updater.o moc_ssh.o moc_digg.o moc_twitter.o -L/usr/lib -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
/usr/bin/ld: cannot open output file ../bin/gltrail: Permission denied
collect2: ld returned 1 exit status
make[1]: *** [../bin/gltrail] Error 1
make[1]: Leaving directory `/home/skinny/Desktop/gltrail/src'
make: *** [sub-src-make_default] Error 2
I've tried a few different things to sort this out, from various things I've found about qmake on this forum, but I'd be interested to know if anyone else has any knowledge they could impart.
Cheers!