RE: [Exim] NEWBIE compiling - mysql and options

Top Pagina
Delete this message
Reply to this message
Auteur: _Chris McKeever_
Datum:  
Aan: 'Stuart Hodge'
CC: exim-users
Onderwerp: RE: [Exim] NEWBIE compiling - mysql and options

> -----Original Message-----
> From: Stuart Hodge [mailto:stuart@koallo.com]
> Sent: Friday, July 11, 2003 12:40 PM
> To: _Chris McKeever_
> Subject: Re: [Exim] NEWBIE compiling - mysql and options
>
>
> Hi, make sure you have the mysql_devel RPM installed
> Cheers
> Stuart


Thanks!

openldap-devel-2.0.27-2.7.3
is this what I need:
/usr/include/ldap_cdefs.h
/usr/include/ldap.h
/usr/include/ldap_features.h
/usr/include/ldap_schema.h

I just installed the mysql_devel rpm:
MySQL-devel-4.0.13-0

is this the path to add: /usr/include/mysql
/usr/include/mysql/my_no_pthread.h
/usr/include/mysql/chardefs.h
/usr/include/mysql/errmsg.h
/usr/include/mysql/history.h
/usr/include/mysql/keymaps.h
/usr/include/mysql/m_ctype.h
/usr/include/mysql/m_string.h
/usr/include/mysql/my_alloc.h
/usr/include/mysql/my_config.h
/usr/include/mysql/my_dbug.h
/usr/include/mysql/my_dir.h
/usr/include/mysql/my_getopt.h
/usr/include/mysql/my_global.h
/usr/include/mysql/my_list.h
/usr/include/mysql/my_net.h
/usr/include/mysql/sslopt-longopts.h
/usr/include/mysql/my_pthread.h
/usr/include/mysql/my_semaphore.h
/usr/include/mysql/my_sys.h
/usr/include/mysql/mysql.h
/usr/include/mysql/mysql_com.h
/usr/include/mysql/mysql_embed.h
/usr/include/mysql/mysql_version.h
/usr/include/mysql/mysqld_error.h
/usr/include/mysql/raid.h
/usr/include/mysql/readline.h
/usr/include/mysql/sslopt-case.h
/usr/include/mysql/sslopt-vars.h
/usr/include/mysql/tilde.h

so my include would be:
LOOKUP_INCLUDE=-I /usr/include/mysql -I /usr/include

what about the libraries:

what is ller and pq?

this is whay I find for mysql:
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.la
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.la

ldap:
/usr/lib/libldap_r.so.2.0.17
/usr/lib/libldap.a
/usr/lib/libldap.so
/usr/lib/libldap_r.a
/usr/lib/libldap_r.so
/usr/lib/libnss_ldap.so

and the library would be:

LOOKUP_LIBS=-L/usr/lib -lldap -lmysqlclient

Thanks



> ----- Original Message -----
> From: "_Chris McKeever_" <tech-mail@???>
> To: <exim-users@???>
> Sent: Friday, July 11, 2003 1:09 PM
> Subject: [Exim] NEWBIE compiling - mysql and options
>
>
> > trying to define the conifguration file for a first-run
> EXIM build and I
> > have a couple questions, mainly for adding mysql and ldap support.
> >
> > openldap-2.0.27-2.7.3 and mysql-4.0.13 and both installed
> onto a RH7.3
> > system
> >
> > In the docs and Philip's book, it specifies:
> >
> >
> > A>
> > LOOKUP_INCLUDE=-I /usr/local/mysql/include -I
> /usr/local/ldap/include
> >
> > I dont seem to have either of these directories (nor just
> looking for
> > mysql/include ldap/include) I am sure I am
> mis-interpretting something
> >
> > B>
> > Same goes for:
> LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq
> >
> > yet, I am not sure what -llber and -lpq (postgres?) are.
> >
> >
> > Thanks in advance
> >
> > --
> >
> > ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
> >
> >
>
>