On 16 Jul 2004, at 23:24, Martin Costabel wrote:
Alwyn wrote:I have found that the build of xaw3d-shlibs fails on a Darwin 7.4.0 (Mac OX X 10.3.4) system with Apple's current GCC compiler and Fink 0.7.0:
/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/usr/X11R6/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -Os MultiSrc.c -o unshared/MultiSrc.o
In file included from MultiSrc.c:71:
XawI18n.h:32:19: widec.h: No such file or directory
make: *** [MultiSrc.o] Error 1
### execution of make failed, exit code 2
It is interesting that NO_WIDEC_H is defined, yet Xawl18n.h still tries to include the header file.
This is an incompatibility between xaw3d and xfree86-4.4.0 that has been fixed in the xaw3d package in unstable some 3 months ago.
Could you try xaw3d-1.5-8 from unstable? Or else change in your xaw3d-1.5-5.info file the line
make USRLIBDIR=%p/lib INCDIR=%p/include SHLIBDIR=%p/lib
to
make USRLIBDIR=%p/lib INCDIR=%p/include SHLIBDIR=%p/lib EXTRA_DEFINES=-DNO_WIDEC_H
Mea culpa, I forgot to mention that I had installed XFree86 4.4.0.
Having enabled the 'unstable' package, however, the build now fails just as it is about to finish:
rm -f libXaw3d.7.0.dylib~
/bin/sh: -c: line 1: syntax error near unexpected token `$INSTALLNAME'
/bin/sh: -c: line 1: `MAJREV=`echo 7.0 | sed 's/\.[^\.]*$//'`; INSTALLNAME=libXaw3d.$MAJREV.dylib; set -x; (cd .; /usr/bin/cc -o ./libXaw3d.7.0.dylib~ -dynamiclib -install_name /sw/lib/$INSTALLNAME -current_version 7.0 -compatibility_version 7.0 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 MultiSrc.o MultiSink.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 Toggle.o Tree.o Vendor.o Viewport.o XawIm.o XawI18n.o XawInit.o laygram.o laylex.o -L/usr/X11R6/lib -L/sw/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11); rm -f $INSTALLNAME; ln -s libXaw3d.7.0.dylib $INSTALLNAME; LinkBuildSonameLibrary($INSTALLNAME)'
make: *** [libXaw3d.7.0.dylib] Error 2
### execution of make failed, exit code 2
Failed: compiling xaw3d-1.5-8 failed
Alwyn
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
