[Kde-bindings] adventures with smoke and qtruby (kdebindings 3.2.3)
Alexander Kellett
lypanov at kde.org
Wed Jun 23 05:57:08 UTC 2004
did you first run "make -f Makefile.cvs"?
i'm not sure what exactly the error message means
maybe its due to the autom4te cache that i left
in the tarball. strange stuff :S. thanks very much
for the feedback. i'll integrate richard's commit
of your patch into my branch tonight. i'll also
review my sample code, the canvastest was very
kde installation dependant from the looks at
your error log. thanks again :)
Alex
On Wed, Jun 23, 2004 at 10:48:44AM +1000, jm wrote:
> Ok here's how it went. after extracting the archive and cd-ing.
>
> ./configure --prefix=/opt/jmx --without-arts --without-java --without-gl
> make
>
> returns
>
> cd . && /bin/sh /home/jmiller/qtplay/qtruby-cvs/admin/missing --run
> autoheader
> Can't locate object method "path" via package "Autom4te::Request"
> (perhaps you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te
> line 81.
> autoheader2.50: autom4te failed with exit status: 1
> at /usr/bin/autoheader2.50 line 163
> make: *** [config.h.in] Error 1
>
> So I changed to the smoke directory and ran make from there, then
> change to the qtruby directory and ran make, back to the smoke
> directory and 'make install' followed by 'make install' from within the
> qtruby directory.
>
> attempted to run main.rb from wthin
> qtruby-cvs/qtruby/rubylib/examples/qt-examples/hello
> and received
>
> ./main.rb:9: undefined method `join' for nil:NilClass (NoMethodError)
>
> but the progress test runs if I do
>
> ruby progress.rb
>
> as the files not marked executable.
>
> Looking at hello/main.rb again it turned out to be a simple fix, so
> here's the patch
>
> --- main.rb.orig Wed Jun 23 10:13:13 2004
> +++ main.rb Wed Jun 23 10:13:56 2004
> @@ -6,7 +6,7 @@
> a = Qt::Application.new(ARGV)
> s = ''
>
> -s = ARGV[1..ARGV.size-1].join(' ')
> +s = ARGV[0..ARGV.size-1].join(' ') if ARGV.length
>
> if (s.empty?)
> s = 'Hello, World'
>
> I'll continue to play with it give the chance and let you know what
> else I find.
>
> BTW, alex like the sig.
>
> Jeff.
>
> On 22/06/2004, at 6:58 PM, Alexander Kellett wrote:
>
> >hey again jeff,
> > now mirrored at:
> > ?? http://rubyforge.org/frs/download.php/827/qtruby-cvs-2004-06-22.tgz
> > as my connection ain't too great...
> > any feedback on the tarball would be
> >really useful as then i can make
> > a slightly more official release...
> > cheers,
> > 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