mod_perl with FreeBSD (stock perl vs perl 5.8 port)

Rob listone at deathbeforedecaf.net
Mon Jan 26 23:23:27 PST 2004


Forrest Aldrich said on Tue Jan 27, 2004:


> No, use /usr/bin/perl (SYSTEM) versus /usr/local/bin/perl and adjust my
> makepl_args file accordingly.
>
>
> At 06:39 AM 1/26/2004, you wrote:
> >Forrest Aldrich asked on Mon Jan 26, 2004:
> >
> >
> > > I'm working with mod_perl-1.x *current* on FreeBSD-4.9.
> > >
> > > For some time, I've had some difficulty getting this lot to work
> >correctly,
> > > as an OBJ (non-DSO).  During the compile, I get a slew of
> > > Dynaloader-related errors in the linking process.
> > >
> > > So today, I tried testing the compile using the SYSTEM perl
> >(/usr/bin/perl)
> > > and the compile completed fine, without any errors.
> > >
> > > It sounds to me like Dynaloader is not being compiled correctly in
this
> > > configuration - that's all I can take a guess at.
> > >
> > > I wonder if anyone else has had this problem with FreeBSD-4.x and
> > > mod_perl.  There must be a way to correct this.
> > >
> >
> >What do you mean by 'using the SYSTEM perl' - did you uninstall the port,
> >change the environment, or do something else?
>

OK - did you run

  use.perl port

after you installed the port?

As well as making /usr/bin/perl a symlink to /usr/local/bin/perl, it updates
/etc/make.conf to prefer the port when compiling new software.



More information about the freebsd-questions mailing list