plee for help
| From: | Dwayne Bonson | Date: | Sun, 18 Jun 2000 06:26:49 +0000 |
| Subject: | plee for help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2146@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone,
I'm new to this list so I don't know if anyone else on the list has
come across this problem before or not so I'm going to ask anyway.
I'm trying to build Apache 1.3.12 with SSL 1.39 with an IMAP enabled
PHP4 module on a RedHat 6.1 system (kernel version 2.2.12). PHP
compiled fine with additional extensions for XML and MySQL as well as
the IMAP. Apache compiles fine without activating the PHP module
but it fails when I try to configure with:
"./configure --prefix=/usr/local/apache
- --activate-module=src/modules/php4/libphp4.a"
I'm using UW's IMAPd 4.7c with c-client.a, rfc822.h, mail.h and
linkage.h installed according to the PHP online manual.
c-client.a is in /usr/local/lib, the .h's are in /usr/local/include
Below is a copy/paste of my problem:
==========================
cd ..; gcc -DLINUX=2 -DTARGET=\"httpsd\" -I/usr/src/php-4.0.0
- -I/usr/src/php-4.0.0/Zend -I/usr/src/php-4.0.0/Zend
- -I/usr/src/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
- -DAPACHE_SSL
./apaci -o helpers/dummy helpers/dummy.c
- -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4
- -lmodphp4 -lgdbm -lpam -limap -ldl -lgd -lresolv -lm -ldl -lcrypt
- -lnsl -lresolv -lm -lcrypt -L/usr/src/openssl-0.9.5 -lssl -lcrypto
/usr/lib/libimap.so: undefined reference to `mm_expunged'
/usr/lib/libimap.so: undefined reference to `mm_diskerror'
/usr/lib/libimap.so: undefined reference to `mm_lsub'
/usr/lib/libimap.so: undefined reference to `mm_flags'
/usr/lib/libimap.so: undefined reference to `mm_fatal'
/usr/lib/libimap.so: undefined reference to `mm_nocritical'
/usr/lib/libimap.so: undefined reference to `mm_notify'
/usr/lib/libimap.so: undefined reference to `mm_searched'
/usr/lib/libimap.so: undefined reference to `mm_status'
/usr/lib/libimap.so: undefined reference to `mm_login'
/usr/lib/libimap.so: undefined reference to `mm_list'
/usr/lib/libimap.so: undefined reference to `mm_critical'
/usr/lib/libimap.so: undefined reference to `mm_exists'
/usr/lib/libimap.so: undefined reference to `mm_log'
/usr/lib/libimap.so: undefined reference to `mm_dlog'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
==============================
I haven't looked for all of the above in the .h's but I did look at
some of them and mm_expunged is defined in mail.h. It almost seems
like the configure script can't find the mail.h but if that was the
case I'd expect it to say the file can't be found or can't be opened
then tell me where it expects to find the file which isn't happening.
I hope someone out there has some ideas becuase I'm all out.
Thanks in advance,
Dwayne.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOUxrjIdBNkRHBxbTEQKTugCgj6Xvcx+y9Fof5V8jzAv0+FwyGQMAoIQh
orrpa+DyvtJEEzdLEvs2mx+4
=MfYW
-----END PGP SIGNATURE-----