Gerald Richter wrote:

> Hi,
> 
> after a long time where I didn't had the time to look closer at mod_perl 2.0
> I now fetched the newest CVS version and compiled it sucessfully. When I try
> to run make test, I get the following error:
> 
> /usr/bin/perl5.6.1 -Iblib/arch/Apache2 -Iblib/lib/Apache2 \


Apache2? Your @INC misses blib/lib, looks like a broken MakeMaker, since 
blib/lib is always there:

from my Makefile:

INST_LIB = blib/lib
TEST_LIBS =  -I$(INST_ARCHLIB) -I$(INST_LIB)

which means that your Makefile has

INST_LIB = blib/lib/Apache2

I've just tested a build with 5.6.1 on linux, and it'd correct. What do 
you see?


> t/TEST -clean
> setting ulimit to allow core files
> ulimit -c unlimited
> exec t/TEST -clean
> Can't locate Apache/Const.pm in @INC (@INC contains:
> /usr/msrc/cvs/modperl-2.0/lib /usr/msrc/cvs/modperl-2.0/blib/lib
> /usr/msrc/cvs/modperl-2.0/blib/arch Apache-Test/lib ./Apache-Test/lib
> ../Apache-Test/lib /opt/perlt5.6.1/lib/5.6.1/i686-linux-thread-multi
> /opt/perlt5.6.1/lib/5.6.1
> /opt/perlt5.6.1/lib/site_perl/5.6.1/i686-linux-thread-multi
> /opt/perlt5.6.1/lib/site_perl/5.6.1 /opt/perlt5.6.1/lib/site_perl .) at
> /usr/msrc/cvs/modperl-2.0/t/response/TestDirective/perlrequire.pm line 7.
> 
> As far as I can see the xs directory should also be in @INC to solve this
> problem, but I didn't found the right place to set it. I guess the error
> will also disapear once mod_perl is installed, but in this case the
> installed version is used instead of the version from the build directory,
> which is not the way it should work.


see above, it's not xs :)


> Gerald
> 
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
> 
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-- 


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to