[Kde-bindings] Problems builing RUBY binding

Alex Martin Ugalde alex.martin at eresmas.com
Fri Jun 4 07:44:02 UTC 2004


Hi folks,

	I'm trying to compile kde ruby binding, but i'm experiencing
problems to compile de qtruby, getting the following error (at linking
time):

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../smoke -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include  -I/usr/lib/ruby/1.8/i686-linux  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common  -c -o Qt.lo Qt.cpp
Qt.cpp: In function `void rb_str_catf(long unsigned int, const char *, ...)':
Qt.cpp:772: implicit declaration of function `int vasprintf(...)'
make[3]: *** [Qt.lo] Error 1
make[3]: Leaving directory `/aplicaciones/cooler/contrib/kdebindings-3.2.2/qtruby/rubylib/qtruby'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/aplicaciones/cooler/contrib/kdebindings-3.2.2/qtruby/rubylib/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/aplicaciones/cooler/contrib/kdebindings-3.2.2/qtruby/rubylib'
make: *** [all-recursive] Error 1

I followed this steps:
1. cd smoke
2. ./configure --prefix=/usr --with-smoke="qt kde" --without-java
3. make
4. make install
5. cd ../qtruby
6. make
Here I get the link error message

My system configuration is:
- KDEBingings 3.2.2
- KDE3.2.2
- QT 3.3.2
- Ruby 1.8.1
- SuSE 8.0 (2.4.18-4GB)

Any help will be welcome

Thanks in advance
Alex



More information about the Kde-bindings mailing list