Hi,

# While building VOS 6.1.2 (from downloaded source, not checkout)
CFLAGS="-O2"
export CFLAGS
./configure --enable-python

# In an amazon AMI
Ubuntu 9.10 Karmic server i386 20100121
ami-6743ae0e
32 bit

# With Python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
[GCC 4.4.1] on linux2


# I hit the following error
[...]
Making all in python
make[3]: Entering directory
`/home/ubuntu/virtuoso-opensource-6.1.2/binsrc/hosting/python'
make  all-am
make[4]: Entering directory
`/home/ubuntu/virtuoso-opensource-6.1.2/binsrc/hosting/python'
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../libsrc/Dk    -fomit-frame-pointer
-fno-strict-aliasing -O2  -Wall  -DNDEBUG
-I/home/ubuntu/virtuoso-opensource-6.1.2/libsrc/Xml.new
-DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE
  -I../../../libsrc -I../../../libsrc/Dk -I../../../libsrc/Wi
-I../../../libsrc/plugin -I../../../libsrc/langfunc
-I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -DLIBPYTHON_SO="libpython2.6.so"  -O2 -MT
hosting_python_la-hosting_python.lo -MD -MP -MF
.deps/hosting_python_la-hosting_python.Tpo -c -o
hosting_python_la-hosting_python.lo `test -f 'hosting_python.c' ||
echo './'`hosting_python.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../libsrc/Dk
-fomit-frame-pointer -fno-strict-aliasing -O2 -Wall -DNDEBUG
-I/home/ubuntu/virtuoso-opensource-6.1.2/libsrc/Xml.new
-DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE
-I../../../libsrc -I../../../libsrc/Dk -I../../../libsrc/Wi
-I../../../libsrc/plugin -I../../../libsrc/langfunc
-I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -DLIBPYTHON_SO=libpython2.6.so -O2 -MT
hosting_python_la-hosting_python.lo -MD -MP -MF
.deps/hosting_python_la-hosting_python.Tpo -c hosting_python.c  -fPIC
-DPIC -o .libs/hosting_python_la-hosting_python.o
In file included from ../../../libsrc/plugin/../Wi/wi.h:103,
                 from ../../../libsrc/plugin/import_gate_virtuoso.h:16,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/wifn.h:74: warning: function declaration
isn’t a prototype
In file included from ../../../libsrc/plugin/../Wi/wi.h:103,
                 from ../../../libsrc/plugin/import_gate_virtuoso.h:16,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/wifn.h:474: warning: function declaration
isn’t a prototype
../../../libsrc/plugin/../Wi/wifn.h:924: warning: function declaration
isn’t a prototype
../../../libsrc/plugin/../Wi/wifn.h:1191: warning: function
declaration isn’t a prototype
In file included from ../../../libsrc/plugin/../Wi/sqlnode.h:31,
                 from ../../../libsrc/plugin/import_gate_virtuoso.h:17,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/odbcinc.h:72:18: error: sql.h: No such
file or directory
../../../libsrc/plugin/../Wi/odbcinc.h:73:21: error: sqlext.h: No such
file or directory
../../../libsrc/plugin/../Wi/odbcinc.h:74:23: error: iodbcext.h: No
such file or directory
In file included from ../../../libsrc/plugin/../Wi/sqlnode.h:1648,
                 from ../../../libsrc/plugin/import_gate_virtuoso.h:17,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/sqlfn.h:1248: warning: function
declaration isn’t a prototype
../../../libsrc/plugin/../Wi/sqlfn.h:1249: warning: function
declaration isn’t a prototype
In file included from ../../../libsrc/plugin/import_gate_virtuoso.h:30,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/datesupp.h:47: error: expected ‘)’ before ‘*’ token
../../../libsrc/plugin/../Wi/datesupp.h:49: error: expected
declaration specifiers or ‘...’ before ‘TIMESTAMP_STRUCT’
../../../libsrc/plugin/../Wi/datesupp.h:50: error: expected ‘)’ before ‘*’ token
../../../libsrc/plugin/../Wi/datesupp.h:51: error: expected
declaration specifiers or ‘...’ before ‘TIMESTAMP_STRUCT’
../../../libsrc/plugin/../Wi/datesupp.h:52: error: expected ‘)’ before ‘*’ token
../../../libsrc/plugin/../Wi/datesupp.h:53: error: expected
declaration specifiers or ‘...’ before ‘DATE_STRUCT’
../../../libsrc/plugin/../Wi/datesupp.h:54: error: expected ‘)’ before ‘*’ token
../../../libsrc/plugin/../Wi/datesupp.h:55: error: expected
declaration specifiers or ‘...’ before ‘TIME_STRUCT’
../../../libsrc/plugin/../Wi/datesupp.h:56: error: expected ‘)’ before ‘*’ token
In file included from ../../../libsrc/plugin/import_gate_virtuoso.h:43,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/repl.h:66: error: expected
specifier-qualifier-list before ‘TIME_STRUCT’
In file included from ../../../libsrc/plugin/import_gate_virtuoso.h:50,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/2pc.h:327: error: expected ‘)’ before ‘hdbc’
../../../libsrc/plugin/../Wi/2pc.h:327: error: expected ‘)’ before ‘hdbc’
In file included from hosting_python.c:85:
../../../libsrc/plugin/import_gate_virtuoso.h:57: error: expected
specifier-qualifier-list before ‘typeof__DoSQLError’
In file included from hosting_python.c:85:
../../../libsrc/plugin/import_gate_virtuoso.h:454:1: warning:
"mutex_enter" redefined
In file included from ../../../libsrc/plugin/import_gate_virtuoso.h:16,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/wi.h:1598:1: warning: this is the
location of the previous definition
In file included from hosting_python.c:85:
../../../libsrc/plugin/import_gate_virtuoso.h:456:1: warning:
"mutex_leave" redefined
In file included from ../../../libsrc/plugin/import_gate_virtuoso.h:16,
                 from hosting_python.c:85:
../../../libsrc/plugin/../Wi/wi.h:1599:1: warning: this is the
location of the previous definition
hosting_python.c: In function ‘bif_python_exec’:
hosting_python.c:177: warning: passing argument 1 of
‘_gate._sec_check_dba._ptr’ from incompatible pointer type
hosting_python.c:177: note: expected ‘struct query_instance_t *’ but
argument is of type ‘char **’
hosting_python.c:263: warning: label ‘err_ret’ defined but not used
hosting_python.c:174: warning: unused variable ‘code_obj’
hosting_python.c:172: warning: unused variable ‘local_dict’
hosting_python.c: In function ‘hosting_python_check’:
hosting_python.c:313: warning: unused variable ‘dll’
make[4]: *** [hosting_python_la-hosting_python.lo] Error 1
make[4]: Leaving directory
`/home/ubuntu/virtuoso-opensource-6.1.2/binsrc/hosting/python'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/ubuntu/virtuoso-opensource-6.1.2/binsrc/hosting/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/ubuntu/virtuoso-opensource-6.1.2/binsrc/hosting'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/virtuoso-opensource-6.1.2/binsrc'
make: *** [all-recursive] Error 1


-- 
Aldo Bucchi
@aldonline
skype:aldo.bucchi
http://aldobucchi.com/

Reply via email to