pkgsrc-Users archive

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

Ghostscript fails to build on Mac OS 10.5.5 (intel)



Hello,

I've tried to compile print/ghostscript from pkgsrcQ3, which I found on the official netbsd server. I can't use pkgsrcQ2, because another program I need doesn't comüpile and the problem was fixed after the release of Q2. Unfortunately the build stops with an error during the linking phase:

writing node 'lib/FAPIfontmap' len=1468
writing node 'lib/FCOfontmap-PCLPS2' len=3013
writing node 'lib/gs_cet.ps' len=1817
Total %rom% structure size is 5229492 bytes.
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" -Wall -fno-strict-aliasing -g -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -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 -arch i386 -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

Stop.
bmake: stopped in /usr/pkgsrc/print/ghostscript


I've tried to find a solution to the problem on the web, but I've found nothing which would help. Therefore I hope that someone can give me hint here on the list. I would really appreciate it. I have attached my mk.conf file...

Thanks for any help in advance and if somebody needs more information or logs, just tell me what and I will provide it.

Regards,
Dennis

# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Mo  6 Okt 2008 08:29:46 CEST

.ifdef BSD_PKG_MK       # begin pkgsrc settings


PKG_DBDIR=              /var/db/pkg
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGMANDIR=              man

TOOLS_PLATFORM.pax?=            /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}pax
TOOLS_PLATFORM.tar?=            /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}tar
FETCH_CMD=              /usr/bin/ftp

CFLAGS= -Wall -fno-strict-aliasing -g -O2 -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -arch i386 
LDFLAGS= -arch i386 


.endif                  # end pkgsrc settings


Home | Main Index | Thread Index | Old Index