Opened 12 years ago

Closed 12 years ago

#2365 closed defect (fixed)

Configure fail to detect php5 on ubuntu

Reported by: aboudreault Owned by: aboudreault
Priority: normal Milestone: 5.4 release
Component: MapScript-PHP Version: 5.0
Severity: normal Keywords:
Cc: dmorissette


I am trying to configure mapserver with mapscript under ubuntu Feisty Fawn. I've php5 installed and working on my machine. php_config.h of php5 is located under /usr/include/php5/... and not /usr/include/php/... where configure script look for it.

 dnl If php was installed, then the headers are under $prefix/include/php/*
  test -f "$PHP_SRC_DIR/include/php/main/php_config.h" && PHP_SRC_DIR="$PHP_SRC_DIR/include/php/" && PHP_CONFIG_H="$PHP_SRC_DIR/main/php

Attachments (1)

php5.diff (1.7 KB) - added by aboudreault 12 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by dmorissette

Cc: dmorissette added
Milestone: 5.4 release
Owner: changed from mapserverbugs to aboudreault

Changed 12 years ago by aboudreault

Attachment: php5.diff added

comment:2 Changed 12 years ago by aboudreault

Here's the patch.

comment:3 Changed 12 years ago by dmorissette

Resolution: fixed
Status: newclosed

Thanks Alan. Patch committed in SVN trunk (r7873) and branch-5-2 (r7874)

Note: See TracTickets for help on using tickets.