Re: Yosemite
Re: Yosemite
- Subject: Re: Yosemite
- From: Patrick Middleton <email@hidden>
- Date: Tue, 05 Aug 2014 17:52:53 +0100
I anticipate that's not a biggie.
You're building via APXS, APXS tries to use the same compiler and
compiler flags to make sure the ABI matches.
Because of how the compiler tools are installed in recent OSX
releases, the compiler is not /usr/bin/cc, it's ... something inside
an Xcode toolchain, something like the path in the error message.
That path /Applications/Xcode.app/Contents/Developer/Toolchains/
OSX10.10.xctoolchain/usr/bin/cc is probably hardcoded into /usr/sbin/
apxs. That is the APXS tool being used, not the one your build has
created and which will later be installed by 'make install'
The path of the default Xcode toolchain provided by whichever Xcode
you are using is different; create OSX10.10.xctoolchain as a symlink
using /bin/ln to an Xcode toolchain you do have.
Or fiddle with the hardcoded path in /usr/sbin/apxs.
When 'make install' completes, the new /usr/sbin/apxs will be
installed, using the now-correct full path to the compiler via the
Xcode toolchain ... neatly setting you up to encounter this problem
again when you install a different Xcode with a default Xcode
toolchain with a different name.
On 5 Aug 2014, at 17:08, Mark Wardle wrote:
Yosemite upgrades Apache from 2.2 and 2.4.
I’ve tried recompiling the apache adaptor but compilation files
despite entering a magic incantation:
make ADAPTORS=Apache2.4 LTFLAGS='--tag CC’
/usr/share/apr-1/build-1/libtool: line 8962: /Applications/
Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/
bin/cc: No such file or directory
apxs:Error: Command failed with rc=8323072
It looks like it may be a problem with the new yosemite Xcode but
I’m not sure.
Has anyone either downgraded gracefully to apache 2.2 or got a
binary apache 2.4 mac os x yosemite adapter. For the latter, we
then have to do battle with the updated configuration files which
look like they’re more restrictive than before.
If this doesn’t work, then I might have to face the horror of
remembering how to do development in direct connect mode and
somehow dynamically switch SSL on or off depending on whether in
development!
Mark
--
This email, including any attachments, is confidential and intended solely
for the person or organisation to whom it is addressed. If you are not the
intended recipient you must not disseminate, distribute or copy any part
of this email nor take any action in reliance on it.
If you have received this in error please notify the sender immediately by
email or phone +44 (0)1702 426400 and delete this email and any attachments
from your system.
Email transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message which arise as a result of email transmission. If verification
is required please request a hard-copy version.
OneStep Solutions LLP is registered in England and Wales under registration
number OC337173 and has its registered office at 44 The Pantiles, Tunbridge
Wells, Kent, TN2 5TN.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Yosemite (From: Mark Wardle <email@hidden>) |