Eric, The ^M is because I cut and paste from my script file. I've update to the latest version using cvsup. I'm still experiencing the same problem. I am another server that is running ImageMagick version 6.2.9.3 and I didn't experience the compile problem below.
/cm Eric wrote: > Charles Mujie wrote: > >> Hi, >> >> I am trying to install gallery2 from ports and while building >> ImageMagick I am getting the following error. Has anyone seen this >> error before? >> /cm >> >> >> making all in lib/font/FreeType...^M >> >> rm -f xttcap.o unshared/xttcap.o^M >> >> cc -c -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall >> -Wpointer-arith -Wundef -I/usr/local/include >> -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/config >> -I. -I/usr/ports/x11/xorg-libraries/work/xc/include/fonts >> -I../include -I/usr/ports/x11/xorg-libraries/work/xc/exports/include/X11 >> >> >> -I/usr/ports/x11/xorg-libraries/work/xc/programs/Xserver/include >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/ports/x11/xorg-libraries/work/xc >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO >> -DGCCUSESGAS -DA >> >> VOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH >> -DXFreeXDGA -DXvExtension >> -DXFree86LOADER -DDLOPEN_HACK >> -DXFree86Server >> -DXF86VIDMODE >> -DXvMCExtension -DSMART_SCHEDULE >> >> -DBUILDDEBUG -DXResExtension >> -DX_BYTE_ORDER=X_LITTLE_ENDIAN >> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * >> 1000) + 0)" -DXFREE86_FT2 -O2 -fno-strict-aliasing >> -pipe xttcap.c -o unshared/xttcap.o^M >> >> rm -f xttcap.o^M >> >> cc -c -O2 -fno-strict-aliasing -pipe -ansi -pedantic >> -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wundef >> -I/usr/local/include -I/usr/local/include/freetype2 >> -I/usr/local/include/freetype2/config -I. >> -I/usr/ports/x11/xorg-libraries/work/xc/include/fonts -I../include >> -I/usr/ports/x11/xorg-libraries/work >> >> /xc/exports/include/X11 >> -I/usr/ports/x11/xorg-libraries/work/xc/programs/Xserver/include >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/ports/x11/xorg-libraries/work/xc >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 >> >> -DNARROWPROTO -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV >> -DSINGLEDEPTH -DXFreeXDGA >> -DXvExtension -DXFree86LOADER >> -DDLOPEN_HACK -DXFree86Server >> -DXF86VIDMODE >> -DXvMCExtension -DSM >> >> ART_SCHEDULE -DBUILDDEBUG >> -DXResExtension >> -DX_BYTE_ORDER=X_LITTLE_ENDIAN >> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * >> 1000) + 0)" -DXFREE86_FT2 -fPIC xttcap.c^M >> >> rm -f ftfuncs.o unshared/ftfuncs.o^M >> >> cc -c -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall >> -Wpointer-arith -Wundef -I/usr/local/include >> -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/config >> -I. -I/usr/ports/x11/xorg-libraries/work/xc/include/fonts >> -I../include -I/usr/ports/x11/xorg-libraries/work/xc/exports/include/X11 >> >> >> -I/usr/ports/x11/xorg-libraries/work/xc/programs/Xserver/include >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/ports/x11/xorg-libraries/work/xc >> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include >> -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO >> -DGCCUSESGAS -DA >> >> VOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH >> -DXFreeXDGA -DXvExtension >> -DXFree86LOADER -DDLOPEN_HACK >> -DXFree86Server >> -DXF86VIDMODE >> -DXvMCExtension -DSMART_SCHEDULE >> >> -DBUILDDEBUG -DXResExtension >> -DX_BYTE_ORDER=X_LITTLE_ENDIAN >> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * >> 1000) + 0)" -DXFREE86_FT2 -O2 -fno-strict-aliasing >> -pipe ftfuncs.c -o unshared/ftfuncs.o^M >> >> ftfuncs.c:57:10: #include expects "FILENAME" or <FILENAME>^M >> >> ftfuncs.c:59:10: #include expects "FILENAME" or <FILENAME>^M >> >> ftfuncs.c:60:10: #include expects "FILENAME" or <FILENAME>^M >> >> ftfuncs.c: In function `FreeTypeOpenInstance':^M >> >> ftfuncs.c:467: error: syntax error before "tt_face"^M >> >> ftfuncs.c:471: error: syntax error before "sfnt"^M >> >> ftfuncs.c:472: error: `tt_face' undeclared (first use in this >> function)^M >> >> ftfuncs.c:472: error: (Each undeclared identifier is reported only >> once^M >> >> ftfuncs.c:472: error: for each function it appears in.)^M >> >> ftfuncs.c:472: error: `TT_Face' undeclared (first use in this >> function)^M >> >> ftfuncs.c:472: error: syntax error before "face"^M >> >> ftfuncs.c:486: error: `sfnt' undeclared (first use in this function)^M >> >> ftfuncs.c:486: error: `SFNT_Service' undeclared (first use in this >> function)^M >> >> ftfuncs.c:486: error: syntax error before "tt_face"^M >> >> ftfuncs.c: In function `tt_get_metrics':^M >> >> ftfuncs.c:815: error: syntax error before "longs_m"^M >> >> ftfuncs.c:824: error: `longs_m' undeclared (first use in this >> function)^M >> >> ftfuncs.c:824: error: `TT_LongMetrics' undeclared (first use in this >> function)^M >> >> ftfuncs.c:824: error: syntax error before "header"^M >> >> ftfuncs.c:829: error: `TT_ShortMetrics' undeclared (first use in this >> function)^M >> >> ftfuncs.c:829: error: syntax error before ')' token^M >> >> ftfuncs.c:830: error: syntax error before "header"^M >> >> ftfuncs.c: In function `ft_get_very_lazy_bbox':^M >> >> ftfuncs.c:845: error: syntax error before "ttface"^M >> >> ftfuncs.c:852: error: `ttface' undeclared (first use in this function)^M >> >> ftfuncs.c: In function `FT_Do_SBit_Metrics':^M >> >> ftfuncs.c:914: error: syntax error before "sfnt"^M >> >> ftfuncs.c:918: error: syntax error before "strike"^M >> >> ftfuncs.c:931: error: `face' undeclared (first use in this function)^M >> >> ftfuncs.c:931: error: `TT_Face' undeclared (first use in this >> function)^M >> >> ftfuncs.c:931: error: syntax error before "ft_face"^M >> >> ftfuncs.c:932: error: `sfnt' undeclared (first use in this function)^M >> >> ftfuncs.c:932: error: `SFNT_Service' undeclared (first use in this >> function)^M >> >> ftfuncs.c:932: error: syntax error before "face"^M >> >> ftfuncs.c:938: error: `range' undeclared (first use in this function)^M >> >> ftfuncs.c:938: error: `strike' undeclared (first use in this function)^M >> >> ftfuncs.c:955: warning: implicit declaration of function >> `FT_STREAM_POS'^M >> >> ftfuncs.c:958: warning: implicit declaration of function >> `FT_STREAM_SEEK'^M >> >> ftfuncs.c:961: error: `elem_metrics' undeclared (first use in this >> function)^M >> >> *** Error code 1^M >> >> ^M >> >> Stop in /usr/ports/x11/xorg-libraries/work/xc/lib/font/FreeType.^M >> >> *** Error code 1^M >> >> ^M >> >> Stop in /usr/ports/x11/xorg-libraries/work/xc/lib/font.^M >> >> *** Error code 1^M >> >> ^M >> >> Stop in /usr/ports/x11/xorg-libraries/work/xc/lib.^M >> >> *** Error code 1^M >> >> ^M >> >> Stop in /usr/ports/x11/xorg-libraries.^M >> >> *** Error code 1^M >> > > all those ^M do not look right. can you update imagemagik from cvs or > however you do it to make sure nothing is going on with the makefile? > Those appear to be dos line feed characters. > > Eric _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"