Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43936 - mod-ruby version bump + ebuild fixes...
Summary: mod-ruby version bump + ebuild fixes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Ruby Team
URL: http://modruby.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-03-07 01:56 UTC by Priit Laes (IRC: plaes)
Modified: 2004-04-16 09:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Wrong directories in pkg_postinst() (ebuild_fixes.patch,689 bytes, patch)
2004-03-07 01:57 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2004-03-07 01:56:30 UTC
The new version is out... It's a simple version bump, but i have done some cleanups to the pkg_postinst() messages (some paths were wrong)
Comment 1 Priit Laes (IRC: plaes) 2004-03-07 01:57:27 UTC
Created attachment 26976 [details, diff]
Wrong directories in pkg_postinst()
Comment 2 Priit Laes (IRC: plaes) 2004-03-07 02:04:54 UTC
There seems to be one problem though...
mod_ruby.so gets installed to
/usr/lib/apache2-extramodules/modules/mod_ruby.so
instead of
/usr/lib/apache2-extramodules/mod_ruby.so

Currently i have no idea how to fix it, but workaround is to change line 3 of /etc/apache2/conf/modules.d/20_mod_ruby.conf to correct path...
Comment 3 Philipp Kern 2004-03-30 09:20:12 UTC
I could confirm the latter. It breaks the apache installation.

root@o2 /home/phil # /etc/init.d/apache2 restart
 * Stopping apache2...
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/20_mod_ruby.conf:
Cannot load /usr/lib/apache2/extramodules/mod_ruby.so into server: /usr/lib/apache2/extramodules/mod_ruby.so: cannot open shared object file: No such file or directory                                                                   [ ok ]
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/20_mod_ruby.conf:
Cannot load /usr/lib/apache2/extramodules/mod_ruby.so into server: /usr/lib/apache2/extramodules/mod_ruby.so: cannot open shared object file: No such file or directory

    cp Makefile Makefile.orig
    sed -e "s:\(^APACHE_LIBEXECDIR = \$(DESTDIR)/usr/lib/apache${two}\):\1-extramodules:" \
        Makefile.orig > Makefile

This doesn't do what it should. ruby installs into $APACHE_LIBEXECDIR/modules.
Please fix.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-04-16 09:53:45 UTC
Fixed in CVS. Thanks for reporting.