Open2x Doesnt Compile For Me


Simon

Still Fresh
Joined
Jan 11, 2007
Messages
47
Hey all

Im following the directions here to setup the toolchain on my Ubuntu EE based PC.

Getting and installing the toolchain is no problem, but I get errors when I try to install the libraries.

Can anyone decipher this for me?

It all seems to go along swimmingly until:

Code:
------------------------------------------------------------------------
imlib2 1.2.2
------------------------------------------------------------------------

Configuration Options Summary:


Image Loaders:
  JPEG....................: no
  PNG.....................: no
  TIFF....................: no
  GIF.....................: no
  ZLIB....................: no
  BZIP2...................: no
  ID3.....................: no


Use X86 MMX for speed.....: no
Use AMD64 for speed.......: no


Installation Path.........: /home/simon/bin/open2x

Compilation...............: make
Installation..............: make install

make[1]: Entering directory `/home/simon/svn/open2x/libs/imlib2-1.2.2'
/bin/bash: -c: line 0: syntax error near unexpected token `)'
/bin/bash: -c: line 0: `if test ! -f )].in; then \'
make[1]: *** [)].in] Error 2
make[1]: Leaving directory `/home/simon/svn/open2x/libs/imlib2-1.2.2'
make: *** [/home/simon/bin/open2x/lib/libImlib2.a] Error 2

Thanks
 
I am working on fixing a number of little problems with the tool-chain scripts and the lib makefiles when using Ubuntu 6.10 due to Ubuntu's decision to switch from bash to dash for the default /bin/sh shell.

This problem stems from some changes to the behaviour of 'echo' I think, anyway I am looking at it and as soon as I get it all building again I will update the thread and SVN.
 
OK excellent.

So I should just be able to run bash first? EE comes with bash it seems, but yes, it appears to use dash as default.

I must remember to change my default shell :)
 
Nope, thats not it. I linked /bin/sh to /bin/bash, and the same errors occur :(
 
hi simon, i think its very much a work in progress right now.
the libs used to compile for me fine (as of a week ago),
but are now missing makefiles for sdl.

i'd sit tight and wait for a nod from DJW.

@DJWillis
any chance of adding a make install to the make targets so it can be checkinstalled?
would be really useful, but if time consuming then no bother.

edited for make install request
 

Indeed that does make interesting reading (the gLibC issues motioned in that thread where the 1st thing that switched me on to dash being a problem).

As for the SDL issues, Paeryn's latest SDL update (16th Jan) seems to have caused some funnies with the SDL makefiles, that combined with the above issues and the fact Ubuntu 6.10 seems to be a distro of choice for a lot of people is proving a little fun to sort out but rest assured we will sort it as soon as we can (time on the project is a little tight at the moment and effort is focused on the Open2x firmware distribution), I think I am the only one hacking on lib/tool-chain scripts right now.

Regards going back a week for the libs, imlib2 in SVN has not changed in a long time :(.

John
 
Last edited by a moderator:
Hi John, cheers for working on this :)
just a FYI,
the sdl makefile issue is on dapper 6.06 for me.
 
Back
Top