Carlos,

There are mod_perl-1.99* ebuilds in /usr/portage/dev-perl/mod_perl. So I added "=dev-perl/mod_perl-1.99* ~x86" to /etc/portage/package.keywords. They have apache-2* as a dependancy. I always install things from source as a last resort, which means usually never. And if I do, I try to put them in /usr/local. Also, it is better to try getting a perl module from CPAN if it isn't in portage (probably that's what you did but I'm not sure).

David


Carlos Moro wrote:

Hi,

I've tried installing mod_perl in salaam, but doesn't work yet:

1. Installing from portage crashes on compilation (!)
2. Installing from source, mod_perl 1, impossible, as we're running apache 2 and that requires apache 1.3
3. Installing from source, mod_perl 2:
-added lines in twiki/bin/.htpasswd for using mod_perl (now commented out) -sources uncompressed, configured and compiled in /var/tmp/mod_perl-2.0 (after setting patch to apxs2)
-/etc/apache2/conf/apache.conf -> added LoadModule perl... (now commented out)
-restarted apache:
[Wed Feb 23 04:14:57 2005] [error] Can't locate Apache2/ModPerl/Registry.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl . /usr/lib/apache2) at (eval 2) line 3.\n
[Wed Feb 23 04:14:57 2005] [error] Can't load Perl module Apache2::ModPerl::Registry for server localhost:0, exiting...
[Wed Feb 23 04:15:49 2005] [error] Can't locate Apache2/ModPerl/Registry.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl . /usr/lib/apache2) at (eval 3) line 3.\n
[Wed Feb 23 04:15:49 2005] [error] Can't load Perl module Apache2::ModPerl::Registry for server localhost:0, exiting...


The ModPerl packages seem installed in /usr/lib/perl5/site_perl/5.8.5/i686-linux... I have no idea of perl tweaking... If anyone can give a glance... ;)

Best regards,
carlos

Carlos Moro wrote:

Hi,

Seems our solution, let's try... currently installing...

Thanks Jim,
Best regards,
carlos
James Busser wrote:

Carlos or David (or anyone) think a possible workaround (if not the solution) is offered by:
http://twiki.org/cgi-bin/view/Codev/ModPerl


Can this be implemented at salaam? Alternatively if the above is seen as a bad idea or not worth trying, advise if I should submit a question at TWiki.org. It is just a bit odd that no-one else has complained about it there, given the version we are using was released this past September.



On Sunday 20 February 2005 02:33, J Busser wrote:


Although I seem still able to read wiki pages and enter "Edit" mode
without trouble, "Saving" has become a big problem and I wonder if
anyone else has experienced the same, or is aware of anything odd
happening on the server.





_______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel









--
David J. Grant
http://www.davidgrant.ca:81

begin:vcard
fn:David Grant
n:Grant;David
adr:;;;Richmond;BC;;Canada
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
url:http://www.davidgrant.ca:81
version:2.1
end:vcard

_______________________________________________
Gnumed-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnumed-devel

Reply via email to