[freeside-users] Installation help - FreeBSD, Apache2, mod_perl2
Charles Sprickman
spork at bway.net
Sat Jan 27 12:05:33 PST 2007
On Fri, 26 Jan 2007, Scott O'Neil wrote:
> Hi Charles,
> I had this problem too. It turns out that Apache configuration lines
> should not end in semicolons. All that Perl habit for naught!
>
> E.g. where you say you have:
>
> Perlrequire "/usr/local/etc/freeside/handler.pl";
>
> in your Apache configs, try this instead:
>
> Perlrequire "/usr/local/etc/freeside/handler.pl"
That's it! I now have other errors, but I think I can work them out. It
seems like this thing really wants RT even though I told it not to build
RT in the Makefile.
My line with the semicolon came from someone's example somewhere (docs or
wiki).
There should be a "mod_perl and mod_perl2 for n00bs" in the wiki. If
people had to go through these hoops with php, it would be as popular
as... mod_perl is. :)
Meaning, you need not be a php expert to install php and download a php
webapp. mod_perl is so... perl... that you can't really just jump in and
go.
Charles
> Might want to make sure a semicolon didn't end up anywhere else too.
>
> Hope this helps,
>
> Scott
>
> On 1/26/07, Charles Sprickman <spork at bway.net> wrote:
>>
>> Hi all,
>>
>> I guess my first question is "should Freeside work with
>> Apache2/mod_perl2"?
>>
>> If so, then I should be pretty close. I've got all the perl modules
>> installed,
>> and actually already have another mod_perl application running (otrs.org)
>> with
>> no problems. I'm running another apache just for Freeside (as the docs
>> recommended). When I start up apache, it bails with this fairly confusing
>> error:
>>
>> [Fri Jan 26 01:07:14 2007] [error] Can't locate ; in @INC (@INC contains:
>> /usr/local/lib/perl5/5.8.8/BSDPAN
>> /usr/local/lib/perl5/site_perl/5.8.8/mach
>> /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
>> /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)
>> at
>> (eval 130) line 1.\n
>> [Fri Jan 26 01:07:14 2007] [error] Can't load Perl file: ; for server
>> foo.foo.net:444, exiting...
>>
>> It's odd that apache is nulling out the path to handler.pl, it is set
>> correctly:
>>
>> Perlrequire "/usr/local/etc/freeside/handler.pl";
>>
>> At this point I'm not even sure what direction to go in. Earlier in the
>> day I
>> was actually getting real errors - meaning the apache error log would
>> claim it
>> couldn't find "some_module.pm" and I'd track it down and install it. Now
>> that
>> it's not complaining about that I have this mysterious error about not
>> finding
>> ";".
>>
>> Some info:
>>
>> FreeBSD 6.2
>> Apache 2.0.59
>> mod_perl2 2.0.2
>> Freeside 1.5.8
>> Mason 1.35
>> libapreq2 2.08
>> perl 5.8.8
>> postgres client/server 8.0.9
>> DBI 1.52
>> DBD-Pg 1.49
>>
>> Followed the html install doc in the tarball with the exception of
>> disabling RT
>> as I only want to deal with one giant perl glob at a time.
>>
>> FWIW, everything but Freeside was installed via FreeBSD ports. If need
>> be, I
>> can provide a list of all perl modules installed, but it seems a bit long
>> for
>> the first email to this list... :)
>>
>> Thanks,
>>
>> Charles
>> _______________________________________________
>> freeside-users mailing list
>> freeside-users at sisd.com
>> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>>
>
More information about the freeside-users
mailing list