Bug 95755

Summary: port mod_php5 won't compile
Product: Ports & Packages Reporter: Tom McCormick <tom>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tom McCormick 2006-04-14 18:30:13 UTC
php did compile with the default configure, but with this configure:

configure --with-apxs2=/usr/local/sbin/apxs --with-mysql=/usr/local/mysql/bin/my
sql_config --enable-mbstring --with-zlib --with-java --with-curl=/usr/local/lib
--enable-calendar

I got this error when it was almost finished:

Installing PEAR environment:      /usr/local/lib/php/
php in realloc(): error: junk pointer, too high to make sense
Abort trap (core dumped)
*** Error code 134

Stop in /usr/ports/www/mod_php5/work/php-5.1.2.
*** Error code 1

Stop in /usr/ports/www/mod_php5/work/php-5.1.2.

While a libphp5.so was created, apache won't start when httpd.conf has:

LoadModule php5_module libexec/apache22/libphp5.so

How-To-Repeat: Server version: Apache/2.2.0
Server built:   Apr 13 2006 10:49:43
mysql  Ver 14.7 Distrib 4.1.13, for portbld-freebsd6.0 (i386) using  5.0
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-root_12_apr_2006_09_53)
Java HotSpot(TM) Client VM (build 1.5.0-p2-root_12_apr_2006_09_53, mixed mode)
curl 7.15.1 (i386-portbld-freebsd6.0) libcurl/7.15.1 OpenSSL/0.9.7e zlib/1.2.1 libidn/0.5.18
Protocols: tftp ftp gopher telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-14 22:26:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-04-19 08:54:16 UTC
State Changed
From-To: open->closed

You cannot modify the Makefile and hope I'll fix it for you.