On Wed, 9 Sep 2009, Bisz István wrote:

hi,

 > I just want to signal a building problem with 'CentOS 5.3' based on 
 > 'RedHat Enterprise Linux 5.3'. Just to clarify the stability of the 
 > distribution. The RHEL is upgraded from 5.3 to 5.4 just in the last 
 > weeks. Yes, the 'sqlite' is quite "old", but is furnished by the 
 > RHEL 5.3 too. As I see our common goal is to maintain the 
 > compatibility at least with these stable releases too.

just for the record, this check will by far not be enough to build hb 
with sqlite 3.3.6.

maybe the least resistance would be for you to not use the 
system-provied sqlite, but use the bundled one, from external/ (except 
i haven't yet figured out how to do that, especially in the 
presence of a system-wide sqlite, but still).

 > If you have a while please try to update hbsqlit3.c code to work
 > with you SQLITE3 version, i.e. at line 441 we have:
 > 
 >    if( pHbSqlite3 && pHbSqlite3->db )
 >    {
 >       hb_retni( sqlite3_extended_result_codes(pHbSqlite3->db, hb_parl(2)) );
 >    }
 > 
 > change it to:
 > 
 >    if( pHbSqlite3 && pHbSqlite3->db )
 >    {
 >       /* TODO: verify exact SQLITE3 version in
 >        * which sqlite3_extended_result_codes() was added
 >        */
 > #if SQLITE_VERSION_NUMBER > 3003006
 >       hb_retni( sqlite3_extended_result_codes(pHbSqlite3->db, hb_parl(2)) );
 > #else
 >       hb_retni( -1 );
 > #endif

-- 
[-]

mkdir /nonexistent
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to