[Kde-bindings] Problems builing RUBY binding

Alexander Kellett lypanov at kde.org
Fri Jun 4 07:37:14 UTC 2004


what header file in /usr/include has vasprintf for you?
(grep -ir vasprintf /usr/include/*)

Alex

On Fri, Jun 04, 2004 at 09:44:02AM +0200, Alex Martin Ugalde wrote:
> 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
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings

mvg,
Alex

-- 
When women love us, they forgive us everything, even our crimes; when they do
not love us, they give us credit for nothing, not even our virtues.
		-- Honor'e de Balzac



More information about the Kde-bindings mailing list