Re: running on embedded devices

2003-10-07 Thread Stas Bekman
Wood, Bryan wrote:
The perl framework. I'm having a lot of difficulty getting it to run with my
own apache 2.0 server. Actually it doesn't get passed the compile.
[EMAIL PROTECTED]:~/httpd-test/perl-framework# make
make: *** Warning: File `Makefile.PL' has modification time in the future
(2001-12-31 09:09:43  1970-01-01 02:36:50)
Looks like your machine's clock is set to 1970!
Makefile out-of-date with respect to Makefile.PL
/usr/lib/perl/5.6.1/Config.pm /usr/lib/perl/5.6.1/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean  /dev/null 21 || /bin/sh -c true
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 Makefile.PL 
generating script ./t/htdocs/modules/rewrite/db.pl
APXS (/usr/sbin/apxs) query for SBINDIR failed
APXS (/usr/sbin/apxs) query for TARGET failed
APXS (/usr/sbin/apxs) query for SYSCONFDIR failed
generating script ./t/htdocs/modules/rewrite/numbers.pl
generating script ./t/htdocs/modules/rewrite/numbers2.pl
generating script ./t/htdocs/modules/cgi/bogus-perl.pl
generating script ./t/htdocs/modules/cgi/bogus1k.pl
generating script ./t/htdocs/modules/cgi/env.pl
generating script ./t/htdocs/modules/cgi/perl.pl
generating script ./t/htdocs/modules/cgi/perl_echo.pl
generating script ./t/conf/ssl/httpd-passphrase.pl
generating script t/TEST
Writing Makefile for Apache::Test
Writing Makefile for httpd-test
APXS (/usr/sbin/apxs) query for SBINDIR failed
APXS (/usr/sbin/apxs) query for TARGET failed
APXS (/usr/sbin/apxs) query for SYSCONFDIR failed
== Your Makefile has been rebuilt. ==
== Please rerun the make command.  ==
false
make: *** [Makefile] Error 1
[EMAIL PROTECTED]:~/httpd-test/perl-framework#


anyone know what to do in that situation ? it says the same thing everytime
I rerun the make command.
try:
perl Makefile.PL -apxs /path/to/apxs
make
make test
if you really want to sync all your files back to 1970, you could do:
cd perl-framework
find . -exec touch {} \;
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: running on embedded devices

2003-10-07 Thread Sander Temme
 /usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 Makefile.PL
   generating script ./t/htdocs/modules/rewrite/db.pl
 APXS (/usr/sbin/apxs) query for SBINDIR failed
 APXS (/usr/sbin/apxs) query for TARGET failed
 APXS (/usr/sbin/apxs) query for SYSCONFDIR failed

This happens when you have relocated your Apache binaries and
LD_LIBRARY_PATH (or platform equiv) is not set to point to the directory
that has the libapr and libapr-util shared libraries.

apxs executes httpd to get some of this info. If that's broken because httpd
can't find its libraries, apxs fails.

Don't know if this is what's happening to you, but this is what's wrong when
I see this error. What does t/TEST -start do for you?

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 856 4214
303 Second Street #375 South   Fax: (415) 856 4210
San Francisco CA 94107

PGP FP: 7A8D B189 E871 80CB 9521  9320 C11E 7B47 964F 31D9

===
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and
destroy all copies of the original message
===



RE: running on embedded devices

2003-10-07 Thread Wood, Bryan
That fixed the APXS errors while doing perl Makefile.PL and make, but
When I started running t/TEST -httpd /usr/sbin/httpd -start I got them again
And these new errors

make[1]: Entering directory
`/root/httpd-test/perl-framework/c-modules/authany'
/usr/sbin/apxs -DAPACHE2 -I/root/httpd-test/perl-framework/c-modules -c
mod_authany.c
cannot open /usr/share/build/config_vars.mk: No such file or directory at
/usr/sbin/apxs line 256.
make[1]: *** [.libs/mod_authany.so] Error 2
make[1]: Leaving directory
`/root/httpd-test/perl-framework/c-modules/authany'
make: [authany/.libs/mod_authany.so] Error 2 (ignored)
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
*** root mode: changing the files ownership to 'nobody' (65534:65534)
*** su -m nobody -c '/usr/bin/perl -e print -r
q{/root/httpd-test/perl-framework/t}   -w _  -x _ ? q{OK} : q{NOK}'


where is config_vars.mk supposed to come from ? 

-Original Message-
From: Sander Temme [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 07, 2003 1:28 PM
To: test dev httpd.apache.org
Subject: Re: running on embedded devices

 /usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1
Makefile.PL
   generating script ./t/htdocs/modules/rewrite/db.pl
 APXS (/usr/sbin/apxs) query for SBINDIR failed
 APXS (/usr/sbin/apxs) query for TARGET failed
 APXS (/usr/sbin/apxs) query for SYSCONFDIR failed

This happens when you have relocated your Apache binaries and
LD_LIBRARY_PATH (or platform equiv) is not set to point to the directory
that has the libapr and libapr-util shared libraries.

apxs executes httpd to get some of this info. If that's broken because httpd
can't find its libraries, apxs fails.

Don't know if this is what's happening to you, but this is what's wrong when
I see this error. What does t/TEST -start do for you?

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 856 4214
303 Second Street #375 South   Fax: (415) 856 4210
San Francisco CA 94107

PGP FP: 7A8D B189 E871 80CB 9521  9320 C11E 7B47 964F 31D9

===
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and
destroy all copies of the original message
===



Re: running on embedded devices

2003-10-07 Thread Sander Temme
 where is config_vars.mk supposed to come from ?

Ought to be installed with Apache 2... in the build directory where libtool
sits, and a bunch of other build helpers.

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 856 4214
303 Second Street #375 South   Fax: (415) 856 4210
San Francisco CA 94107

PGP FP: 7A8D B189 E871 80CB 9521  9320 C11E 7B47 964F 31D9

===
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and
destroy all copies of the original message
===



RE: running on embedded devices

2003-10-07 Thread Wood, Bryan
Ok that helped a lot. Thank you.

Another question, does anyone here know of any tests that send
incomplete/incorrect information to the webserver to make sure it handles it
properly ? 

-Original Message-
From: Sander Temme [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 07, 2003 2:23 PM
To: test dev httpd.apache.org
Subject: Re: running on embedded devices

 where is config_vars.mk supposed to come from ?

Ought to be installed with Apache 2... in the build directory where libtool
sits, and a bunch of other build helpers.

S.

-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering groupVoice: (415) 856 4214
303 Second Street #375 South   Fax: (415) 856 4210
San Francisco CA 94107

PGP FP: 7A8D B189 E871 80CB 9521  9320 C11E 7B47 964F 31D9

===
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and
destroy all copies of the original message
===



Re: running on embedded devices

2003-10-06 Thread Aaron Bannert
On Mon, Oct 06, 2003 at 03:06:26PM -0500, Wood, Bryan wrote:
 Has anyone used this on the arm platform? 

Used what?

-aaron