On Thu, 13 Oct 2005 23:41:10 +0300
Odhiambo Washington <wash@wananchi.com> wrote:
> * On 13/10/05 20:57 +0300, Ion-Mihai Tetcu wrote:
> > On Thu, 13 Oct 2005 19:30:47 +0300
> > Odhiambo Washington <wash@wananchi.com> wrote:
> >
> > > * On 13/10/05 19:12 +0300, Ion-Mihai Tetcu wrote:
[ ... ]
> > > Not me! I use MySQL.
> > >
> > > However, I am interested in where the "StorageDriver" thing
> > > is explained. I commented it out in my dspam.conf.
> > > Someone explain to a noon wth that is?? How I can use it....
> >
> > From the entry under "Version 3.6.beta.2" in CHANGELOG:
> >
> > [20050827.2130] jonz: dynamic storage driver library support
> >
> > support for dynamic storage driver library builds (including
> > multiple driver builds for packagers) is now supported through the
> > existing --with-storage-driver function. specifying a single
> > storage driver, such as:
> >
> > --with-storage-driver=mysql_drv
> >
> > will build a statically linked storage driver (the same behavior as
> > previous versions of dspam). specifying multiple drivers, however,
> > will build dynamic libraries - one of which can then be dynamically
> > loaded at run-time by setting the StorageDriver parameter in
> > dspam.conf (see the new dspam.conf for more information). for
> > example:
> >
> > --with-storage-driver=mysql_drv,pgsql_drv,ora_drv
> >
> > NOTE: required parameters for all activated drivers must be provided
> >
> > users wishing to build only one storage driver, but dynamically
> > loaded instead of statically linked, may supply the same driver
> > name twice to enable dynamic loading:
> >
> > --with-storage-driver=mysql_drv,mysql_drv
>
>
> How you guys understand all these complexities? ;-)
>
> My question now is, for MySQL 4.1, what would I use, because in
> dspam.conf. I see this:
>
> StorageDriver /usr/local/lib/libmysql_drv.so
>
> On my system there is nothing like /usr/local/lib/libmysql_drv.so.
> Excude my dumbness, but where does libmysql_drv.so come from, for
> instance?
That will be build / installed only if you build with dynamic libs
(case 2 or 3 above)
> What is the advantage of such over the other available options?
Well, on pontyhat we'll build the package with all the drivers
dynamically linked so those few people who are afraid of doing a
`cd /usr/ports/mail/dspam && make install clean` we'll be happy :)
Other that testing the port/package a little easier (no recompile for
each driver) there are no advantages.
-- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect"Received on Thu Oct 13 18:47:59 2005
This archive was generated by hypermail 2.1.8 : Fri Oct 14 2005 - 00:00:00 EDT