Hi there,

I'm getting the following error when compiling ghostscript-8.61-2.

I'm running fink 0.8.1.rsync i386 on OS X 10.5.1.

gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -Wall
-Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"   -I./obj
-I./src  -I/usr/X11/include   -o ./obj/gp_unix.o -c ./src/gp_unix.c
In file included from ./src/gp_unix.c:17:
./src/pipe_.h:39: warning: function declaration isn't a prototype
./src/gp_unix.c:25:37: error: fontconfig/fontconfig.h: No such file or directory
./src/gp_unix.c: In function 'makePSFontName':
./src/gp_unix.c:241: error: 'FC_SLANT_ROMAN' undeclared (first use in
this function)
./src/gp_unix.c:241: error: (Each undeclared identifier is reported only once
./src/gp_unix.c:241: error: for each function it appears in.)
./src/gp_unix.c:242: error: 'FC_SLANT_OBLIQUE' undeclared (first use
in this function)
./src/gp_unix.c:243: error: 'FC_SLANT_ITALIC' undeclared (first use in
this function)
./src/gp_unix.c:248: error: 'FC_WEIGHT_MEDIUM' undeclared (first use
in this function)
./src/gp_unix.c:249: error: 'FC_WEIGHT_LIGHT' undeclared (first use in
this function)
./src/gp_unix.c:250: error: 'FC_WEIGHT_DEMIBOLD' undeclared (first use
in this function)
./src/gp_unix.c:251: error: 'FC_WEIGHT_BOLD' undeclared (first use in
this function)
./src/gp_unix.c:252: error: 'FC_WEIGHT_BLACK' undeclared (first use in
this function)
./src/gp_unix.c: At top level:
./src/gp_unix.c:295: error: syntax error before 'FcConfig'
./src/gp_unix.c:295: warning: no semicolon at end of struct or union
./src/gp_unix.c:296: warning: type defaults to 'int' in declaration of
'font_list'
./src/gp_unix.c:296: warning: data definition has no type or storage class
./src/gp_unix.c:298: error: syntax error before '}' token
./src/gp_unix.c:298: warning: type defaults to 'int' in declaration of
'unix_fontenum_t'
./src/gp_unix.c:298: warning: data definition has no type or storage class
./src/gp_unix.c: In function 'gp_enumerate_fonts_init':
./src/gp_unix.c:304: error: 'state' undeclared (first use in this function)
./src/gp_unix.c:304: error: syntax error before ')' token
./src/gp_unix.c:313: warning: implicit declaration of function
'FcInitLoadConfigAndFonts'
./src/gp_unix.c:322: error: 'FcPattern' undeclared (first use in this function)
./src/gp_unix.c:322: error: 'pat' undeclared (first use in this function)
./src/gp_unix.c:322: warning: implicit declaration of function 'FcPatternBuild'
./src/gp_unix.c:323: error: 'FC_OUTLINE' undeclared (first use in this function)
./src/gp_unix.c:323: error: 'FcTypeBool' undeclared (first use in this function)
./src/gp_unix.c:324: error: 'FC_SCALABLE' undeclared (first use in
this function)
./src/gp_unix.c:326: error: 'FcObjectSet' undeclared (first use in
this function)
./src/gp_unix.c:326: error: 'os' undeclared (first use in this function)
./src/gp_unix.c:326: warning: implicit declaration of function
'FcObjectSetBuild'
./src/gp_unix.c:326: error: 'FC_FILE' undeclared (first use in this function)
./src/gp_unix.c:326: error: 'FC_FAMILY' undeclared (first use in this function)
./src/gp_unix.c:326: error: 'FC_WEIGHT' undeclared (first use in this function)
./src/gp_unix.c:326: error: 'FC_SLANT' undeclared (first use in this function)
./src/gp_unix.c:327: warning: implicit declaration of function 'FcFontList'
./src/gp_unix.c:328: warning: implicit declaration of function
'FcPatternDestroy'
./src/gp_unix.c:329: warning: implicit declaration of function
'FcObjectSetDestroy'
./src/gp_unix.c: In function 'gp_enumerate_fonts_next':
./src/gp_unix.c:346: error: 'state' undeclared (first use in this function)
./src/gp_unix.c:346: error: syntax error before ')' token
./src/gp_unix.c:352: error: 'FcChar8' undeclared (first use in this function)
./src/gp_unix.c:352: error: 'file_fc' undeclared (first use in this function)
./src/gp_unix.c:353: error: 'family_fc' undeclared (first use in this function)
./src/gp_unix.c:355: error: 'FcResult' undeclared (first use in this function)
./src/gp_unix.c:355: error: syntax error before 'result'
./src/gp_unix.c:361: error: 'FcPattern' undeclared (first use in this function)
./src/gp_unix.c:361: error: 'font' undeclared (first use in this function)
./src/gp_unix.c:363: error: 'result' undeclared (first use in this function)
./src/gp_unix.c:363: warning: implicit declaration of function
'FcPatternGetString'
./src/gp_unix.c:363: error: 'FC_FAMILY' undeclared (first use in this function)
./src/gp_unix.c:364: error: 'FcResultMatch' undeclared (first use in
this function)
./src/gp_unix.c:369: error: 'FC_FILE' undeclared (first use in this function)
./src/gp_unix.c:375: warning: implicit declaration of function
'FcPatternGetBool'
./src/gp_unix.c:375: error: 'FC_OUTLINE' undeclared (first use in this function)
./src/gp_unix.c:381: warning: implicit declaration of function
'FcPatternGetInteger'
./src/gp_unix.c:381: error: 'FC_SLANT' undeclared (first use in this function)
./src/gp_unix.c:387: error: 'FC_WEIGHT' undeclared (first use in this function)
./src/gp_unix.c:344: warning: unused variable 'psname'
./src/gp_unix.c: In function 'gp_enumerate_fonts_free':
./src/gp_unix.c:412: error: 'state' undeclared (first use in this function)
./src/gp_unix.c:412: error: syntax error before ')' token
./src/gp_unix.c:415: warning: implicit declaration of function
'FcFontSetDestroy'
make: *** [obj/gp_unix.o] Error 1
### execution of /var/tmp/tmp.1.jwaoJP failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ghostscript-8.61-2
(Reading database ... 78902 files and directories currently installed.)
Removing fink-buildlock-ghostscript-8.61-2 ...
Failed: phase compiling: ghostscript-8.61-2 failed

Any ideas what's going wrong?

Cheers,
Chris

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to