Compilation fails: (where is ./depcomp ?)

(on new fresch CVS checkout)

$ ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while …
automake: configure.in: required file `./depcomp’ not found

$ configure
creating cache ./config.cache
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for a BSD compatible install… /usr/bin/ginstall -c
checking whether build environment is sane… yes
/internet/cvs/sdl/SDL12/SDL12/SDL12/missing: Unknown --run' option Try/internet/cvs/sdl/SDL12/SDL12/SDL12/missing --help’ for more information
configure: warning: `missing’ script is too old or missing

$ make
Making all in src
/internet/cvs/sdl/SDL12/SDL12/src
make[1]: Entering directory /linux/11/internet/cvs/sdl/SDL12/SDL12/src' Making all in main /linux/11/internet/cvs/sdl/SDL12/SDL12/src/main make[2]: Entering directory/linux/11/internet/cvs/sdl/SDL12/SDL12/src/main’
make all-am
make[3]: Entering directory /linux/11/internet/cvs/sdl/SDL12/SDL12/src/main' source='SDL_main.c' object='SDL_main.o' libtool=no \ depfile='.deps/SDL_main.Po' tmpdepfile='.deps/SDL_main.TPo' \ depmode=none /bin/sh ../../depcomp \ gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.4\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DOSS_SUPPORT -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -Iinclude -Isrc/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -I../../include -I../../include/SDL -I../../src -I../../src/linux -I../../src/main -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -ctest -f SDL_main.c || echo ‘./’SDL_main.c ../../depcomp: ../../depcomp: No such file or directory make[3]: *** [SDL_main.o] Error 127 make[3]: Leaving directory/linux/11/internet/cvs/sdl/SDL12/SDL12/src/main’
make[2]: *** [all] Error 2
make[2]: Leaving directory /linux/11/internet/cvs/sdl/SDL12/SDL12/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/linux/11/internet/cvs/sdl/SDL12/SDL12/src’
make: *** [all-recursive] Error 1

any clue ?
tia

You have an evil version of autoconf. Here’s the fix (Sam, please apply
this to CVS?)

— libsdl1.2-1.2.3+cvs20020303.orig/autogen.sh
+++ libsdl1.2-1.2.3+cvs20020303/autogen.sh
@@ -9,7 +9,8 @@

Regenerate configuration files

aclocal
-automake --foreign --include-deps
+libtoolize --automake --force
+automake --foreign --include-deps --add-missing
autoconf
(cd test; aclocal; automake --foreign --include-deps; autoconf)

This ensures that the various files automake needs are added if they do
not exist, and libtool gets updated as well.

I add --copy to both libtoolize and automake for building the Debian
packages, but that’s just because I can’t build a tree with symlinks
outside of it - dpkg has trouble building a source package that way.On Fri, Apr 12, 2002 at 11:48:34AM +0200, Michal Maru?ka wrote:

(on new fresch CVS checkout)

$ ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while …
automake: configure.in: required file `./depcomp’ not found


Joseph Carter The guy with a rocket launcher

  • joeyh_ wonders if linux is supposed to lock up when you ask 100
    processes to cat the entire cd drive

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020412/375c52b8/attachment.pgp

You have an evil version of autoconf. Here’s the fix (Sam, please apply
this to CVS?)

— libsdl1.2-1.2.3+cvs20020303.orig/autogen.sh
+++ libsdl1.2-1.2.3+cvs20020303/autogen.sh
@@ -9,7 +9,8 @@

Regenerate configuration files

aclocal
-automake --foreign --include-deps
+libtoolize --automake --force
+automake --foreign --include-deps --add-missing
autoconf
(cd test; aclocal; automake --foreign --include-deps; autoconf)

This ensures that the various files automake needs are added if they do
not exist, and libtool gets updated as well.

libtool may not be updated. I have many patches to it (some of which
I hear are in mainstream libtool now), and the last time I tried libtool
it was horribly broken with respect to Windows and BeOS.

I’ll add the --add-missing and --copy parameters to automake though,
unless anybody can think of a reason not to.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment