From cross at symbotica.net Mon Oct 19 16:58:42 2009 From: cross at symbotica.net (Cameron Ross) Date: Mon, 19 Oct 2009 16:58:42 -0400 Subject: [Ruby-rpm-devel] Using ruby-rpm on x86_64 Message-ID: Hello, I'm trying to install ruby-rpm on Fedora 11 x86_64. When I run "ruby install.rb config" I get the output shown below. I notice that my system has librpmio installed under /usr/lib64. Could this have something to do with it? Thanks much, Cameron. ------------ output ------------ install.rb: entering config phase... ---> lib <--- lib ---> ext ---> ext/rpm /usr/local/bin/ruby /home/cross/Download/ruby-rpm-1.2.3/ext/rpm/extconf.rb checking for popt.h... yes checking for main() in -lpopt... yes checking for db_version() in -ldb-4.2... no checking for db_version() in -ldb-4.0... no checking for db_version() in -ldb4... no checking for db_version() in -ldb-3.0... no checking for db_version() in -ldb3... no checking for db_version() in -ldb-2.0... no checking for db_version() in -ldb2... no checking for db_version() in -ldb... yes checking for rpmlib.h... yes checking for main() in -lrpmio... no rpm library not found *** /home/foo/ruby-rpm-1.2.3/ext/rpm/extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=/home/cross/Download/ruby-rpm-1.2.3/ext/rpm --curdir --ruby=/usr/local/bin/ruby --with-popt-dir --without-popt-dir --with-popt-include --without-popt-include=${popt-dir}/include --with-popt-lib --without-popt-lib=${popt-dir}/lib --with-rpm-dir --without-rpm-dir --with-rpm-include --without-rpm-include=${rpm-dir}/include --with-rpm-lib --without-rpm-lib=${rpm-dir}/lib --with-poptlib --without-poptlib --with-db-dir --without-db-dir --with-db-include --without-db-include=${db-dir}/include --with-db-lib --without-db-lib=${db-dir}/lib --with-db-4.2lib --without-db-4.2lib --with-db-4.0lib --without-db-4.0lib --with-db4lib --without-db4lib --with-db-3.0lib --without-db-3.0lib --with-db3lib --without-db3lib --with-db-2.0lib --without-db-2.0lib --with-db2lib --without-db2lib --with-dblib --without-dblib --with-rpmiolib --without-rpmiolib config failed 'system /usr/local/bin/ruby /home/foo/Download/ruby-rpm-1.2.3/ext/rpm/extconf.rb ' failed try 'ruby install.rb --help' for usage -------------- next part -------------- An HTML attachment was scrubbed... URL: From pterjan at gmail.com Mon Oct 19 17:42:07 2009 From: pterjan at gmail.com (Pascal Terjan) Date: Mon, 19 Oct 2009 23:42:07 +0200 Subject: [Ruby-rpm-devel] Using ruby-rpm on x86_64 In-Reply-To: References: Message-ID: On Mon, Oct 19, 2009 at 22:58, Cameron Ross wrote: > Hello, > > I'm trying to install ruby-rpm on Fedora 11 x86_64.? When I run "ruby > install.rb config" I get the output shown below.? I notice that my system > has librpmio installed under /usr/lib64.? Could this have something to do > with it? The issue is the rpm version momonga has a patch to build against rpm-4.6 that works fine (we are using it slightly modified in mandriva http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/ruby-rpm/current/SOURCES/ruby-rpm-1.2.3-rpm46.patch?revision=433349&view=markup )