[FGS] Starting apache error: httpd cannot execute binary file

Hao Zhang hao at zhang.nu
Tue Nov 3 04:00:53 EST 2009


Hi Norm,

gdal was successfuly built after I disabled mysql support. Then it came to
build php 5.2.9 and I disabled mysql support as well. The build was complete
but it encountered installing error after it. The building log looks like:

[... ...]
Build complete.
Don't forget to run 'make test'.

Installing PHP SAPI module:       cgi
Installing PHP CGI binary:       /home/FGS/fgs-dev/built/php/bin/
Installing PHP CLI binary:        /home/FGS/fgs-dev/built/php/bin/
Installing PHP CLI man page:  /home/FGS/fgs-dev/built/php/man/man1/
Installing shared extensions:
/home/FGS/fgs-dev/built/php/lib/php/extensions/no-debug-non-zts-20060613/
Installing build environment:    /home/FGS/fgs-dev/built/php/lib/php/build/
Installing header files:
/home/FGS/fgs-dev/built/php/include/php/
Installing helper programs:       /home/FGS/fgs-dev/built/php/bin/
  program: phpize
  program: php-config
Installing man pages:               /home/FGS/fgs-dev/built/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /home/FGS/fgs-dev/built/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
! ./fgs_install: Fatal error returned, exiting...
! /home/FGS/fgs-dev/bin/fgs_build_pkg.sh: Fatal error returned, exiting...
! /home/FGS/fgs-dev/bin/fgs_build_all.sh: Fatal error returned, exiting...

How to fix it?

Regards,
Hao


On Mon, Nov 2, 2009 at 6:43 PM, Normand Savard <nsavard at mapgears.com> wrote:

> Hao Zhang wrote:
>
>> Should comment this line as well, right?
>> OPTIONS="$OPTIONS
>> --with-mysql=$FGS_BUILD_HOME/$mysql_ARCHIVE_DIR/bin/mysql_config"
>>
>>  You're right.
> Norm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20091103/5b93e83a/attachment.htm 


More information about the Foss-gis-suite mailing list