On 28/2/11 21:40, the Adib wrote:
what if you just revert the changes from Makefile.am (removing the -Wl option) ?
Yes, it picks up where it failed earlier, links and finishes without further errors after
$ bzr revert -r 10070 src/Makefile.am $ make
<snip>
$ src/inkscape --version Xlib: extension "RANDR" missing on display "/tmp/launch-wiwyAr/:0". Inkscape 0.48+devel r10074 custom (Feb 28 2011)
which is expected because linking worked before r10071, and it's a known 'unknown option' of GCC's ld on Mac OS X (according to Google).
It's just that reverting is no solution IMHO - the option for 'ld' either needs to be tested first (in configure.ac are already similar tests IIRC), or added in 'src/Makefile.am' depending on the platform.
I have never built and installed a newer GCC version (via MacPorts), so I cannot test nor confirm if upping the requirements of the build environment to a more recent GCC version (not provided by Apple) would make it possible to use the linker flag '-Wl,--export-dynamic' untested for all platforms.
The official Inkscape release packages are still done on Mac OS X 10.5 Leopard which defaults to GCC 4.0.1 (and includes GCC 4.2.1 as alternative compiler, though they both use the same include files from 4.0.1 - AFAIR from an earlier problem with TR1 hashtable).
~suv