From: Operating system: Solaris 5.10 PHP version: 5.3.2 Package: *Compile Issues Bug Type: Bug Bug description:Fatal error:
Description: ------------ Hello, i'm installing the php-5.3.2 on sun/sjsws system as FastCgi. · Operating System: Solaris 5.10 · WebServer SJSWS 7.0 listening to the standard port : 80 · Oracle- Client: 11.2.0 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) my configure: ./configure --prefix=$PHP_HOME --with-oci8=$ORACLE_HOME --with-pear=$PHP_HOME --enable-calendar --with-zlib --with-gd --with-png-dir=/usr/lib --enable-libgcc --enable-zip --with-gettext Seems ok, but the make results the following error: *** Error code 1 make: Fatal error: Command failed for target `main/streams/glob_wrapper.lo' What can be wrong? would you please help me? Best regards Actual result: -------------- -I/tmp/php-5.3.2/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -c /tmp/php-5.3.2/main/streams/glob_wrapper.c -o main/streams/glob_wrapper.lo /tmp/php-5.3.2/main/streams/glob_wrapper.c:40: error: syntax error before "glob_t" /tmp/php-5.3.2/main/streams/glob_wrapper.c:40: warning: no semicolon at end of struct or union /tmp/php-5.3.2/main/streams/glob_wrapper.c:47: error: syntax error before '}' token /tmp/php-5.3.2/main/streams/glob_wrapper.c:47: warning: data definition has no type or storage class /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `_php_glob_stream_get_path': /tmp/php-5.3.2/main/streams/glob_wrapper.c:51: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:51: error: (Each undeclared identifier is reported only once /tmp/php-5.3.2/main/streams/glob_wrapper.c:51: error: for each function it appears in.) /tmp/php-5.3.2/main/streams/glob_wrapper.c:51: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `_php_glob_stream_get_pattern': /tmp/php-5.3.2/main/streams/glob_wrapper.c:73: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:73: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `_php_glob_stream_get_count': /tmp/php-5.3.2/main/streams/glob_wrapper.c:95: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:95: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: At top level: /tmp/php-5.3.2/main/streams/glob_wrapper.c:111: error: syntax error before '*' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `php_glob_stream_path_split': /tmp/php-5.3.2/main/streams/glob_wrapper.c:124: error: `p_file' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:126: error: `get_path' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:127: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `php_glob_stream_read': /tmp/php-5.3.2/main/streams/glob_wrapper.c:141: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:141: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c:148: error: `GLOB_APPEND' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `php_glob_stream_close': /tmp/php-5.3.2/main/streams/glob_wrapper.c:165: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:165: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `php_glob_stream_rewind': /tmp/php-5.3.2/main/streams/glob_wrapper.c:184: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:184: error: syntax error before ')' token /tmp/php-5.3.2/main/streams/glob_wrapper.c: In function `php_glob_stream_opener': /tmp/php-5.3.2/main/streams/glob_wrapper.c:211: error: `pglob' undeclared (first use in this function) /tmp/php-5.3.2/main/streams/glob_wrapper.c:251: error: `GLOB_APPEND' undeclared (first use in this function) -- Edit bug report at http://bugs.php.net/bug.php?id=51974&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51974&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51974&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=51974&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=51974&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51974&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51974&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51974&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51974&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51974&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51974&r=support Expected behavior: http://bugs.php.net/fix.php?id=51974&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51974&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51974&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51974&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51974&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51974&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51974&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51974&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51974&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51974&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51974&r=mysqlcfg