Hi all, I am trying to install Fly so that I can use pwebstats (which I used to use on an older server). I am having trouble installing with the following error. Note that gd installed cleanly and I have edited the Makefile for fly to indicate the correct paths (the gd files installed themselves in /usr/local/lib and /usr/local/bin rather than the /usr/local/web path in the original Makefile) - leaving them still gives the same error anyway. I also had some trouble installing GD which it requires, could not get the Freetype support happening so have removed it from the Makefile and GD configure OK.
GD = /usr/src/gd-1.8.4 LIBDIRS = -L$(GD) -L/usr/local/lib INCDIRS = -I$(GD) -I/usr/local/include I am running RH7.2, has anyone idea what the problem might be? Error from the make command in fly directory. gcc -c -O -pedantic -Wall -I/usr/src/gd-1.8.4 -I/usr/local/include -L/usr/sr c/gd-1.8.4 -L/usr/local/lib fly.c fly.c:69: warning: string length `1227' is greater than the minimum length `509' ISO C89 is required to support fly.c: In function `main': fly.c:824: warning: implicit declaration of function `gdImageGif' fly.c: In function `copy_to_img': fly.c:1269: warning: implicit declaration of function `gdImageCreateFromGif' fly.c:1269: warning: assignment makes pointer from integer without a cast gcc -O -pedantic -Wall -I/usr/src/gd-1.8.4 -I/usr/local/include -L/usr/src/g d-1.8.4 -L/usr/local/lib -o fly fly.o -lgd -lm -lz -lttf -lpng -ljpeg fly.o: In function `main': fly.o(.text+0x2441): undefined reference to `gdImageGif' fly.o: In function `copy_to_img': fly.o(.text+0x2fea): undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status make: *** [fly] Error 1 _________________________________________ Simon Bryan IT Manager OLMC Parramata ICQ#: 137562751 _________________________________________ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
