xfig fails to build

Ryan Schmidt ryandesign at macports.org
Mon Apr 14 16:20:59 PDT 2008


On Apr 14, 2008, at 4:18 PM, Dimitri Hendriks wrote:
> I just reinstalled macports, from the Tiger disk image.
> This seemed to work fine. However, the first port I want
> to install fails, see bleow (sorry, mac mail seems not
> to preserve line breaks). Anyone a clue?

That's really unreadable. The Mac OS X Mail program surely does  
preserve line breaks, but if it's not working for you, perhaps you  
can attach your output as file, or better yet, file a bug in the  
issue tracker and attach your output there.

In any case your issue seems to be a problem building Xaw3d, not xfig.

Have you installed X11 app from the Tiger disk, and also the X11SDK  
from the Xcode 2.5 disk image, and also the X11 update 1.1.3 from  
software update?


> diem at jarvis:~<503> sudo port install xfig--->  Fetching Xaw3d--->   
> Attempting to fetch Xaw3d-1.5E.tar.gz from ftp://ftp.FreeBSD.org/ 
> pub/FreeBSD/ports/distfiles/--->  Verifying checksum(s) for Xaw3d--- 
> >  Extracting Xaw3d--->  Configuring Xaw3d--->  Building Xaw3d with  
> target all SHLIBGLOBALSFLAGS=-L/usr/X11R6/lib INCDIR=/opt/local/ 
> include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/libError:  
> Target org.macports.build returned: shell command " cd "/opt/local/ 
> var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_X 
> aw3d/work/xc/lib/Xaw3d" && make all SHLIBGLOBALSFLAGS=-L/usr/X11R6/ 
> lib INCDIR=/opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/ 
> opt/local/lib " returned error 2Command output: XawIm.c:1549:  
> warning: implicit declaration of function `_XtCountVaList'XawIm.c: 
> 1554: warning: implicit declaration of function `_XtVaToArgList'rm - 
> f XawIm.o/usr/bin/cc -c -g -Os  -Wall -Wpointer-arith -no-cpp- 
> precomp -fno-common   -I. -I/usr/X11R6/include    - 
> D__DARWIN__                                 -DNO_ALLOCA - 
> DCSRG_BASED           -dynamic XawIm.cXawIm.c: In function  
> `SetValues':XawIm.c:1093: warning: implicit declaration of function  
> `_XtCopyFromArg'XawIm.c: In function `Initialize':XawIm.c:1334:  
> warning: unused variable `i'XawIm.c: In function  
> `_XawImVASetValues':XawIm.c:1549: warning: implicit declaration of  
> function `_XtCountVaList'XawIm.c:1554: warning: implicit  
> declaration of function `_XtVaToArgList'rm -f XawI18n.o unshared/ 
> XawI18n.o/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno- 
> common   -I. -I/usr/X11R6/include    - 
> D__DARWIN__                                 -DNO_ALLOCA - 
> DCSRG_BASED                -g -Os   XawI18n.c -o unshared/ 
> XawI18n.oXawI18n.c: In function `_Xaw_atowc':XawI18n.c:75: warning:  
> implicit declaration of function `mbtowc'rm -f XawI18n.o/usr/bin/cc  
> -c -g -Os  -Wall -Wpointer-arith -no-cpp-precomp -fno-common   -I. - 
> I/usr/X11R6/include    -D__DARWIN__                                  
> -DNO_ALLOCA -DCSRG_BASED           -dynamic XawI18n.cXawI18n.c: In  
> function `_Xaw_atowc':XawI18n.c:75: warning: implicit declaration  
> of function `mbtowc'rm -f libXaw3d.7.0.dylib~+ cd .+ /usr/bin/cc - 
> o ./libXaw3d.7.0.dylib~ -dynamiclib -L/usr/X11R6/lib -install_name / 
> opt/local/lib/libXaw3d.7.dylib -current_version 7.0 - 
> compatibility_version 7.0 -seg_addr_table_filename /opt/local/lib/ 
> libXaw3d.7.0.dylib AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o  
> Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o  
> MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o  
> Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o  
> StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o  
> TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o  
> Xaw3dP.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o  
> XawIm.o XawI18n.o -L/opt/local/lib -lXmu -lXt -lSM -lICE -lXext - 
> lX11 -lXt -lSM -lICE -lXpm -lXext -lX11/usr/bin/libtool: for  
> architecture: cputype (16777234) cpusubtype (0) file: -lSystem is  
> not an object file (not allowed in a library)+ rm -f libXaw3d. 
> 7.dylib+ ln -s libXaw3d.7.0.dylib libXaw3d.7.dylib+ truerm -f  
> libXaw3d.7.0.dylibmv -f libXaw3d.7.0.dylib~ libXaw3d.7.0.dylibmv:  
> rename libXaw3d.7.0.dylib~ to libXaw3d.7.0.dylib: No such file or  
> directorymake: *** [libXaw3d.7.0.dylib] Error 1
> Error: The following dependencies failed to build: Xaw3d  
> ghostscript expat fontconfig freetype zlib libiconv jpeg  
> libpngError: Status 1 encountered during processing.




More information about the macports-users mailing list