Problems about Gramene installation

Ken Y. Clark kclark at cshl.org
Mon Mar 15 10:07:04 EST 2004


On Mon, Mar 15, 2004 at 10:35:50AM +0100, laurent.viau at bayercropscience.com wrote:
[...]
> - We obtained also a "classic" error when we try to access to the "Marker
> search" or the "Rice Genome Browser".
> "Can't locate object method "request" via package "Apache" at
> /data/private/Gramene_files/cgi-bin/map/marker_view.cgi line 354."
> 
> However, our Apache package seems to be well installed (we make the verification
> "print STDERR map { "$_ $INC{$_}\n" } sort keys %INC;" and @INC is well "fixed
> up" in the <Perl> section of httpd.conf). Is there a specific perl module
> "request.pm" to be install in the Apache package or another thing to do ??

Laurent,

The "Apache" module in question is part of mod_perl.  Have you build
your Apache server to include mod_perl.c?  To find out, execute the
"httpd" binary with the "-l" flag to "list" the modules compiled in,
e.g.:

    $ cd /usr/local/apache/bin/
    $ ./httpd -l

If you see "mod_perl.c" in the list that follows, your binary has
mod_perl statically linked.  If not, your server may still be able to
use mod_perl at run-time, though I generally find this configuration
less stable than statically building mod_perl with Apache.  There may
also be a problem if you are trying to use mod_perl with Apache2 as it
is still in beta and has a very different API from Apache 1.x.  If you
need to rebuild Apache with mod_perl, I'd suggest you use the latest
1.x tree of Apache and the latest 1.x version of mod_perl (but not
1.99 as this is the "beta" mod_perl for Apache2).

Also, the "marker_view.cgi" script has since been deprecated in favor
of "gramene/cgi-perl/markers/marker_view."

ky



More information about the Gramene mailing list