pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Ghostscript fails to build on OS X 10.5



Using pkgsrc-2008Q3 on Mac OS X 10.5 (Leopard). The build fails as shown below. It's trying to use '-soname', which is apparently not portable. The 2008Q3 Makefile includes this change (from 2008Q2)...

26a27,30
> BUILD_TARGET=              so
> INSTALL_TARGET=            soinstall
> CONFIGURE_ARGS+=   -with-omni=no   # otherwise pulls in libstdc++
>

... which seems suspect to me. I tried removing this and although the build completes, the package is horribly incomplete. Obviously I don't know what I'm doing here! Build failure for the unmodified pkgsrc is below.

Louis



gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2 -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I/usr/X11/include/freetype2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -pipe -O2 -DA4 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I/usr/X11/include/freetype2 -I./obj/../soobj -I./src -o ./obj/../soobj/gsromfs1.o -c ./obj/../soobj/gsromfs1.c ./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - gcc -L/usr/pkg/lib -L/usr/lib -L/usr/X11/lib -L/usr/X11/lib -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.63 ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -ldl -lm -liconv -L/usr/pkg/lib -lfontconfig -lpthread -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
        DEVICE_DEVS_EXTRA= \
        /bin/sh <./obj/../soobj/ldt.tr
ld: unknown option: -soname=libgs.so.8
collect2: ld returned 1 exit status
gnumake[1]: *** [bin/../sobin/libgs.so.8.63] Error 1
gnumake: *** [so] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/print/ghostscript
*** Error code 1


Home | Main Index | Thread Index | Old Index