PHP 4.03pl1 + MySQL-3.23.28.g + MacOS X PB = ...?!

From: Date: Thu, 30 Nov 2000 21:21:03 +0000
Subject: PHP 4.03pl1 + MySQL-3.23.28.g + MacOS X PB = ...?!
Groups: php.install 
Request: Send a blank email to php-install+get-1014@lists.php.net to get a copy of this message
Possibly relevant back-story: Just installed MySQL-3.23.28.gamma on my system, and aside from a compile that put me to sleep, it seemed to go well, and is running now. Haven't tested it, but have reset the password, and it's running as user "mysql". mysql 205 0.0 0.4 12632 476 ?? S 0:00.17 mysqld # apache -l reports: Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper /usr/sbin/suexec So seems I'm good2go for building the SO (aside from a non-fatal "Oooops" on the part of Apple). I then did the following: ./configure --with-mysql --with-apxs Should I have used "--with-mysql=/Users/mysql/bin/mysql" instead? make I'm getting a LOT of similar error messages to the following: In file included from libmysql.c:11: ./global.h:508: warning: useless keyword or type name in empty declaration ./global.h:508: warning: empty declaration It seems to be complaining about this in ext/mysql/libmysql/global.h #if !defined(HAVE_ULONG) && !defined(HAVE_LINUXTHREADS) && !defined(__USE_MISC) typedef unsigned long ulong; /* Short for unsigned long */ #endif I'm getting a fair number of errors similar to these as well: In file included from /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/httpd.h:71, from sapi_apache.c:32: /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:417: warning: `HAVE_MMAP' redefined /System/Developer/Source/Services/php-4.0.3pl1/TSRM/../php_config.h:289: warning: this is the location of the previous definition /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:424: warning: `HAVE_SNPRINTF' redefined /System/Developer/Source/Services/php-4.0.3pl1/TSRM/../php_config.h:394: warning: this is the location of the previous definition And the final questionable bit is: tsrm_virtual_cwd.c: In function `virtual_getcwd': tsrm_virtual_cwd.c:243: warning: passing arg 1 of `virtual_getcwd_ex' from incompatible pointer type Then it ends with... /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libZend.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libsapi.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libmain.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libregex.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libmysql.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libpcre.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libposix.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libsession.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libstandard.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libxml.a /System/Developer/Source/Services/php-4.0.3pl1/.libs/libphp4.lax/libtsrm.a /System/Developer/Source/Services/php-4.0.3pl1/.libs Making all in pear # And that's all she wrote. Should it end there? 'Cause... Doing the "make install" bombs as follows: Making install in Zend make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in main make[2]: Nothing to be done for `install-p'. Making install in ext Making install in mysql Making install in libmysql make[4]: Nothing to be done for `install-p'. make[3]: Nothing to be done for `install-p'. Making install in pcre Making install in pcrelib make[4]: Nothing to be done for `install-p'. make[3]: Nothing to be done for `install-p'. Making install in posix make[3]: Nothing to be done for `install-p'. Making install in session make[3]: Nothing to be done for `install-p'. Making install in standard make[3]: Nothing to be done for `install-p'. Making install in xml Making install in expat Making install in xmltok make[5]: Nothing to be done for `install-p'. Making install in xmlparse make[5]: Nothing to be done for `install-p'. make[4]: Nothing to be done for `install-p'. make[3]: Nothing to be done for `install-p'. make[2]: Nothing to be done for `install-p'. Making install in sapi Making install in apache make[3]: Nothing to be done for `install-p'. make[2]: Nothing to be done for `install-p'. Making install in TSRM make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in regex make[2]: Nothing to be done for `install-p'. Making install in . apxs -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /System/Library/Apache/Modules/libphp4.so cp: libs/libphp4.so: No such file or directory apxs:Break: Command failed with rc=65536 make[1]: *** [install-sapi] Error 1 make: *** [install-recursive] Error 1 The contents of the libs directory are as follows: -rw-r--r-- 1 root wheel 7993572 Nov 30 10:00 libphp4.a -rw-r--r-- 1 root wheel 639 Nov 30 10:00 libphp4.la The contents of libphp4.la is as follows: # libphp4.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.3.5 (1.385.2.206 2000/05/27 11:12:27) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='' # Names of this library. library_names='' # The name of the static archive. old_library='libphp4.a' # Libraries that this one depends upon. dependency_libs='' # Version information for libphp4. current=0 age=0 revision=0 # Is this an already installed library? installed=yes # Directory that this library needs to be installed in: libdir='/System/Developer/Source/Services/php-4.0.3pl1/libs' Looks like it forgot to make something important (or my library tool is busted? Dunno...), but no "fatal" messages that I could see. Any ideas? Aloha mai Nai`a! -- "Please have your Internet License http://kapu.net/~mjwise/ and Usenet Registration handy..."

« previous php.install (#1014) next »