Bug 6662 - Unable to install globus_database_sqliteodbc on 64-bits ppc (Suse 10) platform
: Unable to install globus_database_sqliteodbc on 64-bits ppc (Suse 10) platform
Status: NEW
: Replica Location
RLS
: development
: Other Linux
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-02-23 06:23 by
Modified: 2009-03-16 04:01 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-02-23 06:23:58
I'm trying to install GT 4.2.1 on Suse 10/SP2 running on a ppc (IBM Power6)
platform. The installation stops during the install of
globus_database_sqliteodbc:
gpt-build ====> CHECKING BUILD DEPENDENCIES FOR globus_database_sqliteodbc
gpt-build ====> Changing to
/gpfs/h05/globus/gt4.2.1-64/gt4.2.1-all-source-installer/source-trees-thr/database/c/sqliteodbc/sqliteodbc-0.74
gpt-build ====> BUILDING FLAVOR gcc64dbgpthr
/usr/bin/make
make[1]: Entering directory
`/gpfs/h05/globus/gt4.2.1-64/gt4.2.1-all-source-installer/source-trees-thr/database/c/sqliteodbc/sqliteodbc-0.74'
./libtool --mode=compile /usr/bin/gcc -g   -m64  -Wall
-DDRIVER_VER_INFO=\"0.74\" -c -I/sara/sw/globus/gt4.2.1-64/include/gcc64dbgpthr
-DHAVE_IOD
BC=1 -I/sara/sw/globus/gt4.2.1-64/include/gcc64dbgpthr -DHAVE_SQLLEN=1
-DHAVE_SQLULEN=1 -DHAVE_SQLROWCOUNT=1 -DHAVE_SQLSETPOSIROW=1 -DHAVE_SQLROW
OFFSET=1 -DHAVE_SQLROWSETSIZE=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR
-DHAVE_LONG_LONG=1 -DUSE_DLOPEN_FOR_GPPS -DHAVE_USLEEP=1 -DHAVE_LOCALECON
V=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 \
        -DHAVE_SQLITE3COLUMNTABLENAME=0 -DHAVE_SQLITE3LOADEXTENSION=0
sqlite3odbc.c
mkdir .libs
/usr/bin/gcc -g -m64 -Wall -DDRIVER_VER_INFO=\"0.74\" -c
-I/sara/sw/globus/gt4.2.1-64/include/gcc64dbgpthr -DHAVE_IODBC=1
-I/sara/sw/globus/gt4.2
.1-64/include/gcc64dbgpthr -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1
-DHAVE_SQLROWCOUNT=1 -DHAVE_SQLSETPOSIROW=1 -DHAVE_SQLROWOFFSET=1
-DHAVE_SQLROWSETSIZ
E=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR -DHAVE_LONG_LONG=1
-DUSE_DLOPEN_FOR_GPPS -DHAVE_USLEEP=1 -DHAVE_LOCALECONV=1 -DHAVE_LOCALTIME_R=1
-DH
AVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 -DHAVE_SQLITE3COLUMNTABLENAME=0
-DHAVE_SQLITE3LOADEXTENSION=0 sqlite3odbc.c  -fPIC -DPIC -o .libs/sqlite3od
bc.lo
sqlite3odbc.c: In function 'drvgettable':
sqlite3odbc.c:1198: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'freerows':
sqlite3odbc.c:1566: warning: cast from pointer to integer of different size
sqlite3odbc.c: In function 's3stmt_step':
sqlite3odbc.c:3081: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'substparam':
sqlite3odbc.c:3747: warning: format '%lld' expects type 'long long int', but
argument 3 has type 'SQLBIGINT'
sqlite3odbc.c:3754: warning: format '%llu' expects type 'long long unsigned
int', but argument 3 has type 'SQLUBIGINT'
sqlite3odbc.c: In function 'drvprimarykeys':
sqlite3odbc.c:4617: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'drvspecialcolumns':
sqlite3odbc.c:4875: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'drvforeignkeys':
sqlite3odbc.c:5247: warning: cast to pointer from integer of different size
sqlite3odbc.c:5361: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'SQLSetEnvAttr':
sqlite3odbc.c:6075: warning: cast from pointer to integer of different size
sqlite3odbc.c:6083: warning: cast from pointer to integer of different size
sqlite3odbc.c:6087: warning: cast from pointer to integer of different size
sqlite3odbc.c: In function 'drvsetstmtattr':
sqlite3odbc.c:6720: warning: cast from pointer to integer of different size
sqlite3odbc.c:6725: warning: cast from pointer to integer of different size
sqlite3odbc.c:6726: warning: cast from pointer to integer of different size
sqlite3odbc.c:6731: warning: cast from pointer to integer of different size
sqlite3odbc.c:6738: warning: cast from pointer to integer of different size
sqlite3odbc.c:6745: warning: cast from pointer to integer of different size
sqlite3odbc.c:6752: warning: cast from pointer to integer of different size
sqlite3odbc.c:6753: warning: cast from pointer to integer of different size
sqlite3odbc.c:6756: warning: cast from pointer to integer of different size
sqlite3odbc.c:6760: warning: cast from pointer to integer of different size
sqlite3odbc.c:6766: warning: cast from pointer to integer of different size
sqlite3odbc.c:6767: warning: cast from pointer to integer of different size
sqlite3odbc.c:6776: warning: cast from pointer to integer of different size
sqlite3odbc.c:6789: warning: cast from pointer to integer of different size
sqlite3odbc.c:6803: warning: cast from pointer to integer of different size
sqlite3odbc.c:6806: warning: cast from pointer to integer of different size
sqlite3odbc.c:6810: warning: cast from pointer to integer of different size
sqlite3odbc.c:6816: warning: cast from pointer to integer of different size
sqlite3odbc.c:6817: warning: cast from pointer to integer of different size
sqlite3odbc.c:6820: warning: cast from pointer to integer of different size
sqlite3odbc.c:6824: warning: cast from pointer to integer of different size
sqlite3odbc.c: In function 'drvsetconnectattr':
sqlite3odbc.c:8310: warning: cast from pointer to integer of different size
sqlite3odbc.c: In function 'drvcolumns':
sqlite3odbc.c:10639: warning: cast to pointer from integer of different size
sqlite3odbc.c: In function 'drvstatistics':
sqlite3odbc.c:11368: warning: cast to pointer from integer of different size
sqlite3odbc.c:11427: warning: cast to pointer from integer of different size
/usr/bin/gcc -g -m64 -Wall -DDRIVER_VER_INFO=\"0.74\" -c
-I/sara/sw/globus/gt4.2.1-64/include/gcc64dbgpthr -DHAVE_IODBC=1
-I/sara/sw/globus/gt4.2
.1-64/include/gcc64dbgpthr -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1
-DHAVE_SQLROWCOUNT=1 -DHAVE_SQLSETPOSIROW=1 -DHAVE_SQLROWOFFSET=1
-DHAVE_SQLROWSETSIZ
E=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR -DHAVE_LONG_LONG=1
-DUSE_DLOPEN_FOR_GPPS -DHAVE_USLEEP=1 -DHAVE_LOCALECONV=1 -DHAVE_LOCALTIME_R=1
-DH
AVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 -DHAVE_SQLITE3COLUMNTABLENAME=0
-DHAVE_SQLITE3LOADEXTENSION=0 sqlite3odbc.c -o sqlite3odbc.o >/dev/null 2>&
1
mv -f .libs/sqlite3odbc.lo sqlite3odbc.lo
./libtool --mode=link /usr/bin/gcc -g   -m64  -Wall -DDRIVER_VER_INFO=\"0.74\"
-o libsqlite3odbc_gcc64dbgpthr.la \
        sqlite3odbc.lo -rpath /sara/sw/globus/gt4.2.1-64/lib
/sara/sw/globus/gt4.2.1-64/lib/libsqlite3_gcc64dbgpthr.la \
        -ldl -release 0.74
rm -fr .libs/libsqlite3odbc_gcc64dbgpthr.la .libs/libsqlite3odbc_gcc64dbgpthr.*
.libs/libsqlite3odbc_gcc64dbgpthr-0.74.*
/usr/bin/gcc -shared  sqlite3odbc.lo  -Wl,--rpath
-Wl,/sara/sw/globus/gt4.2.1-64/lib -Wl,--rpath
-Wl,/sara/sw/globus/gt4.2.1-64/lib  /sara/sw/glo
bus/gt4.2.1-64/lib/libsqlite3_gcc64dbgpthr.so -ldl  -Wl,-soname
-Wl,libsqlite3odbc_gcc64dbgpthr-0.74.so -o
.libs/libsqlite3odbc_gcc64dbgpthr-0.74
.so
/sara/sw/globus/gt4.2.1-64/lib/libsqlite3_gcc64dbgpthr.so: could not read
symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libsqlite3odbc_gcc64dbgpthr.la] Error 1
make[1]: Leaving directory
`/gpfs/h05/globus/gt4.2.1-64/gt4.2.1-all-source-installer/source-trees-thr/database/c/sqliteodbc/sqliteodbc-0.74'

ERROR: Build has failed
make: *** [globus_database_sqliteodbc-thr] Error 2

How can I solve this problem?

Regards,
Rob v.d. Wal
------- Comment #1 From 2009-03-13 10:56:21 -------
This looks like a configure problem inside that package, not correctly
detecting the platform type.  I'm reassigning to Replica Location, the owners
of the sqliteodbc shipped in the toolkit.  As a workaround in the meantime, you
can try configuring the toolkit --with-flavor=gcc32dbg to avoid this 64/32
problem.
------- Comment #2 From 2009-03-13 22:30:39 -------
> How can I solve this problem?

If you are trying to install GT but you are not interested in using RLS,
another approach would be to configure GT and --disable-rls. Then you can
install without RLS and I believe you'll be able to avoid this build error.

If you do want RLS, but you do not intend to use SQLite -- for instance if you
plan to use mysql or postgres as the database server, I can give you a
suggestion to disable SQLite from the RLS build. (Actually the RLS does not
build again SQLite but the RLS setup package depends on it.)
------- Comment #3 From 2009-03-16 04:01:32 -------
Thank you for the suggestions. In the meantime I will use the 32-bits version
of RLS and I can wait for the "64-bits" fix of SQLite.

Regards,
Rob v.d. Wal