[MacPorts] #27859: php5-imap build fails when build_arch is changed (was: php5-imap Configure error - build failure)
MacPorts
noreply at macports.org
Tue Jan 4 17:10:36 PST 2011
#27859: php5-imap build fails when build_arch is changed
--------------------------------+-------------------------------------------
Reporter: tianseng@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: php5-imap
--------------------------------+-------------------------------------------
Comment(by ryandesign@…):
Replying to [comment:4 tianseng@…]:
> I deliberately changed build_arch to i386 since i needed python27 &
MySQL to be built for i386 due to compatibility issues with MySQLdb.
> {{{
> $ lipo -info /opt/local/lib/libc-client4.a
> input file /opt/local/lib/libc-client4.a is not a fat file
> Non-fat file: /opt/local/lib/libc-client4.a is architecture: x86_64
> }}}
Ok, that explains it. cclient was built for x86_64, so logically php5-imap
cannot be built for i386 against that. Also, cclient does not currently
support having its build_arch changed; I filed #27867 for that. You won't
be able to rebuild cclient for i386 until that's fixed.
> Is there a way for me to build php5 and its extensions for x64 ?
To do that, you would set build_arch back to x86_64 in macports.conf.
Could you elaborate on why you wanted to change build_arch to i386? I'm
not aware of any problems running MySQL on x86_64; it seems to work fine
for me.
--
Ticket URL: <https://trac.macports.org/ticket/27859#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list