php5 upgrade today
Ryan Schmidt
ryandesign at macports.org
Sat May 24 14:07:10 PDT 2008
On May 24, 2008, at 15:29, Mark Hattam wrote:
> At 15:17 -0500 24/5/08, Ryan Schmidt wrote:
>
>> On May 24, 2008, at 07:24, Mark Hattam wrote:
>>
>>> configure: error: C compiler cannot create executables
>>> See `config.log' for more details.
>>>
>>> Error: The following dependencies failed to build: gd2 fontconfig
>>> Error: Status 1 encountered during processing.
>>
>> hmmm. Well what does the config.log say? It'll be in `port dir
>> fontconfig`/work/fontconfig-2.5.0/config.log
>
> After a fair bit of searching ... the log is in
>
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_fontconfig/work/fontconfig-2.5.0/
Like I said, it's in `port dir fontconfig`/work/fontconfig-2.5.0/
config.log :)
In other words, you can type this in the Terminal to change to that
directory:
cd `port dir fontconfig`/work/fontconfig-2.5.0
Or you can type this to open the directory in the Finder:
open `port dir fontconfig`/work/fontconfig-2.5.0
> Here it is ...
[snip]
> configure:2545: checking for gcc
> configure:2572: result: /usr/bin/gcc-4.0
> configure:2810: checking for C compiler version
> configure:2817: /usr/bin/gcc-4.0 --version >&5
> ./configure: line 1: /usr/bin/gcc-4.0: No such file or directory
> configure:2820: $? = 127
> configure:2827: /usr/bin/gcc-4.0 -v >&5
> ./configure: line 1: /usr/bin/gcc-4.0: No such file or directory
> configure:2830: $? = 127
> configure:2837: /usr/bin/gcc-4.0 -V >&5
> ./configure: line 1: /usr/bin/gcc-4.0: No such file or directory
> configure:2840: $? = 127
> configure:2863: checking for C compiler default output file name
> configure:2890: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -L/opt/
> local/lib conftest.c
> >&5
> ./configure: line 1: /usr/bin/gcc-4.0: No such file or directory
Do you have /usr/bin/gcc-4.0? fontconfig seems to be unable to find
it. If you don't have it, did you install Xcode? If not, you need it.
If you did install Xcode, I can't explain the absence of /usr/bin/
gcc-4.0; try installing Xcode again. For Mac OS X 10.4, make sure you
use either Xcode 2.5 or 2.4.1 (nothing older).
More information about the macports-users
mailing list