Error messages with Freetype and XFree86

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Mon Feb 4 03:34:52 PST 2008


>>
>> MacPro, Leopard, latest version of MacPorts (downloaded yesterday)  
>> and I'd say latest Xcode as well...
>
> Hi Stefan,
>
> do you really want XFree86? I guess, you don't.
> XFree86 is often only chosen because a more recent version of X11 is  
> not available.
>
> Try to get the latest X11 from http://trac.macosforge.org/projects/xquartz
> You install this on top the existing Leopard-X11 and the X11-SDK  
> from the Leopard Install DVD.
>
> Clean everything up in MacPorts and try to compile again. If the  
> "right" X11 is availble, MacPorts won't bother with XFree86.
> At least this is the case, when I install Scribus: Scribus nominally  
> also depends on XFree86,
> but if a fresher X11 is around, it goes with this instead.
>


Thanks for the hints. But it seems that GD2 needs XFree86. At least,  
after having followed your instructions, it still looks for XFree86...

Any idea why this would be? Or why it doesn't succeed to compile  
properly?

Thanks for any hints!


________________________________________________________________________________________________
gridmac7:mapserver-5.0.2 schwarzer$ sudo port install gd2
--->  Building XFree86 with target World
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_XFree86/work/xc" && make World "  
returned error 2
Command output: including in lib/dps...
checking ../../config/pswrap/pswrap over in ../../config/pswrap first...
/usr/bin/cc -Os -fno-strict-aliasing -Wall -Wpointer-arith -no-cpp- 
precomp   -I.   -I../../exports/include   "-I/opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_XFree86/work/include" -D__i386__ - 
D__DARWIN__                                 -DNO_ALLOCA - 
DCSRG_BASED      -DXENVIRONMENT    -c -o main.o main.c
yacc -d pswparser.y
conflicts: 1 shift/reduce
mv -f y.tab.c pswparser.c
+ mv -f y.tab.h pswparser.h
/usr/bin/cc -Os -fno-strict-aliasing -Wall -Wpointer-arith -no-cpp- 
precomp   -I.   -I../../exports/include   "-I/opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_XFree86/work/include" -D__i386__ - 
D__DARWIN__                                 -DNO_ALLOCA - 
DCSRG_BASED      -DXENVIRONMENT    -c -o pswparser.o pswparser.c
flex -l  lexer.l
lexer.l:108: bad character: %
lexer.l:108: unknown error processing section 1
lexer.l:108: unknown error processing section 1
lexer.l:108: bad character: 3
lexer.l:108: bad character: 5
lexer.l:108: bad character: 0
lexer.l:108: bad character: 0
lexer.l:109: bad character: %
lexer.l:109: unknown error processing section 1
lexer.l:109: bad character: 2
lexer.l:109: bad character: 5
lexer.l:109: bad character: 0
lexer.l:109: bad character: 0
make[4]: *** [lexer.c] Error 1
okay, continuing in lib/dps
../../config/pswrap/pswrap -a -o dpsclrops.c -h dpsclrops.h  
dpsclrops.psw
make[3]: ../../config/pswrap/pswrap: Command not found
make[3]: *** [dpsclrops.c] Error 127
make[2]: *** [includes] Error 1
make[1]: *** [includes] Error 1
make: *** [World] Error 2

Error: The following dependencies failed to build: XFree86 fontconfig
Error: Status 1 encountered during processing.
________________________________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2180 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080204/b70716bb/smime.bin


More information about the macports-users mailing list