On 19.12.2007, at 15.36, Teck wrote:

Another issue.

After running,

sudo port install php5 +macosx

I get the error and see:

checking for working const... yes
checking for flex version... invalid
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.33)
checking whether /usr/bin/gcc-4.0 supports -no-cpp-precomp... yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags...
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2

Error: Status 1 encountered during processing.



Do I need "+apache2" or "+apache"?
_______________________________________________

Hi,
"+apache2" is normally used. You have installed Apache (2.2.6) using MacPorts, otherwise the stuff needed is not in the proper location?! (The other one "+apache" is usually used only for the in-built server that is version 1.3). Pls, check the other variants before installing, because to add a feature supported in a variant a new installation is to be done.


!
! Jyrki Wahlstedt
!       http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386



_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to