Opened 15 years ago
Closed 15 years ago
#3078 closed defect (fixed)
mapserver regex confuses gcc so it attempts to compile AND link on OSX
Reported by: | kyngchaos | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 5.4.3 release |
Component: | Build Problems | Version: | 5.4 |
Severity: | normal | Keywords: | |
Cc: | dmorissette |
Description
The PHP 5.3 changes for MS 5.4.2 included a minor change in the PHP MapScript makefile that cause trouble when using the MapServer regex on OSX:
PHP_REGEX_INC=@PHP_REGEX_INC@
became:
PHP_REGEX_INC=-I@PHP_REGEX_INC@
With the mapserv regex, PHP_REGEX_INC is empty and you get -I with no path. I don't know if this is valid or not (maybe it thinks the following -c flag is the path?), but it causes the OSX GCC 4.0.1 to try to compile and link php_mapscript_util.c. This fails with missing symbols (PHP), since it's not time for linking yet.
Change History (4)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Milestone: | → 5.4.2 release |
Owner: | changed from | to
comment:2 by , 15 years ago
Milestone: | 5.4.2 release → 5.4.3 release |
---|
comment:3 by , 15 years ago
Owner: | changed from | to
---|
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Not sure why that was done this way. It would seem more natural to have the -I as part of the @PHP_REGEX_INC@ symbol defined by the configure script.
Assigned to Alan.