Re: how to...unsubscribe!!

2000-11-20 Thread Ricardo Stella


If you would at least read your OWN posts...  :)

 To unsubscribe, e-mail: [EMAIL PROTECTED]
  ^^^

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





 "Joel Cohen, Ph.D." wrote:
 
 
 Hi,
 
 I've been trying to unsubscribe from this list for a week.  I sent
 several blank emails to [EMAIL PROTECTED] .  It doesn't
 work!  What now??
 
 Joel Cohen, Ph.D.
 Dr. Joel's Computer Shoppe
 (www.drjoelscomputers.com)
 8209 Meadow Road #1030
 Dallas, Texas 75231
 
 ph./fax: 214-706-8963
 email: [EMAIL PROTECTED]
 
 ---
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
------
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
 *** SPAM will not be tolerated  ***


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


Re: More mod-perl as DSO on Solaris (Please help)

2000-10-06 Thread Ricardo Stella


Yup... Now if someone adds this to the FAQ, maybe others won't spend
days in trying to compile it...

My .02...

Patrick Durusau wrote:
 
 Ricardo,
 
 Ricardo Stella wrote:
 
  Here's a solution that seems to be ok for Solaris 8, GCC 2.9.2 and Perl
  5.6
 
  * Recompile perl with -Dcc=gcc -Uuselargefiles -Ubincompat5005
  * Recompile Apache with --enable-module=most --enable-share=max
  * Recompile mod-perl with USE_APXS=1, EVERYTHING=1
 
 
 Add the path for APXS and it worked like a champ!
 
 Many thanks!
 
 Patrick
 
 
  My .02...
 
  Patrick Durusau wrote:
  
   Hello,
  
   I am trying to install Apache 1.3.12 with mod_perl 1.24 on Solaris 2.8.
   In my most recent attempt, relying on several suggestions from the
   archive I have:
  
   (Using gcc 2.92.2 for all compiling.)
  
   Recompiled Perl 5.6.0
  
   sh Configure -Dcc=gcc -Uuselargefiles
  
   Recompiled Apache 1.3.12
  
./configure \
   --prefix=/usr/local/apache \
   --enable-module=most \
   --enable-shared=max
  
   Attempted to recompile mod_perl:
  
   perl Makefile.PL \
   USE_APXS=1 \
   WITH_APXS=/usr/local/apache/bin/apxs \
   EVERYTHING=1
   Will configure via APXS (apxs=/usr/local/apache/bin/apxs)
   * ERROR *
  
 Your current configuration will most likely trigger core dumps,
   suggestions:
  *) Do not configure mod_perl as a DSO
  *) Rebuild Perl without malloc pollution (Configure -Ubincompat5005)
  
   * ERROR *
  
   Do I really need to recompile Perl yet again? Or can I have mod_perl
   build the httpd (assuming someone can point out how to make it configure
   Apache for DSO support for other modules)?
  
   I may be impressed once I get mod_perl working but so far it is a long
   way from the ease of installing the Apache webserver.
  
   Patrick
  
   --
   Patrick Durusau
   Director of Research and Development
   Society of Biblical Literature
   [EMAIL PROTECTED]
 
  --
  --
   Ricardo Stella  O.I.T.
   (609)896-5000 x7436   _suAve_   Rider University
*** Remove 'no-spam' from e-mail address before replying.  ***
 
 --
 Patrick Durusau
 Director of Research and Development
 Society of Biblical Literature
 [EMAIL PROTECTED]

-- 
--
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard



Re: More mod-perl as DSO on Solaris (Please help)

2000-10-05 Thread Ricardo Stella


Here's a solution that seems to be ok for Solaris 8, GCC 2.9.2 and Perl
5.6

* Recompile perl with -Dcc=gcc -Uuselargefiles -Ubincompat5005
* Recompile Apache with --enable-module=most --enable-share=max
* Recompile mod-perl with USE_APXS=1, EVERYTHING=1

My .02...

Patrick Durusau wrote:
 
 Hello,
 
 I am trying to install Apache 1.3.12 with mod_perl 1.24 on Solaris 2.8.
 In my most recent attempt, relying on several suggestions from the
 archive I have:
 
 (Using gcc 2.92.2 for all compiling.)
 
 Recompiled Perl 5.6.0
 
 sh Configure -Dcc=gcc -Uuselargefiles
 
 Recompiled Apache 1.3.12
 
  ./configure \
 --prefix=/usr/local/apache \
 --enable-module=most \
 --enable-shared=max
 
 Attempted to recompile mod_perl:
 
 perl Makefile.PL \
 USE_APXS=1 \
 WITH_APXS=/usr/local/apache/bin/apxs \
 EVERYTHING=1
 Will configure via APXS (apxs=/usr/local/apache/bin/apxs)
 * ERROR *
 
   Your current configuration will most likely trigger core dumps,
 suggestions:
*) Do not configure mod_perl as a DSO
*) Rebuild Perl without malloc pollution (Configure -Ubincompat5005)
 
 * ERROR *
 
 Do I really need to recompile Perl yet again? Or can I have mod_perl
 build the httpd (assuming someone can point out how to make it configure
 Apache for DSO support for other modules)?
 
 I may be impressed once I get mod_perl working but so far it is a long
 way from the ease of installing the Apache webserver.
 
 Patrick
 
 --
 Patrick Durusau
 Director of Research and Development
 Society of Biblical Literature
 [EMAIL PROTECTED]

-- 
--
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard



Re: Make test error!!

2000-10-05 Thread Ricardo Stella


I think you are missing parameters when creating the make file:

= perl Makefile.PL USE_DSO=1  EVERYTHING=1 PERL_DEBUG=1

Where's the apache src path in the above ???  Are you using the
'flexible' method, or the all in one ?

If you are using the flexible method (with or without DSO support), you
don't run 'make test'.  Since at that point apache is not built yet,
therefore there's no httpd binary to be run for testing.

In any case, read INSTALL.apaci again...

My .02...

"Andrei A. Voropaev" wrote:
 
 Hi!
 
 Just to confirm that this is not a single case. I tried the same with
 apache_1.3.12 and it didn't work. Exactly the same error
 messages. Finally I gave up and compiled static version. That works
 without any problem.
 
 Andrei
 
 On Fri, Sep 15, 2000 at 10:45:32AM +0200, François Chenais wrote:
  Hello
 
  Using perl 5.6.0
apache_1.3.9
 
  I 'm trying to build DSO mod_perl.1.24
 
= perl Makefile.PL USE_DSO=1  EVERYTHING=1 PERL_DEBUG=1
 
  All is ok but "make test" says :
 
  

-- 
------
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard



Re: mod-perl as DSO (solaris)

2000-09-29 Thread Ricardo Stella


More testing but still problems...

First I downloaded GCC and make from sunfreeware.com just in case Sun's
versions are messed up (this is the ones distributed with Solaris 8).

I built apache clean first with the following criteria:

CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
\
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache2" \
"--enable-shared=max" \
"--enable-module=most" \
"--enable-rule=SHARED_CORE" \
"$@"

Then, I built perl clean with -Ubincompat5005.  I did build a shared
perl though.

Then I built mod perl via APXS as a DSO with:

 $ perl Makefile.PL \
 USE_APXS=1 \
 WITH_APXS=/path/to/bin/apxs \
 EVERYTHING=1 \
 [...]
 $ make
 $ make test
 $ make install

Note that make test does not work with APXS (docs should be updated !).

But I got the followin errors:

First, with the default http.conf 'apachectl configtest' fails with:

Syntax error on line 212 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/mod_negotiation.so into server:
ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/libexec/mod_negotiation.so: symbol __floatdisf:
referenced symbol not found

Disabling mod_negotiation: 
Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libproxy.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/libexec/libproxy.so: symbol __floatdisf: referenced
symbol not found

And finally, disabling mod_proxy:
Syntax error on line 238 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libperl.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/libexec/libperl.so: symbol Perl_free_tmps: referenced
symbol not found

So what now ???  HELP !!!

Doug MacEachern wrote:
 
 On Tue, 26 Sep 2000, Ricardo Stella wrote:
 
  Solaris 2.8
  Apache 1.3.12
  GCC 2.95.2
  Perl 5.6.0
  Enterprise 250 (64bitish)
  Modperl 1.24
 
  I can't get modperl compiled as a DSO neither via the 'flexible-method'
  nor the APXS method.
 
  The first method, seg faults.
 
  The second method won't configure, stating I should not build mod-perl
  as a DSO or compile perl with -Ubincompat5005.
 
  My current perl was compiled with bincompat5005 (perl -V:bincompat5005
  shows as 'defined')
 
 exactly, -Ubincompat5005 will _un_ define bincompat5005, perl
 -V:bincompat5005 should report: bincompat5005='undef';
 
 this is a requirement for solaris (or any Perl where Perl's malloc is
 used, rather than system malloc) , because Perl's malloc with
 bincompat5005 will pollute malloc() and free() into the main server, then
 when mod_perl's dso is closed (it is closed/re-opened at startup), the
 everything in the main server using free/malloc now has a function pointer
 into la-la land.  when you turn off bincompat5005, then Perl's malloc/free
 are namespace protected, so only Perl uses Perl's malloc.

-- 
------
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard



Re: mod-perl as DSO (solaris)

2000-09-29 Thread Ricardo Stella

Might have figured out the problem, and it might be an apache issue
dealing with largefiles:

I compiled apache cleanly as:
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache2" \
"--enable-module=most" \
"--enable-shared=max" \

This worked.  'apachectl configtest' did not complain.

Then I compiled mod_perl as:

 $ perl Makefile.PL \
 USE_APXS=1 \
 WITH_APXS=/path/to/bin/apxs \
 EVERYTHING=1 \

And I got the following error message:

Your Perl is uselargefiles enabled, but Apache is not, suggestions:
*) Rebuild Apache with CFLAGS="-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64"
*) Rebuild Perl with Configure -Uuselargefiles
*) Let mod_perl build Apache (USE_DSO=1 instead of USE_APXS=1)

So I cleand and compiled apache again, but enabling these CFLAGS. 
Apache chocked on mod_negotiation.

Any ideas now ???



Doug MacEachern wrote:
 
 On Tue, 26 Sep 2000, Ricardo Stella wrote:
 
  Solaris 2.8
  Apache 1.3.12
  GCC 2.95.2
  Perl 5.6.0
  Enterprise 250 (64bitish)
  Modperl 1.24
 
  I can't get modperl compiled as a DSO neither via the 'flexible-method'
  nor the APXS method.
 
  The first method, seg faults.
 
  The second method won't configure, stating I should not build mod-perl
  as a DSO or compile perl with -Ubincompat5005.
 
  My current perl was compiled with bincompat5005 (perl -V:bincompat5005
  shows as 'defined')
 
 exactly, -Ubincompat5005 will _un_ define bincompat5005, perl
 -V:bincompat5005 should report: bincompat5005='undef';
 
 this is a requirement for solaris (or any Perl where Perl's malloc is
 used, rather than system malloc) , because Perl's malloc with
 bincompat5005 will pollute malloc() and free() into the main server, then
 when mod_perl's dso is closed (it is closed/re-opened at startup), the
 everything in the main server using free/malloc now has a function pointer
 into la-la land.  when you turn off bincompat5005, then Perl's malloc/free
 are namespace protected, so only Perl uses Perl's malloc.

-- 
----------
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard



mod-perl as DSO (solaris)

2000-09-26 Thread Ricardo Stella

Solaris 2.8
Apache 1.3.12
GCC 2.95.2
Perl 5.6.0
Enterprise 250 (64bitish)
Modperl 1.24

I can't get modperl compiled as a DSO neither via the 'flexible-method'
nor the APXS method.

The first method, seg faults.

The second method won't configure, stating I should not build mod-perl
as a DSO or compile perl with -Ubincompat5005.

My current perl was compiled with bincompat5005 (perl -V:bincompat5005
shows as 'defined')

So, is this working at all ???  Searching the archives, all I found was
related to 1.23.  I also tried specifically setting 

CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing

when compiling apache, but did not help.

TIA.



-- 
--
 Ricardo Stella  O.I.T.
 (609)896-5000 x7436   _suAve_   Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

begin:vcard 
adr;dom:;;;Lawrenceville;NJ;08648;
adr:;;2083 Lawreceville Road;Lawrenceville;NJ;08648;
n:Stella;Ricardo
tel;fax:1-609-219-4994
tel;work:1-609-896-5000 x7436
x-mozilla-html:FALSE
url:http://poseidon.rider.edu
org:Rider University;O.I.T.
version:2.1
title:Manager
x-mozilla-cpt:;-9584
fn:Ricardo Stella
end:vcard