Opened 6 years ago

Last modified 6 years ago

#58281 new defect

twain-sane does not support x86-64

Reported by: Kyshman (Tony Kinyua) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: Kyshman (Tony Kinyua)
Port: twain-sane

Description

It seems the port of twain-sane on Macports is only meant for i386 ppc so it cannot be installed on modern machines.

sudo port install twain-sane
Password:
Error: twain-sane cannot be installed for the configured build_arch 'x86_64' because it only supports the arch(s) 'i386 ppc'.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port twain-sane failed

Unfortunately port info lists no maintainer and I can seem to locate any on Macports.org

Change History (3)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Twain-sane No longer cant be installed on x86-64twain-sane does not support x86-64

You're correct, twain-sane cannot be compiled for x86_64. The reason is that it uses Carbon, an obsolete Apple API that does not support x86_64. As far as I can tell, MacPorts contains the very latest version of twain-sane that exists. If you want twain-sane to be compilable for x86_64, you'll have to report that to the developers, and they'll have to rewrite it so that it no longer uses Carbon.

comment:2 Changed 6 years ago by Kyshman (Tony Kinyua)

Cc: Kyshman added

comment:3 Changed 6 years ago by Kyshman (Tony Kinyua)

Been looking around and also contacted the developer though I got no response on that end. But it now looks like someone has forked (https://github.com/genose/macos-sierra-sane-binaries) from the original twain-sane http://www.ellert.se/twain-sane/ and it looks like it is in active development. Maybe this can assist.

Note: See TracTickets for help on using tickets.