Pickle
Mega GP Mania
Ive been able to get around this with most programs but any source code that is based on autotools i.e ./configure uses this, and since most of the time the SDL lib is distributed without this I cant ever compile
I assume the only way to get sdl-config is to compile from source. In my setup im trying to use open2x in a opensuse running in vmware. My latest hit head against wall is with dosbox. Note: I have have not compilied SDL from source, if its that simple, what are the correct commands to do so?
1. Downloaded the toolchain and added my path as env GP2XDEV
2. Downloaded the pre-built libs package and the latest SDL lib from paeryn.
3. Ran ./autogen.sh, seemed to work.
4. Ran ./configure --prefix=$GP2XDEV --build=`uname -m` --host=gp2x CPPFLAGS="-I$GP2XDEV/include" CXXFLAGS="-O3 -fmerge-all-constants -ffast-math -funswitch-loops" LDFLAGS="-static -L$GP2XDEV/lib" --with-sdl-prefix=$GP2XDEV
Results In:
CODE
checking build system type... i686-pc-none
checking host system type... Invalid configuration `gp2x': machine `gp2x' not recognized
configure: error: /bin/sh ./config.sub gp2x failed
5. For kicks removed the host item and get my fav:
CODE
checking for sdl-config... /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config
checking for SDL - version >= 1.2.0... ./configure: line 4489: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4490: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4493: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4495: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4497: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!
Im asking anyone out there, help me out with this. Im tired of not being able to solve this and it getting in the way. I would like to learn what I need to know to handle these issues.
I assume the only way to get sdl-config is to compile from source. In my setup im trying to use open2x in a opensuse running in vmware. My latest hit head against wall is with dosbox. Note: I have have not compilied SDL from source, if its that simple, what are the correct commands to do so?
1. Downloaded the toolchain and added my path as env GP2XDEV
2. Downloaded the pre-built libs package and the latest SDL lib from paeryn.
3. Ran ./autogen.sh, seemed to work.
4. Ran ./configure --prefix=$GP2XDEV --build=`uname -m` --host=gp2x CPPFLAGS="-I$GP2XDEV/include" CXXFLAGS="-O3 -fmerge-all-constants -ffast-math -funswitch-loops" LDFLAGS="-static -L$GP2XDEV/lib" --with-sdl-prefix=$GP2XDEV
Results In:
CODE
checking build system type... i686-pc-none
checking host system type... Invalid configuration `gp2x': machine `gp2x' not recognized
configure: error: /bin/sh ./config.sub gp2x failed
5. For kicks removed the host item and get my fav:
CODE
checking for sdl-config... /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config
checking for SDL - version >= 1.2.0... ./configure: line 4489: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4490: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4493: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4495: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
./configure: line 4497: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config: No such file or directory
no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!
Im asking anyone out there, help me out with this. Im tired of not being able to solve this and it getting in the way. I would like to learn what I need to know to handle these issues.