Re: Installation problem...urgent

2001-08-22 Thread Ged Haywood

Hi there,

On Tue, 21 Aug 2001, Alvaro Toro Santivanez wrote:

 i need run mod_perl and apache urgent 

If you are new to mod_perl (and Linux?)you will probably find that it
is a rather complex environment.  You will need to do a great deal of
learning before you can quickly and easily compile, install and
configure mod_perl servers.  Amongst other things it simply is not
safe to put a server on the Web if you don't have a reasonable
understanding of how it all hangs together.  This is explained for
example at the top of the httpd.conf which comes with the Apache
distribution.  And it is not just your own machine that you might be
compromising if you allow a badly configured machine on the Internet,
you may be creating a place which unsociable types can use to create a
lot of nuisance to other people.  So be careful.

On the other hand if you are working in a controlled environment like
an intranet the risks may be different.  Of course we don't know what
you are doing because you have not been very forthcoming with the
information.  It will help us to help you if you try to change that.

 i`m red hat 7.0 user.

The compiler which comes with Red Hat 7.0 has some problems, you
should perhaps upgrade it, or alternatively upgrade to Red Hat 7.1
which I think contains the fixed compiler.

Have you successfully configured Apache?  You should satisfy yourself
that you can get Apache to serve static pages before trying to get
mod_perl to work.  Red Hat comes with RPMs containing Apache built
ready to load mod_perl as a DSO.  This means that you can compile an
Apache module like mod_perl and load it into Apache without having to
recompile Apache, but there are things to consider and it has its
disadvantages.  If I were you I'd build the whole thing (including
Apache) from the beginning, compiling mod_perl into Apache statically.
It's very easy.  Try to get used to how things go when you do that,
you will start to get the feel for the sort of messages that you will
see flying past on the screen, what is normal and what is not normal.
Be patient.  Rome wasn't built in a day.  You are using many, many
man-years-worth of software when you build and use a mod_perl server
and it will take some time to gain even a superficial familiarity.

IMHO Red Hat makes the startup and shutdown of Apache slightly more
confusing than necessary but you don't need to use the same methods.
Just make sure (using 'ps') that you have no other Apaches running
when you try to start one which you build yourself.  'kill -15' any
other Apache parent process if you like (as long as you're sure it
isn't being used by anyone else:).  The parent httpd usually has the
lowest PID of all of them.  It's all in the Guide.  You will probably
need to read it several times before you can claim to be a competent
mod_perl administrator.

You really should take a look at the SUPPORT file which comes with the
mod_perl distribution.
 
73,
Ged.




Installation problem...urgent

2001-08-21 Thread Alvaro Toro Santivanez

Hello i have one problem when i install in the part: 

INSTALLATION SCENARIOS FOR STANDALONE MOD_PERL
THE FLEXIBLE WAY
Build the Apache Package
Finally it's time to build the Apache package and thus also the
Apache-side of mod_perl and any other third-party modules you've
prepared:

 $ cd apache_x.x.x
  $ ./configure \
  --prefix=/path/to/install/of/apache \
  --activate-module=src/modules/perl/libperl.a \
  [...]
  $ make
  $ make install

My apache configuration can`t take the option
---activate-module=src/modules/perl/libperl.a
Print Error ivalid option

What can i do for resolve this problem
Thanks for your help.

Regards
Alvaro Toro Santivanez





Re: Installation problem...urgent

2001-08-21 Thread Alvaro Toro Santivanez

Thanks for your help,  sorry i type bad in my e-mail  i  only put
--activate and try the ./configure but continue marking the ERROR
The version of apache is 1.3.20  and my mod_perl is 1.26

Thanks for your help
Regards
Alvaro 


On Tue, 21 Aug 2001, Robert Landrum wrote:

 At 6:02 PM -0400 8/21/01, Alvaro Toro Santivanez wrote:
 Hello i have one problem when i install in the part:
 
 INSTALLATION SCENARIOS FOR STANDALONE MOD_PERL
 THE FLEXIBLE WAY
 Build the Apache Package
 Finally it's time to build the Apache package and thus also the
 Apache-side of mod_perl and any other third-party modules you've
 prepared:
 
  $ cd apache_x.x.x
   $ ./configure \
   --prefix=/path/to/install/of/apache \
   --activate-module=src/modules/perl/libperl.a \
   [...]
   $ make
   $ make install
 
 My apache configuration can`t take the option
 ---activate-module=src/modules/perl/libperl.a
 
 Assuming that the extra '-' at the beginning of activate-module is 
 not a typo, that would be your problem.  Otherwise, I think we'll 
 need some more information.
 
 Remember: when posting to the list, be sure to include everything 
 that's requested in the SUPPORT file included with you mod_perl 
 distribution.
 
 Robert Landrum
 
 
 --
 A good magician never reveals his secret; the unbelievable trick
 becomes simple and obvious once it is explained. So too with UNIX. 
 




Re: Installation problem...urgent

2001-08-21 Thread Robert Landrum

At 6:30 PM -0400 8/21/01, Alvaro Toro Santivanez wrote:
Thanks for your help,  sorry i type bad in my e-mail  i  only put
--activate and try the ./configure but continue marking the ERROR
The version of apache is 1.3.20  and my mod_perl is 1.26

 From the SUPPORT file included with the mod_perl distribution:

 Always include this information:

 Output of Cperl -V



We'll need this...


 Version of mod_perl


1.26.


 Version of apache


1.3.20


 Options given to mod_perl's Makefile.PL


Need this too


 Server configuration details


Probably not relevent yet, but could you include all the options you 
passed to ./configure?


 Relevant sections of your ErrorLog (make test's is: t/logs/error_log)


Not Applicable yet.
 
 If 'make test' fails, the output of 'make test TEST_VERBOSE=1'
Again, Not Applicable.

Robert Landrum


Thanks for your help
Regards
Alvaro


On Tue, 21 Aug 2001, Robert Landrum wrote:

 At 6:02 PM -0400 8/21/01, Alvaro Toro Santivanez wrote:
 Hello i have one problem when i install in the part:
 
 INSTALLATION SCENARIOS FOR STANDALONE MOD_PERL
 THE FLEXIBLE WAY
 Build the Apache Package
 Finally it's time to build the Apache package and thus also the
 Apache-side of mod_perl and any other third-party modules you've
 prepared:
 
  $ cd apache_x.x.x
   $ ./configure \
   --prefix=/path/to/install/of/apache \
   --activate-module=src/modules/perl/libperl.a \
   [...]
   $ make
   $ make install
 
 My apache configuration can`t take the option
 ---activate-module=src/modules/perl/libperl.a

 Assuming that the extra '-' at the beginning of activate-module is
 not a typo, that would be your problem.  Otherwise, I think we'll
 need some more information.

 Remember: when posting to the list, be sure to include everything
 that's requested in the SUPPORT file included with you mod_perl
 distribution.

 Robert Landrum


 --
 A good magician never reveals his secret; the unbelievable trick
 becomes simple and obvious once it is explained. So too with UNIX.




--
A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with UNIX. 



Re: Installation problem...urgent

2001-08-21 Thread Robert

   $ make
   $ make install
 
 My apache configuration can`t take the option
 ---activate-module=src/modules/perl/libperl.a

This is because Alvaro hasn't yet installed mod_perl.

configure apache (only)
configure and make/install mod_perl
make/install apache

Robert


 At 6:30 PM -0400 8/21/01, Alvaro Toro Santivanez wrote:
 Thanks for your help,  sorry i type bad in my e-mail  i  only put
 --activate and try the ./configure but continue marking the ERROR
 The version of apache is 1.3.20  and my mod_perl is 1.26
 
  From the SUPPORT file included with the mod_perl distribution:
 
  Always include this information:
 
  Output of Cperl -V
 
 
 
 We'll need this...
 
 
  Version of mod_perl
 
 
 1.26.
 
 
  Version of apache
 
 
 1.3.20
 
 
  Options given to mod_perl's Makefile.PL
 
 
 Need this too
 
 
  Server configuration details
 
 
 Probably not relevent yet, but could you include all the options you 
 passed to ./configure?
 
 
  Relevant sections of your ErrorLog (make test's is: t/logs/error_log)
 
 
 Not Applicable yet.
  
  If 'make test' fails, the output of 'make test TEST_VERBOSE=1'
 Again, Not Applicable.
 
 Robert Landrum
 
 
 Thanks for your help
 Regards
 Alvaro
 
 
 On Tue, 21 Aug 2001, Robert Landrum wrote:
 
  At 6:02 PM -0400 8/21/01, Alvaro Toro Santivanez wrote:
  Hello i have one problem when i install in the part:
  
  INSTALLATION SCENARIOS FOR STANDALONE MOD_PERL
  THE FLEXIBLE WAY
  Build the Apache Package
  Finally it's time to build the Apache package and thus also the
  Apache-side of mod_perl and any other third-party modules you've
  prepared:
  
   $ cd apache_x.x.x
$ ./configure \
--prefix=/path/to/install/of/apache \
--activate-module=src/modules/perl/libperl.a \
[...]
$ make
$ make install
  
  My apache configuration can`t take the option
  ---activate-module=src/modules/perl/libperl.a
 
  Assuming that the extra '-' at the beginning of activate-module is
  not a typo, that would be your problem.  Otherwise, I think we'll
  need some more information.
 
  Remember: when posting to the list, be sure to include everything
  that's requested in the SUPPORT file included with you mod_perl
  distribution.
 
  Robert Landrum
 
 
  --
  A good magician never reveals his secret; the unbelievable trick
  becomes simple and obvious once it is explained. So too with UNIX.
 
 
 
 
 --
 A good magician never reveals his secret; the unbelievable trick
 becomes simple and obvious once it is explained. So too with UNIX. 
 




Re: Installation problem...urgent

2001-08-21 Thread Robert Landrum

At 8:45 AM +1000 8/22/01, Robert wrote:
$ make
   $ make install
 
 My apache configuration can`t take the option
 ---activate-module=src/modules/perl/libperl.a

This is because Alvaro hasn't yet installed mod_perl.

configure apache (only)
configure and make/install mod_perl
make/install apache


Hmm... Then that would be the problem.  I always go the way of the guide

http://perl.apache.org/guide/install.html

http://perl.apache.org/guide


perl Makefile.PL DO_HTTPD=1 EVERYTHING=1 
APACI_ARGS='--prefix=/usr/local/apache' is the one I always use

Rob

--
A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with UNIX. 



Re: Installation problem...urgent

2001-08-21 Thread Alvaro Toro Santivanez

Thanks for your help Robert, i try configure apache only,  them mod perl
them apache, At this moment  i`m use the guide but i try the option of the and
this option produce my error.

Please i need your help, i need run mod_perl and apache urgent i`m red hat
7.0 user.

Thanks
Regards 
Alvaro


On Tue, 21 Aug 2001, Robert Landrum wrote:

 At 8:45 AM +1000 8/22/01, Robert wrote:
 $ make
$ make install
  
  My apache configuration can`t take the option
  ---activate-module=src/modules/perl/libperl.a
 
 This is because Alvaro hasn't yet installed mod_perl.
 
 configure apache (only)
 configure and make/install mod_perl
 make/install apache
 
 
 Hmm... Then that would be the problem.  I always go the way of the guide
 
 http://perl.apache.org/guide/install.html
 
 http://perl.apache.org/guide
 
 
 perl Makefile.PL DO_HTTPD=1 EVERYTHING=1 
 APACI_ARGS='--prefix=/usr/local/apache' is the one I always use
 
 Rob
 
 --
 A good magician never reveals his secret; the unbelievable trick
 becomes simple and obvious once it is explained. So too with UNIX.