Re: [Evolution-hackers] Evolution 2.0.3: Compilation query



  Thanks dobey:
On Wed, 2004-12-08 at 16:06 +0000, Rodney Dawes wrote:
> --with-static-ldap
   Yup, that does the trick. I still think configure should complain
if make is going to fail, but this is clearly better than my fix.
> 
> You build evolution /after/ connector? Isn't that wrong? 
  Dunno. I just thought this seemed logical. This is adapted from
http://freax.be/wiki/index.php/Compiling%20Evolution%20from%20CVS
but these instructions did not have connector. This seemed to work,
but maybe only because I did it at least 3 times.

> And is there 
> any reason to use "evo-openldap" over the system ldap install?

I have openldap-2.2.13-2 on my system. If I don't specify the evo 
version configure says:

No NTLM support in OpenLDAP; Plaintext password authentication will be
used when connecting to the Global Catalog server. Consider installing
the evo-openldap package, or building OpenLDAP with the patch in
docs/openldap-ntlm.diff

and make says:

/usr/lib/libldap.a(os-ip.o)(.text+0x81c): In function
`ldap_connect_to_host':
: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
instead
/usr/lib/libldap.a(os-ip.o)(.text+0x80e): In function
`ldap_connect_to_host':
: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r'
instead
/usr/lib/libldap.a(cyrus.o)(.text+0x22): In function
`ldap_int_sasl_init':
: undefined reference to `sasl_version'
/usr/lib/libldap.a(cyrus.o)(.text+0xdd): In function
`ldap_int_sasl_init':
: undefined reference to `sasl_client_init'
/usr/lib/libldap.a(cyrus.o)(.text+0x185): In function `sb_sasl_setup':
: undefined reference to `sasl_getprop'

 etc.

  Which seems Bad
    Thanks,
        Bill

> 
> -- dobey
> 
> On Wed, 2004-12-08 at 14:56 +0000, William John Murray wrote: 
> >       Hello there, 
> >               I had a small problem compiling Evolution 2.0.3. I
> have 
> > worked-around it, but maybe someone knows what is going on? 
> >  
> > My complete script is at the bottom of this post, and it works, but
> I 
> > needed to explicitly add /opt/evo-openldap/lib/libldap.a because 
> > while configure successfully inserted -L/opt/evo-openldap/lib -
> lldap 
> > this did not result in the library being loaded. 
> >  
> > I have  gcc (GCC) 3.4.2 on Fedora core 3. 
> >  
> >   Have I done something stupid or does configure need tweaking? 
> >  
> >     Bill 
> >  
> >  
> > #!/bin/sh 
> >  
> > area=/data/evolution 
> > dest=/opt/evo-2.0.3 
> >  
> > cd $area 
> >  
> > echo  
> > echo Next: libsoup-2.2.1 
> > echo  
> > pushd libsoup-2.2.1 
> > /configure --prefix=$dest/  
> > make 
> > sudo make install 
> > popd 
> >  
> > echo  
> > echo Next: gtkhtml-3.2.4 
> > echo  
> > pushd gtkhtml-3.2.4 
> > PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest/ 
> > make 
> > sudo make install 
> > popd 
> >  
> >  
> > echo  
> > echo Next: gal-2.2.4 
> > echo  
> > pushd gal-2.2.4 
> > /configure --prefix=$dest/ 
> > make 
> > sudo make install 
> > popd 
> >  
> > echo  
> > echo Next: evolution-data-server-1.0.3 
> > echo  
> > pushd evolution-data-server-1.0.3 
> > /configure --prefix=$dest/ --with-openldap=/opt/evo-openldap 
> > make 
> > sudo make install 
> > popd 
> >  
> > echo  
> > echo Next: ximian-connector-2.0.3 
> > echo  
> > pushd ximian-connector-2.0.3 
> > PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest  --
> with- 
> > openldap=/opt/evo-openldap 
> > sed -i "s/-L\/opt\/evo-openldap\/lib -lldap/ \/opt\/evo-openldap
> \/lib 
> > \/libldap.a -L\/opt\/evo-openldap\/lib -lldap/" lib/Makefile 
> > sed -i "s/-L\/opt\/evo-openldap\/lib -lldap/ \/opt\/evo-openldap
> \/lib 
> > \/libldap.a -L\/opt\/evo-openldap\/lib -lldap/" storage/Makefile 
> > make 
> > sudo make install 
> > popd 
> >  
> >  
> > echo  
> > echo Next: evolution-2.0.3 
> > echo  
> > pushd evolution-2.0.3 
> > PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest  --
> with- 
> > openldap=/opt/evo-openldap --with-krb5=/usr 
> > make 
> > sudo make install 
> > popd 
> >  
> >  
> >  
> >  
> >  
> > _______________________________________________ 
> > evolution-hackers maillist  -  evolution-hackers lists ximian com 
> > http://lists.ximian.com/mailman/listinfo/evolution-hackers
> 




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