Subject: pcre build fail on Solaris
To: None <pkgsrc-users@netbsd.org>
From: Eric C. <techr@nexweb.ca>
List: pkgsrc-users
Date: 07/09/2006 00:34:44
Hi,
I'm trying to build devel/pcre in the pkgsrc-2006Q2 on a Solaris 10 i386.
The 2 consecutives pipes " | | " when generating symbol are causing the
problem. I wasn't able to find where that extra pipe came from
(or what is the missing argv between them).
Thank you !
rm -f libpcre.la
/bin/ksh ./libtool --mode=link --tag=CC gcc -export-symbols-regex '^[^_]'
-L/opt/pkgsrc/pkg/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.5 -Wl,-R/opt/pkgsrc
/pkg/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.5 -L/opt/pkgsrc/pkg/gcc3/lib -Wl,
-R/opt/pkgsrc/pkg/gcc3/lib -L/opt/pkgsrc/pkg/lib -Wl,-R/opt/pkgsrc/pkg/lib
-I. -I. -rpath /opt/pkgsrc/pkg/lib -version-info '0:1:0' -o libpcre.la
pcre_chartables.lo pcre_compile.lo pcre_config.lo pcre_dfa_exec.lo pcre_exec.lo
pcre_fullinfo.lo pcre_get.lo pcre_globals.lo pcre_info.lo pcre_maketables.lo
pcre_ord2utf8.lo pcre_refcount.lo pcre_study.lo pcre_tables.lo
pcre_try_flipped.lo pcre_ucp_searchfuncs.lo pcre_valid_utf8.lo pcre_version.lo
pcre_xclass.lo
generating symbol list for `libpcre.la'
nm -p .libs/pcre_chartables.o .libs/pcre_compile.o .libs/pcre_config.o .libs/
pcre_dfa_exec.o .libs/pcre_exec.o .libs/pcre_fullinfo.o .libs/pcre_get.o .libs/
pcre_globals.o .libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_ord2utf8.o
.libs/pcre_refcount.o .libs/pcre_study.o .libs/pcre_tables.o
.libs/pcre_try_flipped.o .libs/pcre_ucp_searchfuncs.o .libs/pcre_valid_utf8.o
.libs/pcre_version.o .libs/pcre_xclass.o | | /opt/pkgsrc/pkg/bin/nbsed
's/.* //' | sort | uniq > .libs/libpcre.exp
/opt/pkgsrc/pkg/bin/libtool: syntax error at line 1: `|' unexpected
*** Error code 2
Stop.
bmake: stopped in /opt/pkgsrc/pkgsrc/devel/pcre/work/pcre-6.6
*** Error code 1