Opened 16 years ago

Closed 16 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

Description

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 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by dmorissette, 16 years ago

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

by aboudreault, 16 years ago

Attachment: php5.diff added

comment:2 by aboudreault, 16 years ago

Here's the patch.

comment:3 by dmorissette, 16 years ago

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.