You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Kanagasabai Sriskanthaverl <sr...@wso2.com> on 2006/02/16 10:01:49 UTC
perl-framework, Makefile.PL with -apxs gives error.
Hi,
I have come across this issue when i try to define the apxs argument to
point to an httpd installed in used defined location.
Here are the steps i have done. and it provided the error output given
below. Can any of u help me to get rid of it/ any work around to this.
Note: t/TEST -apxs... also gives the same error.
1. svn checkout http://svn.apache.org/repos/asf/httpd/test/trunk/
httpd-test
2. perl Makefile.PL
-apxs /home/sris/projects/ers-3-0-2/apache2.0/bin/apxs
3. make
4. t/TEST
OUTPUT
sris@sris:~/projects/temp/httpd-test/perl-framework$ t/TEST
[warning] setting ulimit to allow core files
ulimit -c
unlimited; /usr/bin/perl /home/sris/projects/temp/httpd-test/perl-framework/t/TEST
Use of uninitialized value in concatenation (.) or string
at /home/sris/projects/temp/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm line 407.
Thanks
Regards
Sris
Re: perl-framework, Makefile.PL with -apxs gives error.
Posted by Kanagasabai Sriskanthaverl <sr...@wso2.com>.
Hi
Thanks, -httpd works fine.
The httpd binary has been built in a custom name like "httpsd.worker" in
my machine. That is the reason y apxs does not locate the httpd binary.
Sorry about it. it works after i renamed it to httpd.
Regards
Sris
On Thu, 2006-02-16 at 08:47 -0500, Geoffrey Young wrote:
> > 2. perl Makefile.PL
> > -apxs /home/sris/projects/ers-3-0-2/apache2.0/bin/apxs
> > 3. make
> > 4. t/TEST
> >
> >
> > OUTPUT
> >
> > sris@sris:~/projects/temp/httpd-test/perl-framework$ t/TEST
> > [warning] setting ulimit to allow core files
> > ulimit -c
> > unlimited; /usr/bin/perl /home/sris/projects/temp/httpd-test/perl-framework/t/TEST
> > Use of uninitialized value in concatenation (.) or string
> > at /home/sris/projects/temp/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm line 407.
>
> well the error is a symptom of something gone awry higher up, notably the
> inability of Apache-Test to find httpd.
>
> if you specify -apxs then essentially
>
> $ path/to/apxs -q bindir
>
> needs to point to the directory that contains the httpd binary. if it
> doesn't, or you have a really wacky configuration, just use -httpd instead
> and you should be ok.
>
> HTH
>
> --Geoff
Re: perl-framework, Makefile.PL with -apxs gives error.
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> 2. perl Makefile.PL
> -apxs /home/sris/projects/ers-3-0-2/apache2.0/bin/apxs
> 3. make
> 4. t/TEST
>
>
> OUTPUT
>
> sris@sris:~/projects/temp/httpd-test/perl-framework$ t/TEST
> [warning] setting ulimit to allow core files
> ulimit -c
> unlimited; /usr/bin/perl /home/sris/projects/temp/httpd-test/perl-framework/t/TEST
> Use of uninitialized value in concatenation (.) or string
> at /home/sris/projects/temp/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm line 407.
well the error is a symptom of something gone awry higher up, notably the
inability of Apache-Test to find httpd.
if you specify -apxs then essentially
$ path/to/apxs -q bindir
needs to point to the directory that contains the httpd binary. if it
doesn't, or you have a really wacky configuration, just use -httpd instead
and you should be ok.
HTH
--Geoff