Install Problem: make test: modules/src.t

2002-12-21 Thread Mark Hawkes
When I 'make test' I'm getting failures relating to modules/src.t
Can anyone help?

-- PLATFORM --

OS: Slackware Linux 2.2.16
Perl:   5.6.0
mod_perl:   1.27
Apache: Apache/1.3.12 (Unix) PHP/4.2.3

Apache root:/var/lib/apache
mod_perl build dir: /var/lib/apache/mod_perl-1.27


-- PROBLEM OCCURRENCE --

$ perl Makefile.PL \
   EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1
Configure mod_perl with ../src ? [y] y
Shall I build httpd in ../src for you? [y] y

$ make

Everything is good until I run the tests :-/

$ make test TEST_VERBOSE=1
--snip--
dir=../src
ok 2
main=
not ok 3
module_magic_number = 0
not ok 4
httpd_version =
not ok 5
-I../src -I../src/modules/perl
ok 6
FAILED tests 3-5
Failed 3/6 tests, 50.00% okay
--snip--
Failed Test  Status Wstat Total Fail  Failed  List of failed
---
modules/src.t 63  50.00%  3-5
6 tests skipped.
httpd terminated
Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay.
make: *** [run_tests] Error 29




RE: Install Problem: make test: modules/src.t

2002-12-21 Thread Mark Hawkes
Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as 
root or it can't write to the Apache directory.

At 12:10 2002-12-21 -1000, you wrote:
Hi -

I had testing problems a few weeks ago...
be sure you test as a 'normal' user, not 'root'.
If you did the make under root, be sure to change
user:group ownership of the entire mod_perl tree
before logging in and testing.

I'm _not_ an expert, but that's what happened to
me :)

Aloha = Beau.

-Original Message-
From: Mark Hawkes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 21, 2002 12:00 PM
To: [EMAIL PROTECTED]
Subject: Install Problem: make test: modules/src.t


When I 'make test' I'm getting failures relating to modules/src.t
Can anyone help?

-- PLATFORM --

OS: Slackware Linux 2.2.16
Perl:   5.6.0
mod_perl:   1.27
Apache: Apache/1.3.12 (Unix) PHP/4.2.3

Apache root:/var/lib/apache
mod_perl build dir: /var/lib/apache/mod_perl-1.27


-- PROBLEM OCCURRENCE --

$ perl Makefile.PL \
EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1
Configure mod_perl with ../src ? [y] y
Shall I build httpd in ../src for you? [y] y

$ make

Everything is good until I run the tests :-/

$ make test TEST_VERBOSE=1
--snip--
dir=../src
ok 2
main=
not ok 3
module_magic_number = 0
not ok 4
httpd_version =
not ok 5
-I../src -I../src/modules/perl
ok 6
FAILED tests 3-5
 Failed 3/6 tests, 50.00% okay
--snip--
Failed Test  Status Wstat Total Fail  Failed  List of failed

---
modules/src.t 63  50.00%  3-5
6 tests skipped.
httpd terminated
Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay.
make: *** [run_tests] Error 29





Re: PERL/java interface available?

2003-06-09 Thread Mark Hawkes
At 07:34 2003-06-09 -0600, you wrote:
Would anyone happen to know if there is a PERL/java interface where these 
two languages could talk to each other?
Java can call any native function that's packaged in a dso or dll. (But is 
it possible to compile Perl modules to standalone dso?) Did anyone mention 
B::JVM::Jasmin or JPL? See links below...

-Mark

-
Porting Perl to the Java Virtual Machine
http://www.ebb.org/bkuhn/writings/technical/thesis
More about JPL
http://www.oreilly.com/catalog/prkunix/info/more_jpl.html
Java Native Interface Tutorial
http://java.sun.com/docs/books/tutorial/native1.1/