You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Thomas Klausner <do...@cpan.org> on 2012/02/29 10:20:26 UTC
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$_.$/}
Re: compiling mod_perl 1x + Apache 1 on Debian
Posted by Thomas Klausner <do...@cpan.org>.
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$_.$/}
Re: compiling mod_perl 1x + Apache 1 on Debian
Posted by Michael Ludwig <mi...@gmx.de>.
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: