Talk:Installation (ViX)

Has anyone else had trouble getting GDD to install? I've run into this problem on two different Redhat Linux boxes:

checking for gcc... gcc -std=gnu99 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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... yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for memset... yes checking for mkdir... yes checking for rmdir... yes checking for gdlib-config... /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext ./configure: line 3595: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext: No such file or directory ./configure: line 3596: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext: No such file or directory ./configure: line 3597: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext: No such file or directory ./configure: line 3598: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext: No such file or directory ./configure: line 3599: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:ext/bin:ext: No such file or directory libgd-flags according to gdlib-config: if that is not correct, fix your gd installation checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdImageCreateFromPng in -lgd... yes checking usability of FreeType in GD... yes checking whether GD programs can be compiled... yes configure: creating ./config.status config.status: creating src/Makevars config.status: creating src/gddconfig.h gcc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/lib/R/include -DHAVE_GDDCONFIG_H -I. -Iinclude -I/usr/local/include  -g -O2 -fpic  -g -O2 -c GDD.c -o GDD.o GDD.c: In function `gdd_create_new_device': GDD.c:150: warning: assignment discards qualifiers from pointer target type GDD.c:154: warning: assignment discards qualifiers from pointer target type gcc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/lib/R/include -DHAVE_GDDCONFIG_H -I. -Iinclude -I/usr/local/include  -g -O2 -fpic  -g -O2 -c GDDtalk.c -o GDDtalk.o GDDtalk.c: In function `GDD_Polyline': GDDtalk.c:452: warning: implicit declaration of function `gdImageOpenPolygon' GDDtalk.c: In function `gddSetFTFontPath': GDDtalk.c:628: error: `gdFTEX_RETURNFONTPATHNAME' undeclared (first use in this function) GDDtalk.c:628: error: (Each undeclared identifier is reported only once GDDtalk.c:628: error: for each function it appears in.) GDDtalk.c:628: error: `gdFTEX_FONTCONFIG' undeclared (first use in this function) GDDtalk.c:630: error: structure has no member named `fontpath' GDDtalk.c:634: error: structure has no member named `fontpath' GDDtalk.c:637: error: structure has no member named `fontpath' GDDtalk.c:638: error: structure has no member named `fontpath' GDDtalk.c: In function `gdd_look_up_font': GDDtalk.c:734: warning: initialization discards qualifiers from pointer target type GDDtalk.c:738: error: `gdFTEX_RETURNFONTPATHNAME' undeclared (first use in this function) GDDtalk.c:738: error: `gdFTEX_FONTCONFIG' undeclared (first use in this function) GDDtalk.c:740: error: structure has no member named `fontpath' GDDtalk.c:741: error: structure has no member named `fontpath' GDDtalk.c:742: error: structure has no member named `fontpath' make: *** [GDDtalk.o] Error 1 chmod: cannot access `/usr/local/lib/R/library/GDD/libs/*': No such file or directory ERROR: compilation failed for package 'GDD'
 * 1) R CMD INSTALL GDD_0.1-8.tar.gz
 * Installing to library '/usr/local/lib/R/library'
 * Installing *source* package 'GDD' ...
 * libs
 * Removing '/usr/local/lib/R/library/GDD'


 * I think you would have more chance to resolve this issue by using the R mailing list. Miguel Tremblay 19:50, 28 November 2007 (UTC)