apple-gcc42 fails to build

2015-08-16 Thread Thomas Ruedas
Hi, in the process of trying to upgrade Gnuplot via Macports (v.2.3.3), a long, long list of other packages needed to be (re)built as well, among them apple-gcc42. That build fails after some time; the last part of the logfile, which seems to contain the information pertaining to the problem

Re: apple-gcc42 fails to build

2015-08-16 Thread Ryan Schmidt
On Aug 16, 2015, at 8:14 AM, Thomas Ruedas wrote: in the process of trying to upgrade Gnuplot via Macports (v.2.3.3), a long, long list of other packages needed to be (re)built as well, among them apple-gcc42. That build fails after some time; the last part of the logfile, which seems to

Re: Trying to use libidn in a port but get this error ld: library not found for -lidn

2015-08-16 Thread Ben Greenfield
On Aug 15, 2015, at 1:48 PM, Ben Greenfield b...@cogs.com wrote: On Aug 15, 2015, at 12:19 PM, Brandon Allbery allber...@gmail.com mailto:allber...@gmail.com wrote: On Sat, Aug 15, 2015 at 12:14 PM, Ben Greenfield b...@cogs.com mailto:b...@cogs.com wrote: gcc -fPIC -Wall -ggdb

Re: Trying to use libidn in a port but get this error ld: library not found for -lidn

2015-08-16 Thread Brandon Allbery
On Sun, Aug 16, 2015 at 3:43 PM, Ben Greenfield b...@cogs.com wrote: I think I fixed the problem by adding -L/opt/local/lib to the LDFLAGS in macosx specific section. Does that sound like the expected fix? Depends. If it's based on autoconf then you sometimes have to read through all the

Re: Trying to use libidn in a port but get this error ld: library not found for -lidn

2015-08-16 Thread Ryan Schmidt
On Aug 16, 2015, at 14:46, Brandon Allbery wrote: On Sun, Aug 16, 2015 at 3:43 PM, Ben Greenfield wrote: I think I fixed the problem by adding -L/opt/local/lib to the LDFLAGS in macosx specific section. Does that sound like the expected fix? Depends. If it's based on autoconf then you

Re: Trying to use libidn in a port but get this error ld: library not found for -lidn

2015-08-16 Thread Brandon Allbery
On Sun, Aug 16, 2015 at 5:05 PM, Ryan Schmidt ryandes...@macports.org wrote: I would answer this exactly the other way round: autoconf based build systems are largely well behaved and will respond correctly to LDFLAGS being set, though it's certainly possible to use autoconf incorrectly such