Re: Not even beginning - INSTALL HELP

2001-02-28 Thread A. Santillan Iturres

Finally I reinstalled Perl 5.6 and mod_perl installed without problems.
I am really new to mod_perl and I don't know if mod_perl is running well.
How can I know?

I would like to test if my script is running under mod_perl so I wrote the
following from the faqs but nothing happens (nothing is written):

#!/usr/bin/perl
if (exists $ENV{"MOD_PERL"}){ #if running under mod_perl
print "first test\n";
}
if($ENV{"GATEWAY_INTERFACE"} eq "CGI-Perl/1.1"){
print "second test\n";
}

Will this work as a test to know if mod_perl is running?


Thanks

Alejandro





- Original Message -
From: "Kurt Hansen" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 6:43 PM
Subject: Re: Not even beginning - INSTALL HELP


> Alejandro wrote:
>
> > Another question:
> > If I plan to use the DBD modules in the future, should they be installed
> > before mod_perl, or is it the same?
>
> The DBD modules are independent of the mod_perl, so you should be able to
> install them whenever.  I mentioned them for completeness sake since it
was
> something I did. Also, DBI, DBD, et al. are a critical part of our
solution.
> If you don't use them now, no need to install them now.
>
> Take care,
>
> Kurt
>
>
>




Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

That's the kind of solution I think will work. Starting all over again.
The only doubt from my side is that this a BRAND NEW installation.
Anyway I think it should be done again.
Another question:
If I plan to use the DBD modules in the future, should they be installed
before mod_perl, or is it the same?

Thanks
Alejandro

- Original Message -
From: "Kurt Hansen" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:36 PM
Subject: Re: Not even beginning - INSTALL HELP


> Hello Alejandro,
>
> > I did not build Perl myself. It is the Perl that comes from rpm's with
> RH7.0
> > distro.
> > Idem gcc and Apache.
> > It seems that there is something I am missing.
> > I do have Apache
> > I do have gcc
> > I do have perl
> > I do have mod_perl-1.25.gcc
>
> I'm not sure if this will help, but your situation sounds similar --
though
> not exact -- to one I just faced over the weekend.
>
> I upgraded a development system to RH6.1 from RH5.2 (ok, I'm a bit behind
> the times, but I that's the RH CD-ROM I had available. Also, not quite
ready
> for perl 5.6.0, given some of the programs we use.) I was also upgrading
> from Apache 1.3.6 -- Raven SSL 1.4.1 -- mod_perl 1.21 to Apache 1.3.12 --
> Raven SSL 1.4.3 -- mod_perl 1.25. My segfault did not happen during the
> compile, but whenever the server was accessed.  The child segfaulted.
>
> I went through a few hickups, like having CPAN.pm try to install 5.6.0,
and
> only was able to fix the problem by starting over with a clean
installation
> of perl 5.005_3, mod_perl 1.24, the DBD modules, apache 1.3.12, Raven
1.4.3.
> When I started clean, everything worked perfectly according to the
> directions in the INSTALL.x docs in the mod_perl directory!
>
> Don't know what exactly caused the problem, but maybe starting over with
> mod_perl 1.24 would help?
>
> Take care,
>
> Kurt Hansen
> [EMAIL PROTECTED]
>
>
>




Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

I really don't think RH7.0 is the problem.
I am trying to figure out what it is, yet unsuccesfully.
I'll explain the solution when I get it.

Thank you very much.

Alejandro

- Original Message -
From: "Peter J. Schoenster" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 6:51 PM
Subject: Re: Not even beginning - INSTALL HELP


> On 27 Feb 2001, at 17:08, A. Santillan Iturres wrote:
>
> > Thank you Peter, I will take a look at the guide you mentioned.
> > The puzzle to me now is that I have 3 similar boxes with RH7.0 and this
is
> > the only one that is performing errors while doing perl Makefile.PL
> > The others (which are not original RH7.0 installations but upgrades from
> > RH6.2) worked fine.
> > My worry is that I will reinstall Apache from source and I have a chance
to
> > still get the same error.
> > This is why I am asking for reasons for a segmentation fault while doing
> > perl Makefile.PL
>
> Ah ... I see.  I'm no help then :( ... but when you do discover the
> problem or find the work around I'd like to know. I still use old
> versions of linux and I might run into this in the future.
>
> Peter
>
>
> ---
> "Reality is that which, when you stop believing in it, doesn't go
> away".
> -- Philip K. Dick
>




Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

Thank you Peter, I will take a look at the guide you mentioned.
The puzzle to me now is that I have 3 similar boxes with RH7.0 and this is
the only one that is performing errors while doing perl Makefile.PL
The others (which are not original RH7.0 installations but upgrades from
RH6.2) worked fine.
My worry is that I will reinstall Apache from source and I have a chance to
still get the same error.
This is why I am asking for reasons for a segmentation fault while doing
perl Makefile.PL

Thank you
Alejandro

- Original Message -
From: "Peter J. Schoenster" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:24 PM
Subject: Re: Not even beginning - INSTALL HELP


> On 27 Feb 2001, at 16:26, A. Santillan Iturres wrote:
>
> > I did not build Perl myself. It is the Perl that comes from rpm's with
RH7.0
> > distro.
> > Idem gcc and Apache.
> > It seems that there is something I am missing.
> > I do have Apache
> > I do have gcc
> > I do have perl
> > I do have mod_perl-1.25.gcc
> >
> > Is there anything more needed?
>
> I would get rid of the default Apache that might come with an install
> of redhat. Install apache and mod_perl from source according this
> guide below:
>
> http://thingy.kcilink.com/modperlguide/install/index.html
>
> Follow that guide (or the readme with mod_perl), it's worked for me
> many, many times.  I install redhat, install my own apache
> (removing traces of any other install if necessary) with mod_perl
> and I've never had much trouble :)
>
> Peter
>
> ---
> "Reality is that which, when you stop believing in it, doesn't go
> away".
> -- Philip K. Dick
>






Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

Thank you Peter, I will take a look at the guide you mentioned.
The puzzle to me now is that I have 3 similar boxes with RH7.0 and this is
the only one that is performing errors while doing perl Makefile.PL
The others (which are not original RH7.0 installations but upgrades from
RH6.2) worked fine.
My worry is that I will reinstall Apache from source and I have a chance to
still get the same error.
This is why I am asking for reasons for a segmentation fault while doing
perl Makefile.PL

Thank you
Alejandro

- Original Message -
From: "Peter J. Schoenster" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:24 PM
Subject: Re: Not even beginning - INSTALL HELP


> On 27 Feb 2001, at 16:26, A. Santillan Iturres wrote:
>
> > I did not build Perl myself. It is the Perl that comes from rpm's with
RH7.0
> > distro.
> > Idem gcc and Apache.
> > It seems that there is something I am missing.
> > I do have Apache
> > I do have gcc
> > I do have perl
> > I do have mod_perl-1.25.gcc
> >
> > Is there anything more needed?
>
> I would get rid of the default Apache that might come with an install
> of redhat. Install apache and mod_perl from source according this
> guide below:
>
> http://thingy.kcilink.com/modperlguide/install/index.html
>
> Follow that guide (or the readme with mod_perl), it's worked for me
> many, many times.  I install redhat, install my own apache
> (removing traces of any other install if necessary) with mod_perl
> and I've never had much trouble :)
>
> Peter
>
> ---
> "Reality is that which, when you stop believing in it, doesn't go
> away".
> -- Philip K. Dick
>





Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

Thank you Peter, I will take a look at the guide you mentioned.
The puzzle to me now is that I have 3 similar boxes with RH7.0 and this is
the only one that is performing errors while doing perl Makefile.PL
The others (which are not original RH7.0 installations but upgrades from
RH6.2) worked fine.
My worry is that I will reinstall Apache from source and I have a chance to
still get the same error.
This is why I am asking for reasons for a segmentation fault while doing
perl Makefile.PL

Thank you
Alejandro

- Original Message -
From: "Peter J. Schoenster" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:24 PM
Subject: Re: Not even beginning - INSTALL HELP


> On 27 Feb 2001, at 16:26, A. Santillan Iturres wrote:
>
> > I did not build Perl myself. It is the Perl that comes from rpm's with
RH7.0
> > distro.
> > Idem gcc and Apache.
> > It seems that there is something I am missing.
> > I do have Apache
> > I do have gcc
> > I do have perl
> > I do have mod_perl-1.25.gcc
> >
> > Is there anything more needed?
>
> I would get rid of the default Apache that might come with an install
> of redhat. Install apache and mod_perl from source according this
> guide below:
>
> http://thingy.kcilink.com/modperlguide/install/index.html
>
> Follow that guide (or the readme with mod_perl), it's worked for me
> many, many times.  I install redhat, install my own apache
> (removing traces of any other install if necessary) with mod_perl
> and I've never had much trouble :)
>
> Peter
>
> ---
> "Reality is that which, when you stop believing in it, doesn't go
> away".
> -- Philip K. Dick
>





Re: Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

I did not build Perl myself. It is the Perl that comes from rpm's with RH7.0
distro.
Idem gcc and Apache.
It seems that there is something I am missing.
I do have Apache
I do have gcc
I do have perl
I do have mod_perl-1.25.gcc

Is there anything more needed?

Thanks
Alejandro

- Original Message -
From: "G.W. Haywood" <[EMAIL PROTECTED]>
To: "A. Santillan Iturres" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 2:27 PM
Subject: Re: Not even beginning - INSTALL HELP


> Hi there,
>
> On Tue, 27 Feb 2001, A. Santillan Iturres wrote:
>
> > I have Apache 1.3.12 running on a RedHat 7.0 box with perl, v5.6.0 built
for
> > i386-linux
> > I went to install mod_perl-1.25:
> > When I did:
> > perl Makefile.PL
> > I've got a:
> > Segmentation fault (core dumped)
>
> Did you build your Perl yourself?  Sounds like there's a problem with
> it.  Check out the mod_perl List archives for problems with gcc (the C
> compiler) that was shipped with RedHat 7.0.  You should probably get
> that replaced to start with.  (Or use Slackware - sorry:)
>
> 73,
> Ged.
>
>




Not even beginning - INSTALL HELP

2001-02-27 Thread A. Santillan Iturres

I have Apache 1.3.12 running on a RedHat 7.0 box with perl, v5.6.0 built for
i386-linux
I went to install mod_perl-1.25:
When I did:
perl Makefile.PL
I've got a:
Segmentation fault (core dumped)

What should I do next? I could not even begin!

Thanks to any guide.
Alejandro