Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12343 closed defect (fixed)

BUG: Errors installing FOX

Reported by: aszy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: lyle.johnson@…
Port:

Description

The following output is from : sudo port install fox

---> Building fox with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync. macports.org_release_ports_x11_fox/work/fox-1.6.28" && make all " returned error 2 Command output: make[1]: Nothing to be done for `all'. Making all in src /bin/sh ../libtool --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.28\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_X11_EXTENSIONS_XSHM_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DHAVE_X11_XCURSOR_XCURSOR_H=1 -DHAVE_X11_EXTENSIONS_XRANDR_H=1 -DHAVE_VSSCANF=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_LIBDL=1 -I. -I. -I../include -I../include -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include -O2 -DHAVE_XFT_H=1 -DHAVE_XSHAPE_H=1 -DHAVE_XSHM_H=1 -DFOX_THREAD_SAFE=1 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_GNU_SOURCE -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZ2LIB_H=1 -DHAVE_XCURSOR_H=1 -DHAVE_XRANDR_H=1 -DNO_XIM -DHAVE_CUPS_H=1 -Wall -W -Woverloaded-virtual -Wformat -DHAVE_GLU_H=1 -DHAVE_GL_H=1 -I/usr/X11R6/include -c FX88591Codec.cpp

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"

-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.28\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_X11_EXTENSIONS_XSHM_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DHAVE_X11_XCURSOR_XCURSOR_H=1 -DHAVE_X11_EXTENSIONS_XRANDR_H=1 -DHAVE_VSSCANF=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_LIBDL=1 -I. -I. -I../include -I../include -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include -O2 -DHAVE_XFT_H=1 -DHAVE_XSHAPE_H=1 -DHAVE_XSHM_H=1 -DFOX_THREAD_SAFE=1 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_GNU_SOURCE -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZ2LIB_H=1 -DHAVE_XCURSOR_H=1 -DHAVE_XRANDR_H=1 -DNO_XIM -DHAVE_CUPS_H=1 -Wall -W -Woverloaded-virtual -Wformat -DHAVE_GLU_H=1 -DHAVE_GL_H=1 -I/usr/X11R6/include -c FX88591Codec.cpp -fno-common -DPIC -o .libs/FX88591Codec.o In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,

from ../include/xincs.h:211, from FX88591Codec.cpp:1:

/usr/X11R6/include/ft2build.h:55:38: error: freetype/config/ftheader.h: No such file or directory In file included from ../include/xincs.h:211,

from FX88591Codec.cpp:1:

/usr/X11R6/include/X11/Xft/Xft.h:36:10: error: #include expects "FILENAME" or < ILENAME> /usr/X11R6/include/X11/Xft/Xft.h:53: error: 'FT_Library' does not name a type /usr/X11R6/include/X11/Xft/Xft.h:87: error: 'FT_UInt' does not name a type /usr/X11R6/include/X11/Xft/Xft.h:94: error: 'FT_UInt' does not name a type /usr/X11R6/include/X11/Xft/Xft.h:191: error: expected ',' or '...' before '*' t ken /usr/X11R6/include/X11/Xft/Xft.h:192: error: ISO C++ forbids declaration of 'FT UInt' with no type /usr/X11R6/include/X11/Xft/Xft.h:296: error: expected ',' or '...' before '*' t ken /usr/X11R6/include/X11/Xft/Xft.h:298: error: ISO C++ forbids declaration of 'FT UInt' with no type /usr/X11R6/include/X11/Xft/Xft.h:354: error: 'FT_Face' does not name a type /usr/X11R6/include/X11/Xft/Xft.h:394: error: expected ',' or '...' before '*' t ken /usr/X11R6/include/X11/Xft/Xft.h:395: error: ISO C++ forbids declaration of 'FT UInt' with no type /usr/X11R6/include/X11/Xft/Xft.h:400: error: expected ',' or '...' before '*' t ken /usr/X11R6/include/X11/Xft/Xft.h:401: error: ISO C++ forbids declaration of 'FT UInt' with no type /usr/X11R6/include/X11/Xft/Xft.h:409: error: 'FT_UInt' has not been declared /usr/X11R6/include/X11/Xft/Xft.h:410: error: 'FT_UInt' has not been declared /usr/X11R6/include/X11/Xft/Xft.h:418: error: 'FT_UInt' does not name a type /usr/X11R6/include/X11/Xft/Xft.h:462: error: expected ',' or '...' before '*' t ken /usr/X11R6/include/X11/Xft/Xft.h:463: error: ISO C++ forbids declaration of 'FT UInt' with no type make[1]: * [FX88591Codec.lo] Error 1 make: * [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 17 years ago by nox@…

Cc: lyle.johnson@… added
Milestone: Port Bugs
Priority: ExpectedNormal
Summary: Errors installing FOX, just sharing it at this pointBUG: Errors installing FOX
Version: 1.5.0

comment:2 Changed 17 years ago by afb@…

error: freetype/config/ftheader.h: No such file or directory

The port seems to be missing a -I/usr/X11R6/include/freetype2,
or possibly a depends on "freetype" - depending on which is desired.

comment:3 Changed 17 years ago by lyle.johnson@…

I've just submitted an update to the Portfile that adds explicit dependencies on Xft2, fontconfig and freetype (see Trac ticket #12556). Sorry for the delay in addressing this problem; I missed it when it was first submitted and only saw it when nox and afb posted their comments.

comment:4 Changed 17 years ago by sfiera@…

Resolved (I presume) by r28207

comment:5 Changed 17 years ago by sfiera@…

Resolution: fixed
Status: newclosed

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.