Error at installing php5
Hi I run: sudo port install php5 +macosx +mysql5 +apache2 After serveral minutes, I got errors. The last output from the console is: hecking for mawk... (cached) no checking for gawk... (cached) no checking for nawk... (cached) no checking for awk... (cached) no configure: error: No awk program found Error: The following dependencies failed to build: apache2 apr-util sqlite3 readline ncurses ncursesw openssl zlib pcre bzip2 curl pkgconfig freetype jpeg libmcrypt libpng libxml2 libxslt mhash mysql5 tiff Error: Status 1 encountered during processing. Any help would be appreciated. T
On Dec 18, 2007, at 20:30, Teck wrote:
I run:
sudo port install php5 +macosx +mysql5 +apache2
After serveral minutes, I got errors. The last output from the console is:
hecking for mawk... (cached) no checking for gawk... (cached) no checking for nawk... (cached) no checking for awk... (cached) no configure: error: No awk program found
Error: The following dependencies failed to build: apache2 apr-util sqlite3 readline ncurses ncursesw openssl zlib pcre bzip2 curl pkgconfig freetype jpeg libmcrypt libpng libxml2 libxslt mhash mysql5 tiff Error: Status 1 encountered during processing.
I saw this problem as well even though the gawk port had been installed. Running the install a second time worked. On Dec 18, 2007 6:59 PM, Ryan Schmidt <ryandesign@macports.org> wrote:
On Dec 18, 2007, at 20:30, Teck wrote:
I run:
sudo port install php5 +macosx +mysql5 +apache2
After serveral minutes, I got errors. The last output from the console is:
hecking for mawk... (cached) no checking for gawk... (cached) no checking for nawk... (cached) no checking for awk... (cached) no configure: error: No awk program found
Error: The following dependencies failed to build: apache2 apr-util sqlite3 readline ncurses ncursesw openssl zlib pcre bzip2 curl pkgconfig freetype jpeg libmcrypt libpng libxml2 libxslt mhash mysql5 tiff Error: Status 1 encountered during processing.
http://trac.macports.org/projects/macports/ticket/13066
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
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"?
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
participants (4)
-
Jyrki Wahlstedt
-
Roger Hoover
-
Ryan Schmidt
-
Teck