On Fri, Jan 18, 2002 at 10:31:21AM -0800, Jonathan Cohen wrote: [...] > There are a couple of extra steps because of the weirdness, but it can be > built: > > aclocal; > automake -a; > autoconf; > ./configure --disable-shared --disable-debug --bindir=<blah> > --datadir=<blah> --prefix=<directory above include directory> > --exec-prefix=<directory above bin which contains gnu tools>; > ltconfig --disable-shared ltmain.sh; # have to do this separately for some > reason > gmake all; Sorry, this does not work for me. Could you please help me further ? When I do what you say, ./configure exits prematurely (it exits when it tries to execute ltconfig). As a result, the Makefiles are not built. When I comment out the invocation of ltconfig in ./configure, ./configure executes completely and I do get makefiles, but then one of them, namely gimp/plug-ins/rll/Makefile has wrong content: it does not specify the compiler to use. I tried to go further (suppress the compilation of plugins), but all I get is more and more errors. Here is a detailed log of how I try to follow your instructions: FIRST ATTEMPT: bash-2.04$ cvs -d :pserver:anonymous@xxxxxxxxxxxxxxxx:/cvs/gnome checkout -r HO LLYWOOD gimp [here comes a long list of checked-out files] bash-2.04$ aclocal bash-2.04$ automake -a bash-2.04$ autoconf configure.in:31: warning: AC_CANONICAL_HOST invoked multiple times bash-2.04$ ./configure --disable-shared --disable-debug --bindir=/l/src/gimp16d /bin checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed bash-2.04$ ./ltconfig --disable-shared ltmain.sh checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether we are using GNU C... yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking whether ln -s works... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool bash-2.04$ make all make: *** No rule to make target `all'. Stop. SECOND ATTEMPT: Now I edit the call to ltconfig out of ./configure, then I do the following: bash-2.04$ ./configure --disable-shared --disable-debug --bindir=/l/src/gimp16d /bin checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether byte ordering is bigendian... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... none needed checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... gcc -E checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.8... yes checking for TIFFReadScanline in -ltiff... yes checking for tiffio.h... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking whether shmctl IPC_RMID allowes subsequent attaches... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for unistd.h... 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... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... yes checking for alloca... yes checking fd_set and sys/select... yes checking for inline definition in glibconfig.h... no checking for gcc option to accept ANSI C... none needed checking for inline... inline checking for emacs... /usr/bin/emacs checking for sendmail... /usr/lib/sendmail configure: creating ./config.status config.status: creating Makefile config.status: creating user_install config.status: creating gimprc config.status: creating gimprc_user config.status: creating gimptool config.status: creating libgimp/gimpfeatures.h config.status: creating libgimp/Makefile config.status: creating plug-ins/Makefile config.status: creating plug-ins/pts/Makefile config.status: creating plug-ins/fm_pts/Makefile config.status: creating plug-ins/rll/Makefile config.status: creating plug-ins/parsley/Makefile config.status: creating plug-ins/blur/Makefile config.status: creating plug-ins/bz2/Makefile config.status: creating plug-ins/compose/Makefile config.status: creating plug-ins/dbbrowser/Makefile config.status: creating plug-ins/decompose/Makefile config.status: creating plug-ins/edge/Makefile config.status: creating plug-ins/fur/Makefile config.status: creating plug-ins/gauss_rle/Makefile config.status: creating plug-ins/gbr/Makefile config.status: creating plug-ins/gz/Makefile config.status: creating plug-ins/mblur/Makefile config.status: creating plug-ins/noisify/Makefile config.status: creating plug-ins/script-fu/Makefile config.status: creating plug-ins/script-fu/scripts/Makefile config.status: creating plug-ins/sgi/Makefile config.status: creating plug-ins/sharpen/Makefile config.status: creating plug-ins/snoise/Makefile config.status: creating plug-ins/sobel/Makefile config.status: creating plug-ins/spread/Makefile config.status: creating plug-ins/tiff/Makefile config.status: creating app/Makefile config.status: creating docs/Makefile config.status: creating config.h bash-2.04$ ./ltconfig --disable-shared ltmain.sh checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether we are using GNU C... yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking whether ln -s works... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool bash-2.04$ make all [here come several correct compilations, and the following error:] make[2]: Leaving directory `/home/src/gimp16d/gimp/libgimp' Making all in plug-ins make[2]: Entering directory `/home/src/gimp16d/gimp/plug-ins' Making all in rll make[3]: Entering directory `/home/src/gimp16d/gimp/plug-ins/rll' -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../..-I/usr/local/include -I/software/thalia/h -g -O2 -Wall -c rll.c /bin/sh: -DHAVE_CONFIG_H: command not found make[3]: *** [rll.o] Error 127 make[3]: Leaving directory `/home/src/gimp16d/gimp/plug-ins/rll' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/src/gimp16d/gimp/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/src/gimp16d/gimp' make: *** [all-recursive-am] Error 2 bash-2.04$ Thanks in advance for any further help. Marcin.