Nathan Harris writes:

I am trying to upgrade authlib from 0.63.0 to the latest 0.65.0. I'm
running on an older CentOS 4.9 install and building the RPMs. The newer
authlib requires sqlite-devel, so I installed that first. Ran the
rpmbuild and get the following failure:

authsqlitelib.c: In function `do_connect':
authsqlitelib.c:46: warning: implicit declaration of function
`sqlite3_open_v2'
authsqlitelib.c:46: error: `SQLITE_OPEN_READWRITE' undeclared (first use
in this function)
authsqlitelib.c:46: error: (Each undeclared identifier is reported only once
authsqlitelib.c:46: error: for each function it appears in.)
make[2]: *** [authsqlitelib.lo] Error 1

I have the following packages installed:
   sqlite-3.3.6-2
   sqlite-devel-3.3.6-2

Is sqlite version 3.3.6 too old?

Yup, it's too old. If that's the only error, it shouldn't be too difficult to patch the code to compile, on the older versions; but you do have to have the know-how to do that.

Attachment: pgpXxi_Ov3eGR.pgp
Description: PGP signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to