Hi again,

Once again, thank you for your comments!

Well, to tell you how it went: I followed your advice, Richard, and
built lua using:

cd .../squeezeplay/src/lua-5.1.1
make linux
sudo make install
make clean (<--I found out that this one was quite important :) )

There was one catch, though. I had to manually edit the Makefile inside
the lua-dir in order to be able to install it. To get a more
out-of-the-box experience you could consider by default installing it
to a sub-dir (build maybe) of where lua exists. And then let the
Makefile projects dependent on this package point to this dir by a
relative path. But since I'm not a very big "Makefile shark" this might
be a bad idea... :) After building lua, I added the
<lua-install-dir>/bin to my PATH.

To get to the point: It worked now! So now I have successfully built
the squeezeos/src package (although it did take some 30 minutes or so
instead of 15! :))

Then I thought I'd give it a try building the "desktop version" and
this failed... maybe I'm doing something wrong here... What I did was:

cd .../squeezeplay/src/
make -f Makefile.linux

But I get the error:

<OUTPUT BEGIN>
[...]
/bin/bash ./libtool --mode=link arm-926ejs-linux-gnueabi-gcc 
-I/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/include
-I/home/dengamle/code/squeezebox/7.1/squeezeplay/src/squeezeplay/src/ui
-Os -I/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT 
-L/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/lib -o
libSDL_gfx.la -rpath /usr/lib -version-info 0:15:0 SDL_gfxPrimitives.lo
SDL_rotozoom.lo SDL_framerate.lo SDL_imageFilter.lo  -lm
-L/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/lib
-Wl,-rpath,/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/lib
-lSDL -lpthread
rm -fr .libs/libSDL_gfx.la .libs/libSDL_gfx.* .libs/libSDL_gfx.*
arm-926ejs-linux-gnueabi-gcc -shared  SDL_gfxPrimitives.lo
SDL_rotozoom.lo SDL_framerate.lo SDL_imageFilter.lo 
-L/home/dengamle/code/squeezebox/7.1/squeezeos/build/usr/lib -lm -lSDL
-lpthread -lc  -Wl,-soname -Wl,libSDL_gfx.so.0 -o
.libs/libSDL_gfx.so.0.0.15
(cd .libs && rm -f libSDL_gfx.so.0 && ln -s libSDL_gfx.so.0.0.15
libSDL_gfx.so.0)
(cd .libs && rm -f libSDL_gfx.so && ln -s libSDL_gfx.so.0.0.15
libSDL_gfx.so)
arm-926ejs-linux-gnueabi-ar cru .libs/libSDL_gfx.a  SDL_gfxPrimitives.o
SDL_rotozoom.o SDL_framerate.o SDL_imageFilter.o 
arm-926ejs-linux-gnueabi-ranlib .libs/libSDL_gfx.a
creating libSDL_gfx.la
(cd .libs && rm -f libSDL_gfx.la && ln -s ../libSDL_gfx.la
libSDL_gfx.la)
make[1]: Leaving directory
`/home/dengamle/code/squeezebox/7.1/squeezeplay/src/SDL_gfx-2.0.15'
make[1]: Entering directory
`/home/dengamle/code/squeezebox/7.1/squeezeplay/src/SDL_gfx-2.0.15'
make[2]: Entering directory
`/home/dengamle/code/squeezebox/7.1/squeezeplay/src/SDL_gfx-2.0.15'
test -z "/usr/lib" || mkdir -p -- "/usr/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 
'libSDL_gfx.la' '/usr/lib/libSDL_gfx.la'
/usr/bin/install -c .libs/libSDL_gfx.so.0.0.15
/usr/lib/libSDL_gfx.so.0.0.15
/usr/bin/install: cannot remove `/usr/lib/libSDL_gfx.so.0.0.15':
Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory
`/home/dengamle/code/squeezebox/7.1/squeezeplay/src/SDL_gfx-2.0.15'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/home/dengamle/code/squeezebox/7.1/squeezeplay/src/SDL_gfx-2.0.15'
make: *** [sdl-gfx] Error 2
[EMAIL PROTECTED]:~/code/squeezebox/7.1/squeezeplay/src$

<OUTPUT END>

I guess this is due to the lack of permissions in the install-part of
SDL_gfx. But do I really need to be running this command as root? Do I
need to make more explicit changes to the Makefiles in order to be able
to build the desktop version?

Best regards

dengamle.


-- 
dengamle
------------------------------------------------------------------------
dengamle's Profile: http://forums.slimdevices.com/member.php?userid=17379
View this thread: http://forums.slimdevices.com/showthread.php?t=47339

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive

Reply via email to