 |
forums.xandros.com Xandros User Forums
|
| View previous topic :: View next topic |
| Author |
Message |
Clancy Xandrosianding

Joined: 01 Mar 2004 Posts: 902 Location: NSW, Oz
|
Posted: Wed Oct 31, 2007 8:32 pm Post subject: |
|
|
I decided that installing libprojectM 1.01 was getting too hard, so went with 0.99 for my first attempt. Since checkinstall didn't work for you I used
| Code: | ./configure
make (su)
make install |
Which ran without errors and resulted in various projectM directories under /usr/local, but nothing in Amarok. On a hunch and because the visualisations listed in Amarok by XOS default are all under xmms I decided to try and install xmms-projectM-0.99. The first time I tried
it failed with a message about needing sdl-dev. I installed libsdl-dev from Xos main using XN. The next time xmms-projectM-0.99 compiled without any problems using
| Code: | ./configure
make (su)
make install |
Now projectM shows up as an option under the xmms visualisation plugins. I didn't get time to check Amarok. It doesn't run when selected but that doesn't mean anything as the laptop I use as a test machine has an old videocard and can't run milkdrop under windows either. Next I'll try the projectM install on my desktop that can run milkdrop and see how it goes there. It might take me a week or too to get to it since that machine is used a lot more, I'll post back here with the results when it's done. _________________ (expert with questions)
I'm a girl, ask me how. |
|
| Back to top |
|
 |
jimallyn Site Admin

Joined: 31 Jan 2003 Posts: 8195 Location: Wenatchee, Washington, USA
|
Posted: Wed Oct 31, 2007 11:49 pm Post subject: |
|
|
Hey, sounds like it's going to work! Cool. Keep me informed.
Jim _________________ I refuse to live in a country like this - and I'm not leaving. - Michael Moore |
|
| Back to top |
|
 |
Clancy Xandrosianding

Joined: 01 Mar 2004 Posts: 902 Location: NSW, Oz
|
Posted: Sat Nov 10, 2007 10:11 pm Post subject: |
|
|
Alas, this is following the 'nothing is ever simple' rule. In short - I got libprojectM-0.99 compiled after a fight with make then xmms-projectM-0.99 and xmms-projectM-pbuffers-0.99 with no trouble but I can't get libvisual-projectM-0.99 past make. So far I've not been able to get projectM to do anything and real life calls - I plan on trying some more things next weekend.
In detail in case someone else has similar problems with make, since they probably weren't specific to projectM:
I installed the 2 libvisual debs then used XN with xandros main and unsupported to install libgl-dev, ftgl-dev and libsdl-dev. Then I extracted the libprojectM 0.99 tarball, changed to it's directory and ran ./configure, which seemed to go OK .
Then I ran make which terminated with the following message:
| Quote: | al_anna@home:~/My Documents/anna/debs/projectM/libprojectM-0.99$ make
cd . && autoheader
/bin/sh: line 1: autoheader: command not found
make: *** [config.h.in] Error 127
al_anna@home:~/My Documents/anna/debs/projectM/libprojectM-0.99$ |
I repeated the extract ./configure steps, the problem recurred.
Google suggests that error 127 in make means a problem with the C++ compiler.
I had the C/C++, Debian and KDE development packages from Xandros installed and I added the kernel headers in case that helped - still no joy, despite make working fine on my laptop with only those tools installed .
So I used XN to uninstall then reinstall them, added the smp as well as the uni headers and the TCL/TK development tools just because they were there, then reran make on libprojectM-0.99.
No joy.
After a bit more fruitless fiddling around with C++, and since make was complaining about autoheader I used XN to search for autoheader. With just the Xandros sites enabled the only thing it found was autoconf2.13 which XN identifies as an obsolete automatic configure script builder. I installed it just in case: make then ran successfully, as did make install.
I certainly didn't have to install autoconf seperately on my laptop, it's currently travelling with my partner, I'll check when he gets back to see if it installed when I wasn't looking.
Anyhow, I then compiled xmms-projectM-0.99 and xmms-projectM-pbuffers-0.99 with no trouble, and projectM shows up as an option in xmms visualisations but xmms crashed when I tried to run it. When I have more time I'll try running it from a console and see if it generates any error messages.
projectM also shows up in Amarok's list of xmms visualisations but Amarok won't let me select it (I click the box and the check mark appears then vanishes). To run projectM in Amarok directly one needs to compile libvisual-projectM. I ran ./configure OK for libvisual-projectM-0.99 but make failed with this message:
| Quote: | al_anna@home:~/My Documents/anna/debs/projectM/libvisual-projectM$ make
make all-am
make[1]: Entering directory `/home/al_anna/My Documents/anna/debs/projectM/libvisual-projectM'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I . -I/usr/include -I/usr/include/libvisual-0.4 -DLINUX -g -O2 -MT actor_projectM.lo -MD -MP -MF ".deps/actor_projectM.Tpo" -c -o actor_projectM.lo actor_projectM.c; \
then mv -f ".deps/actor_projectM.Tpo" ".deps/actor_projectM.Plo"; else rm -f ".deps/actor_projectM.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include -I/usr/include/libvisual-0.4-DLINUX -g -O2 -MT actor_projectM.lo -MD -MP -MF .deps/actor_projectM.Tpo -c actor_projectM.c -fPIC -DPIC -o .libs/actor_projectM.o
/bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/libvisual-0.4-DLINUX -g -O2 -o actor_projectM.la -rpath /usr/lib/libvisual-0.4/actor -module - avoid-version actor_projectM.lo -L. -L/usr/local/lib -lpthread -lm -ldl -lvisual-0.4 -lGLU -lGL -lfreetype -lz -lftgl -lprojectM -lGL -lGLU
libtool: link: cannot find the library `'
make[1]: *** [actor_projectM.la] Error 1
make[1]: Leaving directory `/home/al_anna/My Documents/anna/debs/projectM/libvisual-projectM'
make: *** [all] Error 2
al_anna@home:~/My Documents/anna/debs/projectM/libvisual-projectM$ |
It seems the problem is make can't find the
which is too oblique for me today. I'll google it another day, any suggestion as to the problem and fix gratefully accepted.
Luckily this is something I'd like but don't need - it's proving very educational. I'll pursue it further another day.
Anna
eta: the problem may also be that I don't have the latest drivers for my nvidia geforce 400. I know the latest nvidia drivers on the xandros site cause my system to be unbootable, I'll try the ones from redrum when I get to play with this some more.
eta 16/11. On reflection it shouldn't be the video drivers, since this is a middle-aged card and both Google Earth and the openGL screen savers work fine. I've put this on hold for the moment since we this desktop is our everyday workhorse and the last time I tried to install the new nvidia drivers supplied by Xandros I couldn't even get to the boot menu and had to stop everything 'til I'd done a reinstall. I don't feel like doing that between now and Christmas, which is the busiest time of year for me. However I do plan on coming back to it. Maybe 2008 will bestow Xandros 5 on us and this will get a whole lot easier.  _________________ (expert with questions)
I'm a girl, ask me how. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|