First off get php4.04p1 second you will need to hack the module code in
apache before running configure. in src/modules/php4. edit the
libphp4.modules file. and change c-client4 to c-client then rebuild apache.
you should be all set then. for some reason c-client4 doesn't work. I just
figured it out myself :)


Chris




""Rick Kukiela"" <[EMAIL PROTECTED]> wrote in message
000c01c0c76f$61ed1ac0$[EMAIL PROTECTED]">news:000c01c0c76f$61ed1ac0$[EMAIL PROTECTED]...
> Ok,
>
> I cant comprehend why php/apache is so freakin impossible to compile with
> IMAP support?!? what is going on?
>
> Ok, I am running OpenBSD 2.7, I downloaded the c-client stuff and complied
> it and put the includes in the appropriate places, then i followed the php
> installation instructions so i go into my apache src directory and do a
>
> ./configure
>
> then I go into my php src directory and do a
>
./configure --with-mysql --with-imap --with-apache=../apache_1.3.19 --enable
> -track-vars
>
> this works fine.
>
> I do the make; make install
>
> works fine,
>
> cd ../apache_1.3.19
>
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/li
> bphp4.a
>
> This is what happens. Can some one please tell me why this is happening
and
> what I can do to work arround it?
>
> Configuring for Apache, Version 1.3.19
>  + using installation path layout: Apache (config.layout)
>  + activated php4 module (modules/php4/libphp4.a)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>  + configured for OpenBSD platform
>  + setting C compiler to gcc
>  + setting C pre-processor to gcc -E
>  + checking for system header files
>  + adding selected modules
>     o php4_module uses ConfigStart/End
>  + checking sizeof various data types
>  + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed.  The below error output from the compilation
> ** test will give you an idea what is failing. Note that
> ** Apache requires an ANSI C Compiler, such as gcc.
>
> cd ..;
>
gcc  -I/usr/local/src/php-4.0.3pl1 -I/usr/local/src/php-4.0.3pl1/main -I/usr
>
/local/src/php-4.0.3pl1/main -I/usr/local/src/php-4.0.3pl1/Zend -I/usr/local
>
/src/php-4.0.3pl1/Zend -I/usr/local/src/php-4.0.3pl1/TSRM -I/usr/local/src/p
>
hp-4.0.3pl1/TSRM -I/usr/local/src/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lit
> e -DNO_DL_NEEDED `./apaci`     -o helpers/dummy
>
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules
> /php4 -lmodphp4  -lc-client  -lresolv -lm  -lresolv
> ftl_unix.c:29: Undefined symbol `_mm_fatal' referenced from text segment
> auth_md5.c:101: Undefined symbol `_mm_login' referenced from text segment
> auth_pla.c:59: Undefined symbol `_mm_log' referenced from text segment
> auth_pla.c:69: Undefined symbol `_mm_login' referenced from text segment
> auth_log.c:63: Undefined symbol `_mm_login' referenced from text segment
> env_unix.c:976: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:993: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:999: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:1048: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:1054: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:1149: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:1161: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:1206: Undefined symbol `_mm_log' referenced from text segment
> env_unix.c:0: More undefined symbol _mm_log refs follow
> unix.c:306: Undefined symbol `_mm_critical' referenced from text segment
> unix.c:328: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:346: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:433: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:574: Undefined symbol `_mm_flags' referenced from text segment
> unix.c:690: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:715: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:747: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:791: Undefined symbol `_mm_notify' referenced from text segment
> unix.c:807: Undefined symbol `_mm_critical' referenced from text segment
> unix.c:810: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:847: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:896: Undefined symbol `_mm_notify' referenced from text segment
> unix.c:953: Undefined symbol `_mm_critical' referenced from text segment
> unix.c:957: Undefined symbol `_mm_nocritical' referenced from text segment
> unix.c:0: More undefined symbol _mm_nocritical refs follow
> unix.c:1165: Undefined symbol `_mm_critical' referenced from text segment
> unix.c:1930: Undefined symbol `_mm_diskerror' referenced from text segment
> unix.c:2050: Undefined symbol `_mm_diskerror' referenced from text segment
> mail.c:980: Undefined symbol `_mm_status' referenced from text segment
> mail.c:1357: Undefined symbol `_mm_flags' referenced from text segment
> mail.c:2066: Undefined symbol `_mm_flags' referenced from text segment
> mail.c:2130: Undefined symbol `_mm_searched' referenced from text segment
> mail.c:2133: Undefined symbol `_mm_searched' referenced from text segment
> mail.c:2293: Undefined symbol `_mm_notify' referenced from text segment
> mail.c:2783: Undefined symbol `_mm_exists' referenced from text segment
> mail.c:2811: Undefined symbol `_mm_expunged' referenced from text segment
> mail.o: Undefined symbol `_mm_dlog' referenced from data segment
> dummy.c:200: Undefined symbol `_mm_lsub' referenced from text segment
> dummy.c:201: Undefined symbol `_mm_lsub' referenced from text segment
> dummy.c:204: Undefined symbol `_mm_lsub' referenced from text segment
> dummy.c:357: Undefined symbol `_mm_list' referenced from text segment
> dummy.c:637: Undefined symbol `_mm_notify' referenced from text segment
> smtp.c:506: Undefined symbol `_mm_dlog' referenced from text segment
> smtp.c:559: Undefined symbol `_mm_dlog' referenced from text segment
> smtp.c:585: Undefined symbol `_mm_dlog' referenced from text segment
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop in /usr/local/src/apache_1.3.19/src/helpers (line 39 of Makefile).
> ======== Error Output for sanity check ========
> ============= End of Error Report =============
>
>  Aborting!
>
>
> I am losing my mind... please help :)
>
> Thanks,
> Rick
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to