Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14108 (new defect)

Opened 10 months ago

Last modified 2 weeks ago

inkscape fails to compile on intel leopard install

Reported by: atenderholt@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: inkscape leopard intel Cc: nox@…
Port:

Description (last modified by jmpp@…) (diff)

Hi,

A simple port install inkscape leads to the following compile error:

ld: warning in /opt/local/lib/libssl.dylib, file is not of required architecture
ld: warning in /opt/local/lib/libcrypto.dylib, file is not of required architecture
ld: warning in /opt/local/lib/libgc.dylib, file is not of required architecture
ld: warning in /opt/local/lib/liblcms.dylib, file is not of required architecture
Undefined symbols for architecture ppc:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc9reoxx.out (No such file or directory)
make[2]: *** [inkscape] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The file crt1.10.5.o (in /Developer/SDKs/MacOSX10.5.sdk/usr/lib) has four arches: ppc7400, i386, ppc64, and x86_64). I also tried copying crt1.o, which has a ppc arch, but had no luck. Any ideas? Or fixes?

I'm using MacOS X 10.5.1 with a recently "port selfupdate", and dev tools as installed with the leopard dvd.

Thanks,

Adam

Change History

Changed 10 months ago by jmpp@…

  • description modified (diff)
  • milestone set to Port Bugs

Changed 7 months ago by jmr@…

Does this still happen with the current version of inkscape?

Changed 7 months ago by atenderholt@…

Yes it still fails with the same error. This is now on 10.5.2 with MacPorts selfupdate'd today (Inkscape 0.46).

Adam

Changed 7 months ago by jmr@…

And you're not building with +universal? What does file /opt/local/lib/libgc.dylib say?

Changed 7 months ago by atenderholt@…

/opt/local/lib/libgc.dylib: Mach-O dynamically linked shared library i386

And unless there's some option I'm accidentally including when I run 'sudo port install inkscape', I don't think I'm building with +universal.

Thanks,

Adam

Changed 2 weeks ago by nox@…

  • cc nox@… added

Cc Me!

Note: See TracTickets for help on using tickets.