[Sqlrelay-discussion] ruby binding problems
Brought to you by:
mused
|
From: <fr...@gm...> - 2006-12-21 15:34:20
|
Hi,
I try to compile sqlrelay 0.38 with the ruby binding, but I obtain these
errors :
make -C ruby all
make[3]: entrant dans le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB
cp rubyincludes1.h rubyincludes.h; \
/bin/sh ../../../libtool --mode=3Dcompile g++ -Wall -pipe
-DHAVE_CONFIG -pthread make[3]: entrant dans le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -Wall -g -fno-strict-alias=
ing
-O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux
-I. make[3]: quittant le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -I./
-I../../../src/api/c++/include -I/usr/local/firstworks/include -pthread -c
sqlrelay.C -o sqlrelay.lo 2> errors1; \
if ( test ! -r sqlrelay.lo ); then \
cp rubyincludes2.h rubyincludes.h; \
/bin/sh ../../../libtool --mode=3Dcompile g++ -Wall -pipe
-DHAVE_CONFIG -pthread make[3]: entrant dans le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -Wall -g -fno-strict-alias=
ing
-O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux
-I. make[3]: quittant le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -I./
-I../../../src/api/c++/include -I/usr/local/firstworks/include -pthread -c
sqlrelay.C -o sqlrelay.lo 2> errors2; \
if ( test ! -r sqlrelay.lo ); then \
if ( test -s errors1 ); then \
echo "first try errors : "; cat errors1;
echo; \
fi; \
if ( test -s errors2 ); then \
echo "second try errors : "; cat errors2;
echo; \
fi; \
exit 1; \
else \
cat errors2; \
fi; \
else \
cat errors1; \
fi; \
rm -f errors1 errors2 rubyincludes.h
mkdir .libs
g++ -Wall -pipe -DHAVE_CONFIG -pthread "make[3]:" entrant dans le
r=E9pertoire =AB /home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -Wall -g
-fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux
-I/usr/lib/ruby/1.8/i486-linux -I. "make[3]:" quittant le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -I./
-I../../../src/api/c++/include -I/usr/local/firstworks/include -pthread -c
sqlrelay.C -fPIC -DPIC -o .libs/sqlrelay.o
g++ -Wall -pipe -DHAVE_CONFIG -pthread "make[3]:" entrant dans le
r=E9pertoire =AB /home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -Wall -g
-fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux
-I/usr/lib/ruby/1.8/i486-linux -I. "make[3]:" quittant le r=E9pertoire =AB
/home/fred/sources/cvs/sqlrelay/src/api/ruby =BB -I./
-I../../../src/api/c++/include -I/usr/local/firstworks/include -pthread -c
sqlrelay.C -fPIC -DPIC -o .libs/sqlrelay.o
first try errors :
g++: make[3]:: No such file or directory
g++: entrant: No such file or directory
g++: dans: No such file or directory
g++: le: No such file or directory
g++: r=E9pertoire: No such file or directory
g++: =AB: No such file or directory
g++: =BB: No such file or directory
g++: make[3]:: No such file or directory
g++: quittant: No such file or directory
g++: le: No such file or directory
g++: r=E9pertoire: No such file or directory
g++: =AB: No such file or directory
g++: =BB: No such file or directory
sqlrelay.C: In function 'void Init_SQLRConnection()':
sqlrelay.C:141: error: invalid conversion from 'VALUE (*)()' to 'VALUE
(*)(...)'
sqlrelay.C:141: error: initializing argument 3 of 'void
rb_define_singleton_method(VALUE, const char*, VALUE (*)(...), i
sqlrelay.C:141: error: initializing argument 3 of 'void
rb_define_singleton_method(VALUE, const char*, VALUE (*)(...), int)'
sqlrelay.C:143: error: invalid conversion from 'VALUE (*)()' to 'VALUE
(*)(...)'
.............
What about the Ruby binding, is it too old ?
And it seems that there is a problem with the makefile because of 'No such
file or directory'
Ubuntu edgy
g++ (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
ruby 1.8.4 (2005-12-24) [i486-linux]
|