[kronolith] hello? anyone home?

Raul Alvarez Venegas rav@tecoman.ucol.mx
Tue, 14 Nov 2000 17:31:48 +0000 ( )


Hi all!,

On Mon, 13 Nov 2000, Chuck Hagenbuch wrote:

> Quoting Raul Alvarez Venegas <rav@tecoman.ucol.mx>:
> 
> > I can't get MCAL support in PHP4 either; it's been several weeks now. I
> > have reported this to the Libmcal mailing list it's been quiet there.
> 
> Weird - what platforms? I haven't had problems with mcal support for months
> now...

Yes, I know it's weird; I wasn't having any problems either, I didn't
change any configuration options neither.

I'm using:

i386-slackware-linux
CVS version of PHP4 (as of last night), compiled statically into apache
CVS version of libmcal, icap and mstore
Apache 1.3.12 / SSL 1.41
OpenSSL 0.9.5a

These are the options I compile PHP4 with:

/usr/src/cvs/php4# ./configure --with-apache=/usr/src/apache_1.3.12
--with-imap=/usr/src/imapd --with-gettext --with-ldap --with-zlib
--with-mcal=/usr/src/cvs/libmcal  --enable-track-vars --with-mysql

and I can see that PHP4 is informed about MCAL support:

...
checking for Java support... no
checking whether to include LDAP support... yes
checking for MCAL support... yes
checking for mcrypt support... no
...

compilation didn't report any errors.

Then, I configure Apache 1.3.12 with the following options:

/usr/src/apache# ./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--activate-module=src/modules/standard/mod_info.o \
--activate-module=src/modules/standard/mod_speling.o

/usr/src/apache_1.3.12# make
...
-lresolv  -lm -lcrypt -L/usr/src/openssl-0.9.5a -lssl -lcrypto
modules/php4/libphp4.a(php_mcal.o): In function `cal_close_it':
/usr/src/php4/ext/mcal/php_mcal.c:129: undefined reference to `cal_close'
modules/php4/libphp4.a(php_mcal.o): In function `php_mcal_do_open':
/usr/src/php4/ext/mcal/php_mcal.c:229: undefined reference to `cal_open'
/usr/src/php4/ext/mcal/php_mcal.c:240: undefined reference to
`calevent_new'
modules/php4/libphp4.a(php_mcal.o): In function `php_mcal_event_init':
/usr/src/php4/ext/mcal/php_mcal.c:248: undefined reference to
`calevent_free'
/usr/src/php4/ext/mcal/php_mcal.c:249: undefined reference to
`calevent_new'
...
modules/php4/libphp4.a(php_mcal.o): In function
`php_if_mcal_event_set_recur_yearly':
/usr/src/php4/ext/mcal/php_mcal.c:1564: undefined reference to
`dt_setdate'
/usr/src/php4/ext/mcal/php_mcal.c:1565: undefined reference to
`calevent_recur_yearly'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.12'
make: *** [build] Error 2


That's what I've been experiencing.
I know this is off-topic and I appreciate the exception.

Thank you very much.


Raul