Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

compiling mod_perl 1x + Apache 1 on Debian

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


domm at cpan

Feb 29, 2012, 1:20 AM

Post #1 of 3 (474 views)
Permalink
compiling mod_perl 1x + Apache 1 on Debian

Hi!

A rather old legacy projects need to be recompiled, but neither mod_perl
nor Apache seem to be compilable.

Any hints/ideas?

~$ uname -a
Linux laptop 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64
GNU/Linux
(same on:
Linux server 2.6.26-2-openvz-amd64 #1 SMP Mon Jun 13 17:16:12 UTC
2011 x86_64 GNU/Linux
)


~$ wget http://archive.apache.org/dist/httpd/apache_1.3.42.tar.gz
~$ tar xzf apache_1.3.42.tar.gz
~$ cd apache_1.3.42
~/apache_1.3.42$ ./configure --prefix=/opt/apache1

Configuring for Apache, Version 1.3.42
+ Warning: Your 'echo' command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried 'echo -E' but had no real success. If errors occur
+ please set the SEO variable in 'configure' manually to
+ the required 'echo' options, i.e. those which force your
+ 'echo' to not interpret escape sequences per default.

+ NOTE: You may also need to edit the shell invoked by
+ 'configure'. Some shells (e.g. dash) have a
+ faulty echo builtin.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Syntax error --- The configuration file is used only to
define the list of included modules or to set Makefile in src
options or Configure rules, and I don't see that at all:
`$(SRCDIR)/apaci`
default
default
no
no
no
yes
no
default
no
default
default
(ca 20 linebreaks)

of course make doesn't work now:

~/apache_1.3.42$ make
===> src
make[1]: Entering directory `/home/domm/install/apache_1.3.42'
make[2]: Entering directory `/home/domm/install/apache_1.3.42/src'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/home/domm/install/apache_1.3.42/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/domm/install/apache_1.3.42'
make: *** [build] Error 2




--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}


milu71 at gmx

Feb 29, 2012, 2:16 PM

Post #2 of 3 (447 views)
Permalink
Re: compiling mod_perl 1x + Apache 1 on Debian [In reply to]

Thomas Klausner schrieb am 29.02.2012 um 10:20 (+0100):

> ~/apache_1.3.42$ ./configure --prefix=/opt/apache1
>
> Configuring for Apache, Version 1.3.42
> + Warning: Your 'echo' command is slightly broken.
> + It interprets escape sequences per default. We already
> + tried 'echo -E' but had no real success. If errors occur
> + please set the SEO variable in 'configure' manually to
> + the required 'echo' options, i.e. those which force your
> + 'echo' to not interpret escape sequences per default.

Did you heed that warning?

Michael

> + NOTE: You may also need to edit the shell invoked by
> + 'configure'. Some shells (e.g. dash) have a
> + faulty echo builtin.
> + using installation path layout: Apache (config.layout)
> Creating Makefile
> Creating Configuration.apaci in src
> Syntax error --- The configuration file is used only to
> define the list of included modules or to set Makefile in src
> options or Configure rules, and I don't see that at all:


domm at cpan

Feb 29, 2012, 11:54 PM

Post #3 of 3 (446 views)
Permalink
Re: compiling mod_perl 1x + Apache 1 on Debian [In reply to]

Hi!

On Wed, Feb 29, 2012 at 11:16:44PM +0100, Michael Ludwig wrote:

> > Configuring for Apache, Version 1.3.42
> > + Warning: Your 'echo' command is slightly broken.
> > + It interprets escape sequences per default. We already
> > + tried 'echo -E' but had no real success. If errors occur
> > + please set the SEO variable in 'configure' manually to
> > + the required 'echo' options, i.e. those which force your
> > + 'echo' to not interpret escape sequences per default.
>
> Did you heed that warning?

No, mainly because I was a bit stressed and have no idea what the
correct echo options might be. A colleague suggested using bash instead
of dash (which I seem to be using).

In the end porting the code to mod_perl2 was easier for me, being a good
coder and a lousy sysadmin :-)

But thanks anyway,
domm


--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.