Ticket #2365 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by dmorissette

  • cc dmorissette added
  • owner changed from mapserverbugs to aboudreault
  • milestone set to 5.4 release

Changed 5 years ago by aboudreault

Changed 5 years ago by aboudreault

Here's the patch.

Changed 5 years ago by dmorissette

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.