pkgsrc-Users archive

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

PKGSRC on Solaris



Hi , i'm trying to compile libiconv (and it is basic to run pkgsrc) on
pkgsrc over solaris 10, and it return this error:

# bmake
builddir="`pwd`"; cd libcharset && bmake all &&   -rw
lib/libcharset.la lib/.libs "$builddir/" &&         -rw include/*.h
"$builddir/"
cd lib && bmake all
/bin/sh ../libtool --mode=link gcc -Wl,-R/usr/pkg/lib -o libcharset.la
-rpath /usr/pkg/lib -version-info 1:0:0 -no-undefined localcharset.lo
relocatable.lo
rm -fr  .libs/libcharset.so .libs/libcharset.so.1 .libs/libcharset.so.1.0.0
gcc -shared -Wl,-h -Wl,libcharset.so.1 -o .libs/libcharset.so.1.0.0
.libs/localcharset.o .libs/relocatable.o
-L/opt/pkgsrc/converters/libiconv/work/.buildlink/lib -lc
-Wl,-R/usr/pkg/lib
(cd .libs && rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1)
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so)
false cru .libs/libcharset.a  localcharset.o relocatable.o
*** Error code 255

Stop.
bmake: stopped in
/opt/pkgsrc/converters/libiconv/work/libiconv-1.10/libcharset/lib
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/converters/libiconv/work/libiconv-1.10/libcharset
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/converters/libiconv/work/libiconv-1.10
#

--------------------------
What is happenig ? I 'm using  gcc from sunfreeware.com :
---------------------------

# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
#

----------------------------------
My eviroiment variables are:
--------------------------------------
# export
declare -x AB_CARDCATALOG="/usr/dt/share/answerbooks/es_ES.UTF-8/ab_cardcatalog"
declare -x CC="/usr/local/bin/gcc"
declare -x DISPLAY=":0.0"
declare -x 
DTAPPSEARCHPATH="/export/home/olopez/.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C"
declare -x 
DTDATABASESEARCHPATH="/export/home/olopez/.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C"
declare -x DTDEVROOT=""
declare -x 
DTHELPSEARCHPATH="/export/home/olopez/.dt/help/olopez-dhcppc0-0/%H:/export/home/olopez/.dt/help/olopez-dhcppc0-0/%H.sdl:/export/home/olopez/.dt/help/olopez-dhcppc0-0/%H.hv:/export/home/olopez/.dt/help/%H:/export/home/olopez/.dt/help/%H.sdl:/export/home/olopez/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv"
declare -x DTSCREENSAVERLIST="StartDtscreenSwarm StartDtscreenQix
StartDtscreenFlame StartDtscreenHop StartDtscreenImage
StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro
StartDtscreenWorm StartDtscreenBlank"
declare -x DTSOURCEPROFILE="true"
declare -x DTUSERSESSION="olopez-dhcppc0-0"
declare -x DTXSERVERLOCATION="local"
declare -x EDITOR="/usr/dt/bin/dtpad"
declare -x GTK_IM_MODULE="iiim"
declare -x HELPPATH="/usr/openwin/lib/locale:/usr/openwin/lib/help"
declare -x HOME="/export/home/olopez"
declare -x LANG="es_ES.UTF-8"
declare -x LC_COLLATE="es_ES.UTF-8"
declare -x LC_CTYPE="es_ES.UTF-8"
declare -x LC_MESSAGES="es.UTF-8"
declare -x LC_MONETARY="es_ES.UTF-8"
declare -x LC_NUMERIC="es_ES.UTF-8"
declare -x LC_TIME="es_ES.UTF-8"
declare -x LOGNAME="olopez"
declare -x MAIL="/var/mail/olopez"
declare -x MANPATH="/usr/dt/man:/usr/man:/usr/openwin/share/man"
declare -x OLDPWD="/opt/pkgsrc/converters/libiconv/work"
declare -x OPENWINHOME="/usr/openwin"
declare -x 
PATH="/usr/sbin:/usr/bin:/usr/pkg/bin/:/usr/pkg/sbin/:/opt/csw/bin/:/opt/csw/lib/:/usr/local/bin/"
declare -x PS1="# "
declare -x PWD="/opt/pkgsrc/converters/libiconv/work/libiconv-1.10"
declare -x SESSION_SVR="dhcppc0"
declare -x SHELL="/bin/sh"
declare -x SHLVL="1"
declare -x TERM="dtterm"
declare -x TERMINAL_EMULATOR="dtterm"
declare -x TZ="Europe/Madrid"
declare -x USER="olopez"
declare -x WINDOWID="50331669"
declare -x 
XFILESEARCHPATH="/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S"
declare -x XMBINDDIR="/usr/dt/lib/bindings"
declare -x 
XMICONBMSEARCHPATH="/export/home/olopez/.dt/icons/%B%M.bm:/export/home/olopez/.dt/icons/%B%M.pm:/export/home/olopez/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B"
declare -x 
XMICONSEARCHPATH="/export/home/olopez/.dt/icons/%B%M.pm:/export/home/olopez/.dt/icons/%B%M.bm:/export/home/olopez/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B"
declare -x dtstart_sessionlogfile="/dev/null"
#
---------------------------------------------------------------------

Thanks.
--
http://www.sacalabasura.com
IM: pollo.es.pollo en gmail.com
Te lo traigo fresco.



Home | Main Index | Thread Index | Old Index