Suppose I have a server with two different perl 5.8 installations in two differen paths (necessary for a variety of legacy reasons) and now have to rebuild an old mod_perl Apache to compile in a module. But whenever I go to rebuild it, it picks the wrong installation of perl to build against, and hence the wrong @INC, and hence nothing works when I try to launch Apache. Anyone know where this can possibly be set? I don’t see any options in Makefile.PL that can say “hey, use this perl installation”, and it seems like this must happen to other people — so what’s the answer?
(no, the original Apache was compiled without mod_so, so I can’t just load the module dynamically. Grr.)
2 Comments
Leave a comment:
Keep up to date:
With an RSS feed for this post's comments. If you leave a comment you may subscribe to comment notification emails.
Well, as usual, all I had to do was threaten to unleash the collective wisdom of the New Media blog readership and the problem practically fixed itself.
(Turns out I wasn’t completely rebuilding mod_perl. Solution: set your path to pick up the correct perl, rebuild mod_perl from scratch, rebuild Apache, done.)
Comment by nate — 5/11/2006 @ 3:58 pm
this is officially your geekiest post yet. rock on!
Comment by bryan — 5/13/2006 @ 4:14 pm