tech-pkg archive

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

pkgsrc on OpenSolaris



Hi,

I'm trying to get pkgsrc HEAD running on OpenSolaris 2008.05.  The
intial bootstrap went fine and I have a set of basic working pkg_*
tools.  I've tried installing a few packages (e.g. perl and screen) with
only minor[1] issues.  There are however a few packages which have died
on me and I think it may be the same root problem e.g.

devel/gettext-lib:
gcc -shared  .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o
.libs/gettext.o .libs/finddomain.o .libs/loadmsgcat.o
.libs/localealias.o .libs/textdomain.o .libs/l10nflist.o
.libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o
.libs/dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural-exp.o
.libs/localcharset.o .libs/relocatable.o .libs/langprefs.o
.libs/localename.o .libs/log.o .libs/printf.o .libs/osdep.o
.libs/intl-compat.o  -lc
-L/var/scratch/pkgsrc.obj/devel/gettext-lib/work/.buildlink/lib -lc
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libintl.so.3 -o .libs/libintl.so.3.4.3
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libintl.so.3: open failed: No such file or directory
ld: fatal: File processing errors. No output written to
.libs/libintl.so.3.4.3
collect2: ld returned 1 exit status
*** Error code 1

converters/libiconv:
gcc -shared  .libs/localcharset.o .libs/relocatable.o
-L/var/scratch/pkgsrc.obj/converters/libiconv/work/.buildlink/lib -lc
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libcharset.so.1 -o
.libs/libcharset.so.1.0.0
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libcharset.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to
.libs/libcharset.so.1.0.0
collect2: ld returned 1 exit status

Anyone have any bright ideas on this or could give me some clues ?  I
only see one "-o" so I don't know why it thinks there are multiple ones
or should I be more concerned about the 'fatal' errors ?  This is a
stock OpenSolaris 2008.05 install from the live CD and I've installed
the SUNWgcc package.

thanks,

adrian.

FWIW:

$ uname -a
SunOS millhouse 5.11 snv_86 i86pc i386 i86pc Solaris

$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds/sfwnv-86/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

[1] I've set PKG_DEVELOPER=yes which is giving me the following on all
packages:

=> Checking file permissions in ${PKGNAME}
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: bailing out near line 1


Home | Main Index | Thread Index | Old Index