Re: installation problems

2002-06-12 Thread Randy Kobes

On Mon, 10 Jun 2002, will wrote:

> I am trying to install mod perl as part of Apache-ASP and am stuck at the
> following error:
>
> >Apache.exe -k start
> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
>
> I've searched the web and haven't found any solutions.
> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
> there:
>
> @INC:
> C:/Perl/lib
> C:/Perl/site/lib
> .
[ ... ]
I remember seeing this some time ago, though don't
know if the source of the problem was found ... If you're
not altering @INC in a startup.pl, try setting the
PERL5LIB environment variable to include C:/Perl/lib
and C:/Perl/site/lib before starting Apache.

best regards,
randy kobes





Re: installation problems

2002-06-12 Thread Stas Bekman

Chris wrote:
>>will wrote:
>>
>>>I am trying to install mod perl as part of Apache-ASP and am stuck at
>>>the following error:
>>>
>>>
>>>
Apache.exe -k start
>>>
>>are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
> 
> 
> um ... I use:
> 
> c:\apache\apache.exe -k start 
> 
> all the time under Apache 1.3.22 for Win32. 

Oops, that must be win specific in 1.3. In 2.0 it's on all platforms.

So much for guessing things that reports should include.

__
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: installation problems

2002-06-12 Thread Chris

> will wrote:
>> I am trying to install mod perl as part of Apache-ASP and am stuck at
>> the following error:
>> 
>> 
>>>Apache.exe -k start
> 
> are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option

um ... I use:

c:\apache\apache.exe -k start 

all the time under Apache 1.3.22 for Win32. 

> whenever reporting problems you have to tell us what you are doing and 
> what versions you are using see:
> 
http://perl.apache.org/release/docs/1.0/guide/help.html#How_to_Report_Proble
ms
> 
http://perl.apache.org/release/docs/2.0/user/help/help.html#Reporting_Proble
ms
> 
>> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
>> 
>> I've searched the web and haven't found any solutions.
>> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
>> there:

@INC under perl -V and mod_perl aren't always synonomous. I'm not sure what 
the larger issue you have here is (I've never used/installed Apache::ASP) 
but your error message says that @INC contains only '.' and obviously that 
doesn't have the path to the c:/perl/lib or c:/perl/site/lib directories.

Perhaps you tried setting @INC at some point in the httpd.conf?

Follow Stas' suggestion of providing more info ... did you build this 
mod_perl yourself or are you using Randy Kobe's PPM? 


-Chris
-- 
"[A] Genuinely skillful use of obscenities is uniformly absent on the 
Internet." -Karl Kleinpaste 




Re: installation problems

2002-06-11 Thread Stas Bekman

will wrote:
> I am trying to install mod perl as part of Apache-ASP and am stuck at the
> following error:
> 
> 
>>Apache.exe -k start

are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option

whenever reporting problems you have to tell us what you are doing and 
what versions you are using see:
http://perl.apache.org/release/docs/1.0/guide/help.html#How_to_Report_Problems
http://perl.apache.org/release/docs/2.0/user/help/help.html#Reporting_Problems

> Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
> 
> I've searched the web and haven't found any solutions.
> I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
> there:
> 
> @INC:
> C:/Perl/lib
> C:/Perl/site/lib
> .
> 
> but it only seems to actually be looking at the current directory.  Not sure
> what to do next, or where to change these paths.  I'm wondering if I need \s
> instead of /s?
> 
> thanks for any help?
> 
> will



-- 


__
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




installation problems

2002-06-11 Thread will

I am trying to install mod perl as part of Apache-ASP and am stuck at the
following error:

>Apache.exe -k start
Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.

I've searched the web and haven't found any solutions.
I have checked the perl @INC using 'perl -V' and the path to Cwd.pm is
there:

@INC:
C:/Perl/lib
C:/Perl/site/lib
.

but it only seems to actually be looking at the current directory.  Not sure
what to do next, or where to change these paths.  I'm wondering if I need \s
instead of /s?

thanks for any help?

will




Re: newbie - installation problems

2002-04-18 Thread Tom Brown

On Thu, Apr 18, 2002 at 12:57:52PM +0200, Carlo Giomini - tesista Federico wrote:
> > > 2. If this risk exists, I should procede with the old installation BUT
> > > what would I get at the end? Mod_perl statically built inside Apache?
> > Build what you want and install it. I wouldn't worry about the
> > previous installs unless you start changing the install targets (where
> > the files go in the filesystem). Then you may start to confuse yourself with
> > copies of apache, httpd.conf, etc scattered around the fs.
> Thanks for the encouragement, but please tell me what would I get going on
> with the previous install: mod_perl statically linked? Also, I found
> already two different httpd.conf in the fs:
> /etc/httpd/conf/httpd.conf
> /usr/apache/conf/httpd.conf
> no idea what the /etc/... is worth for.

I'd recommend you use the command line args to work out what an apache
or httpd binary supports.
IE:
apache -V  will tell you where it gets its conf files by default
apache -L |grep LoadModule will output 'LoadModule (mod_so.c)' if it
supports a dynamic mod_perl
apache -l | grep -i perl should output something if mod_perl is
statically linked
apache -h or man apache will explain these and more options

As you may have noticed the apache binary is sometimes named httpd.
For example you may want to run:
/usr/sbin/httpd -l | grep -i perl
or something similar.

The extra .conf s and the .so s are harmless but may be a nuisance.


-- 
28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E
mailto:[EMAIL PROTECTED]
http://thecap.org/



Re: newbie - installation problems

2002-04-18 Thread Tom Brown

On Thu, Apr 18, 2002 at 12:20:41PM +0200, Carlo Giomini - tesista Federico wrote:
> I can't manage very well with Apache and mod_perl. I have made an 
> installation of mod_perl WITHOUT building a new httpd daemon (NO_HTTPD=1),
> undergoing all the steps until the end (perl MAKEFILE_PL, make, make
> install). After that, I read on the Stas Bekman's guide at
> http://perl.apache.org/guide that mod_perl can albe installed as DSO, via
> apxs. The question is:
Sounds like you are on the right path.

> 1. Is it possible to do a new installation of mod_perl as DSO that
> 'overrides' (so to say) the (incomplete) preceding one or there is the
> risk to mess up things worse?
It is possible and very common to build it one way, install, then
build with different options and install over the top.

> 2. If this risk exists, I should procede with the old installation BUT
> what would I get at the end? Mod_perl statically built inside Apache?
Build what you want and install it. I wouldn't worry about the
previous installs unless you start changing the install targets (where
the files go in the filesystem). Then you may start to confuse yourself with
copies of apache, httpd.conf, etc scattered around the fs.

> 3. Is there a procedure to 'uninstall' the (incomplete) installation made
> so far?
The only procedure I know is to manually remove the files. There may
be a automated method, but I've never felt the need to find out about
it.

-- 
28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E
mailto:[EMAIL PROTECTED]
http://thecap.org/



newbie - installation problems

2002-04-18 Thread Carlo Giomini - tesista Federico


Hi there!
I can't manage very well with Apache and mod_perl. I have made an 
installation of mod_perl WITHOUT building a new httpd daemon (NO_HTTPD=1),
undergoing all the steps until the end (perl MAKEFILE_PL, make, make
install). After that, I read on the Stas Bekman's guide at
http://perl.apache.org/guide that mod_perl can albe installed as DSO, via
apxs. The question is:

1. Is it possible to do a new installation of mod_perl as DSO that
'overrides' (so to say) the (incomplete) preceding one or there is the
risk to mess up things worse?

2. If this risk exists, I should procede with the old installation BUT
what would I get at the end? Mod_perl statically built inside Apache?

3. Is there a procedure to 'uninstall' the (incomplete) installation made
so far?

Thanks in advance,

Carlo.





Installation Problems

2001-01-11 Thread David Campion



Apologies if this 
has been covered before but i'm new to this.
 
I am having problems 
compiling source files.  Every time I try I get errors say that cputype 
does not match architecture type.
 
I am running Mac OS 
X Server version 1.2.
 
Please can someone 
shed some light on my dilema.
 
Dave.


Installation problems!!!

2000-10-19 Thread Edmar Edilton da Silva

Hi,

I installed mod_perl 1.24 successfully ( the web server used is apache 1.3.9
and perl 5.004-4 ).  No errors during configure, make , make test or make
install.  I added the "loadmodule" and "addmodule" lines to httpd.conf. But
when I started the apache I get the following error message:

"Starting httpd: httpd Syntax error on line 132 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libperl.so into server:
/etc/httpd/modules/libperl.so: undefined symbol: ap_ctx_get" 

Can anyone help me? It's very important for me. Thanks...

-- 

 Edmar Edilton da Silva
  Bacharel em Ciência da Computação - UFV
Mestrando em Ciência da Computação - UNICAMP




Installation problems!!!

2000-10-18 Thread Edmar Edilton da Silva

I installed mod_perl 1.24 successfully ( the web server used is apache 1.3.9
and perl 5.004-4 ).  No errors during configure, make , make test or make
install.  I added the loadmodule and addmodule lines to httpd.conf. But when I
started the apache I get the following error message:

"Starting httpd: httpd Syntax error on line 132 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libperl.so into server:
/etc/httpd/modules/libperl.so: undefined symbol: ap_ctx_get" 

Can anyone help me? Thanks...

-- 

 Edmar Edilton da Silva
  Bacharel em Ciência da Computação - UFV
Mestrando em Ciência da Computação - UNICAMP




Re: AIX 4.3.2, perl 5.6, mod_perl 1.24, apache 1.3.12 installation problems

2000-08-14 Thread Hey Boy

Thanx Jenus-Uwe Mager for the patch. Now i have finally installed mod 
perl
It was hell
Just a hint for others who are having troubles with mod perl and AIX.
I installed perl 5.6.0 with the patch, while running sh Configure
I included -L/usr/local/lib/gcc-lib/blah/blah <-- *Important*
when being prompted for inculding any other libraries when compling...
during the configuration process.
your machine might have it somewhere else try to find it and use gcc...
My gcc version was 2.95. and in the blah blah directory was libgcc.a and the 
rest of the goodies.
I installed all modules (DBI, Socket, etc) as static while building perl.

Now once u get into mod_perl I used these commands
perl Makefile.PL \
APACHE_PREFIX=/usr/local/apache \
APACHE_SRC=../apache_1.3.12/src \
USE_APACI=1 \
DO_HTTPD=1 EVERYTHING=1 \
APACI_ARGS='--prefix=/usr/local/apache'

make; make test; make install

Everything went smooth and mod_perl was installed in:)
$> httpd -l
showed mod_perl.c

I finally figured out why all these problems were created because my gcc-lib 
was installed in a weird location. Now this is just one case of AIX with 
perl5.6.0, apache 1.3.12 but I hope my experience would help someone who 
could have the same problem with mod_perl:)

Bye,
Taswar

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: AIX 4.3.2, perl 5.6, mod_perl 1.24, apache 1.3.12 installation problems

2000-08-09 Thread Jens-Uwe Mager

On Wed, Aug 09, 2000 at 04:48:33PM +, Hey Boy wrote:
> I have been going nuts with mod perl now.
> It just doesnt seem to built into apache at all
> Okay here is my platform
> AIX 4.3.2 with gcc 2.95.2
> perl 5.6, apache 1.3.12, mod perl 1.24

perl 5.6 does need some patches that I did post here a while ago.

> Here are the config for mod perl
> perl Makefile.PL DO_HTTPD=1 APACHE_SRC=../apache_1.3.12/src \
> USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
> make; make install.

There is currently a Makefile problem, try this instead (requires that
you build and install Apache with module support):

perl Makefile.PL USE_APXS=1 EVERYTHING=1 \
WITH_APXS=/usr/local/apache/bin/apxs

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:  +49 5131 709320
FAX:+49 5131 709325
Internet:   [EMAIL PROTECTED]



AIX 4.3.2, perl 5.6, mod_perl 1.24, apache 1.3.12 installation problems

2000-08-09 Thread Hey Boy

I have been going nuts with mod perl now.
It just doesnt seem to built into apache at all
Okay here is my platform
AIX 4.3.2 with gcc 2.95.2
perl 5.6, apache 1.3.12, mod perl 1.24

Here are the config for mod perl
perl Makefile.PL DO_HTTPD=1 APACHE_SRC=../apache_1.3.12/src \
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
make; make install.

make test fails to start web server but make install works fine.

Now here are the error message that I get when I make apache
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/perl/libperl.a \
--enable-shared=perl

Config is fine then when I make it gives me these errors a these steps of 
make.
rm -f libperl.so
ld -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.6.0/aix-multi/CORE/perl.exp 
-bE:.
exp -b noentry -lc -L/usr/local/lib -bI:/httpd.exp -o libperl.so mod_perl.lo 
per
lxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo 
Const
ants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo 
File.lo Ta
ble.lo -bE:/usr/local/lib/perl5/5.6.0/aix-multi/CORE/perl.exp  
-L/usr/local/lib
/usr/local/lib/perl5/5.6.0/aix-multi/auto/DynaLoader/DynaLoader.a 
/usr/local/lib
/perl5/5.6.0/aix-multi/auto/B/B.a 
/usr/local/lib/perl5/5.6.0/aix-multi/auto/Byte
Loader/ByteLoader.a 
/usr/local/lib/perl5/5.6.0/aix-multi/auto/Data/Dumper/Dumper
.a /usr/local/lib/perl5/5.6.0/aix-multi/auto/Devel/DProf/DProf.a 
/usr/local/lib/
perl5/5.6.0/aix-multi/auto/Devel/Peek/Peek.a 
/usr/local/lib/perl5/5.6.0/aix-mult
i/auto/Fcntl/Fcntl.a 
/usr/local/lib/perl5/5.6.0/aix-multi/auto/File/Glob/Glob.a
/usr/local/lib/perl5/5.6.0/aix-multi/auto/IO/IO.a 
/usr/local/lib/perl5/5.6.0/aix
-multi/auto/IPC/SysV/SysV.a 
/usr/local/lib/perl5/5.6.0/aix-multi/auto/NDBM_File/
NDBM_File.a /usr/local/lib/perl5/5.6.0/aix-multi/auto/ODBM_File/ODBM_File.a 
/usr
/local/lib/perl5/5.6.0/aix-multi/auto/Opcode/Opcode.a 
/usr/local/lib/perl5/5.6.0
/aix-multi/auto/POSIX/POSIX.a 
/usr/local/lib/perl5/5.6.0/aix-multi/auto/SDBM_Fil
e/SDBM_File.a /usr/local/lib/perl5/5.6.0/aix-multi/auto/Socket/Socket.a 
/usr/loc
al/lib/perl5/5.6.0/aix-multi/auto/Sys/Hostname/Hostname.a 
/usr/local/lib/perl5/5
.6.0/aix-multi/auto/Sys/Syslog/Syslog.a 
/usr/local/lib/perl5/5.6.0/aix-multi/aut
o/attrs/attrs.a /usr/local/lib/perl5/5.6.0/aix-multi/auto/re/re.a 
-L/usr/local/l
ib/perl5/5.6.0/aix-multi/CORE -lperl -lbind -lnsl -ldbm -ldl -lld -lm -lc 
-lcrypt -lbsd -lPW -liconv -ldbm -ldbm -lm
ld: 0706-003 Cannot find or read import file: /httpd.exp
ld:accessx(): A file or directory in the path name does not exist.
ld: 0706-004 Cannot find or read export file: .exp
ld:accessx(): A file or directory in the path name does not exist.
make[4]: *** [libperl.so] Error 255
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
make: *** [build] Error 2

I have the httpd.exp file in the apache_1.3.12/src/support/httpd.exp
But I just dont understand why ld could not find it.
I would really really appreciate if anyone could help me out cuz I have been 
trying to get this to compile and install for 4 days now but nothing seems 
to work.:(

Thanx,
Taswar

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: newbie help installation problems modperl/apache

2000-04-26 Thread Jeff Beard

At 11:07 PM 4/25/00, [EMAIL PROTECTED] wrote:
>  On the various lists to which I tried to get help, the silence
>was deafening.

Probably 'cause I was the only one that didn't see that your work supports 
pornographers. Oh well.

--Jeff


Jeff Beard
___
Web:www.cyberxape.com
Phone:  303.443.9339
Location:   Boulder, CO, USA





Re: newbie help installation problems modperl/apache

2000-04-26 Thread jr

At 11:07 PM 4/25/00 -0700, [EMAIL PROTECTED] wrote:
>There are a few updates however, when I copied the apache httpd module to
>/usr/sbin, mod_perl's configuration step worked without the apxs warning,
>make and make install took longer, and Perlsetenv & perlhandler commands
>worked.  hello.world works.  This tells me that either there is a problem
>with mod_perl's Makefile.PL, or (more likely) there is something leftover
>from the original apache/modperl rpms, which is causing havoc with
>mod_perl's Makefile.PL, and screwing up the install. 
>

I flushed the loadmodules out of httpd.conf, I commented out addmodule of
mod_so (the dynamic module responsible for the loadmodule command) and
removed the --enabled-shared=max out of the apache config statement.
Between that and copying a version of the httpd where the mod_perl config
wants to see it (even though apache source and apache prefix were
specified, and were different) as I described above, things now work.  even
the mod_perl make test works.  whoever said that apache would work by
configure, make and make install lied.

thanks to hints (and I did ) by Jeff Beard, and others.

Now I just need to get my PerlAuthenHandler working, and build the
firewall, and load 2 gig of data, and tailor sendmail and tailor ftp and
fix sftp and 

jr
John Riehl
IBucks, Inc.
Beverly Hills, Ca. 
Supplier of the Hustler GoCards.   




Re: newbie help installation problems modperl/apache

2000-04-25 Thread jr

At 08:24 PM 4/25/00 -0600, you wrote:
>You're reading the right INSTALL doc but make sure you follow the 
>directions un the heading "the flexible way". Not the other one. Also go 
>back and reread all the stuff on compiling and configuring on 
>perl.apache.org/guide too.

Yup, I have been following "the flexible way".   Your instructions follow
this, and this is what I followed.  However, you've heard my results.

There are a few updates however, when I copied the apache httpd module to
/usr/sbin, mod_perl's configuration step worked without the apxs warning,
make and make install took longer, and Perlsetenv & perlhandler commands
worked.  hello.world works.  This tells me that either there is a problem
with mod_perl's Makefile.PL, or (more likely) there is something leftover
from the original apache/modperl rpms, which is causing havoc with
mod_perl's Makefile.PL, and screwing up the install. 

Even though hello world is working, the make test is still failing as it
was before.  Further, there is a libperl.a in apache/src/modules/.  

>It sounds like you on a RH Linux box that has (or had) the rpm Apache 
>distro installed. Make it go away. It's a bad thing IMHO.

Yup.  I had done the rpm -e apache mod_perl.  I didnt see any parts left
over.  I dont have the option of reinstalling the os.  I had to do the
apache source because I needed suexec, and you cant get there from the rpms. 


>You shouldn't even be at item 4 unless you get past make test with no 
>errors.  (Don't get so excited I know it's cool but get it working first.)
>
make test fails, but the other stuff works.  go figure.

>Here's what I do to build Apache/mod_perl on my servers (and I haven't had 
>a problem build in really long time, knock on wood).
>


>cd ../apache_1.3.12
>
>./configure --prefix=/opt/www/httpd \
>--activate-module=src/modules/perl/libperl.a \
>--enable-module=rewrite \
>--enable-module=mmap_static \
>--enable-module=log_referer \
>--enable-module=log_agent
>

when trying to get apache to work (before integrating mod_perl), I couldnt
get functions to work correctly without  --enable-module=most and
--enable-shared=max.  I didnt test combinations of these settings.
without this, none of the loadmodule/addmodule directives in the httpd.conf
worked.   On the various lists to which I tried to get help, the silence
was deafening.  I might try to play with these.  

What does your httpd.conf look like?  Loadmodule/Addmodule?   I do a lot of
webhosting, with a ton of namevirtualhosts, cgi-bins, and .htaccess files.

>Jeff Beard
>
Thanks.

jr
John Riehl
IBucks, Inc.
Beverly Hills, Ca. 




newbie help installation problems modperl/apache

2000-04-25 Thread jr


I am trying to use mod_perl with apache (1.22 & 1.3.12, respectively).  

I am having a multitude of problems, and cannot get hello world even working.

I have loaded down & installed a bunch of cpan modules to support this
(libwww-perl & prerequisites.  this solved some things).

as per the mod_perl INSTALL.apaci, I configure mod_perl for later apache
building. (Everything=1, apaci=1, etc), because of 

issue 1.  when configuring, I get a whole bunch of apxs warnings saying
that it cannot find /usr/sbin/httpd.   (this module is not here, this is
not where it will be).   it then warns me about mod_so, which I know I have
compiled in, because of other parms that I use with apache.  is this a
problem?
(i can make & make install).   how do I tell mod_perl where the httpd
module with be?   

issue 2.  If I build apache, I can start it, run it, do all the other
things I do with it.   If I shut it down, and go back to mod_perl's make
test, it blows chunks.  It fails with a syntax error on line 80 of
t/conf/httpd.conf.  Invalid command 'Alias'.  Does this tell me anything
about what is wrong?  The odd thing is that in my "normal" apache config, I
have about 80 name virtual servers, and I specifically load mod_alias &
similar modules.


issue 3.  apache is configured with
--activate-module=src/modules/perl/libperl.a  (as per the INSTALL.apaci).
However, there is no such file.   there are number of items in this
directory, includign libperl.module  the configuration, make, make install
steps do not have any errors however.

issue 4.  It doesnt work.  using the writing apache modules with perl & c
book, I tried to use a "PerlSetEnv" command. (p.28) configtest says this is
okay, but apache crashes upon starting.   If i try to define a location
(p.31), configtest gives me a syntax error on 'PerlHandler'.   Ultimately,
this tells me that something isnt right.  

jr
john riehl
ibucks, inc.




RE: RE: Re: installation problems

1999-11-24 Thread Stas Bekman


Well, can you build any other perl module that includes XS code? (the one
that requires a compiler to be used?)

> It's installed but not run...
> 
> --
> $rpm -q -a|grep gdbm
> 
> gdbm-1.7.3-19
> 
> 
> - Mensaje original -
> De: Stas Bekman <[EMAIL PROTECTED]>
> Para: "Jesús" "Mª" Lasso "Sánchez" <[EMAIL PROTECTED]>
> Cc: Jeffrey Baker <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Fecha: 24-11-1999-20:35:48
> Asunto: RE: Re: installation problems
> 
> >You probably miss the gdbm package - install it and try again!
> >
> >(It's a part of libs the perl was build with: hint: -lgdbm)
> >
> >please report whether it solved your problem.
> >
> 
> ___
> http://www.correomix.com - correo web gratuito de por vida
> 
> 



___
Stas Bekman  mailto:[EMAIL PROTECTED]www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheavenhttp://www.singlesheaven.com



RE: RE: Re: installation problems

1999-11-24 Thread Jesús Mª Lasso Sánchez

It's installed but not run...

--
$rpm -q -a|grep gdbm

gdbm-1.7.3-19


- Mensaje original -
De: Stas Bekman <[EMAIL PROTECTED]>
Para: "Jesús" "Mª" Lasso "Sánchez" <[EMAIL PROTECTED]>
Cc: Jeffrey Baker <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Fecha: 24-11-1999-20:35:48
Asunto: RE: Re: installation problems

>You probably miss the gdbm package - install it and try again!
>
>(It's a part of libs the perl was build with: hint: -lgdbm)
>
>please report whether it solved your problem.
>

___
http://www.correomix.com - correo web gratuito de por vida



RE: Re: installation problems

1999-11-24 Thread Stas Bekman

You probably miss the gdbm package - install it and try again!

(It's a part of libs the perl was build with: hint: -lgdbm)

please report whether it solved your problem.

> 
> - Mensaje original -
> De: Jeffrey Baker <[EMAIL PROTECTED]>
> Para: Jesús Mª Lasso Sánchez <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Fecha: 24-11-1999-08:29:02
> Asunto: Re: installation problems
> 
> >Could you send the output of 'perl -V' and 'which `perl -V:cc`?  Also
> >what command line did you use for Makefile.PL?
> >
> >-jwb
> >-- 
> >Jeffrey W. Baker * [EMAIL PROTECTED]
> >Critical Path, Inc. * we handle the world's email * www.cp.net
> >415.808.8807
> 
> I just use "perl Makefile.PL" as INSTALL file describes
> 
> This is the output of 'perl -V'
> 
> 
>--
> 
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>   Platform:
> osname=linux, osvers=2.2.1-ac1, archname=i386-linux
> uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est
> 1999 i686 unknown '
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
> cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2
> release)
> cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
> ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
> stdchar='char', d_stdstdio=undef, usevfork=false
> intsize=4, longsize=4, ptrsize=4, doublesize=8
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> alignbytes=4, usemymalloc=n, prototype=define
>   Linker and Libraries:
> ld='cc', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib
> libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
> libc=, so=so, useshrplib=false, libperl=libperl.a
>   Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
>   Built under linux
>   Compiled at Apr  6 1999 23:34:07
>   @INC:
> /usr/lib/perl5/5.00503/i386-linux
> /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005
> 
> 
>--
> 
> thanks
> ___
> http://www.correomix.com - correo web gratuito de por vida
> 
> 



___
Stas Bekman  mailto:[EMAIL PROTECTED]www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheavenhttp://www.singlesheaven.com



RE: Re: installation problems

1999-11-24 Thread Jesús Mª Lasso Sánchez


- Mensaje original -
De: Jeffrey Baker <[EMAIL PROTECTED]>
Para: Jesús Mª Lasso Sánchez <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Fecha: 24-11-1999-08:29:02
Asunto: Re: installation problems

>Could you send the output of 'perl -V' and 'which `perl -V:cc`?  Also
>what command line did you use for Makefile.PL?
>
>-jwb
>-- 
>Jeffrey W. Baker * [EMAIL PROTECTED]
>Critical Path, Inc. * we handle the world's email * www.cp.net
>415.808.8807

I just use "perl Makefile.PL" as INSTALL file describes

This is the output of 'perl -V'

--

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
osname=linux, osvers=2.2.1-ac1, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est
1999 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Apr  6 1999 23:34:07
  @INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005

--

thanks
___
http://www.correomix.com - correo web gratuito de por vida



Re: installation problems

1999-11-24 Thread Jeffrey Baker

"Jesús Mª Lasso Sánchez" wrote:
> 
> hi:
> 
>   I'm working with linux servers based on RedHat 6.0 with Apache 1.3.9.
> 
>   My problem is when compile the mod_perl module before to install Apache. More 
>exactly when i'm doing: perl Makefile.PL
> 
>   it produces this error when is creating the makefile:
> 
> 
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
>  Aborting!
> 
> 
> the OS is RedHat 6.0 and the c compiler is the packet "egcs". The problem just 
>happen when compile "mod_perl". I compiled Apache 1.3.9 without problems.

Could you send the output of 'perl -V' and 'which `perl -V:cc`?  Also
what command line did you use for Makefile.PL?

-jwb
-- 
Jeffrey W. Baker * [EMAIL PROTECTED]
Critical Path, Inc. * we handle the world's email * www.cp.net
415.808.8807



installation problems

1999-11-24 Thread Jesús Mª Lasso Sánchez

hi:

  I'm working with linux servers based on RedHat 6.0 with Apache 1.3.9.

  My problem is when compile the mod_perl module before to install Apache. More 
exactly when i'm doing: perl Makefile.PL

  it produces this error when is creating the makefile:


+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!



the OS is RedHat 6.0 and the c compiler is the packet "egcs". The problem just happen 
when compile "mod_perl". I compiled Apache 1.3.9 without problems.

somebody can help me, please?
___
http://www.correomix.com - correo web gratuito de por vida



installation problems with mod_perl

1999-11-02 Thread Eva Neuberger

Hi,

I am installing apache_1.3.6 and mod_perl_1.21 with Perl 5.005_02
and on Linux Suse 6.0 .
 I untar them in two subdirectories on the same homedirectory, then I 
changed  into the mod_perl directory and typed (as root):
perl Makefile.PL APACHE_SRC=../apache_1.3.6/src
APACHE_PREFIX=/usr/local/apache  DO_HTTPD=1 USE_APACI=1
EVERYTHING=1

I've got some warnings:

Creating Configuration.apaci in src
  + id: mod_perl/1.21
  + id: Perl/5.00502 (linux) [perl]
/usr/i486-linux/bin/ld: warning: libc.so.5, needed by /lib/libdl.so,
may conflict with libc.so.6 
/usr/i486-linux/bin/ld: warning:libc.so.5, needed by /lib/libdl.so, 
may conflict with libc.so.6 
/lib/libc.so.5: warning: `siggetmask' is obsolete; `sigprocmask' is 
best 
/lib/libc.so.5: the `getwd' function is dangerous and should not 
be used. 
/lib/libc.so.5: the `gets' function is dangerous and should 
not be used.
 Creating Makefile in src + configured for Linux platform
.
make gives the same warnings
make test gives the same warnings and:
 
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.6/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529 
will write error_log to: t/logs/error_log
letting apache warm up...\c 
done 
/usr/bin/perl t/TEST 0 still waiting
for server to warm upnot ok 
server failed to start! at
t/TEST line 95. make: *** [run_tests] Error 9

There are no logs in t/logs
I've changed in t/TEST
for (1..3) {
sleep 1;!! here to 5
if (simple_fetch "/test.html") {
print "ok\n";

But I've got the same result.
-
Now I've tested mod_perl_1.21 and apache_1.3.6 on an other 
machine with Linux Suse 6.2 , Perl 5.005_03 

perl Makefile.PL APACHE_SRC=../apache_1.3.6/src DO_HTTPD=1
PREP_HTTPD=1 USE_APACI=1 EVERYTHING=1

Everything is ok, then typing make
. 
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -pipe   
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
-I/usr/lib/perl5/5.00503/i586-linux/CORE  Leak.c 
In file included from Leak.xs:12: 
/usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of 
`union semun' 
make[1]: *** [Leak.o] Error 1 
make[1]: Leaving directory `/usr/src/mod_perl-1.21/Leak' 
make: *** [subdirs] Error 2
and with

perl Makefile.PL 
APACHE_SRC=../apache_1.3.6/src APACHE_PREFIX=/usr/local/apache 
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

I've got
cc -c -I../..  -I/usr/lib/perl5/5.00503/i586-linux/CORE 
-I../../os/unix -I../../include   -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI
-Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX
`../../apaci` mod_include.c 
In file included from ../../modules/perl/mod_perl.h:41,
 from mod_include.c:85:
/usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of
`union semun' 
make[5]: *** [mod_include.o] Error 1 
make[4]: *** [all] Error 1 
make[3]: *** [subdirs] Error 1 
make[3]: Leaving directory`/usr/src/apache_1.3.6/src' 
make[2]: *** [build-std] Error 2 
make[2]: Leaving directory`/usr/src/apache_1.3.6' 
make[1]: ***[build] Error 2 
make[1]: Leaving directory`/usr/src/apache_1.3.6' 
make: *** [apaci_httpd] Error 2


Can anybody please help me?
Best regards
Eva Neuberger
[EMAIL PROTECTED]



Re: installation problems

1999-10-24 Thread Stas Bekman

> I would like to install mod_perl within the apache (statically linked).
> 
> I would like to leave the machine's perl as is, and not to change it at
> all.
> 
> So, as I run 'make install' I am not using the root user, and then I get
> the error - cannot write to /usr/loca/bin/perl5..
> I do not want to write anything there.
> 
> I have created this makepl_args.mod_perl:
> APACHE_SRC=/www/apache/v1.3.9/src \
>  PREFIX=/www/apache/v1.3.9 \
>  PREFIX=/www/apache/v1.3.9 \
>  DO_HTTPD=1 \
>  USE_APACI=1 \
>  PREP_HTTPD=1 \
>  EVERYTHING=1
> 
> Isn't that enough ? what else should I do ? Or must I use the root user,
> and have the machine's perl changed a bit ?

If you want to install into an areas writable by root only, you obviously
have to be root.

If you want to install the modules in user space, see:
http://stason.org/stas/TULARC/webmaster/myfaq.html#7



___
Stas Bekman  mailto:[EMAIL PROTECTED]www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheavenhttp://www.singlesheaven.com



Re: installation problems

1999-10-21 Thread James G Smith

Matt Sergeant <[EMAIL PROTECTED]> wrote:
>After all that you'll have to have some way to add that new perl libs
>directory to @INC before mod_perl starts. I don't know how to do that but I
>assume it's possible. Probably as simple as:
>
>
>   use lib '/www/apache/perl/lib';
>
>
>in your httpd.conf - but I'm guessing.

If you look in the mod_perl book, you will see that @INC includes 
approximately $server_root/lib.  I put my extra libraries in 
$server_root/lib/perl and they work without any modifications to @INC.
-- 
James Smith <[EMAIL PROTECTED]>, 409-862-3725
Texas A&M CIS Operating Systems Group, Unix




Re: installation problems

1999-10-21 Thread Matt Sergeant

On Thu, 21 Oct 1999, Shay Mandel wrote:
> Hi all,
> 
> I would like to install mod_perl within the apache (statically linked).
> 
> I would like to leave the machine's perl as is, and not to change it at
> all.
> 
> So, as I run 'make install' I am not using the root user, and then I get
> the error - cannot write to /usr/loca/bin/perl5..
> I do not want to write anything there.
> 
> I have created this makepl_args.mod_perl:
> APACHE_SRC=/www/apache/v1.3.9/src \
>  PREFIX=/www/apache/v1.3.9 \
>  PREFIX=/www/apache/v1.3.9 \
>  DO_HTTPD=1 \
>  USE_APACI=1 \
>  PREP_HTTPD=1 \
>  EVERYTHING=1
> 
> Isn't that enough ? what else should I do ? Or must I use the root user,
> and have the machine's perl changed a bit ?

It's trying to install the Apache::* libraries and documentation there. I'm
guessing, but there should be a Makefile.PL somewhere that you can run with:

perl Makefile.PL LIB=/www/apache/perl/lib

to install in that directory instead. However I don't know if that Makefile
will get overwritten by the build process (if so you can add that option to
the call to WriteMakefile() in Makefile.PL in your editor).

After all that you'll have to have some way to add that new perl libs
directory to @INC before mod_perl starts. I don't know how to do that but I
assume it's possible. Probably as simple as:


use lib '/www/apache/perl/lib';


in your httpd.conf - but I'm guessing.

--


Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.



installation problems

1999-10-21 Thread Shay Mandel

Hi all,

I would like to install mod_perl within the apache (statically linked).

I would like to leave the machine's perl as is, and not to change it at
all.

So, as I run 'make install' I am not using the root user, and then I get
the error - cannot write to /usr/loca/bin/perl5..
I do not want to write anything there.

I have created this makepl_args.mod_perl:
APACHE_SRC=/www/apache/v1.3.9/src \
 PREFIX=/www/apache/v1.3.9 \
 PREFIX=/www/apache/v1.3.9 \
 DO_HTTPD=1 \
 USE_APACI=1 \
 PREP_HTTPD=1 \
 EVERYTHING=1

Isn't that enough ? what else should I do ? Or must I use the root user,
and have the machine's perl changed a bit ?

Thanks in advance.
Shay.