[MacPorts] #51815: librsvg @2.40.16 does not build on PPC Mac OS X 10.5.8, Leopard, because of "./libtool: eval: line 1085: syntax error near unexpected token `|' "
MacPorts
noreply at macports.org
Sun Jul 10 05:20:18 PDT 2016
#51815: librsvg @2.40.16 does not build on PPC Mac OS X 10.5.8, Leopard, because of
"./libtool: eval: line 1085: syntax error near unexpected token `|' "
------------------------------+----------------------
Reporter: Peter_Dyballa@… | Owner: larryv@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: libtool |
------------------------------+----------------------
Comment (by Peter_Dyballa@…):
On PPC Tiger it helps to add to the `configure.args` in `Portfile` the
line
{{{
lt_cv_path_NM=/usr/bin/nm
}}}
and the link command now works:
{{{
libtool: link: /usr/bin/nm .libs/librsvg_2_la-librsvg-features.o .libs
/librsvg_2_la-rsvg-css.o .libs/librsvg_2_la-rsvg-defs.o .libs
/librsvg_2_la-rsvg-image.o .libs/librsvg_\
2_la-rsvg-io.o .libs/librsvg_2_la-rsvg-paint-server.o .libs/librsvg_2_la-
rsvg-path.o .libs/librsvg_2_la-rsvg-base-file-util.o .libs/librsvg_2_la-
rsvg-filter.o .libs/librsvg_\
2_la-rsvg-marker.o .libs/librsvg_2_la-rsvg-mask.o .libs/librsvg_2_la-rsvg-
shapes.o .libs/librsvg_2_la-rsvg-structure.o .libs/librsvg_2_la-rsvg-
styles.o .libs/librsvg_2_la-rs\
vg-text.o .libs/librsvg_2_la-rsvg-cond.o .libs/librsvg_2_la-rsvg-base.o
.libs/librsvg_2_la-librsvg-enum-types.o .libs/librsvg_2_la-rsvg-cairo-
draw.o .libs/librsvg_2_la-rsvg-\
cairo-render.o .libs/librsvg_2_la-rsvg-cairo-clip.o .libs/librsvg_2_la-
rsvg.o .libs/librsvg_2_la-rsvg-gobject.o .libs/librsvg_2_la-rsvg-file-
util.o .libs/librsvg_2_la-rsvg-s\
ize-callback.o .libs/librsvg_2_la-rsvg-xml.o | sed -n -e 's/^.*[
]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1
_\2 \2/p' | sed '/ __gnu_lt\
o/d' | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/librsvg-2.exp
}}}
The port finally built and was installed.
I think the cause of this event is that I fiddled with `port select --set`
and set values for clang and llvm since I had finally working versions of
them, needed for some other port(s)…
--
Ticket URL: <https://trac.macports.org/ticket/51815#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list