Re: Fail to configure mod_perl and build apache
[prev]
[thread]
[next]
[Date index for 2004/10/31]
On 30/10/2004, at 7:19 AM, Stas Bekman wrote:
> CN wrote:
>> Hi!
>>
>> Because "perl Makefile.PL" did not find LWP::UserAgent and
>> HTML::HeadParser in my Debian box, I did "apt-get install
>> libapache-mod-perl". Then I did "dpkg -P libapache-mod-perl" to remove
>> that package. Since then "perl Makefile.PL" seems to have trouble as
>> it
>> complains "cat: ../apache_1.3.32/src/Makefile.config: No such file or
>> directory":
>
> Unless someone on Debian can help you with the specific of those
> packages,
Well, I'll try...
> I'd suggest that you download the source and build everything by
> yourself
> as explained here:
...because this always seems to lead to a world of pain, in the end (as
the
next time you try to install a package that depends on one of the ones
you've
built yourself, you have to resort to twisting the packaging system's
arm).
First suggestion: use aptitude, not apt-get. aptitude shows you the
packages
that are recommended by the package you are installing, as well as those
upon which it absolutely depends.
Second suggestion: CPAN packages in debian are named consistently. If
you
have a CPAN package called Foo::Bar, the debian package of it will be
called
libfoo-bar-perl. There are a few confusing ones, such as LWP. Try
libwww-perl.
Third suggestion: Even if you want to rebuild a package which is in
Debian,
start off with the Debian package sources ("apt-get source foo"). That
way,
you end up with a packaged version of the thing, and any idiosyncracies
needed to build it on Debian.
Cheers,
Nick
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html