php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9528 /home/sas/src/php4/ext/standard/url_scanner_ex.re ... permission denied
Submitted: 2001-03-02 14:04 UTC Modified: 2001-03-03 19:03 UTC
From: rick at neighborhoodusa dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rick at neighborhoodusa dot com
New email:
PHP Version: OS:

 

 [2001-03-02 14:04 UTC] rick at neighborhoodusa dot com
the following is the second line of the file [path-to-php]/ext/standard/url_scanner_ex.c :

#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re"


the line above and below are comments, and are remarked correctly for a c program with /*   and */

unfortunately, the gcc compiler tries to interpret the offending line that begins with a shell script comment symbol and pukes upon the encounter.

I'm not a programmer, but when I added the correct comments around the text and ran make install again, it finished neatly and without incident.

Sincerely,

Rick Dettwyler

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-03 16:59 UTC] sniper@php.net
Are you sure you're using the php4.0.4pl1 source tarball from www.php.net??
I just checked that file and it doesn't have any #line directives in it.

--Jani

 [2001-03-03 19:03 UTC] bbonev@php.net
you can safely remove or comment #line-s and recompile.

eighter you are using solaris native cc or your gcc is too old (not a problem by itself)

new versions of gcc do not complain on #line with nonexistent path

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 13:01:29 2025 UTC