G
Gunnar
I'm running OpenSUSE 10.0 on a AMD64. I tried using the Suse ruby rpm
( (ruby-1.8.2-11) package but qtruby 1.0.9 will not install.
Removing the ruby-1.8.2-11 installation and "configure/make/make install"
ruby-1.8.3 instead. Verify install OK. Install gem OK. Now trying the
qtruby-1.0.9 package I do the following steps;
cd /home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9
make -f Makefile.cvs
./configure --with-qt-libraries=/usr/lib/qt3/lib64
(runs to the end and says its ok to run make)
make
(fails towards the end (I think) and I include the last couple of lines of
output
make[3]: Entering directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby/bin'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include
-I/usr/X11R6/include -I/usr/local/lib/ruby/1.8/x86_64-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
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT qtrubyinit.o -MD -MP -MF ".deps/qtrubyinit.Tpo" -c -o
qtrubyinit.o qtrubyinit.cpp; \
then mv -f ".deps/qtrubyinit.Tpo" ".deps/qtrubyinit.Po"; else rm -f
".deps/qtrubyinit.Tpo"; exit 1; fi
/bin/sh ../../libtool --silent --tag=CXX --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 -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -o qtrubyinit -module -L/usr/X11R6/lib64
-L/usr/lib/qt3/lib64 -version-info 0:0:0 -L../../smoke/qt/ -L/usr/local/lib
qtrubyinit.o -lqt-mt -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':
qtrubyinit.cpp
.text+0x15): undefined reference to `ruby_init'
qtrubyinit.cpp
.text+0x21): undefined reference to `ruby_script'
qtrubyinit.cpp
.text+0x2c): undefined reference to `ruby_options'
qtrubyinit.cpp
.text+0x31): undefined reference to `ruby_run'
collect2: ld returned 1 exit status
make[3]: *** [qtrubyinit] Error 1
make[3]: Leaving directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9'
make: *** [all] Error 2
To me it looks like I'm missing a header-file (qtrubyinit.h).
All help appreciated
Gunnar
( (ruby-1.8.2-11) package but qtruby 1.0.9 will not install.
Removing the ruby-1.8.2-11 installation and "configure/make/make install"
ruby-1.8.3 instead. Verify install OK. Install gem OK. Now trying the
qtruby-1.0.9 package I do the following steps;
cd /home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9
make -f Makefile.cvs
./configure --with-qt-libraries=/usr/lib/qt3/lib64
(runs to the end and says its ok to run make)
make
(fails towards the end (I think) and I include the last couple of lines of
output
make[3]: Entering directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby/bin'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include
-I/usr/X11R6/include -I/usr/local/lib/ruby/1.8/x86_64-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
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT qtrubyinit.o -MD -MP -MF ".deps/qtrubyinit.Tpo" -c -o
qtrubyinit.o qtrubyinit.cpp; \
then mv -f ".deps/qtrubyinit.Tpo" ".deps/qtrubyinit.Po"; else rm -f
".deps/qtrubyinit.Tpo"; exit 1; fi
/bin/sh ../../libtool --silent --tag=CXX --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 -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -o qtrubyinit -module -L/usr/X11R6/lib64
-L/usr/lib/qt3/lib64 -version-info 0:0:0 -L../../smoke/qt/ -L/usr/local/lib
qtrubyinit.o -lqt-mt -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':
qtrubyinit.cpp
qtrubyinit.cpp
qtrubyinit.cpp
qtrubyinit.cpp
collect2: ld returned 1 exit status
make[3]: *** [qtrubyinit] Error 1
make[3]: Leaving directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gunnar/gunnar/Downloads/Ruby/qtruby-1.0.9'
make: *** [all] Error 2
To me it looks like I'm missing a header-file (qtrubyinit.h).
All help appreciated
Gunnar