Re: Compiling QtRuby



Hector wrote:
I've been trying to compile Qt Ruby without success.
I've got Qt 4.1.1 installed and it tested fine. I was able to run the
demos without a problem.

When I try to compile qt4-qtruby-1.4.3 I get this:

<Abstract>
-c -o qtrubyinit.o `test -f 'qtrubyinit.cpp' || echo
'./'`qtrubyinit.cpp; \
then mv ".deps/qtrubyinit.Tpo" ".deps/qtrubyinit.Po"; \
else rm -f ".deps/qtrubyinit.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --silent --mode=link g++ -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
-g -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -o qtrubyinit -module
-L/usr/local/Trolltech/Qt-4.1.1/lib -L/usr/X11R6/lib -version-info
0:0:0 -L../../smoke/qt/ -L/usr/local/lib qtrubyinit.o -lQtGui -lz -lpng
-lz -lm -lXext -lX11 -lSM -lICE -lpthread -Wl,-R -Wl,/usr/local/lib
-L/usr/local/lib -L. ../../smoke/qt/libsmokeqt.la
../../qtruby/rubylib/qtruby/libqtrubyinternal.la
libtool: link: warning: `-version-info' is ignored for programs
qtrubyinit.o: In function `main':
/source/qt4-qtruby-1.4.3/qtruby/bin/qtrubyinit.cpp:25: undefined
reference to `ruby_init'
/source/qt4-qtruby-1.4.3/qtruby/bin/qtrubyinit.cpp:26: undefined
reference to `ruby_script'
/source/qt4-qtruby-1.4.3/qtruby/bin/qtrubyinit.cpp:27: undefined
reference to `ruby_options'
/source/qt4-qtruby-1.4.3/qtruby/bin/qtrubyinit.cpp:28: undefined
reference to `ruby_run'
collect2: ld returned 1 exit status
make[3]: *** [qtrubyinit] Error 1
make[3]: Leaving directory `/source/qt4-qtruby-1.4.3/qtruby/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/source/qt4-qtruby-1.4.3/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/source/qt4-qtruby-1.4.3'
make: *** [all] Error 2

I know almost nothing about compiling C++ programs, does anyone know how
I can get around this problem.


Thank you.

Hector


A question from a non-Qt user. Does Qt Ruby try to match version
numbers with Qt. For example is qt-qtruby-1.4.3 meant to be used with
any qt-1.4.x ?

Was your compilation from a *.tar.gz file? or did it come from
installing a *.gem file?

--
Posted via http://www.ruby-forum.com/.


.



Relevant Pages

  • RE: The OutputPath property is not set for this project - interest
    ... I ran into this one time before when installing Compact Framework SP1 (maybe ... attempted to compile it, ... When choosing to "Add Reference" for a project we would normally click on ... everything compiles again and the exceptions are gone. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Seeing Access 2003 table in Access 2007
    ... The reason you're not able to compile is likely because code is running. ... VBA code in your database will not be disabled from the get-go. ... I had a second missing reference which I ... Compile {ProjectName}, where is the name of your VBA ...
    (microsoft.public.access.gettingstarted)
  • Re: 7.0 wishlist?
    ... doing it at compile time runs into the problems shown. ... At least an NPE in seemingly-null-safe could would then be prima facie evidence of thread-unsafety in the null's source chain, and with a runtime check on the reference assignment the NPE will occur in one of blocks that participated in a race condition instead of somewhere random later on. ... void method ... For that, I have the thread hold the queue in a WeakReferenceand if the removemethod hits the timeout, it sleeps for a while holding no other references to the queue. ...
    (comp.lang.java.programmer)
  • Re: Help on designing a modular ASP.NET architecture
    ... It's definately a way to modularise a WebSite, and you can compile them, and reference and use them across projects. ... You don't necessarily have to use controls, but they are nice if there's set pieces of functionality you want to reuse. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Database Crashes when opening table or query in design view
    ... your info, and for reference, there was an option on the change/uninstall on ... Compact the database to get rid of this junk: ... Still in the code window, choose Compile from the Debug menu. ...
    (microsoft.public.access.tablesdbdesign)