Subject: misc/openoffice2 on NetBSD sparc64
To: None <pkgsrc-users@netbsd.org>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-users
Date: 04/13/2007 11:00:12
Hi, I'm trying to build openoffice2 on sparc64, it will probably have problems
with code that is not 64-bit clean, but the first stage is building the
binaries.

I have created Makefile.NetBSD.sparc64 which contains:

OPENOFFICE_OUTPATH=     unxbsdi3
OPENOFFICE_SETFILE=     NetBSDSparc

After compiling for a while, it fails with:

Making: ../unxbsds3.pro/bin/makedepend
unx
cat ../unxbsds3.pro/misc/make_makedepend.makedepend_1.cmd
gcc -Wl,-export-dynamic -L../unxbsds3.pro/lib -L/opt/pkg/lib/firefox ../unxbsds3.pro/obj/cppsetup.o ../unxbsds3.pro/obj/ifparser.o ../unxbsds3.pro/obj/include.o ../unxbsds3.pro/obj/main.o ../unxbsds3.pro/obj/parse.o ../unxbsds3.pro/obj/pr.o ../unxbsds3.pro/obj/collectdircontent.o \
-Wl,-Bdynamic -lstlport_gcc -lpthread -lm -o ../unxbsds3.pro/bin/makedepend
ld: cannot find -lstlport_gcc

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/opt/pkg.obj/misc/openoffice2/work.ultra10/.gcc/bin/gcc -Wl,-export-dynamic -L../unxbsds3.pro/lib -L/opt/pkg.obj/misc/openoffice2/work.ultra10/.buildlink/lib/firefox ../unxbsds3.pro/obj/cppsetup.o ../unxbsds3.pro/obj/ifparser.o ../unxbsds3.pro/obj/include.o ../unxbsds3.pro/obj/main.o ../unxbsds3.pro/obj/parse.o ../unxbsds3.pro/obj/pr.o ../unxbsds3.pro/obj/collectdircontent.o -Wl,-Bdynamic -o ../unxbsds3.pro/bin/makedepend -I/opt/pkg.obj/misc/openoffice2/work.ultra10/.buildlink/include -L/opt/pkg.obj/misc/openoffice2/work.ultra10/.buildlink/lib  -lstlport_gcc -lpthread -lm
dmake:  Error code 1, while making '../unxbsds3.pro/bin/makedepend'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /opt/pkg.obj/misc/openoffice2/work.ultra10/OOF680_m14/soltools/mkdepend
dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'
*** Error code 255

Stop.
make: stopped in /opt/pkgsrc/misc/openoffice2

The error above says it cannot find stlport_gcc library. Any idea why it is
looking for this library? Do I need to install devel/stlport package?