ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  PHP 4.3 and Mac OS X
Subject:   PHP 4.3.10 on OS X 10.2.8
Date:   2005-02-01 11:59:50
From:   rmwiseman
I had PHP successfully built and then Apple's software update came in and destroyed my build, replacing it with another one with different options (and, importantly, curl disabled). I downloaded PHP 4.3.10 and used the configuration here, with --with-curl=/opt/src/curl-7.10.5 appended.


However, this and any other configuration I've tried result in nasty errors when I do a make. It says about things like:


/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:239: parse error before "uint32_t"
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:239: warning: no semicolon at end of struct or union
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:240: warning: data definition has no type or storage class
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:386: parse error before "uint32_t"
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:386: warning: no semicolon at end of struct or union
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c: In function `Balloc':
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:405: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:409: sizeof applied to an incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:410: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:411: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type

and then ends up with:

/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c: In function `zend_strtod':
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1243: parse error before "rv"
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1245: `uint32_t' undeclared (first use in this function)
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1245: parse error before "y"
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1252: `rv' undeclared (first use in this function)
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1277: `y' undeclared (first use in this function)
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1277: `z' undeclared (first use in this function)
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1485: `rv0' undeclared (first use in this function)
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1514: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1570: dereferencing pointer to incomplete type
/Users/richard/Desktop/php-4.3.10/Zend/zend_strtod.c:1571: dereferencing pointer to incomplete type
make: *** [Zend/zend_strtod.lo] Error 1

I've always been a little afraid of using make so, any suggestions would be appreciated!
Thanks in advance.
Richard

1 to 1 of 1
  1. PHP 4.3.10 on OS X 10.2.8
    2005-02-03 11:59:07  rmwiseman [View]

    • PHP 4.3.10 on OS X 10.2.8
      2005-02-04 09:24:35  rmwiseman [View]

    • PHP 4.3.10 on OS X 10.2.8
      2005-02-04 09:20:35  rmwiseman [View]

      • PHP 4.3.10 on OS X 10.2.8
        2005-02-04 11:28:13  rmwiseman [View]

        • PHP 4.3.10 on OS X 10.2.8
          2005-02-24 08:51:52  guillegv [View]

1 to 1 of 1