pkgsrc-Users archive

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

textproc/libxslt on Solaris 10/sparc

Hello all,

I'm trying to compile "textproc/libxslt" on Solaris 10/sparc and am
running into the following error:

Making all in libxslt
gmake[2]: Entering directory
/local/pkg/bin/pdksh ../libtool --tag=CC   --mode=link gcc  -O
-I/local/pkg/include -I/usr/include -Wall  -Wl,-M -Wl,./libxslt.syms
-version-info 2:26:1 -L/local/pkg/lib -Wl,-R/local/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -o -rpath /local/pkg/lib attrvt.lo xslt.lo
xsltlocale.lo xsltutils.lo pattern.lo templates.lo variables.lo keys.lo
numbers.lo extensions.lo extra.lo functions.lo namespaces.lo imports.lo
attributes.lo documents.lo preproc.lo transform.lo security.lo
-Wl,-R/local/pkg/lib -L/local/pkg/lib -R/local/pkg/lib -lxml2 -lz
-L/local/pkg/lib -liconv -lm -lsocket -lnsl -lm
libtool: link: cc -G -h -o .libs/ 
.libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o
.libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o
.libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o
.libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o
.libs/preproc.o .libs/transform.o .libs/security.o  
-R/local/pkgsrc/textproc/libxslt/work/.buildlink/lib -R/local/pkg/lib
/local/pkgsrc/textproc/libxslt/work/.buildlink/lib/ -lz
/local/pkgsrc/textproc/libxslt/work/.buildlink/lib/ -lsocket
-lnsl -lm -lc  -Wl,-M -Wl,./libxslt_solaris.syms -Wl,-R/local/pkg/lib
./libxslt_solaris.syms: file not recognized: File format not recognized
collect2: ld returned 1 exit status
gmake[2]: *** [] Error 1

This is both with, and without, patch-ah. Also I tried using both the
Solaris ld and the GNU one.

The end goal is to compile textproc/php-xsl, so if I could tell Pkgsrc to
simply use "/usr/lib/" from the Sun/Oracle "SUNWlxsl" package,
that would work as well. If I could use a binary package that'd be good as
well, but my PREFIX is /local/pkg, so that may be a problem.

I know TOOLS_PLATFORM can be used for binaries, but if I can use it for
libraries, that'd be nice. :)

Thanks for any info.

Home | Main Index | Thread Index | Old Index