From maurizio.teli at soc.unitn.it Mon Oct 17 11:25:44 2005 From: maurizio.teli at soc.unitn.it (Maurizio Teli) Date: Mon, 17 Oct 2005 17:25:44 +0200 Subject: [Weft QDA users] problem during the installation Message-ID: <1129562744.1303.7.camel@wagnone.site> dear friends, I've problem during the installation (Suse 9.3). this is the message coming: :/usr/bin # ruby weft-qda.rb /usr/lib/ruby/gems/1.8/gems/weft-qda-0.9.6/./weft-qda.rb:15: uninitialized constant QDA::GUI (NameError) from weft-qda.rb:18:in `load' from weft-qda.rb:18 what can I do? thanks maurizio From alex at pressure.to Tue Oct 18 00:56:43 2005 From: alex at pressure.to (Alex Fenton) Date: Tue, 18 Oct 2005 05:56:43 +0100 Subject: [Weft QDA users] problem during the installation In-Reply-To: <1129562744.1303.7.camel@wagnone.site> References: <1129562744.1303.7.camel@wagnone.site> Message-ID: <4354808B.70901@pressure.to> Hi Maurizio Maurizio Teli wrote: > I've problem during the installation (Suse 9.3). > this is the message coming: > > :/usr/bin # ruby weft-qda.rb > /usr/lib/ruby/gems/1.8/gems/weft-qda-0.9.6/./weft-qda.rb:15: > uninitialized constant QDA::GUI (NameError) > from weft-qda.rb:18:in `load' > from weft-qda.rb:18 > > Thanks for your message. Do you have wxruby-0.6.0 and ruby-sqlite-2.x.x installed? I checked just now and rubygems gives the (misguiding) error message you received if wxruby is not installed. Also, I should warn you that 0.9.6 unfortunately has some major bugs on Linux (I didn't have a suitable testing machine when working on this version). The upcoming (next week or two) version 0.9.7 should fix these, but until then you probably won't be able to do any serious work using weft-qda on Linux. Sorry about that. cheers alex From joergbalsiger at yahoo.com Wed Oct 19 17:59:36 2005 From: joergbalsiger at yahoo.com (Joerg Balsiger) Date: Wed, 19 Oct 2005 14:59:36 -0700 (PDT) Subject: [Weft QDA users] problems getting weft-qda to run in linux Message-ID: <20051019215936.62444.qmail@web51405.mail.yahoo.com> Dear all, I'm having a terribly hard time getting this running in linux (LFS 6.1) and hope somebody can help. I have successfully installed ruby, sqlite, sqlite-ruby (2.2.3 - could not find 2.2.4 anywhere), and wxGTK-2.4.2 (had to manually move htmlproc.h and xml.h to appropriate directories because the wxGTK install process does not do it). I compiled wxruby with ruby extconf.rb && make, but ruby install.rb produced errors, so I manually moved wxruby.so to an appropriate directory. I also have xpdf. When I untar weft-qda and run ruby weft-qda.rb in the resulting directory, I get the following error: ruby: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: _gtk_accel_group_attach I successfully installed weft-qda as a gem, but running it from ruby's gem directory gives me the same error. Any help would be greatly appreciated. __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ From alex at pressure.to Wed Oct 19 21:17:01 2005 From: alex at pressure.to (Alex Fenton) Date: Thu, 20 Oct 2005 02:17:01 +0100 Subject: [Weft QDA users] problems getting weft-qda to run in linux In-Reply-To: <20051019215936.62444.qmail@web51405.mail.yahoo.com> References: <20051019215936.62444.qmail@web51405.mail.yahoo.com> Message-ID: <4356F00D.7020205@pressure.to> Hi Joerg Joerg Balsiger wrote: >I'm having a terribly hard time getting this running in linux (LFS 6.1) and >hope somebody can help. > > Sorry, I'm aware the Linux installation process is painful because of the dependencies, but it is doable. Also, I didn't have a Linux testing box available when releasing 0.9.6, so it has some major bugs on Linux due to wxruby cross-platform inconsistencies. You might want to try CVS HEAD or wait for version 0.9.7 (soon..). Once you have installed sqlite and wxruby, upgrading to future versions of weft is easy. >I have successfully installed ruby, sqlite, sqlite-ruby (2.2.3 - could not find >2.2.4 anywhere), > any version 2.2 should be fine. There's a reason for the 2.2.4 requirement being there, but it's kinda long to explain. >and wxGTK-2.4.2 (had to manually move htmlproc.h and xml.h to >appropriate directories because the wxGTK install process does not do it). I >compiled wxruby with ruby extconf.rb && make, but ruby install.rb produced >errors, so I manually moved wxruby.so to an appropriate directory. I also have >xpdf. > > compiling Wx and wxruby is definitely the hardest bit of the install :/ If possible it may be easier to use your Linux's package manager to install Wx-2.4.2, and just compile wxruby. This worked for me on Ubuntu. If you are compiling Wx yourself, make sure you ./configure with --enable-static and --disable-shared options. >When I untar weft-qda and run ruby weft-qda.rb in the resulting directory, I >get the following error: > >ruby: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: >_gtk_accel_group_attach > > I may be wrong, but this sounds like a generic problem with your compiled wxruby. Are you able to run the wxruby examples in the samples/ directory of the tarball? Perhaps you could also post what version of GTK you are using? If it is a general problem with wxruby, I could send you a compiled linux wxruby.so for GTK to try, but I am not sure how well it would work if WxWidgets was compiled against a different version of GTK. regards alex > >__________________________________ >Yahoo! Music Unlimited >Access over 1 million songs. Try it free. >http://music.yahoo.com/unlimited/ >_______________________________________________ >Weft-qda-users mailing list >Weft-qda-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/weft-qda-users > > > > From joergbalsiger at yahoo.com Thu Oct 20 07:09:11 2005 From: joergbalsiger at yahoo.com (Joerg Balsiger) Date: Thu, 20 Oct 2005 04:09:11 -0700 (PDT) Subject: [Weft QDA users] problems getting weft-qda to run in linux In-Reply-To: <4356F00D.7020205@pressure.to> Message-ID: <20051020110911.56618.qmail@web51414.mail.yahoo.com> > Sorry, I'm aware the Linux installation process is painful because of > the dependencies, but it is doable. No luck so far > Also, I didn't have a Linux testing box available when releasing 0.9.6, > so it has some major bugs on Linux due to wxruby cross-platform > inconsistencies. You might want to try CVS HEAD Tried that - got the same errors > compiling Wx and wxruby is definitely the hardest bit of the install :/ i found several references to issues with compiling wxruby for linux - see, for example, http://rubyforge.org/pipermail/wxruby-users/2004-November/001041.html > If possible it may be easier to use your Linux's package manager to > install Wx-2.4.2, and just compile wxruby. This worked for me on Ubuntu. Linux from Scratch, which I use, does not come with a package manager, so I need to compile wxGTK as well. > If you are compiling Wx yourself, make sure you ./configure with > --enable-static and --disable-shared options. Did that. > >When I untar weft-qda and run ruby weft-qda.rb in the resulting directory, I > >get the following error: > > > >ruby: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: > >_gtk_accel_group_attach > > > > > I may be wrong, but this sounds like a generic problem with your > compiled wxruby. Are you able to run the wxruby examples in the samples/ > directory of the tarball? Some samples work, some don't, I wouldn't know how they differ, though. The ones that don't work generally give me the "undefined symbol: _gtk_accel_group_attach_" error mentioned above > Perhaps you could also post what version of GTK you are using? I have both GTK+-1.2.10 and GTK+-2.6.7 installed - all weft-qda requirements were compiled against the same elements. > regards > alex thanks for getting back to me - any further advise is welcomed (I hope I don't have to switch to Windows just to finish my dissertation ;-) joerg __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From alex at pressure.to Thu Oct 20 07:55:15 2005 From: alex at pressure.to (Alex Fenton) Date: Thu, 20 Oct 2005 12:55:15 +0100 Subject: [Weft QDA users] problems getting weft-qda to run in linux In-Reply-To: <20051020110911.56618.qmail@web51414.mail.yahoo.com> References: <20051020110911.56618.qmail@web51414.mail.yahoo.com> Message-ID: <435785A3.8050209@pressure.to> >>You might want to try CVS HEAD >> >> >Tried that - got the same errors > > Weft's written in just ruby, so if there's a problem with the wxruby extension, it'll show up with most versions ... >Linux from Scratch, which I use, does not come with a package manager, so I >need to compile wxGTK as well. > I was wondering what LFS stood for! >>Some samples work, some don't, I wouldn't know how they differ, though. The >>ones that don't work generally give me the "undefined symbol: >>_gtk_accel_group_attach_" error mentioned above >> >> >> http://www.google.co.uk/search?hl=en&q=_gtk_accel_group_attach+wxwidgets Suggests that there are quite a few 2.4.2 wxwidgets apps not working with GTK 2.4+. From one " upgrading to gtk+ 2.4.0 broke every wx application" >I have both GTK+-1.2.10 and GTK+-2.6.7 installed - all weft-qda requirements >were compiled against the same elements. > > > You might try compiling WxWidgets against GTK-1.x only, then compiling wxruby against that. I can't remember the specific option but see ./configure --help. Something like --enable-gtk --disable-gtk2. I think also --disable-unicode is recommended for WxWidgets that is going to be used with wxruby 0.6.0. > >thanks for getting back to me - any further advise is welcomed (I hope I don't >have to switch to Windows just to finish my dissertation ;-) > > Thanks for your patience - I hope the above helps. I'm really keen that the Linux version is as polished as the Windows one, but it's not at the moment. 90% of downloads are of Windows binaries rather than gem or source, and my time has been spent in similar proportion - so while the Windows version 0.9.6 is definitely usable (and used) for real projects, I'm not so sure about Linux at the moment ... but please don't let that put you off reporting any problems as it's very welcome. alex From joergbalsiger at yahoo.com Thu Oct 20 12:02:03 2005 From: joergbalsiger at yahoo.com (Joerg Balsiger) Date: Thu, 20 Oct 2005 09:02:03 -0700 (PDT) Subject: [Weft QDA users] problems getting weft-qda to run in linux In-Reply-To: <435785A3.8050209@pressure.to> Message-ID: <20051020160203.42428.qmail@web51403.mail.yahoo.com> > You might try compiling WxWidgets against GTK-1.x only, then compiling > wxruby against that. I can't remember the specific option but see > ./configure --help. Something like --enable-gtk --disable-gtk2. I think > also --disable-unicode is recommended for WxWidgets that is going to be > used with wxruby 0.6.0. I did as you suggested: recompiled wxGTK against GTK-1.x only with --enable-static --disable-shared --with-gtk --disable-gtk2 and --disable-unicode, then recompiled wxruby against the new wxGTK (still had to add the puts "Removing ${str}" to extconf.rb and remove the .dll line in install.rb). Now I get the following error when trying to run weft-qda: /usr/lib/ruby/1.8/i686-linux/wxruby.so: /usr/lib/ruby/1.8/i686-linux/wxruby.so: undefined symbol: _ZN12wxEvtHandler13sm_eventTableE - /usr/lib/ruby/1.8/i686-linux/wxruby.so (Load Error) from ./lib/weft/wxgui.rb:1 from weft-qda.rb:11in `require' from weft-qda.rb:11 > I'm really keen that the Linux version is as polished as the Windows > one, glad to report on my attempts to get it running joerg __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs