Opened 19 years ago
Closed 18 years ago
#8975 closed defect (fixed)
openmotif build fails on pristine darwinports installation
Reported by: | jbacon@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
Installed darwinports fresh from the latest dmg, ran port -d selfupdate, then port install openmotif. Here are the results:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -MT TextIn.lo -MD -MP -MF .deps/TextIn.Tpo -c TextIn.c -fno-common -DPIC -o .libs/TextIn.o
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from TextIn.c:91:
/opt/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /opt/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /opt/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /opt/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /opt/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[3]: * [TextIn.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1
Attachments (1)
Change History (3)
Changed 18 years ago by roland@…
Attachment: | patch-freetype.diff added |
---|
comment:1 Changed 18 years ago by roland@…
I've encountered the same problem on Panther (Mac OS X 10.3.9). The following patch solved the build problem w.r.t. Freetype.
(see attached file patch-freetype.diff
)
--- Portfile.orig Tue Nov 14 17:54:45 2006 +++ Portfile Tue Nov 14 17:55:28 2006 @@ -35,7 +35,7 @@ build.env LANG=C platform darwin 7 { - patchfiles-append patch-XmRenderTI.h + patchfiles-append patch-freetype.diff } platform darwin 8 {
Roland
comment:2 Changed 18 years ago by yves@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch applied in changeset:22064
A replacement for patch-XmRenderTI.h (on Mac OS X 10.3.9)