php5 upgrade today

Mark Hattam mark at dxradio.demon.co.uk
Sat May 24 16:08:00 PDT 2008


At 16:07 -0500 24/5/08, Ryan Schmidt wrote:
>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.
>>>
>>>
>
>>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).


re-installed XCode 2.5 and it now appears to be happy ... it's still 
building the php5 part, but it's got this much done and thus I'm 
pretty confident it will accomplish the task in due time.


Powerbook:/usr/bin markhattam$ sudo port install php5 +apache2 +mysql5 +sqlite
--->  Configuring fontconfig
--->  Building fontconfig with target all
--->  Staging fontconfig into destroot
--->  Installing fontconfig 2.5.0_0+macosx
--->  Activating fontconfig 2.5.0_0+macosx
--->  Cleaning fontconfig
--->  Fetching gd2
--->  Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/
--->  Verifying checksum(s) for gd2
--->  Extracting gd2
--->  Applying patches to gd2
--->  Configuring gd2
--->  Building gd2 with target all
--->  Staging gd2 into destroot
--->  Installing gd2 2.0.35_1
--->  Activating gd2 2.0.35_1
--->  Cleaning gd2
--->  Fetching php5
--->  Verifying checksum(s) for php5
--->  Extracting php5
--->  Configuring php5
--->  Building php5 with target all

it'll be at this stage for some time yet ...

Mark


More information about the macports-users mailing list