ID:               20165
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         *Configuration Issues
 Operating System: RedHat Linux 2.2.19-7.0.16
 PHP Version:      4.2.3
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2002-10-30 07:01:25] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-10-30 01:07:16] [EMAIL PROTECTED]

Hey Sascha ;

I had to get PHP upgraded for a client, and had some "fun" with
configure. :-)

I don't have the actual configure line for MySQL, but they managed to
get:

/usr/
  /include/mysql/*.h
  /lib/mysql/*.o

and they've pretty consistently used --PREFIX=/usr

Then when I did --PREFIX=/usr in the PHP ./configure, the make process
would end up not putting -L/usr/lib/mysql into the library path
thingies.

I had to edit Makefile by hand and tack it on at the end every time.

Also, when doing "make install" it seemed like all the .so shared
library files were not getting installed where expected.

That, however, could easily be my fault, as I'm not quite sure which
one of the options to "configure" means "where PHP's libraries go" and
they wanted them in /usr/lib/php4

Just moved them there by hand and then it worked.

The amazing thing is that I'm starting to sort of half-understand how
this configure process works.  Scary. :-)

PS  There doesn't seem to be an automated way to --enable-mailparse,
and you have to do phpize/configure/make/buildconf for the PEAR stuff
to work.  Some instructions make it sound like that's supposed to be
that way, but it seems pretty awkward to me, the canonical naive user. 
If all PEAR modules need that, and configure can't "just do it for me",
I don't like PEAR any more. :-)

THANKS!

Here's the full configure, in caes it matters.

./configure i386-redhat-linux \
--with-prefix=/usr  \
--exec-prefix=/usr  \
--bindir=/usr/bin  \
--sbindir=/usr/sbin  \
--sysconfdir=/etc  \
--datadir=/usr/share  \
--includedir=/usr/include  \
--libexecdir=/usr/libexec \
--libdir=/usr/lib \
--localstatedir=/var  \
--sharedstatedir=/usr/com  \
--mandir=/usr/share/man  \
--infodir=/usr/share/info  \
--prefix=/usr  \
--with-config-file-path=/etc  \
--enable-force-cgi-redirect  \
--disable-debug  \
--disable-rpath  \
--with-db3  \
--with-exec-dir=/usr/bin  \
--with-png-dir=/usr  \
--with-gd  \
--enable-gd-native-ttf  \
--with-ttf  \
--with-gdbm  \
--with-gettext  \
--with-ncurses  \
--with-gmp  \
--with-iconv  \
--with-jpeg-dir=/usr  \
--with-openssl  \
--with-png  \
--with-zlib \
--with-ftp  \
--with-layout=GNU  \
--enable-bcmath  \
--enable-magic-quotes  \
--enable-sockets  \
--enable-sysvsem  \
--enable-sysvshm  \
--enable-track-vars  \
--enable-trans-sid  \
--enable-wddx  \
--without-oci8  \
--with-imap=shared   \
--with-imap-ssl  \
--with-kerberos=/usr/kerberos  \
--with-mysql=/usr  \
--enable-memory-limit  \
--enable-bcmath  \
--enable-shmop  \
--enable-calendar  \
--enable-dbx  \
--with-curl=/usr  \
--with-apxs=/usr/sbin/apxs \
--with-pdflib=/usr \
--enable-mbstring \
--enable-mailparse



At one point, I'm pretty sure we tried the exact same configure line
that "worked" in 4.1.2, and it broke the same way.  Here is the 4.1.2
configure line:

./configure i386-redhat-linux --with--prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/
sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/
usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/shar
e/info --prefix=/usr --with-config-file-path=/etc
--enable-force-cgi-redirect --disable-debug --enable
-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db3
--with-exec-dir=/usr/bin --wit
h-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm
--with-gettext --with-ncurses -
-with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png
--with-pspell --with-regex=syste
m --with-ftp --with-zlib --with-layout=GNU --enable-bcmath
--enable-debugger --enable-magic-quotes --e
nable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-discard-path --enable-trac
k-vars --enable-trans-sid --enable-yp --enable-wddx --without-oci8
--with-imap=shared --with-imap-ssl
--with-kerberos=/usr/kerberos --with-ldap=shared
--with-mysql=shared,/usr --enable-memory-limit --enab
le-bcmath --enable-shmop --enable-versioning --enable-calendar
--enable-dbx --enable-dio --enable-mbst
ring --enable-mbstr-enc-trans --with-curl=/usr
--with-apxs=/usr/sbin/apxs


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20165&edit=1

Reply via email to