Subject: Re: pkg/32832: [SOLARIS] gettext-asprintf doesn't build on Solaris 10
To: None <tv@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
List: pkgsrc-bugs
Date: 02/16/2006 12:00:05
The following reply was made to PR pkg/32832; it has been noted by GNATS.
From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
To: pkgsrc-bugs@NetBSD.org
Cc:
Subject: Re: pkg/32832: [SOLARIS] gettext-asprintf doesn't build on Solaris 10
Date: Thu, 16 Feb 2006 12:10:14 +0100
Todd Vierling napisa=B3:
> An odd thing in your build log: Are you setting SH=3D/usr/bin/bash
> yourself?
yes, indeed. It was necessery while building gettext-tools (pkg/32826:
devel/gettext-tools SPARC Solaris, libtool Segmentation Fault)
=20
> Anyway, please try the following commands in a scratch dir and mail =
me
> their output:
> =20
> /usr/pkg/bin/libtool --mode=3Dlink gcc -o libgcc.la -rpath /usr/=
pkg/lib
> && ls -l .libs/libgcc*
> =20
> /usr/pkg/bin/libtool --mode=3Dlink --tag=3DCXX g++ -o libgxx.la =
-rpath
> /usr/pkg/lib && ls -l .libs/libg++*
Here's the output:
/usr/pkg/bin/libtool --mode=3Dlink gcc -o libgcc.la -rpath /usr/pkg/lib=
&& ls
-l .libs/libgcc*
ld -G -h libgcc.so.0 -o .libs/libgcc.so.0.0.0 -lc
(cd .libs && rm -f libgcc.so.0 && ln -s libgcc.so.0.0.0 libgcc.so.0)
(cd .libs && rm -f libgcc.so && ln -s libgcc.so.0.0.0 libgcc.so)
ar cru .libs/libgcc.a
ranlib .libs/libgcc.a
creating libgcc.la
(cd .libs && rm -f libgcc.la && ln -s ../libgcc.la libgcc.la)
lrwxrwxrwx 1 root root 12 2006-02-16 11:58 .libs/libgcc.la
-> ../libgcc.la
-rw-r--r-- 1 root root 783 2006-02-16 11:58 .libs/libgcc.lai
lrwxrwxrwx 1 root root 15 2006-02-16 11:58 .libs/libgcc.so ->
libgcc.so.0.0.0
lrwxrwxrwx 1 root root 15 2006-02-16 11:58 .libs/libgcc.so.0 ->
libgcc.so.0.0.0
-rwxr-xr-x 1 root root 1420 2006-02-16 11:58 .libs/libgcc.so.0.0.0
/usr/pkg/bin/libtool --mode=3Dlink --tag=3DCXX g++ -o libgxx.la
-rpath /usr/pkg/lib && ls -l .libs/libg++*
(cd .libs && rm -f libgxx.so.0 && ln -s libgxx.so.0.0.0 libgxx.so.0)
(cd .libs && rm -f libgxx.so && ln -s libgxx.so.0.0.0 libgxx.so)
ar cru .libs/libgxx.a
ranlib .libs/libgxx.a
creating libgxx.la
(cd .libs && rm -f libgxx.la && ln -s ../libgxx.la libgxx.la)
gls: .libs/libg++*: No such file or directory
there's no libg++, but isnt't it gcc library?
I'm using Sun Studio 11
--=20
Krzysztof Raczkowski
raczkow@prz.edu.pl