FAQ
I've been trying to build PHP in Mac OS X Server 10.4.0

The OS is a fresh install with the appropriate graphic libs installed

It fails to configure with the switch '--with-gd' citing the
following error.

________________________________________________________

checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... /var/
mysql/mysql.sock
checking for MySQL UNIX socket location... /var/mysql/mysql.sock
checking for char... yes
checking size of char... configure: error: cannot compute sizeof
(char), 77
See `config.log' for more details.
________________________________________________________



Here's a tail of 'config.log', it yields little information on the
cause of the problem so I'm not sure what the problem is or what to
do about it.
________________________________________________________

#define PHP_SIGCHILD 0
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define STDC_HEADERS 1
#define USE_GD_IMGSTRTTF 1
#define USE_GD_IMGSTRTTF 1
#define WORDS_BIGENDIAN
#define YYTEXT_POINTER 1

configure: exit 1
________________________________________________________


It built fine under Mac OS X Server 10.2.x - 10.3.x

Any ideas on the problem/solution or where to begin looking?

-- Dale

Search Discussions

  • Sumoraigabe-php at May 12, 2005 at 10:01 pm

    --- "D. Walsh" wrote:
    I've been trying to build PHP in Mac OS X Server
    10.4.0

    The OS is a fresh install with the appropriate
    graphic libs installed

    It fails to configure with the switch '--with-gd'
    citing the
    following error.
    Hmm... I was able to configure and make 5.0.4 with GD
    without problems.

    What version of PHP are you building?

    Can you provide the entire ./configure line?

    Have you installed the new version of Xcode from the
    10.4 DVD?


    - Gabriel
  • D. Walsh at May 14, 2005 at 2:05 am

    On May 12, 2005, at 05:39 PM, <sumoraigabe-php@yahoo.com> wrote:


    --- "D. Walsh" wrote:
    I've been trying to build PHP in Mac OS X Server
    10.4.0

    The OS is a fresh install with the appropriate
    graphic libs installed

    It fails to configure with the switch '--with-gd'
    citing the
    following error.
    Hmm... I was able to configure and make 5.0.4 with GD
    without problems.

    What version of PHP are you building?

    Can you provide the entire ./configure line?

    Have you installed the new version of Xcode from the
    10.4 DVD?


    - Gabriel
    I found the issue, freetype2 was originally built in 10.3 with
    zlib-1.1.3 and tar'ed, a new rebuild of freetype2 and the issue was
    resolved.

    -- Dale
  • Justin Hannus at May 13, 2005 at 1:53 am
    have you by any chance rebuilt the configure script with buildconf to
    add another extension to your build? not thats it's necessary but is
    sometimes the cause of the problem your having. if you ave incompatible
    versions of the GNU tools (autoconf, automake, etc.) they can generate
    buggy configure scripts from running buildconf. try checking the
    versions on your system vs. the versions recommended for building php.

    http://www.php.net/anoncvs.php
    http://www.php.net/manual/en/install.macosx.php

    -justin


    D. Walsh wrote:
    I've been trying to build PHP in Mac OS X Server 10.4.0

    The OS is a fresh install with the appropriate graphic libs installed

    It fails to configure with the switch '--with-gd' citing the following
    error.

    ________________________________________________________

    checking for msession support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... /var/
    mysql/mysql.sock
    checking for MySQL UNIX socket location... /var/mysql/mysql.sock
    checking for char... yes
    checking size of char... configure: error: cannot compute sizeof
    (char), 77
    See `config.log' for more details.
    ________________________________________________________



    Here's a tail of 'config.log', it yields little information on the
    cause of the problem so I'm not sure what the problem is or what to do
    about it.
    ________________________________________________________

    #define PHP_SIGCHILD 0
    #define SIZEOF_INT 4
    #define SIZEOF_LONG 4
    #define STDC_HEADERS 1
    #define USE_GD_IMGSTRTTF 1
    #define USE_GD_IMGSTRTTF 1
    #define WORDS_BIGENDIAN
    #define YYTEXT_POINTER 1

    configure: exit 1
    ________________________________________________________


    It built fine under Mac OS X Server 10.2.x - 10.3.x

    Any ideas on the problem/solution or where to begin looking?

    -- Dale

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedMay 12, '05 at 2:17p
activeMay 14, '05 at 2:05a
posts4
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase