openmotif installation error

Georg Otto georg.otto at tuebingen.mpg.de
Fri Feb 16 02:14:04 PST 2007


Hi,

here is what I did and the resulting error message (see
below). Unfortunately I am not quite sure how to install a patch and
therefor I might have done it wrong. I would appreciate further
suggestions

Best,

Georg


Yves de Champlain <yves at macports.org> writes:

> Hi
>
> I just commited a patch.  Tell me if it works
>
> yves
>
> Le 07-02-15 à 08:47, Georg Otto a écrit :
>
>> Hi,
>>
>> I have a problem intsalling openmotif. It gives me the following
>> error:
>



$ sudo port install openmotif
--->  Fetching openmotif
--->  Verifying checksum(s) for openmotif
--->  Extracting openmotif
--->  Applying patches to openmotif
--->  Configuring openmotif
--->  Building openmotif with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_openMotif/work/openmotif-2.3.0" && LANG=C make all" returned error 2
Command output: if /bin/sh ../../libtool --tag=CC --mode=compile 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 SeparatoG.lo -MD -MP -MF ".deps/SeparatoG.Tpo" -c -o SeparatoG.lo SeparatoG.c; \
then mv -f ".deps/SeparatoG.Tpo" ".deps/SeparatoG.Plo"; else rm -f ".deps/SeparatoG.Tpo"; exit 1; fi
 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 SeparatoG.lo -MD -MP -MF .deps/SeparatoG.Tpo -c SeparatoG.c  -fno-common -DPIC -o .libs/SeparatoG.o
 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 SeparatoG.lo -MD -MP -MF .deps/SeparatoG.Tpo -c SeparatoG.c -o SeparatoG.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile 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 Separator.lo -MD -MP -MF ".deps/Separator.Tpo" -c -o Separator.lo Separator.c; \
then mv -f ".deps/Separator.Tpo" ".deps/Separator.Plo"; else rm -f ".deps/Separator.Tpo"; exit 1; fi
 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 Separator.lo -MD -MP -MF .deps/Separator.Tpo -c Separator.c  -fno-common -DPIC -o .libs/Separator.o
 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 Separator.lo -MD -MP -MF .deps/Separator.Tpo -c Separator.c -o Separator.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile 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 Simple.lo -MD -MP -MF ".deps/Simple.Tpo" -c -o Simple.lo Simple.c; \
then mv -f ".deps/Simple.Tpo" ".deps/Simple.Plo"; else rm -f ".deps/Simple.Tpo"; exit 1; fi
 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 Simple.lo -MD -MP -MF .deps/Simple.Tpo -c Simple.c  -fno-common -DPIC -o .libs/Simple.o
 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 Simple.lo -MD -MP -MF .deps/Simple.Tpo -c Simple.c -o Simple.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile 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 Text.lo -MD -MP -MF ".deps/Text.Tpo" -c -o Text.lo Text.c; \
then mv -f ".deps/Text.Tpo" ".deps/Text.Plo"; else rm -f ".deps/Text.Tpo"; exit 1; fi
 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 Text.lo -MD -MP -MF .deps/Text.Tpo -c Text.c  -fno-common -DPIC -o .libs/Text.o
 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 Text.lo -MD -MP -MF .deps/Text.Tpo -c Text.c -o Text.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile 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 -o TextIn.lo TextIn.c; \
then mv -f ".deps/TextIn.Tpo" ".deps/TextIn.Plo"; else rm -f ".deps/TextIn.Tpo"; exit 1; fi
 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

Error: Status 1 encountered during processing.





More information about the macports-users mailing list