[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libidn2-2.3.0 and compile error on Solaris 11.3
From: |
Tim Rühsen |
Subject: |
Re: libidn2-2.3.0 and compile error on Solaris 11.3 |
Date: |
Thu, 2 Apr 2020 15:27:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
Hi Jeff,
I believe this is not related to libidn2.
Please
grep global_symbol_pipe libtool
to see what I mean.
$global_symbol_pipe is empty in your case - it should hold some command.
Also $lt_cv_sys_global_symbol_pipe is empty (see config.log), while it
should hold something like:
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
In 'configure' you can find this comment:
# Check for command to grab the raw symbol name followed by C symbol
from nm.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM
output from $compiler object" >&5
$as_echo_n "checking command to parse $NM output from $compiler
object... " >&6; }
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
$as_echo_n "(cached) " >&6
else
...
So it looks like you need 'nm' somehow working together with your
compiler !?
But well, I can't really help you here.
Regards, Tim
On 4/2/20 3:09 PM, Jeffrey Walton wrote:
Hi Everyone,
I recently updated to libidn2-2.3.0. Solaris builds are failing:
libtool: link: /bin/nm -p .libs/idna.o .libs/lookup.o .libs/decode.o .libs/regi
ster.o .libs/bidi.o .libs/version.o .libs/error.o .libs/puny_encode.o .libs/puny
_decode.o .libs/free.o .libs/data.o .libs/tr46map.o .libs/tables.o .libs/context
.o ../gl/.libs/libgnu.a | | /bin/gsed s/.* // | sort | uniq >
.libs/libidn2../libtool
[1720]: eval: syntax error at line 1: `|' unexpected
gmake[3]: *** [libidn2.la] Error 3
gmake[3]: Leaving directory `/export/home/test/libidn2-2.3.0/lib'
It looks like there is an empty pipe before the gsed.
Attached is config.log for the build.
Thanks in advance.