Installing SDL?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Leo28C
Posts: 19
Joined: Thu Jan 18, 2007 8:20 am

Installing SDL?

Post by Leo28C »

Hello everyone! :D

I downloaded the SDL port for PSP... I read the file named "README.PSP" and did what it told me:

./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
However that last command, after doing a lot of stuff, it gave me an error... These are the last 2 lines:
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
I tried to ignore it and proceed to 'make' but it said there was no makefile... Do I have to get this elsewhere or what? Thanks very much! ;)


(PS: Is there any way to copy/paste on the Cygwin shell? Hand typing all the crap's starting to annoy me... :-/)
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Makefile.in is created by autogen.sh. That step must have failed with some error.
Is there any way to copy/paste on the Cygwin shell?
http://www.cygwin.com/faq/faq.using.htm ... -and-paste
Leo28C
Posts: 19
Joined: Thu Jan 18, 2007 8:20 am

Post by Leo28C »

Hmmm... It did give a lot of warnings, but I'm not that experienced so I don't understand them... :P Can you help me figure it out?

Here's the output for both commands:
Leo Cabrera@RITA ~/SDL
$ ./autogen.sh

Generating build information using aclocal, automake and autoconf
This may take a while ...
acinclude.m4:363: the serial number must appear before any macro definition
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSM
I
/usr/share/aclocal/libsmi.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/libsmi.m4:8: or see http://sources.redhat.com/automake/auto
make.html#Extending-aclocal
configure.in:44: installing `./missing'
configure.in:44: installing `./install-sh'
src/Makefile.am: installing `./depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCCAS does not appear in AM_CO
NDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC
AS' is to add `AM_PROG_AS'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' an
d `autoconf' again.
Makefile.am:88: use `install-data-hook' or `install-exec-hook', not `install-hoo
k'
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSM
I
/usr/share/aclocal/libsmi.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/libsmi.m4:8: or see http://sources.redhat.com/automake/auto
make.html#Extending-aclocal
Now you are ready to run ./configure

Leo Cabrera@RITA ~/SDL
$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
> ./configure --host psp --prefix=$(psp-config --psp-prefix)

configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/Leo: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... psp-strip
checking for style of include used by make... GNU
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether psp-gcc accepts -g... yes
checking for psp-gcc option to accept ISO C89... none needed
checking dependency style of psp-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by psp-gcc... /usr/local/pspdev/psp/bin/ld.exe
checking if the linker (/usr/local/pspdev/psp/bin/ld.exe) is GNU ld... yes
checking for /usr/local/pspdev/psp/bin/ld.exe option to reload object files... -
r
checking for BSD-compatible nm... /usr/local/pspdev/bin/psp-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking how to run the C preprocessor... psp-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for psp-g++... psp-g++
checking whether we are using the GNU C++ compiler... yes
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking how to run the C++ preprocessor... psp-g++ -E
checking for psp-g77... no
checking for psp-xlf... no
checking for psp-f77... no
checking for psp-frt... no
checking for psp-pgf77... no
checking for psp-cf77... no
checking for psp-fort77... no
checking for psp-fl32... no
checking for psp-af77... no
checking for psp-xlf90... no
checking for psp-f90... no
checking for psp-pgf90... no
checking for psp-pghpf... no
checking for psp-epcf90... no
checking for psp-gfortran... no
checking for psp-g95... no
checking for psp-xlf95... no
checking for psp-f95... no
checking for psp-fort... no
checking for psp-ifort... no
checking for psp-ifc... no
checking for psp-efc... no
checking for psp-pgf95... no
checking for psp-lf95... no
checking for psp-ftn... no
checking for g77... g77
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [email protected].
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/local/pspdev/bin/psp-nm -B output from psp-gcc ob
ject... ok
checking for objdir... .libs
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-strip... (cached) psp-strip
checking if psp-gcc static flag works... yes
checking if psp-gcc supports -fno-rtti -fno-exceptions... no
checking for psp-gcc option to produce PIC... -fPIC
checking if psp-gcc PIC flag -fPIC works... yes
checking if psp-gcc supports -c -o file.o... yes
checking whether the psp-gcc linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by psp-g++... /usr/local/pspdev/psp/bin/ld.exe
checking if the linker (/usr/local/pspdev/psp/bin/ld.exe) is GNU ld... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... no
checking for psp-g++ option to produce PIC... -fPIC
checking if psp-g++ PIC flag -fPIC works... yes
checking if psp-g++ supports -c -o file.o... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/pspdev/psp/bin/ld.exe) supports shar
ed libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether make sets $(MAKE)... (cached) yes
checking for psp-gcc... (cached) psp-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether psp-gcc accepts -g... (cached) yes
checking for psp-gcc option to accept ISO C89... (cached) none needed
checking dependency style of psp-gcc... (cached) gcc3
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether psp-g++ accepts -g... (cached) yes
checking dependency style of psp-g++... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for working alloca.h... yes
checking for alloca... yes
checking for OpenGL (pspgl) support... no
checking for psp-config... psp-config
checking for PSPSDK... /usr/local/pspdev/psp/sdk
Copying ./src/thread/psp/SDL_systhread.c -> src/thread/SDL_systhread.c
Copying ./src/thread/psp/SDL_systhread_c.h -> src/thread/SDL_systhread_c.h
Copying ./src/thread/generic/SDL_sysmutex.c -> src/thread/SDL_sysmutex.c
Copying ./src/thread/generic/SDL_sysmutex_c.h -> src/thread/SDL_sysmutex_c.h
Copying ./src/thread/psp/SDL_syssem.c -> src/thread/SDL_syssem.c
Copying ./src/thread/generic/SDL_syssem_c.h -> src/thread/SDL_syssem_c.h
Copying ./src/thread/generic/SDL_syscond.c -> src/thread/SDL_syscond.c
Copying ./src/thread/generic/SDL_syscond_c.h -> src/thread/SDL_syscond_c.h
Copying ./src/timer/psp/SDL_systimer.c -> src/timer/SDL_systimer.c
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
Anything wrong? Thanks very much! ;)


(PS: Thanks for that, it really was getting annoying... :P )
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Looks like an incompatibility with automake 1.10... remove that and use automake 1.9 for now, I'll try to figure the problem out later.
Leo28C
Posts: 19
Joined: Thu Jan 18, 2007 8:20 am

Post by Leo28C »

Hey! I got something here! :P

I installed automake like you said... When I tried to check the version with the '-v' argument, it seems like it ignored it because it's not the correct parameter...

So it tried to do its thing in the SDL folder:
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not

writing ./src/joystick/bsd/Makefile.in because of earlier errors
automake: reading src/joystick/darwin/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/darwin/Makefile.in because of earlier error
s
automake: reading src/joystick/dc/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/dc/Makefile.in because of earlier errors
automake: reading src/joystick/dummy/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/dummy/Makefile.in because of earlier errors

automake: reading src/joystick/linux/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/linux/Makefile.in because of earlier errors

automake: reading src/joystick/macos/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/macos/Makefile.in because of earlier errors

automake: reading src/joystick/mint/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/mint/Makefile.in because of earlier errors
automake: reading src/joystick/psp/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/psp/Makefile.in because of earlier errors
automake: reading src/joystick/riscos/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/riscos/Makefile.in because of earlier error
s
automake: reading src/joystick/win32/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/joystick/win32/Makefile.in because of earlier errors

automake: reading src/main/Makefile.am
automake: reading /usr/local/share/automake-1.9b/am/libs.am
automake: reading /usr/local/share/automake-1.9b/am/library.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: Sources ending in .cc become .o
automake: Sources ending in .cc become .obj
automake: Sources ending in .cc become .lo
automake: Sources ending in .m become .o
automake: Sources ending in .m become .obj
automake: Sources ending in .m become .lo
automake: not writing ./src/main/Makefile.in because of earlier errors
automake: reading src/main/macosx/Makefile.am
automake: not writing ./src/main/macosx/Makefile.in because of earlier errors
automake: reading src/thread/Makefile.am
automake: Sources ending in .S become .o
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
automake: Sources ending in .S become .obj
automake: Sources ending in .S become .lo
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/thread/Makefile.in because of earlier errors
automake: reading src/timer/Makefile.am
automake: Sources ending in .S become .o
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
automake: Sources ending in .S become .obj
automake: Sources ending in .S become .lo
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/timer/Makefile.in because of earlier errors
automake: reading src/video/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/Makefile.in because of earlier errors
automake: reading src/video/XFree86/Makefile.am
automake: not writing ./src/video/XFree86/Makefile.in because of earlier errors
automake: reading src/video/XFree86/Xinerama/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/XFree86/Xinerama/Makefile.in because of earlie
r errors
automake: reading src/video/XFree86/Xv/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/XFree86/Xv/Makefile.in because of earlier erro
rs
automake: reading src/video/XFree86/Xxf86dga/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/XFree86/Xxf86dga/Makefile.in because of earlie
r errors
automake: reading src/video/XFree86/Xxf86vm/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/XFree86/Xxf86vm/Makefile.in because of earlier
errors
automake: reading src/video/XFree86/extensions/Makefile.am
automake: not writing ./src/video/XFree86/extensions/Makefile.in because of earl
ier errors
automake: reading src/video/aalib/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/aalib/Makefile.in because of earlier errors
automake: reading src/video/ataricommon/Makefile.am
automake: Sources ending in .S become .o
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
automake: Sources ending in .S become .obj
automake: Sources ending in .S become .lo
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/ataricommon/Makefile.in because of earlier err
ors
automake: reading src/video/bwindow/Makefile.am
automake: Sources ending in .cc become .o
automake: Sources ending in .cc become .obj
automake: Sources ending in .cc become .lo
automake: not writing ./src/video/bwindow/Makefile.in because of earlier errors
automake: reading src/video/cybergfx/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/cybergfx/Makefile.in because of earlier errors

automake: reading src/video/dc/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/dc/Makefile.in because of earlier errors
automake: reading src/video/dga/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/dga/Makefile.in because of earlier errors
automake: reading src/video/directfb/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/directfb/Makefile.in because of earlier errors

automake: reading src/video/dummy/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/dummy/Makefile.in because of earlier errors
automake: reading src/video/epoc/Makefile.am
automake: Sources ending in .cpp become .o
automake: Sources ending in .cpp become .obj
automake: Sources ending in .cpp become .lo
automake: not writing ./src/video/epoc/Makefile.in because of earlier errors
automake: reading src/video/fbcon/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/fbcon/Makefile.in because of earlier errors
automake: reading src/video/gem/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/gem/Makefile.in because of earlier errors
automake: reading src/video/ggi/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/ggi/Makefile.in because of earlier errors
automake: reading src/video/maccommon/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/maccommon/Makefile.in because of earlier error
s
automake: reading src/video/macdsp/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/macdsp/Makefile.in because of earlier errors
automake: reading src/video/macrom/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/macrom/Makefile.in because of earlier errors
automake: reading src/video/nanox/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/nanox/Makefile.in because of earlier errors
automake: reading src/video/photon/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/photon/Makefile.in because of earlier errors
automake: reading src/video/picogui/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/picogui/Makefile.in because of earlier errors
automake: reading src/video/ps2gs/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/ps2gs/Makefile.in because of earlier errors
automake: reading src/video/psp/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/psp/Makefile.in because of earlier errors
automake: reading src/video/qtopia/Makefile.am
automake: Sources ending in .cc become .o
automake: Sources ending in .cc become .obj
automake: Sources ending in .cc become .lo
automake: not writing ./src/video/qtopia/Makefile.in because of earlier errors
automake: reading src/video/quartz/Makefile.am
automake: Sources ending in .m become .o
automake: Sources ending in .m become .obj
automake: Sources ending in .m become .lo
automake: not writing ./src/video/quartz/Makefile.in because of earlier errors
automake: reading src/video/riscos/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: Sources ending in .s become .o
automake: Sources ending in .s become .obj
automake: Sources ending in .s become .lo
automake: not writing ./src/video/riscos/Makefile.in because of earlier errors
automake: reading src/video/svga/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/svga/Makefile.in because of earlier errors
automake: reading src/video/vgl/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/vgl/Makefile.in because of earlier errors
automake: reading src/video/wincommon/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/wincommon/Makefile.in because of earlier error
s
automake: reading src/video/windib/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/windib/Makefile.in because of earlier errors
automake: reading src/video/windx5/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/windx5/Makefile.in because of earlier errors
automake: reading src/video/x11/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/x11/Makefile.in because of earlier errors
automake: reading src/video/xbios/Makefile.am
automake: Sources ending in .c become .o
automake: Sources ending in .c become .obj
automake: Sources ending in .c become .lo
automake: not writing ./src/video/xbios/Makefile.in because of earlier errors
automake: reading Makefile.am
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
automake: reading /usr/local/share/automake-1.9b/am/scripts.am
Makefile.am:88: use `install-data-hook' or `install-exec-hook', not `install-hoo
k'
automake: not writing ./Makefile.in because of earlier errors
There it is! It had errors! :D
However I don't understand them... Can you help me? Thanks very much! ;)
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Run "automake --version"; it looks like you're still runnimg 1.10
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Assuming you do have automake 1.9 installed.

Code: Select all

WANT_AUTOMAKE=1.9 ./autogen.sh 
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \ 
./configure --host psp --prefix=$(psp-config --psp-prefix) 
make 
make install
Leo28C
Posts: 19
Joined: Thu Jan 18, 2007 8:20 am

Post by Leo28C »

It still doesn't work... :-/

I do have 1.9 now though:
Leo Cabrera@RITA ~/sdl
$ automake --version

automake (GNU automake) 1.9b
Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.

Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I noticed that autogen now gives less errors:
Leo Cabrera@RITA ~/sdl
$ WANT_AUTOMAKE=1.9 ./autogen.sh

Generating build information using aclocal, automake and autoconf
This may take a while ...
acinclude.m4:363: the serial number must appear before any macro definition
configure.in:44: installing `./missing'
configure.in:44: installing `./install-sh'
src/Makefile.am: installing `./depcomp'
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.9b/am/depend2.am: am__fastdepCCAS does not appear in
AM_CONDITIONAL
Makefile.am:88: use `install-data-hook' or `install-exec-hook', not `install-hoo
k'
Now you are ready to run ./configure


Know what's wrong? I didn't use WinZip or anything that could screw up... :-( Thanks very much!
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Do all the steps I listed.

After that do you still get the 'cannot find input file: Makefile.in' error?
Leo28C
Posts: 19
Joined: Thu Jan 18, 2007 8:20 am

Post by Leo28C »

Yes - I copied and pasted everything to the command line and still the same error... :-?

I even tried doing everything in ~/psptoolchain, but still the same damn error! :'(

Note that I delete and re-download the SDL lib after each try...

The errors didn't yield anything?

Thanks... I can't figure it out... :-/

[edit] Erm... You do know I'm on Windows/Cygwin, right? :-P Maybe that has something to do with it? [/edit]

[edit] And, do I need to have anything installed previously, like zlib or libpng or anything? [/edit]
trevis
Posts: 2
Joined: Wed Jan 24, 2007 4:20 am

Post by trevis »

I had this same problem on gentoo linux. The below fixed the problem, thanks.
Assuming you do have automake 1.9 installed.

Code: Select all

WANT_AUTOMAKE=1.9 ./autogen.sh
LDFLAGS="-L$&#40;psp-config --pspsdk-path&#41;/lib -lc -lpspuser" \
./configure --host psp --prefix=$&#40;psp-config --psp-prefix&#41;
make
make install
[/code]
3vi1
Posts: 1
Joined: Wed Jul 25, 2007 10:08 pm

Kubuntu Gutsy Tribe3+

Post by 3vi1 »

I ran into this exact same problem with Kubuntu 7.10 (Gutsy - Tribe 3, fully patched).

In case anyone else is having the same problem: The only solution that worked was to fully de-install the automake 1.10 package (called 'automake'). You can do this without affecting any other packages (and re-install it after you finish building SDL).

Simply using WANT_AUTOMAKE=1.9 is *NOT* enough to make it work on the lates (K)ubuntu builds. You *MUST* remove automake 1.10. Using the WANT_AUTOMAKE override will change the symptoms, but configure will not succeed.

-J
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

Or just edit the autogen scripts to implicitly use the 1.9 version.
Post Reply