From udo.mueller at isum.de Fri Sep 2 06:58:29 2005 From: udo.mueller at isum.de (Udo =?ISO-8859-1?Q?M=FCller?=) Date: Fri Sep 2 06:41:24 2005 Subject: [Alexandria-list] Alexandria just crashed Message-ID: <1125658709.10011.1.camel@localhost> Timestamp: Fri Sep 02 10:56:02 GMT 2005 Message: wrong number of arguments (1 for 2) Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:528:in `move' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:528:in `restore_preferences' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:81:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:60:in `main' /usr/bin/alexandria:10 Release: 0.5.1 Uname -a: Linux metis 2.6.12-gentoo-r9 #6 Wed Aug 24 13:45:24 GMT 2005 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux From john at stoffel.org Fri Sep 2 08:54:35 2005 From: john at stoffel.org (John Stoffel) Date: Fri Sep 2 08:47:49 2005 Subject: [Alexandria-list] Problem with ruby and libgettext In-Reply-To: <1125173384.14917.3.camel@localhost.localdomain> References: <1125173384.14917.3.camel@localhost.localdomain> Message-ID: <17176.19339.61200.554651@smtp.charter.net> Arrakis> Lastly I upgraded my computer to the last development version Arrakis> of Ubuntu Linux. I decided to retry alexandria and I Arrakis> installed it and all what it need (gtk/gnome stuff, yaml, Arrakis> gettext, etc.) Arrakis> But when I launch it, it failed and tell me: Arrakis> /usr/lib/ruby/1.8/gettext/locale_default.rb:12:in `require': no such Arrakis> file to load -- gettext/_locale (LoadError) Arrakis> from /usr/lib/ruby/1.8/gettext/locale_default.rb:12 Arrakis> from /usr/lib/ruby/1.8/gettext/locale.rb:15 Arrakis> from /usr/lib/ruby/1.8/gettext.rb:18 Arrakis> from ./alexandria:6 Arrakis> I know that it is not a problem with alexandria but a Arrakis> distribution (ubuntu) problem, I decided to report the bug in Arrakis> ubuntu bugzilla, but I would like know if there is other Arrakis> people having the same problem. It's a debian packaging issue with Ruby. Make sure you load all the 34 (!) ruby1.8-* packages. While you probably don't need all of them, this will get the Ruby standard libraries installed. If you google, you'll find talk about it, and a list of which packages need to be install. I think it's a problem with the maintainer not putting in the right 'suggests' lines into the package. Good luck, John From drmoxie at gmail.com Tue Sep 6 17:03:59 2005 From: drmoxie at gmail.com (James) Date: Wed Sep 7 07:24:31 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> Message-ID: John Stoffel writes: > > It's a debian packaging issue with Ruby. Make sure you load all the > 34 (!) ruby1.8-* packages. While you probably don't need all of them, > this will get the Ruby standard libraries installed. > > If you google, you'll find talk about it, and a list of which packages > need to be install. I think it's a problem with the maintainer not > putting in the right 'suggests' lines into the package. > > Good luck, > John > Thanks for the suggestion, John. I am getting the same error so I added all the Ruby1.8-* packages and am still getting that error. Sort of scratching my head at this point and would love to get Alexandria running. :-\ From arrak at arrak.org Wed Sep 7 09:09:07 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Wed Sep 7 09:02:09 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> Message-ID: Same thing for me, it doesn't work and I cannot used alexandria. While I'm not on a vanilla debian installation, i'm on ubuntu breezy. If somebody have a solution... I will be happy cause I really want to start to develop some small things for alexandria... ciao mathieu On 9/6/05, James wrote: > John Stoffel writes: > > > > It's a debian packaging issue with Ruby. Make sure you load all the > > 34 (!) ruby1.8-* packages. While you probably don't need all of them, > > this will get the Ruby standard libraries installed. > > > > If you google, you'll find talk about it, and a list of which packages > > need to be install. I think it's a problem with the maintainer not > > putting in the right 'suggests' lines into the package. > > > > Good luck, > > John > > > > Thanks for the suggestion, John. I am getting the same error so I added all the > Ruby1.8-* packages and am still getting that error. Sort of scratching my head > at this point and would love to get Alexandria running. :-\ > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > From john at stoffel.org Wed Sep 7 10:12:19 2005 From: john at stoffel.org (John Stoffel) Date: Wed Sep 7 10:05:21 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> Message-ID: <17182.62787.591271.326944@smtp.charter.net> James> John Stoffel writes: >> >> It's a debian packaging issue with Ruby. Make sure you load all the >> 34 (!) ruby1.8-* packages. While you probably don't need all of them, >> this will get the Ruby standard libraries installed. James> Thanks for the suggestion, John. I am getting the same error James> so I added all the Ruby1.8-* packages and am still getting that James> error. Sort of scratching my head at this point and would love James> to get Alexandria running. :-\ Do you want me to send you a list of ruby packages I have installed? Also, I think you might need to have yaz installed too. Can you re-send me the error(s) your getting and I'll see what I can do to help more. I've stuck on Alexandria 0.5.x something right now, since I now need to get the Ruby-Zoom stuff packaged up for Debian installs to use Alexandria 0.6.0. But I'm having fun learning how to build .deb packages from source, and once I've got it ready, I'll let people know. John From drmoxie at gmail.com Wed Sep 7 12:51:06 2005 From: drmoxie at gmail.com (James Elwood) Date: Wed Sep 7 13:28:11 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <17182.62787.591271.326944@smtp.charter.net> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> Message-ID: <939f43d505090709514268ccf5@mail.gmail.com> John, That would be great! I'm running Ubuntu-Breezy and the following is the error message and the Ruby/Alexandria packages I have installed (I did everything ruby1.8 related): Error: /usr/lib/ruby/1.8/gettext/locale_default.rb:12:in `require': no such file to load -- gettext/_locale (LoadError) from /usr/lib/ruby/1.8/gettext/locale_default.rb:12 from /usr/lib/ruby/1.8/gettext/locale.rb:15 from /usr/lib/ruby/1.8/gettext.rb:18 from /usr/bin/alexandria:6 Commit Log for Mon Sep 5 15:06:04 2005 Removed the following packages: libgd2-noxpm Installed the following packages: alexandria (0.5.1-3) ecasound (2.4.2-1ubuntu1) emacs21 (21.4a-1ubuntu1) emacs21-bin-common (21.4a-1ubuntu1) emacs21-common (21.4a-1ubuntu1) emacsen-common (1.4.16) irb (1.8.2-1) irb1.8 (1.8.2-9) jackd (0.99.0-2ubuntu1) kakasi-dic (2.3.4-3) kdelibs-bin (4:3.4.2-0ubuntu4) kdelibs-data (4:3.4.2-0ubuntu4) kdelibs4c2 (4:3.4.2-0ubuntu4) libalgorithm-diff-ruby1.8 (0.4-3) libamazon-ruby (0.9.0-1) libamrita-ruby1.8 (1.0.2-3) libamstd-ruby1.8 (2.0.0-2) libapache-ruby1.8 (1.2.4-1) libart2-ruby (0.12.0-2build2) libarts1c2 (1.4.2-0ubuntu3) libatk1-ruby (0.12.0-2build2) libbio-ruby1.8 (0.6.2-2) libbsearch-ruby1.8 (1.5-5) libbz2-ruby1.8 (0.2.2-1) libcgikit-ruby1.8 (1.2.1-1) libdb2 (2:2.7.7.0-9ubuntu1) libdb2-ruby1.8 (0.5.4-1) libdb3-ruby1.8 (0.5.4-1) libdb4.1 (4.1.25-18ubuntu1) libdb4.1-ruby1.8 (0.5.4-1) libdb4.2-ruby1.8 (0.5.4-1) libdbd-mysql-ruby1.8 (0.0.23-2) libdbd-odbc-ruby1.8 (0.0.23-2) libdbd-pg-ruby1.8 (0.0.23-2) libdbd-sqlite-ruby1.8 (0.0.23-2) libdbi-ruby1.8 (0.0.23-2) libdbm-ruby1.8 (1.8.2-9) libdevel-logger-ruby1.8 (1.0.2-2) libdpkg-ruby1.8 (0.3.1) libeb-ruby1.8 (2.3-1) libeb7 (3.3.2-4ubuntu1) libecasound-ruby1.8 (2.4.2-1ubuntu1) libexif-ruby1.8 (0.1.2-7) libfcgi-ruby1.8 (0.8.6-1) libfcgi0 (2.4.0-5) libfilesystem-ruby1.8 (0.5-2) libgconf2-ruby (0.12.0-2build2) libgd-ruby1.8 (0.7.4.1-2) libgd2-xpm (2.0.33-1.1ubuntu1) libgdbm-ruby1.8 (1.8.2-9) libgdk-pixbuf2-ruby (0.12.0-2build2) libgettext-ruby1.8 (0.8.1-2) libglade2-ruby (0.12.0-2build2) libglib2-ruby (0.12.0-2build2) libgnome2-ruby (0.12.0-2build2) libgnomecanvas2-ruby (0.12.0-2build2) libgtk-trayicon-ruby1.8 (0.1.0-1ubuntu1) libgtk2-ruby (0.12.0-2build2) libhtml-parser-ruby1.8 (0.19990912.p2-4) libhtree-ruby1.8 (0.0.20040714-1) libhttp-access2-ruby1.8 (2.0.4-1) libident (0.22-3) libimage-size-ruby1.8 (20040618-1) libintl-gettext-ruby1.8 (0.11-5) libiodbc2 (3.52.2-3) libjack0.80.0-0 (0.99.0-2ubuntu1) libkakasi-ruby1.8 (2002.09.28-2) libkakasi2 (2.3.4-3) libkorundum0-ruby1.8 (4:3.4.2-0ubuntu3) libldap-ruby1.8 (0.9.0-1) liblog4r-ruby1.8 (1.0.5-3) libmp3tag-ruby1.8 (1.0-1) libmysql-ruby1.8 (2.4.5-6.1) libncurses-ruby1.8 (0.9.2-3) libneedle-extras-ruby1.8 (1.0.0-2) libneedle-ruby1.8 (1.2.0-2) libnet-sftp-ruby1.8 (0.9.0-2) libnet-ssh-ruby1.8 (1.0.0-1) libnetpbm10 (2:10.0-8ubuntu1) libnora-ruby1.8 (1:0.0.20041021-1) libodbc-ruby1.8 (0.994-1) libopenexr2c2 (1.2.2-3ubuntu1) libopenssl-ruby1.8 (1.8.2-9) libpango1-ruby (0.12.0-2build2) libpcap-ruby1.8 (0.6-5) libpcap0.7 (0.7.2-7) libpcre3 (5.0-1.1ubuntu2) libpgsql-ruby1.8 (0.7.1-3) libprogressbar-ruby1.8 (0.8-1) libqdbm-ruby1.8 (1.8.30-1) libqdbm11 (1.8.30-1) libqt0-ruby1.8 (4:3.4.2-0ubuntu3) libqt3-mt (3:3.3.4-8ubuntu4) librd-html-ext-ruby1.8 (0.1.4-1) librd-ruby1.8 (0.6.16-3) libreadline-ruby1.8 (1.8.2-9) libredcloth-ruby1.8 (3.0.3-2) librexml-ruby (3.1.2.1+ruby1.8.2-1) librfilter-ruby1.8 (0.12-1build1) librmagick-ruby1.8 (1.6.0-1) librmail-ruby1.8 (0.17-1) libromkan-ruby1.8 (0.4-5) librubilicious-ruby1.8 (0.1.4-2) libruby1.8 (1.8.2-9) libruby1.8-dbg (1.8.2-9) libsamplerate0 (0.1.1-2) libsary-ruby1.8 (1.2.0-2) libsary10 (1:1.2.0-1) libsdl-image1.2 (1.2.4-1) libsdl-mixer1.2 (1.2.6-1.1) libsdl-ruby1.8 (0.9.3-1build1) libsdl-sgec2 (020904-5ubuntu1) libsdl-ttf2.0-0 (2.0.6-5) libshadow-ruby1.8 (1.4.1-6) libsmokekde1 (4:3.4.2-0ubuntu3) libsmokeqt1 (4:3.4.2-0ubuntu3) libsnmp-ruby1.8 (0.4.1-1) libsufary-ruby1.8 (7) libsufary2 (2.1.1-6) libsuikyo-ruby1.8 (2.1.0-1) libtcltk-ruby1.8 (1.8.2-9) libtempura-ruby1.8 (0.1.2r3-2) libtermios-ruby1.8 (0.9.4-4) libtmail-ruby1.8 (0.10.8-1) libuconv-ruby1.8 (0.4.12-1) libungif4g (4.1.3-2) libvorbisfile-ruby1.8 (0.2-8) libvpim-ruby1.8 (0.14-1) libwrap-ruby1.8 (0.6-3) libxml-parser-ruby1.8 (0.6.8-1) libxml-ruby1.8 (0.3.4-2) libxslt-ruby1.8 (0.3.4-2) libxtemplate-ruby1.8 (0.8.0-1) libzip-ruby1.8 (0.5.6-1) menu-xdg (0.2ubuntu1) netpbm (2:10.0-8ubuntu1) python-ecasound2.2 (2.4.2-1ubuntu1) ruby (1.8.2-1) ruby1.8 (1.8.2-9) ruby1.8-dev (1.8.2-9) ruby1.8-elisp (1.8.2-9) ruby1.8-examples (1.8.2-9) suikyo-table (2.1.0-1) xaw3dg (1.5+E-8) Thanks for your help! :-D James On 9/7/05, John Stoffel wrote: > > > James> John Stoffel writes: > >> > >> It's a debian packaging issue with Ruby. Make sure you load all the > >> 34 (!) ruby1.8-* packages. While you probably don't need all of them, > >> this will get the Ruby standard libraries installed. > > James> Thanks for the suggestion, John. I am getting the same error > James> so I added all the Ruby1.8-* packages and am still getting that > James> error. Sort of scratching my head at this point and would love > James> to get Alexandria running. :-\ > > Do you want me to send you a list of ruby packages I have installed? > Also, I think you might need to have yaz installed too. Can you > re-send me the error(s) your getting and I'll see what I can do to > help more. > > I've stuck on Alexandria 0.5.x something right now, since I now need > to get the Ruby-Zoom stuff packaged up for Debian installs to use > Alexandria 0.6.0. > > But I'm having fun learning how to build .deb packages from source, > and once I've got it ready, I'll let people know. > > John > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/alexandria-list/attachments/20050907/59106c43/attachment.htm From john at stoffel.org Wed Sep 7 15:02:58 2005 From: john at stoffel.org (John Stoffel) Date: Wed Sep 7 14:56:00 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <939f43d505090709514268ccf5@mail.gmail.com> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> Message-ID: <17183.14690.187872.219601@smtp.charter.net> James, It looks like you don't have a base gettext package installed properly. Here's what I have installed for gettext packages, can you confirm your setup? Just FYI, I'm using debian, with a bunch of unstable/testing packages installed. But ubuntu should be reasonably close. Which version of Alexandria are you trying to run? And I suspect you might have a problem with your Ubuntu install, since my version of /usr/lib/ruby/1.8/gettext/locale_default.rb has the line: require 'gettext/locale' and I wonder if you have require 'gettext/_locale' there instead? Something to check. John > apt-show-versions -a | grep gettext | grep installed gettext 0.14.5-2 install ok installed gettext-base 0.14.5-2 install ok installed libgettext-ruby1.8 0.9.0-1 install ok installed liblocale-gettext-perl 1.05-1 install ok installed > apt-show-versions -a | grep ruby | grep installed libgnomecanvas2-ruby 0.12.0-2 install ok installed libpango1-ruby 0.12.0-2 install ok installed libruby1.8 1.8.2-9 install ok installed ruby1.8-dev 1.8.2-9 install ok installed libgnome2-ruby 0.12.0-2 install ok installed libglib2-ruby 0.12.0-2 install ok installed libart2-ruby 0.12.0-2 install ok installed libruby 1.8.2-1 install ok installed ruby1.8 1.8.2-9 install ok installed libamazon-ruby 0.9.0-1 install ok installed libglade2-ruby 0.12.0-2 install ok installed libgdk-pixbuf2-ruby 0.12.0-2 install ok installed librexml-ruby 3.1.2.1+ruby1.8.2-1 install ok installed libatk1-ruby 0.12.0-2 install ok installed libgtk2-ruby 0.12.0-2 install ok installed libgconf2-ruby 0.12.0-2 install ok installed ruby 1.8.2-1 install ok installed libgettext-ruby1.8 0.9.0-1 install ok installed From arrak at arrak.org Wed Sep 7 15:13:08 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Wed Sep 7 15:06:12 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <17183.14690.187872.219601@smtp.charter.net> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> Message-ID: I took a look in locale_default.rb and it is written: require 'gettext/_locale' I decided to test and rewrited it to: require 'gettext/local' it work but it tell me another error message: /usr/lib/ruby/1.8/gettext/locale.rb:29: undefined method 'set' for module 'Local' (NameError) from /usr/lib/ruby/1.8/gettext.rb:18 from /usr/bin/alexandria:6 Is there anybody understand what happed? On 9/7/05, John Stoffel wrote: > > James, > > It looks like you don't have a base gettext package installed > properly. Here's what I have installed for gettext packages, can you > confirm your setup? Just FYI, I'm using debian, with a bunch of > unstable/testing packages installed. But ubuntu should be reasonably > close. Which version of Alexandria are you trying to run? > > And I suspect you might have a problem with your Ubuntu install, since > my version of /usr/lib/ruby/1.8/gettext/locale_default.rb has the > line: > > require 'gettext/locale' > > and I wonder if you have > > require 'gettext/_locale' > > there instead? Something to check. > > John > > > > apt-show-versions -a | grep gettext | grep installed > gettext 0.14.5-2 install ok installed > gettext-base 0.14.5-2 install ok installed > libgettext-ruby1.8 0.9.0-1 install ok installed > liblocale-gettext-perl 1.05-1 install ok installed > > > apt-show-versions -a | grep ruby | grep installed > libgnomecanvas2-ruby 0.12.0-2 install ok installed > libpango1-ruby 0.12.0-2 install ok installed > libruby1.8 1.8.2-9 install ok installed > ruby1.8-dev 1.8.2-9 install ok installed > libgnome2-ruby 0.12.0-2 install ok installed > libglib2-ruby 0.12.0-2 install ok installed > libart2-ruby 0.12.0-2 install ok installed > libruby 1.8.2-1 install ok installed > ruby1.8 1.8.2-9 install ok installed > libamazon-ruby 0.9.0-1 install ok installed > libglade2-ruby 0.12.0-2 install ok installed > libgdk-pixbuf2-ruby 0.12.0-2 install ok installed > librexml-ruby 3.1.2.1+ruby1.8.2-1 install ok installed > libatk1-ruby 0.12.0-2 install ok installed > libgtk2-ruby 0.12.0-2 install ok installed > libgconf2-ruby 0.12.0-2 install ok installed > ruby 1.8.2-1 install ok installed > libgettext-ruby1.8 0.9.0-1 install ok installed > _______________________________________________ > Alexandria-list mailing list > Alexandria-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > From pterjan at linuxfr.org Wed Sep 7 15:26:23 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Wed Sep 7 15:19:30 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> Message-ID: <1126121183.4808.2.camel@plop> Le mercredi 07 septembre 2005 ? 15:13 -0400, Mathieu Leduc-Hamel a ?crit : > I took a look in locale_default.rb and it is written: > > require 'gettext/_locale' > > I decided to test and rewrited it to: > > require 'gettext/local' > > it work but it tell me another error message: > > /usr/lib/ruby/1.8/gettext/locale.rb:29: undefined method 'set' for > module 'Local' (NameError) > from /usr/lib/ruby/1.8/gettext.rb:18 > from /usr/bin/alexandria:6 > You should look for a package containing /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu/gettext/_locale.so (replace i586-linux-gnu by your arch and system) From arrak at arrak.org Wed Sep 7 15:37:34 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Wed Sep 7 15:30:35 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <1126121183.4808.2.camel@plop> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <1126121183.4808.2.camel@plop> Message-ID: Yes I have a package named _locale.so in /usr/lib/ruby/1.8/i386-linux-gnu/gettext but what can I do whith it? its there but it is not loaded it seem... On 9/7/05, Pascal Terjan wrote: > Le mercredi 07 septembre 2005 ? 15:13 -0400, Mathieu Leduc-Hamel a > ?crit : > > I took a look in locale_default.rb and it is written: > > > > require 'gettext/_locale' > > > > I decided to test and rewrited it to: > > > > require 'gettext/local' > > > > it work but it tell me another error message: > > > > /usr/lib/ruby/1.8/gettext/locale.rb:29: undefined method 'set' for > > module 'Local' (NameError) > > from /usr/lib/ruby/1.8/gettext.rb:18 > > from /usr/bin/alexandria:6 > > > > You should look for a package > containing /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu/gettext/_locale.so > (replace i586-linux-gnu by your arch and system) > > From pterjan at linuxfr.org Wed Sep 7 15:39:40 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Wed Sep 7 15:32:49 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <1126121183.4808.2.camel@plop> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <1126121183.4808.2.camel@plop> Message-ID: <1126121980.4808.6.camel@plop> Le mercredi 07 septembre 2005 ? 21:26 +0200, Pascal Terjan a ?crit : > Le mercredi 07 septembre 2005 ? 15:13 -0400, Mathieu Leduc-Hamel a > ?crit : > > I took a look in locale_default.rb and it is written: > > > > require 'gettext/_locale' > > > > I decided to test and rewrited it to: > > > > require 'gettext/local' > > > > it work but it tell me another error message: > > > > /usr/lib/ruby/1.8/gettext/locale.rb:29: undefined method 'set' for > > module 'Local' (NameError) > > from /usr/lib/ruby/1.8/gettext.rb:18 > > from /usr/bin/alexandria:6 > > > > You should look for a package > containing /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu/gettext/_locale.so > (replace i586-linux-gnu by your arch and system) Debian package containing /usr/lib/ruby/1.8/i486-linux/gettext/_locale.so is libgettext-ruby1.8 So you should keep the _, install libgettext-ruby1.8, or if you already have it, find why your ruby install is broken. From pterjan at linuxfr.org Wed Sep 7 19:28:02 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Wed Sep 7 19:21:09 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <1126121183.4808.2.camel@plop> Message-ID: <1126135682.4808.12.camel@plop> Le mercredi 07 septembre 2005 ? 15:37 -0400, Mathieu Leduc-Hamel a ?crit : > Yes I have a package named _locale.so in > /usr/lib/ruby/1.8/i386-linux-gnu/gettext but what can I do whith it? > its there but it is not loaded it seem... Looks like something is broken in your ruby installation. What does "ruby -e 'puts $:'" display ? From arrak at arrak.org Wed Sep 7 22:01:50 2005 From: arrak at arrak.org (Arrakis Muadib) Date: Wed Sep 7 21:54:52 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <1126135682.4808.12.camel@plop> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <1126121183.4808.2.camel@plop> <1126135682.4808.12.camel@plop> Message-ID: <1126144910.10132.3.camel@localhost.localdomain> It really seem like me installation is broken, but it give me this: $ ruby -e 'puts $:' /usr/local/lib/site_ruby/1.8 /usr/local/lib/site_ruby/1.8/i486-linux /usr/local/lib/site_ruby/1.8/i386-linux /usr/local/lib/site_ruby /usr/lib/ruby/1.8 /usr/lib/ruby/1.8/i486-linux /usr/lib/ruby/1.8/i386-linux . > Le mercredi 07 septembre 2005 ? 15:37 -0400, Mathieu Leduc-Hamel a > ?crit : > > Yes I have a package named _locale.so in > > /usr/lib/ruby/1.8/i386-linux-gnu/gettext but what can I do whith it? > > its there but it is not loaded it seem... > > Looks like something is broken in your ruby installation. > What does "ruby -e 'puts $:'" display ? > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20050907/b7c3c41f/attachment.bin From pterjan at linuxfr.org Thu Sep 8 01:51:35 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Thu Sep 8 01:44:38 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <1126144910.10132.3.camel@localhost.localdomain> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <1126121183.4808.2.camel@plop> <1126135682.4808.12.camel@plop> <1126144910.10132.3.camel@localhost.localdomain> Message-ID: <1126158695.4808.16.camel@plop> Le mercredi 07 septembre 2005 ? 22:01 -0400, Arrakis Muadib a ?crit : > It really seem like me installation is broken, but it give me this: > > $ ruby -e 'puts $:' > /usr/local/lib/site_ruby/1.8 > /usr/local/lib/site_ruby/1.8/i486-linux > /usr/local/lib/site_ruby/1.8/i386-linux > /usr/local/lib/site_ruby > /usr/lib/ruby/1.8 > /usr/lib/ruby/1.8/i486-linux > /usr/lib/ruby/1.8/i386-linux So, I think gettext should be in /usr/lib/ruby/1.8/i386-linux instead of /usr/lib/ruby/1.8/i386-linux-gnu. Either the package you used is not for your distribution or there is a bug in the package. From drmoxie at gmail.com Thu Sep 8 12:02:54 2005 From: drmoxie at gmail.com (James) Date: Thu Sep 8 12:00:37 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> Message-ID: John Stoffel writes: > > > James, > > It looks like you don't have a base gettext package installed > properly. Here's what I have installed for gettext packages, can you > confirm your setup? Just FYI, I'm using debian, with a bunch of > unstable/testing packages installed. But ubuntu should be reasonably > close. Which version of Alexandria are you trying to run? Well, for the most part Ubuntu has resembled plain Debian but this is what I get running apt-show-versions: $ apt-show-versions -a | grep gettext | grep installed gettext 0.14.5-2ubuntu2 install ok installed gettext-base 0.14.5-2ubuntu2 install ok installed libgettext-ruby1.8 0.8.1-2 install ok installed liblocale-gettext-perl 1.05-1 install ok installed $ apt-show-versions -a | grep ruby | grep installed libamazon-ruby 0.9.0-1 install ok installed libgnomecanvas2-ruby 0.12.0-2build2 install ok installed libglade2-ruby 0.12.0-2build2 install ok installed libpango1-ruby 0.12.0-2build2 install ok installed libruby1.8 1.8.2-9 install ok installed libgdk-pixbuf2-ruby 0.12.0-2build2 install ok installed libgnome2-ruby 0.12.0-2build2 install ok installed librexml-ruby 3.1.2.1+ruby1.8.2-1 install ok installed libatk1-ruby 0.12.0-2build2 install ok installed libglib2-ruby 0.12.0-2build2 install ok installed libgtk2-ruby 0.12.0-2build2 install ok installed libgconf2-ruby 0.12.0-2build2 install ok installed ruby 1.8.2-1 install ok installed libgettext-ruby1.8 0.8.1-2 install ok installed libart2-ruby 0.12.0-2build2 install ok installed ruby1.8 1.8.2-9 install ok installed Reading the thread further I saw that there should be a i386-linux, I have i386-linux-gnu, so I made a symbolic link but that yielded the following error: $ alexandria (eval):1: [BUG] rbgobj_define_class: Invalid gtype [CanvasPathDef] ruby 1.8.3 (2005-06-23) [i486-linux] BTW, I'm running Alexandria 0.5.1-3, it is the default for Ubuntu Breezy. Thanks again! James From john at stoffel.org Thu Sep 8 12:28:26 2005 From: john at stoffel.org (John Stoffel) Date: Thu Sep 8 12:21:26 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> Message-ID: <17184.26282.566325.586581@smtp.charter.net> James, The only thing I can think to do here is to force a re-install of all your ruby packages, using the --reinstall option and see if that cleans up the problem. I suspect you've got a bad package in there somewhere. Also check your /etc/apt/sources.list to make sure you have the correct ones listed there. Good luck! John From arrak at arrak.org Thu Sep 8 13:59:44 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Thu Sep 8 13:52:44 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <17184.26282.566325.586581@smtp.charter.net> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <17184.26282.566325.586581@smtp.charter.net> Message-ID: The problem is with libgnomecanvas2-ruby, I'm trying to find what is exctly the problem. By the way, is there anybody that already posted the solution for libgettext-ruby (move gettext from i386-linux-gnu to i386-linux). mathieu On 9/8/05, John Stoffel wrote: > > James, > > The only thing I can think to do here is to force a re-install of all > your ruby packages, using the --reinstall option and see if that > cleans up the problem. I suspect you've got a bad package in there > somewhere. > > Also check your /etc/apt/sources.list to make sure you have the > correct ones listed there. > > Good luck! > John > _______________________________________________ > Alexandria-list mailing list > Alexandria-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > From drmoxie at gmail.com Thu Sep 8 13:54:15 2005 From: drmoxie at gmail.com (James Elwood) Date: Thu Sep 8 14:38:22 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <17184.26282.566325.586581@smtp.charter.net> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <17184.26282.566325.586581@smtp.charter.net> Message-ID: <939f43d50509081054664dd641@mail.gmail.com> Thanks for your help, John! Re-installs left it in the same state and installing Ruby and the related packages outside of apt made things a mess (blame the operator). However, a bug report was submitted to the Ubuntu team regarding this issue and the related Ruby issues. Hopefully, it'll be resolved by the time Breezy is released. BTW, what sources are you using to set up Ruby and Alexandria? I'm fiddling around with Breezy in VMWare so I was thinking that maybe installing them from the location you are using couldn't hurt. I can always roll back if it bombs bad. :-p -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/alexandria-list/attachments/20050908/75e2cdef/attachment.htm From john at stoffel.org Thu Sep 8 15:46:17 2005 From: john at stoffel.org (John Stoffel) Date: Thu Sep 8 15:39:20 2005 Subject: [Alexandria-list] Re: Problem with ruby and libgettext In-Reply-To: <939f43d50509081054664dd641@mail.gmail.com> References: <1125173384.14917.3.camel@localhost.localdomain> <17176.19339.61200.554651@smtp.charter.net> <17182.62787.591271.326944@smtp.charter.net> <939f43d505090709514268ccf5@mail.gmail.com> <17183.14690.187872.219601@smtp.charter.net> <17184.26282.566325.586581@smtp.charter.net> <939f43d50509081054664dd641@mail.gmail.com> Message-ID: <17184.38153.233088.751175@smtp.charter.net> James> Thanks for your help, John! Re-installs left it in the same James> state and installing Ruby and the related packages outside of James> apt made things a mess (blame the operator). However, a bug James> report was submitted to the Ubuntu team regarding this issue James> and the related Ruby issues. Hopefully, it'll be resolved by James> the time Breezy is released. It does sound like an Ubuntu bug, and since I'm using straight debian, it's not a problem for me so far. I'm slowly slowly slowly (it's too nice outside this september in New England!) working on getting a .deb of ruby-zoom going so I can try out Alexandria 0.6.0, I really want the improved ISBN lookup stuff. James> BTW, what sources are you using to set up Ruby and Alexandria? So far, it's just the web site stuff I download. James> I'm fiddling around with Breezy in VMWare so I was thinking James> that maybe installing them from the location you are using James> couldn't hurt. I can always roll back if it bombs bad. :-p Just use the default debian sources.list stuff, obviously customized to your .net location. Anyone know of a tool for managing apt sources.list file nicely? It would be great to just be able to dump files into /etc/apt/sources.d/ and have them searched... John From kents at ultradyne.org Mon Sep 12 10:23:17 2005 From: kents at ultradyne.org (Kent Swanson) Date: Mon Sep 12 10:16:21 2005 Subject: [Alexandria-list] activating userland cuecat support version 0.6.0 Message-ID: <43258F55.5070402@ultradyne.org> First I would like to say thank you to all those that contribute to Alexandria. You are the reason open source software works. with version 0.6.0 how do you activate userland cuecat support. The barcode is greyed out and when I scan all I get is .BM5UBM5UbM5UBM5Ub(only half of the cuecat output). I have looked around in the code and I don't see where cucat.rb is called. I have looked around in the code with my perl tainted eyes, and I see what looks like code for the 2.4 kernel driver, and I kind of understand the scanner registry, but I don't understand how it gets started. I am running gentoo, fully updated within the last week. 2.6 kernel, I installed alexandria via portage. My cuecat is a keyboard wedge type. It had been "declawed" so that it produced straight ascii, but that didn't seem to work under X/gnome for some reason. I "undeclawed" it, and it seems to produce the properly encrypted gibberish in a terminal, which the above .BM5... is the beginning of. Do I have to use the CVS version? From laurent.sansonetti at gmail.com Mon Sep 12 10:28:09 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon Sep 12 10:21:09 2005 Subject: [Alexandria-list] activating userland cuecat support version 0.6.0 In-Reply-To: <43258F55.5070402@ultradyne.org> References: <43258F55.5070402@ultradyne.org> Message-ID: <1be7247c05091207281dab2dce@mail.gmail.com> Hi Kent, On 9/12/05, Kent Swanson wrote: > First I would like to say thank you to all those that contribute to > Alexandria. You are the reason open source software works. > Thanks, glad you like the program! > > with version 0.6.0 how do you activate userland cuecat support. The > barcode is greyed out and when I scan all I get is > .BM5UBM5UbM5UBM5Ub(only half of the cuecat output). I have looked around > in the code and I don't see where cucat.rb is called. I have looked > around in the code with my perl tainted eyes, and I see what looks like > code for the 2.4 kernel driver, and I kind of understand the scanner > registry, but I don't understand how it gets started. > Currently it is unfortunately not possible to activate the CueCat userland support. This will be available in the next release, but the latest one is still using the kernel driver. CVS does not handle this yet too, I have almost finished the design of a new window dedicated to barcode scanning, that will use the userland CueCat code. Once it will be usable I will drop a message there, so people can give it a try. Cheers Laurent From arrak at arrak.org Mon Sep 12 11:49:48 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Mon Sep 12 11:42:45 2005 Subject: [Alexandria-list] Alexandria developement and ruby-zoom/alexandria 0.6.0 support on debian In-Reply-To: <1be7247c05091207281dab2dce@mail.gmail.com> References: <43258F55.5070402@ultradyne.org> <1be7247c05091207281dab2dce@mail.gmail.com> Message-ID: Hi everyone, I would like to know if anybody know if there is somebody who is working on ruby-zoom package for debian cause I would like to use the latest alexandria release. And by the way, I started to work on some local book provider cause I want more support for french books, can I send patch of my new work to the mainteners? And Is thery any project to work on a database backend? I would like to use a centralized data source. If there is no project to do it and I started to work on it, could it be a integrated feature? math From john at stoffel.org Mon Sep 12 14:45:21 2005 From: john at stoffel.org (John Stoffel) Date: Mon Sep 12 14:38:15 2005 Subject: [Alexandria-list] Alexandria developement and ruby-zoom/alexandria 0.6.0 support on debian In-Reply-To: References: <43258F55.5070402@ultradyne.org> <1be7247c05091207281dab2dce@mail.gmail.com> Message-ID: <17189.52417.83770.627755@smtp.charter.net> Mathieu> I would like to know if anybody know if there is somebody who Mathieu> is working on ruby-zoom package for debian cause I would like Mathieu> to use the latest alexandria release. I'm slowly working on it, but I've had other priorities (wife, kid, house... :-) keep me from it lately. More soon... Bascially, I'm learning how to setup packages into debian packages, using the really nice tutorial on Debian's web site. I've tried contacting the debian packager of Alexandtria, but I haven't gotten a reply from him yet. Hopefully he's still active in this. John From laurent.sansonetti at gmail.com Mon Sep 12 14:47:57 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon Sep 12 14:40:48 2005 Subject: [Alexandria-list] Alexandria developement and ruby-zoom/alexandria 0.6.0 support on debian In-Reply-To: References: <43258F55.5070402@ultradyne.org> <1be7247c05091207281dab2dce@mail.gmail.com> Message-ID: <1be7247c05091211475356d763@mail.gmail.com> Salut Mathieu, On 9/12/05, Mathieu Leduc-Hamel wrote: > Hi everyone, > > I would like to know if anybody know if there is somebody who is > working on ruby-zoom package for debian cause I would like to use the > latest alexandria release. > AFAIK Dafydd already made a package for that library (5 months ago, once 0.1.0 got released), but this is still in the wishlist queue and it has not been accepted by the team yet: http://lists.debian.org/debian-devel/2005/03/msg02056.html If you know someone from Debian that could accelerate the adoption of this package... The Debian machinery is pretty slow. > And by the way, I started to work on some local book provider cause I > want more support for french books, can I send patch of my new work to > the mainteners? > Sure! Do not hesitate to send your patch there! > And Is thery any project to work on a database backend? I would like > to use a centralized data source. If there is no project to do it and > I started to work on it, could it be a integrated feature? > Mmh, this is a big change, I am not sure all the users will want this... But I have been thinking about a server implementation of Alexandria for a while, (featuring a publish/subscribe feature available from Alexandria itself, therefore your database backend could be used in that purpose... Would you be interested in that? I am not sure to be able to work on this very soon, I am pretty busy with my daily job. Thanks for the feedback anyway Laurent From laurent.sansonetti at gmail.com Mon Sep 12 14:52:02 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon Sep 12 14:44:55 2005 Subject: [Alexandria-list] Alexandria developement and ruby-zoom/alexandria 0.6.0 support on debian In-Reply-To: <17189.52417.83770.627755@smtp.charter.net> References: <43258F55.5070402@ultradyne.org> <1be7247c05091207281dab2dce@mail.gmail.com> <17189.52417.83770.627755@smtp.charter.net> Message-ID: <1be7247c050912115243eb8337@mail.gmail.com> Hi John, On 9/12/05, John Stoffel wrote: > > Mathieu> I would like to know if anybody know if there is somebody who > Mathieu> is working on ruby-zoom package for debian cause I would like > Mathieu> to use the latest alexandria release. > > I'm slowly working on it, but I've had other priorities (wife, kid, > house... :-) keep me from it lately. More soon... > > Bascially, I'm learning how to setup packages into debian packages, > using the really nice tutorial on Debian's web site. I've tried > contacting the debian packager of Alexandtria, but I haven't gotten a > reply from him yet. Hopefully he's still active in this. > Oh, this sounds great! I could not join Dafydd for a while too, he is apparently alright but very busy with his daily job. I also discovered that the Debian package has not been updated for 0.6.0. It would be very great if you could package the update. Maybe someone from Debian could merge it in the official repository (I have absolutely no idea if this is possible though), if not I will put a URL targetting your own repository on the home page (we can also host your packages on rubyforge, as you like), so that people can easily upgrade. Cheers Laurent From john at stoffel.org Mon Sep 12 15:29:47 2005 From: john at stoffel.org (John Stoffel) Date: Mon Sep 12 15:22:39 2005 Subject: [Alexandria-list] Alexandria developement and ruby-zoom/alexandria 0.6.0 support on debian In-Reply-To: <1be7247c050912115243eb8337@mail.gmail.com> References: <43258F55.5070402@ultradyne.org> <1be7247c05091207281dab2dce@mail.gmail.com> <17189.52417.83770.627755@smtp.charter.net> <1be7247c050912115243eb8337@mail.gmail.com> Message-ID: <17189.55083.769213.677997@smtp.charter.net> >>>>> "Laurent" == Laurent Sansonetti writes: Laurent> Oh, this sounds great! I could not join Dafydd for a while Laurent> too, he is apparently alright but very busy with his daily Laurent> job. We're all busy it seems with real work. But this is something I've been wanting for a while, so I'll keep plugging at it as I can. Laurent> I also discovered that the Debian package has not been Laurent> updated for 0.6.0. It would be very great if you could Laurent> package the update. Maybe someone from Debian could merge it Laurent> in the official repository (I have absolutely no idea if this Laurent> is possible though), if not I will put a URL targetting your Laurent> own repository on the home page (we can also host your Laurent> packages on rubyforge, as you like), so that people can Laurent> easily upgrade. That's my goal, to get alexandria and ruby-zoom packages as debs. Alexandria is all done actually, I just need to get ruby-zoom setup and installing properly. Hopefully sometime this week if all goes well. From laurent.sansonetti at gmail.com Sun Sep 18 15:55:56 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Sun, 18 Sep 2005 21:55:56 +0200 Subject: [Alexandria-list] hacking status Message-ID: <1be7247c0509181255b0a0cd6@mail.gmail.com> Hi, I could hack a bit on Alexandria today: - Added an Export item in the libraries contextual popup menu ; - In the Add Book dialog, the libraries popup menu now features the possibility to create a new library (with autogenerated name), I have also removed all scanning stuff from the dialog ; - Added initial work about the new Acquire from Scanner dialog (work still in progress) ; - The Import dialog does not have a library field anymore, the destination library is now automatically generated based on the file basename ; - Added missing Help buttons in the import/export dialogs. Nice Sunday everyone :) Laurent From rodrigo.roman.garcia at gmail.com Mon Sep 19 13:56:37 2005 From: rodrigo.roman.garcia at gmail.com (Rodrigo Roman) Date: Mon, 19 Sep 2005 19:56:37 +0200 Subject: [Alexandria-list] I can't start Alexandria Message-ID: <24fb642d050919105639246ab3@mail.gmail.com> I think that I have installed all the requirements that appears on README file, but, when I try to run alexandria I get this message: [rod at maquiavelos bin]$ alexandria /usr/lib/site_ruby/1.8/alexandria/preferences.rb:101: uninitialized constant Alexandria::Preferences::OSX (NameError) from /usr/lib/site_ruby/1.8/alexandria.rb:89:in `require' from /usr/lib/site_ruby/1.8/alexandria.rb:89 from /usr/bin/alexandria:7:in `require' from /usr/bin/alexandria:7 [rod at maquiavelos bin]$ I don't know what could be the problem. Thanks Rodrigo From laurent.sansonetti at gmail.com Mon Sep 19 14:00:15 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon, 19 Sep 2005 20:00:15 +0200 Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <24fb642d050919105639246ab3@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> Message-ID: <1be7247c0509191100168d3543@mail.gmail.com> Hi, On 9/19/05, Rodrigo Roman wrote: > I think that I have installed all the requirements that appears on > README file, but, when I try to run alexandria I get this message: > > [rod at maquiavelos bin]$ alexandria > /usr/lib/site_ruby/1.8/alexandria/preferences.rb:101: uninitialized > constant Alexandria::Preferences::OSX (NameError) > from /usr/lib/site_ruby/1.8/alexandria.rb:89:in `require' > from /usr/lib/site_ruby/1.8/alexandria.rb:89 > from /usr/bin/alexandria:7:in `require' > from /usr/bin/alexandria:7 > [rod at maquiavelos bin]$ > Apparently you are missing Ruby/GConf2. If preferences.rb can not load Ruby/GConf2 it assumes that you are running MacOS X, and then it tries to load the proprietary prerefences system. # Ruby/GConf2 is shipped with Ruby-GNOME2. HTH, Laurent From rodrigo.roman.garcia at gmail.com Mon Sep 19 18:02:55 2005 From: rodrigo.roman.garcia at gmail.com (Rodrigo Roman) Date: Tue, 20 Sep 2005 00:02:55 +0200 Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <24fb642d050919150215147ffa@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> Message-ID: <24fb642d05091915025f1b0362@mail.gmail.com> ---------- Forwarded message ---------- From: Rodrigo Roman Date: 20-sep-2005 0:02 Subject: Re: [Alexandria-list] I can't start Alexandria To: laurent.sansonetti at gmail.com Thanks Laurent, but now I have another problem. I think that I have install all the requirements to install alexandria, but when I try to execute it, I get this error, probably another missing dependencie. $ alexandria /usr/lib/site_ruby/1.8/alexandria/ui/about_dialog.rb:20: uninitialized constant Gtk::AboutDialog (NameError) from /usr/lib/site_ruby/1.8/alexandria/ui.rb:26:in `require' from /usr/lib/site_ruby/1.8/alexandria/ui.rb:26 from /usr/lib/site_ruby/1.8/alexandria.rb:92:in `require' from /usr/lib/site_ruby/1.8/alexandria.rb:92 from /usr/bin/alexandria:7:in `require' from /usr/bin/alexandria:7 Rodrigo 2005/9/19, Laurent Sansonetti : > Hi, > > On 9/19/05, Rodrigo Roman wrote: > > I think that I have installed all the requirements that appears on > > README file, but, when I try to run alexandria I get this message: > > > > [rod at maquiavelos bin]$ alexandria > > /usr/lib/site_ruby/1.8/alexandria/preferences.rb:101: uninitialized > > constant Alexandria::Preferences::OSX (NameError) > > from /usr/lib/site_ruby/1.8/alexandria.rb:89:in `require' > > from /usr/lib/site_ruby/1.8/alexandria.rb:89 > > from /usr/bin/alexandria:7:in `require' > > from /usr/bin/alexandria:7 > > [rod at maquiavelos bin]$ > > > > Apparently you are missing Ruby/GConf2. If preferences.rb can not > load Ruby/GConf2 it assumes that you are running MacOS X, and then it > tries to load the proprietary prerefences system. > > # Ruby/GConf2 is shipped with Ruby-GNOME2. > > HTH, > > Laurent > From lrz at gnome.org Mon Sep 19 18:35:16 2005 From: lrz at gnome.org (Laurent Sansonetti) Date: Tue, 20 Sep 2005 00:35:16 +0200 (CEST) Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <24fb642d05091915025f1b0362@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> <24fb642d05091915025f1b0362@mail.gmail.com> Message-ID: <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> Hi Rodrigo, On Tue, September 20, 2005 12:02 am, Rodrigo Roman wrote: > ---------- Forwarded message ---------- > From: Rodrigo Roman > Date: 20-sep-2005 0:02 > Subject: Re: [Alexandria-list] I can't start Alexandria > To: laurent.sansonetti at gmail.com > > > > Thanks Laurent, but now I have another problem. > > > I think that I have install all the requirements to install > alexandria, but when I try to execute it, I get this error, probably > another missing dependencie. > > $ alexandria > /usr/lib/site_ruby/1.8/alexandria/ui/about_dialog.rb:20: uninitialized > constant Gtk::AboutDialog (NameError) from > /usr/lib/site_ruby/1.8/alexandria/ui.rb:26:in `require' > from /usr/lib/site_ruby/1.8/alexandria/ui.rb:26 from > /usr/lib/site_ruby/1.8/alexandria.rb:92:in `require' > from /usr/lib/site_ruby/1.8/alexandria.rb:92 from /usr/bin/alexandria:7:in > `require' > from /usr/bin/alexandria:7 > Apparently your version of GTK+ is < 2.6.x. Alexandria requires 2.6.0 or later, because it uses some new widgets. HTH Laurent From rodrigo.roman.garcia at gmail.com Mon Sep 19 19:46:08 2005 From: rodrigo.roman.garcia at gmail.com (Rodrigo Roman) Date: Tue, 20 Sep 2005 01:46:08 +0200 Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> <24fb642d05091915025f1b0362@mail.gmail.com> <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> Message-ID: <24fb642d05091916465f5a8cb1@mail.gmail.com> Thanks again Laurent, Well, This is becoming a real obsession, I update gtk2.4.* to gtk 2.6.7 (testing branch on Fedora Core 3, my distro) but the problem repeats, I rebuild alexandria and ruby-gnome2 (to do something). But I had the same problem Sorry for been so tedious, but I will appreciate any help to avoid the feeling of wasting an entire day, although, I learn a lot, ;) 2005/9/20, Laurent Sansonetti : > Hi Rodrigo, > > On Tue, September 20, 2005 12:02 am, Rodrigo Roman wrote: > > ---------- Forwarded message ---------- > > From: Rodrigo Roman > > Date: 20-sep-2005 0:02 > > Subject: Re: [Alexandria-list] I can't start Alexandria > > To: laurent.sansonetti at gmail.com > > > > > > > > Thanks Laurent, but now I have another problem. > > > > > > I think that I have install all the requirements to install > > alexandria, but when I try to execute it, I get this error, probably > > another missing dependencie. > > > > $ alexandria > > /usr/lib/site_ruby/1.8/alexandria/ui/about_dialog.rb:20: uninitialized > > constant Gtk::AboutDialog (NameError) from > > /usr/lib/site_ruby/1.8/alexandria/ui.rb:26:in `require' > > from /usr/lib/site_ruby/1.8/alexandria/ui.rb:26 from > > /usr/lib/site_ruby/1.8/alexandria.rb:92:in `require' > > from /usr/lib/site_ruby/1.8/alexandria.rb:92 from /usr/bin/alexandria:7:in > > `require' > > from /usr/bin/alexandria:7 > > > > Apparently your version of GTK+ is < 2.6.x. Alexandria requires 2.6.0 or > later, because it uses some new widgets. > > HTH > > Laurent > > From laurent.sansonetti at gmail.com Tue Sep 20 06:13:11 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Tue, 20 Sep 2005 12:13:11 +0200 Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <24fb642d05091916465f5a8cb1@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> <24fb642d05091915025f1b0362@mail.gmail.com> <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> <24fb642d05091916465f5a8cb1@mail.gmail.com> Message-ID: <1be7247c05092003134ff4d126@mail.gmail.com> Hi Rodrigo, On 9/20/05, Rodrigo Roman wrote: > Thanks again Laurent, > > Well, This is becoming a real obsession, I update gtk2.4.* to gtk > 2.6.7 (testing branch on Fedora Core 3, my distro) but the problem > repeats, I rebuild alexandria and ruby-gnome2 (to do something). But I > had the same problem > > Sorry for been so tedious, but I will appreciate any help to avoid the > feeling of wasting an entire day, although, I learn a lot, ;) > Mmh normally it should work, are you sure you properly rebuild and install ruby-gnome2 after the GTK+ upgrade? If you did not do it, try to do a make clean before, maybe some old object files are still there. Laurent From rodrigo.roman.garcia at gmail.com Tue Sep 20 11:46:37 2005 From: rodrigo.roman.garcia at gmail.com (Rodrigo Roman) Date: Tue, 20 Sep 2005 17:46:37 +0200 Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <1be7247c05092003134ff4d126@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> <24fb642d05091915025f1b0362@mail.gmail.com> <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> <24fb642d05091916465f5a8cb1@mail.gmail.com> <1be7247c05092003134ff4d126@mail.gmail.com> Message-ID: <24fb642d050920084630636e01@mail.gmail.com> Great, you were right, now, how I uninstall it? ... hehe, it's a joke, ;-) Thanks a lot. 2005/9/20, Laurent Sansonetti : > Hi Rodrigo, > > On 9/20/05, Rodrigo Roman wrote: > > Thanks again Laurent, > > > > Well, This is becoming a real obsession, I update gtk2.4.* to gtk > > 2.6.7 (testing branch on Fedora Core 3, my distro) but the problem > > repeats, I rebuild alexandria and ruby-gnome2 (to do something). But I > > had the same problem > > > > Sorry for been so tedious, but I will appreciate any help to avoid the > > feeling of wasting an entire day, although, I learn a lot, ;) > > > > Mmh normally it should work, are you sure you properly rebuild and > install ruby-gnome2 after the GTK+ upgrade? > > If you did not do it, try to do a make clean before, maybe some old > object files are still there. > > Laurent > From lrz at gnome.org Tue Sep 20 12:21:18 2005 From: lrz at gnome.org (Laurent Sansonetti) Date: Tue, 20 Sep 2005 18:21:18 +0200 (CEST) Subject: [Alexandria-list] I can't start Alexandria In-Reply-To: <24fb642d050920084630636e01@mail.gmail.com> References: <24fb642d050919105639246ab3@mail.gmail.com> <1be7247c0509191100168d3543@mail.gmail.com> <24fb642d050919150215147ffa@mail.gmail.com> <24fb642d05091915025f1b0362@mail.gmail.com> <36196.82.239.64.142.1127169316.squirrel@mail.dhertog.be> <24fb642d05091916465f5a8cb1@mail.gmail.com> <1be7247c05092003134ff4d126@mail.gmail.com> <24fb642d050920084630636e01@mail.gmail.com> Message-ID: <11134.81.255.72.1.1127233278.squirrel@mail.dhertog.be> Hi Rodrigo, On Tue, September 20, 2005 5:46 pm, Rodrigo Roman wrote: > Great, you were right, now, how I uninstall it? ... hehe, it's a joke, > ;-) > Haha, well there should be a file at the root directory with the list of files that have been installed, so you can rm them by hand :-) Hope you will enjoy the program, Laurent > > Thanks a lot. > > > 2005/9/20, Laurent Sansonetti : > >> Hi Rodrigo, >> >> >> On 9/20/05, Rodrigo Roman wrote: >> >>> Thanks again Laurent, >>> >>> >>> Well, This is becoming a real obsession, I update gtk2.4.* to gtk >>> 2.6.7 (testing branch on Fedora Core 3, my distro) but the problem >>> repeats, I rebuild alexandria and ruby-gnome2 (to do something). But I >>> had the same problem >>> >>> Sorry for been so tedious, but I will appreciate any help to avoid >>> the feeling of wasting an entire day, although, I learn a lot, ;) >>> >> >> Mmh normally it should work, are you sure you properly rebuild and >> install ruby-gnome2 after the GTK+ upgrade? >> >> If you did not do it, try to do a make clean before, maybe some old >> object files are still there. >> >> Laurent >> >> > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > > -- Laurent From afb at paradise.net.nz Tue Sep 20 22:45:03 2005 From: afb at paradise.net.nz (Adam Bogacki) Date: Wed, 21 Sep 2005 14:45:03 +1200 Subject: [Alexandria-list] Laurent: don't forget 'Undo arrows' In-Reply-To: References: Message-ID: <20050921024503.GA4894@paradise.net.nz> Laurent, don't forget 'UNDO' arrows to allow recovery from inadvertent deletion of an important database .. as happened to me. Adam Bogacki, afb at paradise.net.nz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20050921/21a08c7b/attachment.bin From laurent.sansonetti at gmail.com Wed Sep 21 19:15:10 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Thu, 22 Sep 2005 01:15:10 +0200 Subject: [Alexandria-list] Laurent: don't forget 'Undo arrows' In-Reply-To: <20050921024503.GA4894@paradise.net.nz> References: <20050921024503.GA4894@paradise.net.nz> Message-ID: <1be7247c05092116152f5ced5a@mail.gmail.com> Hi, On 9/21/05, Adam Bogacki wrote: > Laurent, > > don't forget 'UNDO' arrows to allow recovery from > inadvertent deletion of an important database > > .. as happened to me. > Yes I do not forget, but my spare time is very very limited... I will try to push this in the next release though. Cheers Laurent From john at stoffel.org Thu Sep 22 22:37:20 2005 From: john at stoffel.org (John Stoffel) Date: Thu, 22 Sep 2005 22:37:20 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available Message-ID: <17203.27232.987267.984838@smtp.charter.net> Hi all, It took longer than I expected, but I've finally built and tested (minimally) the debian packages for the latest versions of Alexandria and Ruby/ZOOM and put them up for your downloading and testing pleasure: http://www.stoffel.org/john/sources/alexandria It's a pretty basic site, but it works for me. And the packages all seem to work properly as well, but I had to make some changes to the Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g -O2" which causes a seg fault. Actually, any optimization causes a segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" instead. A hack, but it works. One of these days I'll figure out how to package the source debs and I'll put them up there as well. Laurent, do you want me to bounce you my changes to Ruby/ZOOM, along with my basic Debian packaging stuff, so you could do a version 0.2.1 at some point? Enjoy! John From pterjan at linuxfr.org Fri Sep 23 03:57:58 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Fri, 23 Sep 2005 09:57:58 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17203.27232.987267.984838@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> Message-ID: <1127462278.4821.12.camel@plop.edge-it.subnet> Le jeudi 22 septembre 2005 ? 22:37 -0400, John Stoffel a ?crit : > Hi all, > > It took longer than I expected, but I've finally built and tested > (minimally) the debian packages for the latest versions of Alexandria > and Ruby/ZOOM and put them up for your downloading and testing > pleasure: > > http://www.stoffel.org/john/sources/alexandria > > It's a pretty basic site, but it works for me. And the packages all > seem to work properly as well, but I had to make some changes to the > Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g > -O2" which causes a seg fault. Actually, any optimization causes a > segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" > instead. A hack, but it works. Yes, I had to change -O2 to -O1 in the Mandriva package. I spent a few hours looking for the segfault but could not isolate it :/ > Laurent, do you want me to bounce you my changes to Ruby/ZOOM, along > with my basic Debian packaging stuff, so you could do a version 0.2.1 > at some point? From laurent.sansonetti at gmail.com Fri Sep 23 06:17:11 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 23 Sep 2005 12:17:11 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1127462278.4821.12.camel@plop.edge-it.subnet> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> Message-ID: <1be7247c050923031710923dac@mail.gmail.com> Hi, On 9/23/05, Pascal Terjan wrote: > Le jeudi 22 septembre 2005 ? 22:37 -0400, John Stoffel a ?crit : > > Hi all, > > > > It took longer than I expected, but I've finally built and tested > > (minimally) the debian packages for the latest versions of Alexandria > > and Ruby/ZOOM and put them up for your downloading and testing > > pleasure: > > > > http://www.stoffel.org/john/sources/alexandria > > > > It's a pretty basic site, but it works for me. And the packages all > > seem to work properly as well, but I had to make some changes to the > > Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g > > -O2" which causes a seg fault. Actually, any optimization causes a > > segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" > > instead. A hack, but it works. > > Yes, I had to change -O2 to -O1 in the Mandriva package. I spent a few > hours looking for the segfault but could not isolate it :/ > > > Laurent, do you want me to bounce you my changes to Ruby/ZOOM, along > > with my basic Debian packaging stuff, so you could do a version 0.2.1 > > at some point? > Nice work John! I will put a link on the home page ASAP. Regarding the Ruby/ZOOM setup issue, this looks pretty weird, but since both of you got the problem I will do a quick release as you proposed. This is weird because I did not get the bug, on both Ubuntu and MacOS X environments. But this is a PPC machine, maybe, this segfault only occurs on x86 machines... Laurent From arrak at arrak.org Fri Sep 23 09:31:01 2005 From: arrak at arrak.org (Mathieu Leduc-Hamel) Date: Fri, 23 Sep 2005 09:31:01 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1be7247c050923031710923dac@mail.gmail.com> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <1be7247c050923031710923dac@mail.gmail.com> Message-ID: Cannot install rubyzoom debian package on ubuntu breezy, I'll investigate tonight... mathieu On 9/23/05, Laurent Sansonetti wrote: > Hi, > > On 9/23/05, Pascal Terjan wrote: > > Le jeudi 22 septembre 2005 ? 22:37 -0400, John Stoffel a ?crit : > > > Hi all, > > > > > > It took longer than I expected, but I've finally built and tested > > > (minimally) the debian packages for the latest versions of Alexandria > > > and Ruby/ZOOM and put them up for your downloading and testing > > > pleasure: > > > > > > http://www.stoffel.org/john/sources/alexandria > > > > > > It's a pretty basic site, but it works for me. And the packages all > > > seem to work properly as well, but I had to make some changes to the > > > Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g > > > -O2" which causes a seg fault. Actually, any optimization causes a > > > segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" > > > instead. A hack, but it works. > > > > Yes, I had to change -O2 to -O1 in the Mandriva package. I spent a few > > hours looking for the segfault but could not isolate it :/ > > > > > Laurent, do you want me to bounce you my changes to Ruby/ZOOM, along > > > with my basic Debian packaging stuff, so you could do a version 0.2.1 > > > at some point? > > > > Nice work John! I will put a link on the home page ASAP. > > Regarding the Ruby/ZOOM setup issue, this looks pretty weird, but > since both of you got the problem I will do a quick release as you > proposed. > > This is weird because I did not get the bug, on both Ubuntu and MacOS > X environments. But this is a PPC machine, maybe, this segfault only > occurs on x86 machines... > > Laurent > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > From john at stoffel.org Fri Sep 23 10:20:50 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 10:20:50 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <1be7247c050923031710923dac@mail.gmail.com> Message-ID: <17204.3906.682442.326683@smtp.charter.net> Mathieu> Cannot install rubyzoom debian package on ubuntu breezy, I'll Mathieu> investigate tonight... Send me the errors and I'll see what I can do. I probably screwed up the dependencies or something. John From john at stoffel.org Fri Sep 23 10:23:25 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 10:23:25 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1be7247c050923031710923dac@mail.gmail.com> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <1be7247c050923031710923dac@mail.gmail.com> Message-ID: <17204.4061.361948.778578@smtp.charter.net> >>>>> "Laurent" == Laurent Sansonetti writes: Laurent> Nice work John! I will put a link on the home page ASAP. Great, always glad to help out. What's happened to Daffyd? I sent him email a couple of weeks ago, but not reply at all. Maybe this will encourage him. ;] Laurent> Regarding the Ruby/ZOOM setup issue, this looks pretty weird, Laurent> but since both of you got the problem I will do a quick Laurent> release as you proposed. Let's hold off on it a bit until we get some more testing of the install. My build box is a really really really heavily upgraded/hacked Debian Stable system now running a ton of unstable/testing stuff. So god knows it isn't totally representative of a standard Debian install. Laurent> This is weird because I did not get the bug, on both Ubuntu Laurent> and MacOS X environments. But this is a PPC machine, maybe, Laurent> this segfault only occurs on x86 machines... Could very well be only there. If I get the time, I'll see if I can build it with -g -O2 and try to get a back trace. I suspect that there's a point mis-match somewhere, but that's just a total guess. John From john at stoffel.org Fri Sep 23 10:24:04 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 10:24:04 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1127462278.4821.12.camel@plop.edge-it.subnet> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> Message-ID: <17204.4100.949188.64812@smtp.charter.net> >>>>> "Pascal" == Pascal Terjan writes: Pascal> Yes, I had to change -O2 to -O1 in the Mandriva package. I Pascal> spent a few hours looking for the segfault but could not Pascal> isolate it :/ I'll try to do that in my next interation of Rubyzoom then and see how it goes. Which Arch were you compiling it on? From tao at acc.umu.se Fri Sep 23 12:21:28 2005 From: tao at acc.umu.se (David Weinehall) Date: Fri, 23 Sep 2005 18:21:28 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17203.27232.987267.984838@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> Message-ID: <20050923162128.GW5011@khan.acc.umu.se> On Thu, Sep 22, 2005 at 10:37:20PM -0400, John Stoffel wrote: > > Hi all, > > It took longer than I expected, but I've finally built and tested > (minimally) the debian packages for the latest versions of Alexandria > and Ruby/ZOOM and put them up for your downloading and testing > pleasure: > > http://www.stoffel.org/john/sources/alexandria [snip] Shouldn't the alexandria package at the very least have a Recommends: rubyzoom (dunno how strong the dependency is, maybe even a Depends?) Regards: David -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From pterjan at linuxfr.org Fri Sep 23 12:22:18 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Fri, 23 Sep 2005 18:22:18 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17204.4100.949188.64812@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <17204.4100.949188.64812@smtp.charter.net> Message-ID: <1127492538.8820.0.camel@plop.edge-it.subnet> Le vendredi 23 septembre 2005 ? 10:24 -0400, John Stoffel a ?crit : > >>>>> "Pascal" == Pascal Terjan writes: > > Pascal> Yes, I had to change -O2 to -O1 in the Mandriva package. I > Pascal> spent a few hours looking for the segfault but could not > Pascal> isolate it :/ > > I'll try to do that in my next interation of Rubyzoom then and see how > it goes. Which Arch were you compiling it on? Found the issue, here is the patch -------------- next part -------------- A non-text attachment was scrubbed... Name: ruby-zoom-segfault.patch Type: text/x-patch Size: 449 bytes Desc: not available Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20050923/cd3ca3e6/ruby-zoom-segfault.bin From tao at acc.umu.se Fri Sep 23 12:24:52 2005 From: tao at acc.umu.se (David Weinehall) Date: Fri, 23 Sep 2005 18:24:52 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17203.27232.987267.984838@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> Message-ID: <20050923162451.GX5011@khan.acc.umu.se> On Thu, Sep 22, 2005 at 10:37:20PM -0400, John Stoffel wrote: > > Hi all, > > It took longer than I expected, but I've finally built and tested > (minimally) the debian packages for the latest versions of Alexandria > and Ruby/ZOOM and put them up for your downloading and testing > pleasure: > > http://www.stoffel.org/john/sources/alexandria > > It's a pretty basic site, but it works for me. And the packages all > seem to work properly as well, but I had to make some changes to the > Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g > -O2" which causes a seg fault. Actually, any optimization causes a > segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" > instead. A hack, but it works. Hmmm. Got a bit of a problem installing rubyzoom: Unpacking rubyzoom (from ..././rubyzoom_0.2.0-1_i386.deb) ... Setting up rubyzoom (0.2.0-1) ... syntax error in control file: from Ruby scripts. at /usr/sbin/install-docs line 601, line 5. dpkg: error processing rubyzoom (--configure): subprocess post-installation script returned error exit status 9 Errors were encountered while processing: rubyzoom E: Sub-process /usr/bin/dpkg returned an error code (1) Ack! Something bad happened while installing packages. Trying to recover: Setting up rubyzoom (0.2.0-1) ... syntax error in control file: from Ruby scripts. at /usr/sbin/install-docs line 601, line 5. dpkg: error processing rubyzoom (--configure): subprocess post-installation script returned error exit status 9 Errors were encountered while processing: rubyzoom Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done BTW, I'm leaving for vacation in a few hours, so don't expect me to be able to provide additional info for at least another week or so. Regards: David Weinehall -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From lrz at gnome.org Fri Sep 23 12:27:49 2005 From: lrz at gnome.org (Laurent Sansonetti) Date: Fri, 23 Sep 2005 18:27:49 +0200 (CEST) Subject: [Alexandria-list] Debian packages for alexandria-0.6.0andRuby/ZOOM-0.2.0 available In-Reply-To: <1127492538.8820.0.camel@plop.edge-it.subnet> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <17204.4100.949188.64812@smtp.charter.net> <1127492538.8820.0.camel@plop.edge-it.subnet> Message-ID: <14507.81.255.72.1.1127492869.squirrel@mail.dhertog.be> Hi Pascal, On Fri, September 23, 2005 6:22 pm, Pascal Terjan wrote: > Le vendredi 23 septembre 2005 ? 10:24 -0400, John Stoffel a ?crit : > >>>>>>> "Pascal" == Pascal Terjan writes: >>>>>>> >> >> Pascal> Yes, I had to change -O2 to -O1 in the Mandriva package. I >> Pascal> spent a few hours looking for the segfault but could not >> Pascal> isolate it :/ >> >> >> I'll try to do that in my next interation of Rubyzoom then and see how >> it goes. Which Arch were you compiling it on? > > Found the issue, here is the patch > Good catch!!! -- Laurent From tao at acc.umu.se Fri Sep 23 12:28:11 2005 From: tao at acc.umu.se (David Weinehall) Date: Fri, 23 Sep 2005 18:28:11 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17203.27232.987267.984838@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> Message-ID: <20050923162811.GY5011@khan.acc.umu.se> On Thu, Sep 22, 2005 at 10:37:20PM -0400, John Stoffel wrote: > > Hi all, > > It took longer than I expected, but I've finally built and tested > (minimally) the debian packages for the latest versions of Alexandria > and Ruby/ZOOM and put them up for your downloading and testing > pleasure: > > http://www.stoffel.org/john/sources/alexandria > > It's a pretty basic site, but it works for me. And the packages all > seem to work properly as well, but I had to make some changes to the > Ruby/ZOOM setup. Basically, the default ruby1.8 CFLAGS have both "-g > -O2" which causes a seg fault. Actually, any optimization causes a > segfault. So I hardcode CFLAGS in extconf.rb to be just "-g -Wall" > instead. A hack, but it works. Sorry for another e-mail, I should've saved up my complaints to one single e-mail, I guess =) Your rubyzoom package messes around in /usr/local. That's *WRONG*. Just don't. Read debian-policy and developer's reference before packaging something, that'll save you a lot of effort =) Regards: David -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From tao at acc.umu.se Fri Sep 23 12:30:10 2005 From: tao at acc.umu.se (David Weinehall) Date: Fri, 23 Sep 2005 18:30:10 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <20050923162128.GW5011@khan.acc.umu.se> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162128.GW5011@khan.acc.umu.se> Message-ID: <20050923163010.GZ5011@khan.acc.umu.se> On Fri, Sep 23, 2005 at 06:21:28PM +0200, David Weinehall wrote: > On Thu, Sep 22, 2005 at 10:37:20PM -0400, John Stoffel wrote: > > > > Hi all, > > > > It took longer than I expected, but I've finally built and tested > > (minimally) the debian packages for the latest versions of Alexandria > > and Ruby/ZOOM and put them up for your downloading and testing > > pleasure: > > > > http://www.stoffel.org/john/sources/alexandria > > [snip] > > Shouldn't the alexandria package at the very least have a > Recommends: rubyzoom > (dunno how strong the dependency is, maybe even a Depends?) (replying to myself): yup, alexandria must have a Depends: rubyzoom since it will not start unless that library is installed. Regards: David Weinehall -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From john at stoffel.org Fri Sep 23 12:31:30 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 12:31:30 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <20050923162128.GW5011@khan.acc.umu.se> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162128.GW5011@khan.acc.umu.se> Message-ID: <17204.11746.8066.464054@smtp.charter.net> David> Shouldn't the alexandria package at the very least have a David> Recommends: rubyzoom David> (dunno how strong the dependency is, maybe even a Depends?) Duh, your right, it depends on that package. I'll add that into my next build. Jon From john at stoffel.org Fri Sep 23 12:33:50 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 12:33:50 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <20050923162811.GY5011@khan.acc.umu.se> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> Message-ID: <17204.11886.706152.641335@smtp.charter.net> >>>>> "David" == David Weinehall writes: David> Sorry for another e-mail, I should've saved up my complaints to David> one single e-mail, I guess =) Don't worry about it at all. David> Your rubyzoom package messes around in /usr/local. That's David> *WRONG*. Just don't. Read debian-policy and developer's David> reference before packaging something, that'll save you a lot of David> effort =) It's a side effect of the ruby1.8 packages, they changed the location of site_ruby to be in /usr/local/lib/ instead of /usr/lib for some reason. I tried to work around it, but ran into all kinds of issues. I might be able to fix it if I hack at the extconf.rb file. Also notice how alexandria is also installed in /usr/local/... too. John From tao at acc.umu.se Fri Sep 23 15:52:42 2005 From: tao at acc.umu.se (David Weinehall) Date: Fri, 23 Sep 2005 21:52:42 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17204.11886.706152.641335@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> <17204.11886.706152.641335@smtp.charter.net> Message-ID: <20050923195242.GA5011@khan.acc.umu.se> On Fri, Sep 23, 2005 at 12:33:50PM -0400, John Stoffel wrote: > >>>>> "David" == David Weinehall writes: > > David> Sorry for another e-mail, I should've saved up my complaints to > David> one single e-mail, I guess =) > > Don't worry about it at all. > > David> Your rubyzoom package messes around in /usr/local. That's > David> *WRONG*. Just don't. Read debian-policy and developer's > David> reference before packaging something, that'll save you a lot of > David> effort =) > > It's a side effect of the ruby1.8 packages, they changed the location > of site_ruby to be in /usr/local/lib/ instead of /usr/lib for some > reason. > > I tried to work around it, but ran into all kinds of issues. I might > be able to fix it if I hack at the extconf.rb file. > > Also notice how alexandria is also installed in /usr/local/... too. Huh? The Alexandria 0.6.0 package you sent provide at that URL doesn't put any file in /usr/local... Still, the issue remains: as long as the package installs anything in /usr/local, it violates a *must* requirement, it is a bug with severity serious, and thus release critical -- i.e. totally unfit for release... Regards: David -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From john at stoffel.org Fri Sep 23 16:06:28 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 16:06:28 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <20050923195242.GA5011@khan.acc.umu.se> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> <17204.11886.706152.641335@smtp.charter.net> <20050923195242.GA5011@khan.acc.umu.se> Message-ID: <17204.24644.921343.113600@smtp.charter.net> >>>>> "David" == David Weinehall writes: David> Huh? The Alexandria 0.6.0 package you sent provide at that URL David> doesn't put any file in /usr/local... Hmmm... I could have sworn it did. Oh well, time to start learning how Ruby works and how to muck with it's install setup. Basically, I need to tweak the ruby/zoom stuff to install into /usr/lib/ruby/... instead I guess. But again, from what I've read, there are changes in how ruby puts stuff into Debian. David> Still, the issue remains: as long as the package installs David> anything in /usr/local, it violates a *must* requirement, it is David> a bug with severity serious, and thus release critical -- David> i.e. totally unfit for release... I agree, I think we need to follow the debian standard here. I just didn't know how to make it happen. I don't know Debian packaging, nor do a I know the ruby language. I'm slowing learning both. *grin* Hmmm... looking in /usr/share/doc/ruby/ruby-policy.txt.gz, it seems to imply that stuff needs to go in /usr/local/... What do you think, esp about section 1.6? And looking at section 2.1, I think I might need to make ruby/zoom become libzoom-ruby0.2 instead. Or actually it should probably be libyaz-ruby0.2 according to those standards. Laurent, what do you think about a possible name change? Basically, I think I can fix it by tweaking the extconf.rb file to do a couple of things differently: 1. optimization settings. Even with the bug patch posted, I'm not sure it's right. 2. Putting site_ruby/... into /usr/lib/ properly. What is the Ruby team has changed where stuff goes on us, ignoring the Debian standards? What do I do about it? From john at stoffel.org Fri Sep 23 16:41:34 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 16:41:34 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1127492538.8820.0.camel@plop.edge-it.subnet> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <17204.4100.949188.64812@smtp.charter.net> <1127492538.8820.0.camel@plop.edge-it.subnet> Message-ID: <17204.26750.727217.958149@smtp.charter.net> Pascal> Found the issue, here is the patch Pascal> --- src/rbzoomoptions.c 2005-08-16 23:00:27.000000000 +0200 Pascal> +++ /home/pterjan/rbzoomoptions.c 2005-09-23 18:20:25.000000000 +0200 Pascal> @@ -90,7 +90,7 @@ Pascal> int j; Pascal> /* rubyfy the option name */ Pascal> - for (i = 0, j = 0; i < strlen (option), j < sizeof rubyname; i++, j++) { Pascal> + for (i = 0, j = 0; i < strlen (option) && j < (sizeof rubyname)-2; i++, j++) { Pascal> c = option [i]; Pascal> if (isupper (c)) { Pascal> rubyname [j++] = '_'; Interesting. Looking over the code, your change makes sense, but I wonder about options which are longer than (sizeof rubyname -2) in length. Maybe we could get a comment on this function explaining exactly what it's trying to do here? >From reading the code, it translates names like: FooBar -> foo_bar Is this correct? If so, why? Can you tell that my ignorance of all things Ruby is showing through here? John From tao at acc.umu.se Fri Sep 23 18:06:54 2005 From: tao at acc.umu.se (David Weinehall) Date: Sat, 24 Sep 2005 00:06:54 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17204.24644.921343.113600@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> <17204.11886.706152.641335@smtp.charter.net> <20050923195242.GA5011@khan.acc.umu.se> <17204.24644.921343.113600@smtp.charter.net> Message-ID: <20050923220654.GB5011@khan.acc.umu.se> On Fri, Sep 23, 2005 at 04:06:28PM -0400, John Stoffel wrote: > >>>>> "David" == David Weinehall writes: > > David> Huh? The Alexandria 0.6.0 package you sent provide at that URL > David> doesn't put any file in /usr/local... > > Hmmm... I could have sworn it did. Oh well, time to start learning > how Ruby works and how to muck with it's install setup. Basically, I > need to tweak the ruby/zoom stuff to install into > /usr/lib/ruby/... instead I guess. > > But again, from what I've read, there are changes in how ruby puts > stuff into Debian. > > David> Still, the issue remains: as long as the package installs > David> anything in /usr/local, it violates a *must* requirement, it is > David> a bug with severity serious, and thus release critical -- > David> i.e. totally unfit for release... > > I agree, I think we need to follow the debian standard here. I just > didn't know how to make it happen. I don't know Debian packaging, nor > do a I know the ruby language. I'm slowing learning both. *grin* > > Hmmm... looking in /usr/share/doc/ruby/ruby-policy.txt.gz, it seems to > imply that stuff needs to go in /usr/local/... What do you think, esp > about section 1.6? And looking at section 2.1, I think I might need Read a bit more carefully: "*System administrator* can install ruby modules to `/usr/local/lib/site_ruby/./' (for arch independent modules), `/usr/local/lib/site_ruby/.//' (for arch dependent modules) or `/usr/local/lib/site_ruby/' (for version independent modules). ***Note that ruby module packages MUST not use these directories.***" (My emphasis). Reading that Note makes it pretty obvious you're not supposed to install things in /usr/local =) [snip] I have never packaged any ruby stuff for Debian (I do maintain various other Debian stuff though), but I suggest you send your question to debian-mentors at lists.debian.org. BTW, this'll probably be my last answer before going on vacation =) Regards: David -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ From vitei at web.de Fri Sep 23 18:24:13 2005 From: vitei at web.de (Viktor Bindewald) Date: Sat, 24 Sep 2005 00:24:13 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17203.27232.987267.984838@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> Message-ID: <1127514253.10547.4.camel@localhost.localdomain> Am Donnerstag, den 22.09.2005, 22:37 -0400 schrieb John Stoffel: > Hi all, > > It took longer than I expected, but I've finally built and tested > (minimally) the debian packages for the latest versions of Alexandria > and Ruby/ZOOM and put them up for your downloading and testing > pleasure: > > http://www.stoffel.org/john/sources/alexandria Good work John. Unfortunately there is a problem with the packages. Alexandria doesn't start because of a LoadError. complete error message: /usr/local/lib/site_ruby/1.8/i486-linux/zoom.so: libyaz.so.2: cannot open shared object file: No such file or directory - /usr/local/lib/site_ruby/1.8/i486-linux/zoom.so (LoadError) from /usr/lib/ruby/1.8/alexandria/book_providers/z3950.rb:18 from /usr/lib/ruby/1.8/alexandria/book_providers.rb:238 from /usr/lib/ruby/1.8/alexandria.rb:88 from /usr/bin/alexandria:7 It would be nice if you would fix it. Best regards. Viktor From john at stoffel.org Fri Sep 23 19:19:26 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 19:19:26 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <1127514253.10547.4.camel@localhost.localdomain> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> Message-ID: <17204.36222.468581.641894@smtp.charter.net> Viktor> Good work John. Unfortunately there is a problem with the Viktor> packages. Alexandria doesn't start because of a LoadError. Viktor> complete error message: Viktor> /usr/local/lib/site_ruby/1.8/i486-linux/zoom.so: libyaz.so.2: cannot Viktor> open shared object file: No such file or directory Viktor> - /usr/local/lib/site_ruby/1.8/i486-linux/zoom.so (LoadError) Viktor> from /usr/lib/ruby/1.8/alexandria/book_providers/z3950.rb:18 Viktor> from /usr/lib/ruby/1.8/alexandria/book_providers.rb:238 Viktor> from /usr/lib/ruby/1.8/alexandria.rb:88 Viktor> from /usr/bin/alexandria:7 Viktor> It would be nice if you would fix it. It's almost certainly because I got my dependencies wrong. Can you send me the output of the two scripts below? apt-show-versions -a libyaz dpkg-query -L libyaz I'll bet you have the stable version installed, while I have the unstable one and of course that's what I used. Again, it's mostly a matter of me getting the dependencies correct for both packages. The -2 versions of both will be better, and hopefully I'll get them out tonight, though no promises. Three year old's bath time has priority. *grin* So far, I think I need to make the following fixes: alexandria-0.6.0-2 - dependencies rubyzoom-0.2.0-2 - dependencies - patch to fix seg faults. - move to archdir and out of sitearchdir - move to rubylibdir and out of sitelibdir - Return to -g -O2 compile flags if possible. Actually, if anyone has a Debian stable box I could login to and use to do my builds, that would be great, since it would simplify some of this stuff. Maybe I'll get UML installed and a Debian stable distro installed sometime, which would make it all simpler. Anyway, let's see how it all goes tonight if I get a chance to do this. John From john at stoffel.org Fri Sep 23 19:22:58 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 23 Sep 2005 19:22:58 -0400 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <20050923220654.GB5011@khan.acc.umu.se> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> <17204.11886.706152.641335@smtp.charter.net> <20050923195242.GA5011@khan.acc.umu.se> <17204.24644.921343.113600@smtp.charter.net> <20050923220654.GB5011@khan.acc.umu.se> Message-ID: <17204.36434.200220.181556@smtp.charter.net> >>>>> "David" == David Weinehall writes: David> Read a bit more carefully: David> "*System administrator* can install ruby modules to David> `/usr/local/lib/site_ruby/./' (for arch independent modules), David> `/usr/local/lib/site_ruby/.//' (for arch dependent David> modules) or `/usr/local/lib/site_ruby/' (for version independent David> modules). ***Note that ruby module packages MUST not use these David> directories.***" Well, there are two ways to read this. Basically, is Ruby/ZOOM (or libyaz-ruby?) considered a ruby module package? Now I do agree, and I'm going to see about pushing it all into archdir and rubylibdir for my next release. David> Reading that Note makes it pretty obvious you're not supposed David> to install things in /usr/local =) Yeah, I agree, but the defaults as given by the mkmf module seem to imply differently. Mea cupla, I'll just put in the hacks to make it work and pass it up to Laurent for his next release. David> I have never packaged any ruby stuff for Debian (I do maintain David> various other Debian stuff though), but I suggest you send your David> question to debian-mentors at lists.debian.org. Will do if I run into problems getting this to install. I was actually looking at some other libXXX-ruby modules last night, but none fit the model exactly and I ran out of time. David> BTW, this'll probably be my last answer before going on vacation =) That's what you said before. *grin* Go and enjoy, hopefully when you get back we'll have proper debian packages and alexandrai 0.7.0 out the door. *grin* John From jpierru at vt.edu Sun Sep 25 04:11:21 2005 From: jpierru at vt.edu (Julien Pierru) Date: Sun, 25 Sep 2005 04:11:21 -0400 Subject: [Alexandria-list] alexandria crash Message-ID: <1127635881.4080.3.camel@localhost> Hi I'm having trouble with alexandria: alexandria ----------------------- Alexandria just crashed ----------------------- Timestamp: Sun Sep 25 04:05:07 EDT 2005 Message: allocator undefined for Bignum Backtrace: /usr/lib/ruby/1.8/yaml.rb:133:in `transfer' /usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:55:in `load' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:54:in `load' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:53:in `load' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:52:in `load' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:83:in `loadall' /usr/lib/ruby/site_ruby/1.8/alexandria/library.rb:77:in `loadall' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:266:in `load_libraries' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:84:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:41:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:66:in `main' /usr/bin/alexandria:10 Release: 0.6.0 Uname -a: Linux Avalon 2.6.12-gentoo-r10 #1 Mon Sep 5 03:26:47 EDT 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux It happens only if after adding a book i look through it's properties, i don't necessarily have to change anything, i just open the property window and close it. For some reason doing this edit the .yaml file (the file looks different). Once i try this then alexandria doesn't load anymore. -- Julien Pierru Master's Degree Candidate 315 Randolph Hall Computational Advanced Propulsion Laboratory Virginia Tech From john at stoffel.org Tue Sep 27 09:31:48 2005 From: john at stoffel.org (John Stoffel) Date: Tue, 27 Sep 2005 09:31:48 -0400 Subject: [Alexandria-list] replace extconf.rb with setup.rb Message-ID: <17209.18884.220252.809879@smtp.charter.net> Laurent, I've been pounding me head against a wall trying to get extconf.rb working with how Debian wants packages to be installed. It's gotten to the point where I'm trying silly things like this: require 'mkmf' def err(*s) $stderr.puts "#{s}" exit 1 end err "Yaz does not seem to be installed" unless system("yaz-config") err "Yaz ZOOM header not available" unless have_header("yaz/zoom.h") $CFLAGS="-g -O1 -Wall" $LDFLAGS << " #{`yaz-config --libs`} " install_dir = Config::CONFIG["rubylibdir"] create_makefile("zoom", "src") arr=Array::new File::open("Makefile","r"){|f| arr=f.readlines arr.map!{|l| if l=~/^RUBYLIBDIR/ "RUBYLIBDIR = $(rubylibdir)$(target_prefix)" else if l=~/^RUBYARCHDIR/ "RUBYARCHDIR = $(archdir)$(target_prefix)" else l end end } } File::open("Makefile","w"){|f| arr.each{|l| f.puts(l) } } But this just leads to a loop in the Makefile, which I gave up on at midnight last night. *grin* So I've been looking at how ruby-amazon does it's stuff and they use setup.rb instead. Except, now that I look more closely, the darn thing doesn't have any .c source code, so who knows if it will work. Sigh... time to pound me head into the sand some more. Basically, I need to tweak (in extconf.rb created Makefile) the RUBYLIBDIR and RUBYARCHDIR variables, so that the files get installed into /usr/lib/... instead of /usr/local/lib/... to match the Debian standards. A real pain. Since I'm so new to Ruby, anyone else have suggestions? John From john at stoffel.org Wed Sep 28 08:37:21 2005 From: john at stoffel.org (John Stoffel) Date: Wed, 28 Sep 2005 08:37:21 -0400 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <17204.36222.468581.641894@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> Message-ID: <17210.36481.206919.239482@smtp.charter.net> Hi all, I've finally hacked around my issues with Debian packaging and I've uploaded the new packages to my web site: http://www.stoffel.org/john/sources/alexandria/ Please dowload in the -2 versions and let me know if you run into any problems. I know I missed putting in the changelog entry for the rbzoomoptions patch, but it's now compiling zoom.so with -g -O2 properly. Enjoy, John From vitei at web.de Wed Sep 28 14:17:18 2005 From: vitei at web.de (Viktor Bindewald) Date: Wed, 28 Sep 2005 20:17:18 +0200 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <17210.36481.206919.239482@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> Message-ID: <1127931439.8889.5.camel@localhost.localdomain> Am Mittwoch, den 28.09.2005, 08:37 -0400 schrieb John Stoffel: > Please dowload in the -2 versions and let me know if you run into any > problems. I know I missed putting in the changelog entry for the > rbzoomoptions patch, but it's now compiling zoom.so with -g -O2 > properly. I've tested the packages and had some problems. Firstly I had to install ruby1.8-dev and libyaz manually. Only then I could install your packages via dpkg. Secondly alexandria crashes now at startup. Here is the error message: Timestamp: Mi Sep 28 20:12:23 CEST 2005 Message: allocator undefined for Bignum Backtrace: /usr/lib/ruby/1.8/yaml.rb:133:in `transfer' /usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/1.8/alexandria/library.rb:55:in `load' /usr/lib/ruby/1.8/alexandria/library.rb:54:in `load' /usr/lib/ruby/1.8/alexandria/library.rb:53:in `load' /usr/lib/ruby/1.8/alexandria/library.rb:52:in `load' /usr/lib/ruby/1.8/alexandria/library.rb:83:in `loadall' /usr/lib/ruby/1.8/alexandria/library.rb:77:in `loadall' /usr/lib/ruby/1.8/alexandria/ui/main_app.rb:266:in `load_libraries' /usr/lib/ruby/1.8/alexandria/ui/main_app.rb:84:in `initialize' /usr/lib/ruby/1.8/alexandria/ui.rb:41:in `main' /usr/lib/ruby/1.8/alexandria.rb:66:in `main' /usr/bin/alexandria:10 Release: 0.6.0 Uname -a: Linux buscape 2.6.12-1-686 #1 Mon Sep 26 17:20:17 JST 2005 i686 GNU/Linux I hope it will help you to improve the packages. Best regards Viktor From john at stoffel.org Wed Sep 28 15:31:46 2005 From: john at stoffel.org (John Stoffel) Date: Wed, 28 Sep 2005 15:31:46 -0400 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <1127931439.8889.5.camel@localhost.localdomain> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> Message-ID: <17210.61346.858327.556368@smtp.charter.net> >>>>> "Viktor" == Viktor Bindewald writes: Viktor> I've tested the packages and had some problems. Firstly I had Viktor> to install ruby1.8-dev and libyaz manually. Only then I could Viktor> install your packages via dpkg. Well, you _DO_ need to have libyaz installed to make it. I can probably drop the ruby1.8-dev requirement, that's only if your building packages. I think. Viktor> Secondly alexandria crashes now at startup. Here is the error message: Viktor> Timestamp: Mi Sep 28 20:12:23 CEST 2005 Viktor> Message: allocator undefined for Bignum Viktor> Backtrace: Viktor> /usr/lib/ruby/1.8/yaml.rb:133:in `transfer' Viktor> /usr/lib/ruby/1.8/yaml.rb:133:in `load' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:55:in `load' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:54:in `load' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:53:in `load' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:52:in `load' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:83:in `loadall' Viktor> /usr/lib/ruby/1.8/alexandria/library.rb:77:in `loadall' Viktor> /usr/lib/ruby/1.8/alexandria/ui/main_app.rb:266:in `load_libraries' Viktor> /usr/lib/ruby/1.8/alexandria/ui/main_app.rb:84:in `initialize' Viktor> /usr/lib/ruby/1.8/alexandria/ui.rb:41:in `main' Viktor> /usr/lib/ruby/1.8/alexandria.rb:66:in `main' Viktor> /usr/bin/alexandria:10 Viktor> Release: 0.6.0 Viktor> Uname -a: Linux buscape 2.6.12-1-686 #1 Mon Sep 26 17:20:17 JST 2005 Viktor> i686 GNU/Linux Viktor> I hope it will help you to improve the packages. Strange. Can you tell me if doing: ruby /usr/share/doc/rubyzoom/examples/hello.rb works for you or not? That will help narrow down if it's a library issue, or something more devious. I'm honestly not sure. John From vitei at web.de Wed Sep 28 16:07:00 2005 From: vitei at web.de (Viktor Bindewald) Date: Wed, 28 Sep 2005 22:07:00 +0200 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <17210.61346.858327.556368@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> Message-ID: <1127938020.8889.10.camel@localhost.localdomain> Am Mittwoch, den 28.09.2005, 15:31 -0400 schrieb John Stoffel: > Well, you _DO_ need to have libyaz installed to make it. I can > probably drop the ruby1.8-dev requirement, that's only if your > building packages. I think. I think so too. The first version package didn't need it. > [...] > Strange. Can you tell me if doing: > > ruby /usr/share/doc/rubyzoom/examples/hello.rb > > works for you or not? That will help narrow down if it's a library > issue, or something more devious. I'm honestly not sure. 001 708964 005 19980710092633.8 008 970604s1997 inuab b 001 0 eng 035 $9 (DLC) 97023698 906 $a 7 $b cbc $c orignew $d 1 $e ocip $f 19 $g y-gencatlg 955 $a pc16 to ja00 06-04-97; jd25 06-05-97; jd99 06-05-97; jd11 06-06-97;aa0 5 06-10-97; CIP ver. pv08 11-05-97 010 $a 97023698 020 $a 0253333490 (alk. paper) 040 $a DLC $c DLC $d DLC 050 00 $a QE862.D5 $b C697 1997 082 00 $a 567.9 $2 21 245 04 $a The complete dinosaur / $c edited by James O. Farlow and M.K. Brett-Su rman ; art editor, Robert F. Walters. 260 $a Bloomington : $b Indiana University Press, $c c1997. 300 $a xi, 752 p. : $b ill. (some col.), maps ; $c 26 cm. 504 $a Includes bibliographical references and index. 650 0 $a Dinosaurs. 700 1 $a Farlow, James Orville. 700 2 $a Brett-Surman, M. K., $d 1950- 920 $a **LC HAS REQ'D # OF SHELF COPIES** 991 $b c-GenColl $h QE862.D5 $i C697 1997 $t Copy 1 $w BOOKS 991 $b r-SciRR $h QE862.D5 $i C697 1997 $t Copy 1 $w GenBib bi 98-003434 This appears. I'm not sure if it is the right output... Viktor From john at stoffel.org Wed Sep 28 16:35:41 2005 From: john at stoffel.org (John Stoffel) Date: Wed, 28 Sep 2005 16:35:41 -0400 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <1127938020.8889.10.camel@localhost.localdomain> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> <1127938020.8889.10.camel@localhost.localdomain> Message-ID: <17210.65181.709898.474542@smtp.charter.net> >>>>> "Viktor" == Viktor Bindewald writes: Viktor> Am Mittwoch, den 28.09.2005, 15:31 -0400 schrieb John Stoffel: >> Well, you _DO_ need to have libyaz installed to make it. I can >> probably drop the ruby1.8-dev requirement, that's only if your >> building packages. I think. Viktor> I think so too. The first version package didn't need it. So I went overboard on the requirements this time. *grin* But at least ruby/Zoom is not installing into /usr/local/... any more. Viktor> This appears. I'm not sure if it is the right output... That's good, it tells me that the Ruby/Zoom library is working at least. As for the rest, I'm not sure. I'll see if I can test it at home tonight, but it looks like an Alexandria packaging problem. How about if you drop back to the -1 version off Alexandria I packaged? That would help me know where the bug is hopefully. From vitei at web.de Wed Sep 28 17:01:53 2005 From: vitei at web.de (Viktor Bindewald) Date: Wed, 28 Sep 2005 23:01:53 +0200 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <17210.65181.709898.474542@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> <1127938020.8889.10.camel@localhost.localdomain> <17210.65181.709898.474542@smtp.charter.net> Message-ID: <1127941314.8889.14.camel@localhost.localdomain> Am Mittwoch, den 28.09.2005, 16:35 -0400 schrieb John Stoffel: > [...] > Viktor> This appears. I'm not sure if it is the right output... > > That's good, it tells me that the Ruby/Zoom library is working at > least. As for the rest, I'm not sure. I'll see if I can test it at > home tonight, but it looks like an Alexandria packaging problem. > > How about if you drop back to the -1 version off Alexandria I > packaged? That would help me know where the bug is hopefully. After the downgrade I get the same errors. Viktor From john at stoffel.org Wed Sep 28 19:04:44 2005 From: john at stoffel.org (John Stoffel) Date: Wed, 28 Sep 2005 19:04:44 -0400 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <1127941314.8889.14.camel@localhost.localdomain> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> <1127938020.8889.10.camel@localhost.localdomain> <17210.65181.709898.474542@smtp.charter.net> <1127941314.8889.14.camel@localhost.localdomain> Message-ID: <17211.8588.22111.356321@smtp.charter.net> >>>>> "Viktor" == Viktor Bindewald writes: Viktor> After the downgrade I get the same errors. Strange. I just fired up and ran both -2 versions on my home system, but it's not a straight debian SID system, it's heavily upgraded. Must be something strange that I have installed which is messing up things. HEre's what I'm running for ruby packages, how does it compare to what you're running? apt-show-versions | grep ruby libgnomecanvas2-ruby/stable uptodate 0.12.0-2 libpango1-ruby/stable uptodate 0.12.0-2 libruby1.8/testing uptodate 1.8.2-9 ruby1.8-dev/testing uptodate 1.8.2-9 libgnome2-ruby/stable uptodate 0.12.0-2 libzip-ruby1.8/stable uptodate 0.5.6-1 libglib2-ruby/stable uptodate 0.12.0-2 ruby-elisp/stable uptodate 1.8.2-1 libart2-ruby/stable uptodate 0.12.0-2 libruby/stable uptodate 1.8.2-1 rubyzoom 0.2.0-2 installed: No available version in archive ruby1.8/testing uptodate 1.8.2-9 libamazon-ruby/stable uptodate 0.9.0-1 libglade2-ruby/stable uptodate 0.12.0-2 libgdk-pixbuf2-ruby/stable uptodate 0.12.0-2 librexml-ruby/stable uptodate 3.1.2.1+ruby1.8.2-1 libatk1-ruby/stable uptodate 0.12.0-2 libgtk2-ruby/stable uptodate 0.12.0-2 libgconf2-ruby/stable uptodate 0.12.0-2 ruby/stable uptodate 1.8.2-1 ruby1.8-elisp/testing uptodate 1.8.2-9 libgettext-ruby1.8/testing uptodate 0.9.0-1 From mbrubeck at cs.hmc.edu Wed Sep 28 23:33:33 2005 From: mbrubeck at cs.hmc.edu (Matt Brubeck) Date: Thu, 29 Sep 2005 03:33:33 +0000 (UTC) Subject: [Alexandria-list] alexandria crash References: <1127635881.4080.3.camel@localhost> Message-ID: Julien Pierru writes: > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Sun Sep 25 04:05:07 EDT 2005 > Message: allocator undefined for Bignum This is caused by "loaned_since" dates in September 2005 that are Bignum (because they don't fit into Fixnum anymore). I filed a bug here: http://rubyforge.org/tracker/index.php?func=detail&aid=2538&group_id=205&atid=863 From vitei at web.de Thu Sep 29 11:42:32 2005 From: vitei at web.de (Viktor Bindewald) Date: Thu, 29 Sep 2005 17:42:32 +0200 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <17211.8588.22111.356321@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127514253.10547.4.camel@localhost.localdomain> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> <1127938020.8889.10.camel@localhost.localdomain> <17210.65181.709898.474542@smtp.charter.net> <1127941314.8889.14.camel@localhost.localdomain> <17211.8588.22111.356321@smtp.charter.net> Message-ID: <1128008553.6421.4.camel@localhost.localdomain> Am Mittwoch, den 28.09.2005, 19:04 -0400 schrieb John Stoffel: > >>>>> "Viktor" == Viktor Bindewald writes: > > Viktor> After the downgrade I get the same errors. > > Strange. I just fired up and ran both -2 versions on my home system, > but it's not a straight debian SID system, it's heavily upgraded. > Must be something strange that I have installed which is messing up > things. > > HEre's what I'm running for ruby packages, how does it compare to what > you're running? > > apt-show-versions | grep ruby > libgnomecanvas2-ruby/stable uptodate 0.12.0-2 > libpango1-ruby/stable uptodate 0.12.0-2 > libruby1.8/testing uptodate 1.8.2-9 > ruby1.8-dev/testing uptodate 1.8.2-9 > libgnome2-ruby/stable uptodate 0.12.0-2 > libzip-ruby1.8/stable uptodate 0.5.6-1 > libglib2-ruby/stable uptodate 0.12.0-2 > ruby-elisp/stable uptodate 1.8.2-1 > libart2-ruby/stable uptodate 0.12.0-2 > libruby/stable uptodate 1.8.2-1 > rubyzoom 0.2.0-2 installed: No available version in archive > ruby1.8/testing uptodate 1.8.2-9 > libamazon-ruby/stable uptodate 0.9.0-1 > libglade2-ruby/stable uptodate 0.12.0-2 > libgdk-pixbuf2-ruby/stable uptodate 0.12.0-2 > librexml-ruby/stable uptodate 3.1.2.1+ruby1.8.2-1 > libatk1-ruby/stable uptodate 0.12.0-2 > libgtk2-ruby/stable uptodate 0.12.0-2 > libgconf2-ruby/stable uptodate 0.12.0-2 > ruby/stable uptodate 1.8.2-1 > ruby1.8-elisp/testing uptodate 1.8.2-9 > libgettext-ruby1.8/testing uptodate 0.9.0-1 My output: libamazon-ruby/unstable uptodate 0.9.0-1 libglib2-ruby/unstable uptodate 0.13.0-2 libgtk2-ruby/unstable uptodate 0.13.0-2 libgnomecanvas2-ruby/unstable uptodate 0.13.0-2 libgconf2-ruby/unstable uptodate 0.13.0-2 ruby/unstable uptodate 1.8.2-1 libgettext-ruby1.8/unstable uptodate 0.9.0-1 libart2-ruby/unstable uptodate 0.13.0-2 rubyzoom 0.2.0-2 installed: No available version in archive libglade2-ruby/unstable uptodate 0.13.0-2 libpango1-ruby/unstable uptodate 0.13.0-2 libruby1.8/unstable uptodate 1.8.3-1 ruby1.8-dev/unstable uptodate 1.8.3-1 libgdk-pixbuf2-ruby/unstable uptodate 0.13.0-2 libgnome2-ruby/unstable uptodate 0.13.0-2 librexml-ruby/unstable uptodate 3.1.2.1+ruby1.8.2-1 ruby1.8/unstable uptodate 1.8.3-1 libatk1-ruby/unstable uptodate 0.13.0-2 The only difference is that I'm running Sid. Or what would you say? From laurent.sansonetti at gmail.com Fri Sep 30 06:26:23 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 12:26:23 +0200 Subject: [Alexandria-list] alexandria crash In-Reply-To: References: <1127635881.4080.3.camel@localhost> Message-ID: <1be7247c0509300326o5d47069bp25cbee76d35e456d@mail.gmail.com> Hi all, (Sorry for being late, busy at work + sick, sigh) On 9/29/05, Matt Brubeck wrote: > Julien Pierru writes: > > > ----------------------- > > Alexandria just crashed > > ----------------------- > > Timestamp: Sun Sep 25 04:05:07 EDT 2005 > > Message: allocator undefined for Bignum > > This is caused by "loaned_since" dates in September 2005 that are Bignum > (because they don't fit into Fixnum anymore). > > I filed a bug here: > http://rubyforge.org/tracker/index.php?func=detail&aid=2538&group_id=205&atid=863 > Good catch! I did not know YAML is not able to store Bignums, mmh... I will probably need to serialize the date using a string. I will try to make a quick release for this issue this week-end. The release will just feature the fix, not the recent changes in CVS. Laurent From laurent.sansonetti at gmail.com Fri Sep 30 06:28:41 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 12:28:41 +0200 Subject: [Alexandria-list] replace extconf.rb with setup.rb In-Reply-To: <17209.18884.220252.809879@smtp.charter.net> References: <17209.18884.220252.809879@smtp.charter.net> Message-ID: <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> Hi John, (Sorry for the latency.) On 9/27/05, John Stoffel wrote: > > Laurent, > > I've been pounding me head against a wall trying to get extconf.rb > working with how Debian wants packages to be installed. It's gotten > to the point where I'm trying silly things like this: > > require 'mkmf' > def err(*s) > $stderr.puts "#{s}" > exit 1 > end > err "Yaz does not seem to be installed" unless system("yaz-config") > err "Yaz ZOOM header not available" unless have_header("yaz/zoom.h") > > $CFLAGS="-g -O1 -Wall" > $LDFLAGS << " #{`yaz-config --libs`} " > > install_dir = Config::CONFIG["rubylibdir"] > create_makefile("zoom", "src") > arr=Array::new > File::open("Makefile","r"){|f| > arr=f.readlines > arr.map!{|l| > if l=~/^RUBYLIBDIR/ > "RUBYLIBDIR = $(rubylibdir)$(target_prefix)" > else > if l=~/^RUBYARCHDIR/ > "RUBYARCHDIR = $(archdir)$(target_prefix)" > else > l > end > end > } > } > > File::open("Makefile","w"){|f| > arr.each{|l| > f.puts(l) > } > } > > But this just leads to a loop in the Makefile, which I gave up on at > midnight last night. *grin* So I've been looking at how ruby-amazon > does it's stuff and they use setup.rb instead. Except, now that I > look more closely, the darn thing doesn't have any .c source code, so > who knows if it will work. > > Sigh... time to pound me head into the sand some more. > > Basically, I need to tweak (in extconf.rb created Makefile) the > RUBYLIBDIR and RUBYARCHDIR variables, so that the files get installed > into /usr/lib/... instead of /usr/local/lib/... to match the Debian > standards. A real pain. > > Since I'm so new to Ruby, anyone else have suggestions? > I do not know if you did fix your issues in the meantime, but I suggest you to ask in the ruby-talk mailing list. Perhaps you could also ask in the debian-ruby list (http://lists.debian.org/debian-ruby/), they probably know the answer. Sorry to not be able to help you Laurent From laurent.sansonetti at gmail.com Fri Sep 30 06:30:11 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 12:30:11 +0200 Subject: [Alexandria-list] Updated Debian packages now available In-Reply-To: <1128008553.6421.4.camel@localhost.localdomain> References: <17203.27232.987267.984838@smtp.charter.net> <17204.36222.468581.641894@smtp.charter.net> <17210.36481.206919.239482@smtp.charter.net> <1127931439.8889.5.camel@localhost.localdomain> <17210.61346.858327.556368@smtp.charter.net> <1127938020.8889.10.camel@localhost.localdomain> <17210.65181.709898.474542@smtp.charter.net> <1127941314.8889.14.camel@localhost.localdomain> <17211.8588.22111.356321@smtp.charter.net> <1128008553.6421.4.camel@localhost.localdomain> Message-ID: <1be7247c0509300330q8f873bcia53761a44fc8d7eb@mail.gmail.com> Hi All, On 9/29/05, Viktor Bindewald wrote: > Am Mittwoch, den 28.09.2005, 19:04 -0400 schrieb John Stoffel: > > >>>>> "Viktor" == Viktor Bindewald writes: > > > > Viktor> After the downgrade I get the same errors. > > > > Strange. I just fired up and ran both -2 versions on my home system, > > but it's not a straight debian SID system, it's heavily upgraded. > > Must be something strange that I have installed which is messing up > > things. > > > > HEre's what I'm running for ruby packages, how does it compare to what > > you're running? > > > > apt-show-versions | grep ruby > > libgnomecanvas2-ruby/stable uptodate 0.12.0-2 > > libpango1-ruby/stable uptodate 0.12.0-2 > > libruby1.8/testing uptodate 1.8.2-9 > > ruby1.8-dev/testing uptodate 1.8.2-9 > > libgnome2-ruby/stable uptodate 0.12.0-2 > > libzip-ruby1.8/stable uptodate 0.5.6-1 > > libglib2-ruby/stable uptodate 0.12.0-2 > > ruby-elisp/stable uptodate 1.8.2-1 > > libart2-ruby/stable uptodate 0.12.0-2 > > libruby/stable uptodate 1.8.2-1 > > rubyzoom 0.2.0-2 installed: No available version in archive > > ruby1.8/testing uptodate 1.8.2-9 > > libamazon-ruby/stable uptodate 0.9.0-1 > > libglade2-ruby/stable uptodate 0.12.0-2 > > libgdk-pixbuf2-ruby/stable uptodate 0.12.0-2 > > librexml-ruby/stable uptodate 3.1.2.1+ruby1.8.2-1 > > libatk1-ruby/stable uptodate 0.12.0-2 > > libgtk2-ruby/stable uptodate 0.12.0-2 > > libgconf2-ruby/stable uptodate 0.12.0-2 > > ruby/stable uptodate 1.8.2-1 > > ruby1.8-elisp/testing uptodate 1.8.2-9 > > libgettext-ruby1.8/testing uptodate 0.9.0-1 > > My output: > libamazon-ruby/unstable uptodate 0.9.0-1 > libglib2-ruby/unstable uptodate 0.13.0-2 > libgtk2-ruby/unstable uptodate 0.13.0-2 > libgnomecanvas2-ruby/unstable uptodate 0.13.0-2 > libgconf2-ruby/unstable uptodate 0.13.0-2 > ruby/unstable uptodate 1.8.2-1 > libgettext-ruby1.8/unstable uptodate 0.9.0-1 > libart2-ruby/unstable uptodate 0.13.0-2 > rubyzoom 0.2.0-2 installed: No available version in archive > libglade2-ruby/unstable uptodate 0.13.0-2 > libpango1-ruby/unstable uptodate 0.13.0-2 > libruby1.8/unstable uptodate 1.8.3-1 > ruby1.8-dev/unstable uptodate 1.8.3-1 > libgdk-pixbuf2-ruby/unstable uptodate 0.13.0-2 > libgnome2-ruby/unstable uptodate 0.13.0-2 > librexml-ruby/unstable uptodate 3.1.2.1+ruby1.8.2-1 > ruby1.8/unstable uptodate 1.8.3-1 > libatk1-ruby/unstable uptodate 0.13.0-2 > > The only difference is that I'm running Sid. Or what would you say? > Okay apparently the Bignum issue is a bug in Alexandria. It will be fixed ASAP (hopefully this week-end) by a bugfix release. Laurent From laurent.sansonetti at gmail.com Fri Sep 30 06:33:32 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 12:33:32 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17204.24644.921343.113600@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <20050923162811.GY5011@khan.acc.umu.se> <17204.11886.706152.641335@smtp.charter.net> <20050923195242.GA5011@khan.acc.umu.se> <17204.24644.921343.113600@smtp.charter.net> Message-ID: <1be7247c0509300333n2960e2c9v6968110d803648db@mail.gmail.com> Hi John, On 9/23/05, John Stoffel wrote: > >>>>> "David" == David Weinehall writes: > > David> Huh? The Alexandria 0.6.0 package you sent provide at that URL > David> doesn't put any file in /usr/local... > > Hmmm... I could have sworn it did. Oh well, time to start learning > how Ruby works and how to muck with it's install setup. Basically, I > need to tweak the ruby/zoom stuff to install into > /usr/lib/ruby/... instead I guess. > > But again, from what I've read, there are changes in how ruby puts > stuff into Debian. > > David> Still, the issue remains: as long as the package installs > David> anything in /usr/local, it violates a *must* requirement, it is > David> a bug with severity serious, and thus release critical -- > David> i.e. totally unfit for release... > > I agree, I think we need to follow the debian standard here. I just > didn't know how to make it happen. I don't know Debian packaging, nor > do a I know the ruby language. I'm slowing learning both. *grin* > > Hmmm... looking in /usr/share/doc/ruby/ruby-policy.txt.gz, it seems to > imply that stuff needs to go in /usr/local/... What do you think, esp > about section 1.6? And looking at section 2.1, I think I might need > to make ruby/zoom become > > libzoom-ruby0.2 > > instead. Or actually it should probably be > > libyaz-ruby0.2 > > according to those standards. Laurent, what do you think about a > possible name change? > Well in fact ZOOM is a standard, and it appears that YAZ is a implementation of that standard. If another free implementation is available, Ruby/ZOOM could also support it. So I do not think it is a good idea to change the name. Laurent From pterjan at linuxfr.org Fri Sep 30 06:36:07 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Fri, 30 Sep 2005 12:36:07 +0200 Subject: [Alexandria-list] replace extconf.rb with setup.rb In-Reply-To: <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> References: <17209.18884.220252.809879@smtp.charter.net> <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> Message-ID: <1128076567.4789.5.camel@plop.edge-it.subnet> Le vendredi 30 septembre 2005 ? 12:28 +0200, Laurent Sansonetti a ?crit : > On 9/27/05, John Stoffel wrote: > > Basically, I need to tweak (in extconf.rb created Makefile) the > > RUBYLIBDIR and RUBYARCHDIR variables, so that the files get installed > > into /usr/lib/... instead of /usr/local/lib/... to match the Debian > > standards. A real pain. I don't understand your problem. Under Mandriva it goes into /usr/lib without changing anything. If it goes to /usr/local/lib/, then you ruby setup is wrong. The path are generated using mkmf which take them from Config::CONFIG... From laurent.sansonetti at gmail.com Fri Sep 30 06:41:54 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 12:41:54 +0200 Subject: [Alexandria-list] Debian packages for alexandria-0.6.0 and Ruby/ZOOM-0.2.0 available In-Reply-To: <17204.26750.727217.958149@smtp.charter.net> References: <17203.27232.987267.984838@smtp.charter.net> <1127462278.4821.12.camel@plop.edge-it.subnet> <17204.4100.949188.64812@smtp.charter.net> <1127492538.8820.0.camel@plop.edge-it.subnet> <17204.26750.727217.958149@smtp.charter.net> Message-ID: <1be7247c0509300341p7a2cf307h5fd67f5bceffe05f@mail.gmail.com> Hi John, Pascal, On 9/23/05, John Stoffel wrote: > > Pascal> Found the issue, here is the patch > > Pascal> --- src/rbzoomoptions.c 2005-08-16 23:00:27.000000000 +0200 > Pascal> +++ /home/pterjan/rbzoomoptions.c 2005-09-23 18:20:25.000000000 +0200 > Pascal> @@ -90,7 +90,7 @@ > Pascal> int j; > > Pascal> /* rubyfy the option name */ > Pascal> - for (i = 0, j = 0; i < strlen (option), j < sizeof rubyname; i++, j++) { > Pascal> + for (i = 0, j = 0; i < strlen (option) && j < (sizeof rubyname)-2; i++, j++) { > Pascal> c = option [i]; > Pascal> if (isupper (c)) { > Pascal> rubyname [j++] = '_'; > I am not sure about the -2 here, but the "," after "i < strlen (option)" is definitely a bug. In fact I did write the code very quickly, I will check this out ASAP. > > Interesting. Looking over the code, your change makes sense, but I > wonder about options which are longer than (sizeof rubyname -2) in > length. Maybe we could get a comment on this function explaining > exactly what it's trying to do here? > > >From reading the code, it translates names like: > > FooBar -> foo_bar > > Is this correct? If so, why? Can you tell that my ignorance of all > things Ruby is showing through here? > This function is translating ZOOM options names which are provided in camel case (like preferredMessageSize) to a case without upper characters and underscores (preferred_message_size). The reason is that camel case is not Ruby-friendly. I wanted to make Ruby/ZOOM more attractive from the Ruby community. Laurent From john at stoffel.org Fri Sep 30 09:55:32 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 30 Sep 2005 09:55:32 -0400 Subject: [Alexandria-list] replace extconf.rb with setup.rb In-Reply-To: <1128076567.4789.5.camel@plop.edge-it.subnet> References: <17209.18884.220252.809879@smtp.charter.net> <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> <1128076567.4789.5.camel@plop.edge-it.subnet> Message-ID: <17213.17364.246803.71239@smtp.charter.net> Pascal> Le vendredi 30 septembre 2005 ? 12:28 +0200, Laurent Sansonetti a Pascal> ?crit : >> On 9/27/05, John Stoffel wrote: >> > Basically, I need to tweak (in extconf.rb created Makefile) the >> > RUBYLIBDIR and RUBYARCHDIR variables, so that the files get installed >> > into /usr/lib/... instead of /usr/local/lib/... to match the Debian >> > standards. A real pain. Pascal> I don't understand your problem. It's a debian thing I think. The Debian maintainers of Ruby decided to make sitearchlib be in /usr/local/... but the debian packaging guides state that only local stuff goes there, not packaged stuff. Pascal> Under Mandriva it goes into /usr/lib without changing anything. Totally different packaging system, and I'm sure a different ruby setup and install. Pascal> If it goes to /usr/local/lib/, then you ruby setup is wrong. Pascal> The path are generated using mkmf which take them from Pascal> Config::CONFIG... Sure, I realize this, but it's how the Debian setup of Ruby is done. Take a look at the archdir, sitearchdir and such in your Config::CONFIG settings, what do you see on there? It would be interesting to compare. John From john at stoffel.org Fri Sep 30 09:58:10 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 30 Sep 2005 09:58:10 -0400 Subject: [Alexandria-list] alexandria crash In-Reply-To: <1be7247c0509300326o5d47069bp25cbee76d35e456d@mail.gmail.com> References: <1127635881.4080.3.camel@localhost> <1be7247c0509300326o5d47069bp25cbee76d35e456d@mail.gmail.com> Message-ID: <17213.17522.388809.102162@smtp.charter.net> >>>>> "Laurent" == Laurent Sansonetti writes: Laurent> Good catch! I did not know YAML is not able to store Laurent> Bignums, mmh... I will probably need to serialize the date Laurent> using a string. Laurent> I will try to make a quick release for this issue this Laurent> week-end. The release will just feature the fix, not the Laurent> recent changes in CVS. Will you also put out a new version of Ruby/ZOOM to fix the options bug as well? Just calling them 0.6.1 and 0.2.1 would be great. Once they're out, I'll see about making new .debs for them. Time to learn how to handle upstream changes. :] John From john at stoffel.org Fri Sep 30 09:59:43 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 30 Sep 2005 09:59:43 -0400 Subject: [Alexandria-list] replace extconf.rb with setup.rb In-Reply-To: <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> References: <17209.18884.220252.809879@smtp.charter.net> <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> Message-ID: <17213.17615.88771.75759@smtp.charter.net> >>>>> "Laurent" == Laurent Sansonetti writes: Laurent> I do not know if you did fix your issues in the meantime, but Laurent> I suggest you to ask in the ruby-talk mailing list. Perhaps Laurent> you could also ask in the debian-ruby list Laurent> (http://lists.debian.org/debian-ruby/), they probably know Laurent> the answer. That's a great pointer, thanks for pointing me there. For some reason, google never really got me there. In any case, I think I did find a solution, and my hacks to the extconf.rb file will stay debian only for now I think. John From pterjan at linuxfr.org Fri Sep 30 10:42:13 2005 From: pterjan at linuxfr.org (Pascal Terjan) Date: Fri, 30 Sep 2005 16:42:13 +0200 Subject: [Alexandria-list] replace extconf.rb with setup.rb In-Reply-To: <17213.17364.246803.71239@smtp.charter.net> References: <17209.18884.220252.809879@smtp.charter.net> <1be7247c0509300328u41f63d4cgf77352ef9cbce38f@mail.gmail.com> <1128076567.4789.5.camel@plop.edge-it.subnet> <17213.17364.246803.71239@smtp.charter.net> Message-ID: <1128091333.4789.15.camel@plop.edge-it.subnet> Le vendredi 30 septembre 2005 ? 09:55 -0400, John Stoffel a ?crit : > Pascal> Le vendredi 30 septembre 2005 ? 12:28 +0200, Laurent Sansonetti a > Pascal> ?crit : > >> On 9/27/05, John Stoffel wrote: > >> > Basically, I need to tweak (in extconf.rb created Makefile) the > >> > RUBYLIBDIR and RUBYARCHDIR variables, so that the files get installed > >> > into /usr/lib/... instead of /usr/local/lib/... to match the Debian > >> > standards. A real pain. > > Pascal> I don't understand your problem. > > It's a debian thing I think. The Debian maintainers of Ruby decided > to make sitearchlib be in /usr/local/... but the debian packaging > guides state that only local stuff goes there, not packaged stuff. Hmm OK, that helps to not break installed libs with manually installed one, but makes packaging more difficult > Pascal> Under Mandriva it goes into /usr/lib without changing anything. > > Totally different packaging system, and I'm sure a different ruby > setup and install. > > Pascal> If it goes to /usr/local/lib/, then you ruby setup is wrong. > Pascal> The path are generated using mkmf which take them from > Pascal> Config::CONFIG... > > Sure, I realize this, but it's how the Debian setup of Ruby is done. > Take a look at the archdir, sitearchdir and such in your > Config::CONFIG settings, what do you see on there? It would be > interesting to compare. rubylibdir => /usr/lib/ruby/1.8 archdir => /usr/lib/ruby/1.8/i586-linux-gnu sitedir => /usr/lib/ruby/site_ruby sitelibdir => /usr/lib/ruby/site_ruby/1.8 sitearchdir => /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu From laurent.sansonetti at gmail.com Fri Sep 30 10:42:58 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 30 Sep 2005 16:42:58 +0200 Subject: [Alexandria-list] alexandria crash In-Reply-To: <17213.17522.388809.102162@smtp.charter.net> References: <1127635881.4080.3.camel@localhost> <1be7247c0509300326o5d47069bp25cbee76d35e456d@mail.gmail.com> <17213.17522.388809.102162@smtp.charter.net> Message-ID: <1be7247c0509300742r48fa190fu89f365699cede429@mail.gmail.com> Hi, On 9/30/05, John Stoffel wrote: > >>>>> "Laurent" == Laurent Sansonetti writes: > > Laurent> Good catch! I did not know YAML is not able to store > Laurent> Bignums, mmh... I will probably need to serialize the date > Laurent> using a string. > > Laurent> I will try to make a quick release for this issue this > Laurent> week-end. The release will just feature the fix, not the > Laurent> recent changes in CVS. > > Will you also put out a new version of Ruby/ZOOM to fix the options > bug as well? Just calling them 0.6.1 and 0.2.1 would be great. > Yes that's what I was planning to do :-) > Once they're out, I'll see about making new .debs for them. Time to > learn how to handle upstream changes. :] > Groovy :-) I just added a link to your repository on the home page. BTW, what about proposing your packages to the official Debian repository? I know that you need to be accepted as a Debian developer as a requirement (which is apparently long and painful), but maybe someone can help you pushing the packages? Laurent From john at stoffel.org Fri Sep 30 11:32:00 2005 From: john at stoffel.org (John Stoffel) Date: Fri, 30 Sep 2005 11:32:00 -0400 Subject: [Alexandria-list] alexandria crash In-Reply-To: <1be7247c0509300742r48fa190fu89f365699cede429@mail.gmail.com> References: <1127635881.4080.3.camel@localhost> <1be7247c0509300326o5d47069bp25cbee76d35e456d@mail.gmail.com> <17213.17522.388809.102162@smtp.charter.net> <1be7247c0509300742r48fa190fu89f365699cede429@mail.gmail.com> Message-ID: <17213.23152.228613.111420@smtp.charter.net> Laurent> I just added a link to your repository on the home page. Laurent> BTW, what about proposing your packages to the official Laurent> Debian repository? I know that you need to be accepted as a Laurent> Debian developer as a requirement (which is apparently long Laurent> and painful), but maybe someone can help you pushing the Laurent> packages? I'm certainly willing to start pushing my packages upto official debian status, but what happened to Dafydd? He seems to have dropped off the face of the earth... I'll probably have to start the process of officially taking over as dedian maintainer of these packages and see how that works. John From apollotiger at ix.netcom.com Tue Sep 27 17:17:13 2005 From: apollotiger at ix.netcom.com (apollotiger) Date: Tue, 27 Sep 2005 14:17:13 -0700 Subject: [Alexandria-list] Crash report for Alexandria Message-ID: <1127855833.6786.4.camel@kyklops> Alexandria just crashed for me; I started it and tried to add a book and it gave the following message: ----------------------- Alexandria just crashed ----------------------- Timestamp: Tue Sep 27 14:10:18 PDT 2005 Message: uninitialized constant Gtk::Clipboard Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/ui/new_book_dialog.rb:347:in `on_focus' /usr/lib/ruby/1.8/libglade2.rb:44:in `call' /usr/lib/ruby/1.8/libglade2.rb:44:in `connect' /usr/lib/ruby/1.8/libglade2.rb:44:in `call' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:42:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:42:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:66:in `main' /usr/bin/alexandria:10 Release: 0.6.0 Uname -a: Linux Kyklops 2.6.11.10-6 #1 Fri May 27 20:46:07 UTC 2005 i686 Pentium_III_(Coppermine) unknown PLD Linux -- Please report this dump to 'alexandria-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). I have gtk+2-2.8.3, glib2-2.8.1, and ruby-gnome2-0.12.0-3. Thanks, --apollotiger