Hi,

sqlite.i386                             3.3.6-2                        installed
sqlite-devel.i386                       3.3.6-2                        installed

Best regards,
István Bisz

-----Original Message-----
From: Viktor Szakáts [mailto:harbour...@syenar.hu] 
Sent: 2009. szeptember 9. 15:15
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] 'sqlite3' is skipped in clean phase, but isn't skipped 
in install phase.

Hi,

The problem seems to be elsewhere. 'sqlite3' is probably not built in
either scenarios (although this part is actually missing from the second
log snippet included). The error seems to happen when building  
'hbsqlit3'
(the Harbour wrapper lib) and it suspiciously looks like errors due to
old sqlite3 headers, and missing guards from the wrapper code. Which  
version
of sqlite3 is provided on your CentOS system?

Brgds,
Viktor

On 2009.09.09., at 3:04, Bisz István wrote:

> Hi,
>
> A small glitch during the harbour build on CentOS 5.3 solved with  
> export HB_INC_SQLITE3=no.
>
> During the make clean the sqlite3 is skipped:
>
> ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
> ! MAKE: make 3.81 /bin/sh clean
> ! HB_HOST_PLAT: linux  HB_SHELL: sh
> ! HB_PLATFORM: linux (autodetected)
> ! HB_COMPILER: gcc (autodetected: /usr/bin/)
> ! Component: 'openssl' found in /usr/include
> ! Component: 'gpm' found in /usr/include
> ! Component: 'slang' found in /usr/include/slang
> ! Component: 'curses' found in /usr/include
> ! Component: 'x11' found in /usr/include
> ! Component: 'wattcp/watt-32' not supported on linux platform
> ! HB_INSTALL_PREFIX automatically set to: /usr/local
> ! REVISION: 12452
> ! 'gtdos' library skipped
> ! 'gtgui' library skipped
> ! 'gtos2' library skipped
> ! 'gtwin' library skipped
> ! 'gtwvt' library skipped
> ! 'gtwvg' library skipped
> ! 'hbodbc' library skipped ('odbc' not found)
> ! 'hbwin' library skipped
> ! 'gtalleg' library skipped ('allegro' not found)
> ! 'hbblat' library skipped
> ! 'hbfbird' library skipped ('firebird' not found)
> ! 'hbfimage' library skipped ('freeimage' not supported on linux  
> platform)
> ! 'hbmysql' library skipped ('mysql' not found)
> ! 'hbpgsql' library skipped ('postgresql' not found)
> ! 'rddads' library skipped ('ads' not found)
> ! 'sddmy' library skipped ('mysql' not found)
> ! 'sddpg' library skipped ('postgresql' not found)
> ! 'sddfb' library skipped ('firebird' not found)
> ! 'sddodbc' library skipped ('odbc' not found)
> ! 'libpng' library skipped
> ! 'sqlite3' library skipped (not supported or disabled)
>
> But during the make install:
>
> ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
> ! MAKE: make 3.81 /bin/sh install
> ! HB_HOST_PLAT: linux  HB_SHELL: sh
> ! HB_PLATFORM: linux (autodetected)
> ! HB_COMPILER: gcc (autodetected: /usr/bin/)
> ! Component: 'openssl' found in /usr/include
> ! Component: 'gpm' found in /usr/include
> ! Component: 'slang' found in /usr/include/slang
> ! Component: 'curses' found in /usr/include
> ! Component: 'x11' found in /usr/include
> ! Component: 'wattcp/watt-32' not supported on linux platform
> ! HB_INSTALL_PREFIX automatically set to: /usr/local
> ! REVISION: 12452
> make[2]: Nothing to be done for `install'.
>
> …
>
> ! 'hbodbc' library skipped ('odbc' not found)
> gcc  -I. -I../../../../../include  -Wall -W -O3  -I/usr/include  - 
> ohbsqlit3.o -c ../../../hbsqlit3.c
> ../../../hbsqlit3.c: In function â 
> €˜HB_FUN_SQLITE3_EXTENDED_RESULT_CODES’:
> ../../../hbsqlit3.c:443: warning: implicit declaration of function â 
> €˜sqlite3_extended_result_codes’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_PREPAREâ 
> €™:
> ../../../hbsqlit3.c:741: warning: implicit declaration of function â 
> €˜sqlite3_prepare_v2’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BIND_ZEROBLOBâ 
> €™:
> ../../../hbsqlit3.c:1044: warning: implicit declaration of function â 
> €˜sqlite3_bind_zeroblob’
> ../../../hbsqlit3.c: In function â 
> €˜HB_FUN_SQLITE3_ENABLE_LOAD_EXTENSION’:
> ../../../hbsqlit3.c:1347: warning: implicit declaration of function â 
> €˜sqlite3_enable_load_extension’
> ../../../hbsqlit3.c: In function â 
> €˜HB_FUN_SQLITE3_RESET_AUTO_EXTENSION’:
> ../../../hbsqlit3.c:1363: warning: implicit declaration of function â 
> €˜sqlite3_reset_auto_extension’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_OPENâ 
> €™:
> ../../../hbsqlit3.c:1568: error: ‘sqlite3_blob’  
> undeclared (first use in this function)
> ../../../hbsqlit3.c:1568: error: (Each undeclared identifier is  
> reported only once
> ../../../hbsqlit3.c:1568: error: for each function it appears in.)
> ../../../hbsqlit3.c:1568: error: ‘ppBlob’ undeclared  
> (first use in this function)
> ../../../hbsqlit3.c:1573: warning: implicit declaration of function â 
> €˜sqlite3_blob_open’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_CLOSEâ 
> €™:
> ../../../hbsqlit3.c:1603: error: ‘sqlite3_blob’  
> undeclared (first use in this function)
> ../../../hbsqlit3.c:1603: error: ‘pBlob’ undeclared  
> (first use in this function)
> ../../../hbsqlit3.c:1603: error: expected expression before ‘)â 
> €™ token
> ../../../hbsqlit3.c:1607: warning: implicit declaration of function â 
> €˜sqlite3_blob_close’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_BYTESâ 
> €™:
> ../../../hbsqlit3.c:1621: error: ‘sqlite3_blob’  
> undeclared (first use in this function)
> ../../../hbsqlit3.c:1621: error: ‘pBlob’ undeclared  
> (first use in this function)
> ../../../hbsqlit3.c:1621: error: expected expression before ‘)â 
> €™ token
> ../../../hbsqlit3.c:1625: warning: implicit declaration of function â 
> €˜sqlite3_blob_bytes’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_READâ 
> €™:
> ../../../hbsqlit3.c:1639: error: ‘sqlite3_blob’  
> undeclared (first use in this function)
> ../../../hbsqlit3.c:1639: error: ‘pBlob’ undeclared  
> (first use in this function)
> ../../../hbsqlit3.c:1639: error: expected expression before ‘)â 
> €™ token
> ../../../hbsqlit3.c:1655: warning: implicit declaration of function â 
> €˜sqlite3_blob_read’
> ../../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_WRITEâ 
> €™:
> ../../../hbsqlit3.c:1677: error: ‘sqlite3_blob’  
> undeclared (first use in this function)
> ../../../hbsqlit3.c:1677: error: ‘pBlob’ undeclared  
> (first use in this function)
> ../../../hbsqlit3.c:1677: error: expected expression before ‘)â 
> €™ token
> ../../../hbsqlit3.c:1688: warning: implicit declaration of function â 
> €˜sqlite3_blob_write’
> make[3]: *** [hbsqlit3.o] Error 1
> make[2]: *** [descend] Error 2
> make[1]: *** [hbsqlit3.inst] Error 2
> make: *** [contrib.inst] Error 2
>
> Best regards,
> István Bisz
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour



_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to