From: Robert L K. <rl...@al...> - 2000-02-04 13:17:28
|
From: sh...@al... Date: Fri, 04 Feb 2000 12:44:54 +0900 > It doesn't work for me. Perhaps I have an old version of autoconf? > > [2(rlk)||{!600}<rlkppp>/mnt/sandbox/gimp-print/print] > $ autoconf > [2(rlk)||{!601}<rlkppp>/mnt/sandbox/gimp-print/print] > $ ./configure > loading site script /usr/local/share/config.site > Processing GNUstep site configuration > creating cache ./config.cache > ./configure: line 526: syntax error near unexpected token `AM_INIT_AUTOMAKE(p > rint,' Did you run "aclocal" first? Ah. No, I did not. That worked much better. However, there were a couple of problems: 1) It didn't put my library directory (/usr/local/Libraries) on the build line. It's working for me because I have LD_LIBRARY_PATH set, but this isn't right. 2) It didn't find my Gimp plugins directory (/usr/local/Libraries/gimp/1.1/plug-ins). gcc -g -O2 -o print print-canon.o print-escp2.o print-pcl.o print-ps.o print-util.o print.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lgimp -lgimpui -lm -lgtk -lgmodule -lglib -lgdk [2(rlk)||{!652}<rlkppp>/mnt/sandbox/gimp-print/print] $ make -n install make install-exec-am install-data-am make[1]: Entering directory `/mnt/sandbox/gimp-print/print' : /bin/sh ./mkinstalldirs /usr/local/Tools// list='unprint'; for p in $list; do \ if test -f $p; then \ echo " /usr/bin/ginstall -c $p /usr/local/Tools///`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"; \ /usr/bin/ginstall -c $p /usr/local/Tools///`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`; \ else :; fi; \ done : /bin/sh ./mkinstalldirs /plug-ins list='print'; for p in $list; do \ if test -f $p; then \ echo " /usr/bin/ginstall -c $p /plug-ins/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"; \ /usr/bin/ginstall -c $p /plug-ins/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`; \ else :; fi; \ done Here's my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:564: checking for a BSD compatible install configure:617: checking whether build environment is sane configure:674: checking whether make sets ${MAKE} configure:713: checking for working aclocal configure:726: checking for working autoconf configure:739: checking for working automake configure:752: checking for working autoheader configure:765: checking for working makeinfo configure:784: checking for mawk configure:784: checking for gawk configure:816: checking for gcc configure:929: checking whether the C compiler (gcc ) works configure:945: gcc -o conftest conftest.c 1>&5 configure:971: checking whether the C compiler (gcc ) is a cross-compiler configure:976: checking whether we are using GNU C configure:985: gcc -E conftest.c configure:1004: checking whether gcc accepts -g configure:1047: checking for a BSD compatible install configure:1100: checking whether ln -s works configure:1171: checking for gtk-config configure:1206: checking for GTK - version >= 1.0.5 configure:1307: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/lib/glib/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5 configure:1392: checking for main in -lX11 configure:1407: gcc -o conftest -g -O2 conftest.c -lX11 1>&5 /usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory configure: failed program was: #line 1400 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:1435: checking for main in -lXext configure:1450: gcc -o conftest -g -O2 conftest.c -lXext 1>&5 /usr/i486-linux/bin/ld: cannot open -lXext: No such file or directory configure: failed program was: #line 1443 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:1478: checking for main in -lgdk configure:1493: gcc -o conftest -g -O2 conftest.c -lgdk 1>&5 configure:1522: checking for main in -lglib configure:1537: gcc -o conftest -g -O2 conftest.c -lglib -lgdk 1>&5 configure:1565: checking for main in -lgmodule configure:1580: gcc -o conftest -g -O2 conftest.c -lgmodule -lglib -lgdk 1>&5 configure:1608: checking for main in -lgtk configure:1623: gcc -o conftest -g -O2 conftest.c -lgtk -lgmodule -lglib -lgdk 1>&5 configure:1651: checking for main in -lm configure:1666: gcc -o conftest -g -O2 conftest.c -lm -lgtk -lgmodule -lglib -lgdk 1>&5 configure:1695: checking how to run the C preprocessor configure:1716: gcc -E conftest.c >/dev/null 2>conftest.out configure:1775: checking for ANSI C header files configure:1788: gcc -E conftest.c >/dev/null 2>conftest.out configure:1855: gcc -o conftest -g -O2 conftest.c -lm -lgtk -lgmodule -lglib -lgdk 1>&5 configure:1882: checking for unistd.h configure:1892: gcc -E conftest.c >/dev/null 2>conftest.out configure:1920: checking for working const configure:1974: gcc -c -g -O2 conftest.c 1>&5 configure:1995: checking for off_t configure:2028: checking for size_t configure:2062: checking for 8-bit clean memcmp configure:2080: gcc -o conftest -g -O2 conftest.c -lm -lgtk -lgmodule -lglib -lgdk 1>&5 configure:2098: checking return type of signal handlers configure:2120: gcc -c -g -O2 conftest.c 1>&5 configure:2141: checking for strtol configure:2169: gcc -o conftest -g -O2 conftest.c -lm -lgtk -lgmodule -lglib -lgdk 1>&5 |