Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Help compiling PHP 5.2.3 on OS X
Hello,

I am having a problem compiling apache 2.2.4 with PHP 5.2.3 and mysql
5.0.45 on OS x 10.4.10

In trying to track down where the problem lies I was trying to take
as many variables out of the equation as I could and I found out
where the problem likely lies. And what I found out is that the
problem seems to lie with buildconf (I think).

Here is the issue:

I can compile php using the following configure line just as soon as
I extract the php tarball

./configure --with-apxs2=/app/apache2/bin/apxs --without-pear --with-
config-file-path=/app/ini --with-mysql=/usr/local/mysql

However as soon as I delete configure and run buildconf I can't get
php to compile.

You could easily tell me not to delete the configure script and run
autoconf, but unfortunately I need to do so in order to compile some
php extensions.

Any help here would be GREATLY appreciated.

Here is the transcript

$ tar -zxvf php-5.2.3.tar.gz
$ cd php-5.2.3
$ rm configure
$ ./buildconf --force


Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2056: PHP_PROG_LEX is expanded from...
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be
produced, see the
autoheader: WARNING: documentation.
aclocal.m4:2056: PHP_PROG_LEX is expanded from...


$ ./configure --with-apxs2=/app/apache2/bin/apxs --without-pear --
with-config-file-path=/app/ini --with-mysql=/usr/local/mysql

Lots and lots of checks and then this:

checking for sqlite 3 support for PDO... yes
checking for PDO includes... checking for PDO includes... /Users/
jpons/app/src/php-5.2.3/ext
checking for char *... yes
checking size of char *... configure: error: cannot compute sizeof
(char *), 77
See `config.log' for more details.

You can see config.log at this location:

http://wildnaturephoto.com/custom/php/config.log

and the configure script here:

http://wildnaturephoto.com/custom/php/configure

Any help would be GREATLY appreciated!

-J



---
Juan A. Pons
juan@pons.org

Report this thread to moderator Post Follow-up to this message
Old Post
Juan A. Pons
08-25-07 12:03 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:50 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.