php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20970 make fails (gcc: regex/r: No such file or directory)
Submitted: 2002-12-12 13:33 UTC Modified: 2003-01-22 21:01 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: joydeep_ghosh at net dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.1-dev OS: Sun2.7
Private report: No CVE-ID: None
 [2002-12-12 13:33 UTC] joydeep_ghosh at net dot com
Execute http://testzone.net.com/php/run.php

Output:

No code submitted.
Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0

Iplanet webserver 4.2 used

'./configure' '--with-nsapi=/export/webtools/netscape/server4'
                                              '--enable-libgcc'    


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-12 14:28 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2003-01-02 18:47 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-01-14 13:12 UTC] Joydeep_ghosh at net dot com
Directory php4-200212122230 created
 [2003-01-14 13:29 UTC] joydeep_ghosh at net dot com
configuration completes with the following:

./configure --enable-debug --enable-libgcc --enable-dbx \
            --enable-ftp --enable-inline-optimization \
--with-nsapi=/export/webtools/netscape/server4 \
            --with-pgsql=/usr/local/pgsql \
--with-oracle=/export/webtools/app/oracle/product/8.1.7
 [2003-01-14 13:41 UTC] joydeep_ghosh at net dot com
php_version.h shows #define PHP_VERSION "4.4.0-dev" 

Make command fails with following message 

gcc: ext/standard/a: No such file or directory
make: *** [sapi/cli/php] Error 1
 [2003-01-14 13:50 UTC] joydeep_ghosh at net dot com
Changing status to Open
 [2003-01-14 17:44 UTC] joydeep_ghosh at net dot com
configuration statement:

   ./configure --enable-debug --enable-libgcc --enable-dbx \
               --enable-ftp --enable-inline-optimization \
   --with-nsapi=/export/webtools/netscape/server4 \
               --with-pgsql=/usr/local/pgsql \
   --with-oracle=/export/webtools/app/oracle/product/8.1.7

Error encountered:
grep: illegal option -- E
 [2003-01-14 17:46 UTC] joydeep_ghosh at net dot com
Following error encountered while executing Make command:

main/internal_functions.c:41: `phpext_xml_ptr' undeclared here (not in a functio
n)
main/internal_functions.c:41: initializer element is not constant
main/internal_functions.c:41: (near initialization for `php_builtin_extensions[0
]')
main/internal_functions.c:42: `phpext_tokenizer_ptr' undeclared here (not in a f
unction)
main/internal_functions.c:42: initializer element is not constant
main/internal_functions.c:42: (near initialization for `php_builtin_extensions[1
]')
main/internal_functions.c:43: `phpext_standard_ptr' undeclared here (not in a fu
nction)
main/internal_functions.c:43: initializer element is not constant
main/internal_functions.c:43: (near initialization for `php_builtin_extensions[2
]')
main/internal_functions.c:44: `phpext_session_ptr' undeclared here (not in a fun
ction)
main/internal_functions.c:44: initializer element is not constant
main/internal_functions.c:44: (near initialization for `php_builtin_extensions[3
]')
main/internal_functions.c:45: `phpext_posix_ptr' undeclared here (not in a funct
ion)
main/internal_functions.c:45: initializer element is not constant
main/internal_functions.c:45: (near initialization for `php_builtin_extensions[4
]')
main/internal_functions.c:46: `phpext_pgsql_ptr' undeclared here (not in a funct
ion)
main/internal_functions.c:46: initializer element is not constant
main/internal_functions.c:46: (near initialization for `php_builtin_extensions[5
]')
main/internal_functions.c:47: `phpext_pcre_ptr' undeclared here (not in a functi
on)
main/internal_functions.c:47: initializer element is not constant
main/internal_functions.c:47: (near initialization for `php_builtin_extensions[6
]')
main/internal_functions.c:48: `phpext_overload_ptr' undeclared here (not in a fu
nction)
main/internal_functions.c:48: initializer element is not constant
main/internal_functions.c:48: (near initialization for `php_builtin_extensions[7
]')
main/internal_functions.c:49: `phpext_oracle_ptr' undeclared here (not in a func
tion)
main/internal_functions.c:49: initializer element is not constant
main/internal_functions.c:49: (near initialization for `php_builtin_extensions[8
]')
main/internal_functions.c:50: `phpext_mysql_ptr' undeclared here (not in a funct
ion)
main/internal_functions.c:50: initializer element is not constant
main/internal_functions.c:50: (near initialization for `php_builtin_extensions[9
]')
main/internal_functions.c:51: `phpext_ftp_ptr' undeclared here (not in a functio
n)
main/internal_functions.c:51: initializer element is not constant
main/internal_functions.c:51: (near initialization for `php_builtin_extensions[1
0]')
main/internal_functions.c:52: `phpext_dbx_ptr' undeclared here (not in a functio
n)
main/internal_functions.c:52: initializer element is not constant
main/internal_functions.c:52: (near initialization for `php_builtin_extensions[1
1]')
main/internal_functions.c:53: `phpext_ctype_ptr' undeclared here (not in a funct
ion)
main/internal_functions.c:53: initializer element is not constant
main/internal_functions.c:53: (near initialization for `php_builtin_extensions[1
2]')
make: *** [main/internal_functions.lo] Error 1
 [2003-01-15 17:40 UTC] joydeep_ghosh at net dot com
Directory php4-STABLE-200301150030 created 
PHP_VERSION "4.3.1-dev"

Configuration is OK

./configure --enable-debug --enable-libgcc --enable-dbx \
            --enable-ftp --enable-inline-optimization \
            --with-nsapi=/export/webtools/netscape/server4 \
            --with-pgsql=/usr/local/pgsql \
    --with-oracle=/export/webtools/app/oracle/product/8.1.7
 [2003-01-15 17:46 UTC] joydeep_ghosh at net dot com
Following error encountered while executing Make command:

/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c: In function `sapi_
nsapi_read_post':
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:211: warning: unuse
d variable `content_length_str'
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c: In function `nsapi
_request_ctor':
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:409: warning: unuse
d variable `path_info'
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c: In function `nsapi
_request_dtor':
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:450: warning: passi
ng arg 1 of `nsapi_free' discards qualifiers from pointer target type
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:452: warning: passi
ng arg 1 of `nsapi_free' discards qualifiers from pointer target type
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:545:63: warning: "/
*" within comment
/home/ghoshj/PHP/php4-STABLE-200301150030/sapi/nsapi/nsapi.c:547:1: warning: "/*
" within comment
.....

gcc: ext/standard/a: No such file or directory
make: *** [sapi/cli/php] Error 1
 [2003-01-17 21:07 UTC] sniper@php.net
If you drop the --with-nsapi option from the configure line, does it compile succesfully then?

 [2003-01-20 11:35 UTC] joydeep_ghosh at net dot com
If compiled without --with-nsapi option, Following error message displayed during Make:

gcc: regex/r: No such file or directory
make: *** [sapi/cgi/php] Error 1
 [2003-01-22 19:12 UTC] sniper@php.net
Can you send me the Makefile that is generated with that
configure line?? (using the latest stable CVS snapshot)

 [2003-01-22 19:29 UTC] joydeep_ghosh at net dot com
Following points:

- Make step got resolved by applying the suggestion as mentioned in Bug#19533 that is installing GNU SED 4.0 in /usr/local/bin and giving it the precedence.
- Make install finished 
- Webserver bounced 
- Testing in Progess
 [2003-01-22 19:49 UTC] joydeep_ghosh at net dot com
Preliminary test completed 
Following error is not displayed ANY MORE
Fatal error: Nesting level too deep - recursive dependency? in Unknown on line
 [2003-01-22 21:01 UTC] sniper@php.net
Closing this one then, thanks for testing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 15 13:01:28 2024 UTC