[kronolith] php+libmcal configure error

Brandon Knitter knitterb@blandsite.org
Tue, 30 Apr 2002 16:05:46 -0700


Quoting Rodrigo Castro Hernández <roche@fuerzag.ulatina.ac.cr>:
> 
> In the past day , I try to get work horde+kronolith in my server,
> The first time , the kronolith work but dont store the events in the
> calendar
> , so I'd tried to compile php+libmcal (CVS) with no luck.

Just a quick question here for ya?  Sorry if this sounds annoying!  But is there
any reason you want to use MCAL over just using your PSQL backend for storing
the calendaring data.  You might have a version or a kronolith config which
doesn't make this an obvious alternative to ya.

> /usr/lib/libmcal.so: undefined reference to `cc_login'
> /usr/lib/libmcal.so: undefined reference to `cc_searched'
> /usr/lib/libmcal.so: undefined reference to `cc_vlog'
> /usr/lib/libmcal.so: undefined reference to `cc_vdlog'
> collect2: ld returned 1 exit status

This has to do with the way that the autoconf in php works.  You almost have to
do a few little hand compiles, or compile in mcal as shared and include it as a
loadable module.

In level of difficulty, here it is (1 being hardest)...IMHO of course:

1. Compile libmcal static into php (you are here)
2. Compile libmcal shared and configure into php.ini
3. Don't use libmcal and go with PSQL (you are already compiling this into php)

I don't want to discourage you from using libmcal, I think I've heard that it
does very few things additionally, like alerting or something [anyone help out
here?].  But if you are like me, I thought libmcal was the only way to do
things, and when I finally got it working I nearly shot myself when I found out
that PSQL was an alternative driver.

If you need an example kronolith config you can find it in the latest CVS
sources (just look in there, no need to check out), or you can look through this
lists archive for an example alternative.  If you config it and add the table,
you will probably have kronolith up and running in under 5 minutes, I did! :)

GL and let me know which way you go, and how it works for ya.

--
-bk