garfile 'evolution-exchange' on Ubuntu Edgy



Hi foks,

Some guys are getting into this error building the garfile
'evolution-exchange' on an Ubuntu Edgy box:

e-book-backend-gal.c:2006: error: 'LDAP_CONTROL_PAGEDRESULTS' undeclared
(first use in this function)

The culprit is Ubuntu LDAP2 package version (2.1.30) wicht doesn't have
that variable declared. There is a 2.2.x version but only the runtime
files are available and no 'dev' one.

The only solution I've found here is to build and instal the LDAP 2.2.x
version. If you really want to give it a try, you'll have to:

1) uninstall the libldap2-dev package

2) grab the 2.2.x version from
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.2.7.tgz

3) uncompress it and get into the 'openldap-2.2.7/' directory.
To compile and and install it with run:

$ ./configure --prefix=/opt/gnome-2.17.90
! Make 'prefix' point to wherever you use to install garnome on your system !

$ make depend

$ make

and, if everything is ok,

$ make install

Hopefully you'll have the correct lib installed.

4) Go to 'evolution-exchange' directory and give it another try:

$ make clean
and,
$ make install

Enjoy your garfile!

Cheers,
Lucas




-----------------------------------------
DIN - WebMail.
http://www.din.uem.br/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]