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

Reply via email to