Re: sed error in perl Makefile.pl

2003-01-03 Thread dom
 I have to rebuild my perl and go through the Configure
 process to tell it to ignore `hostname`, unless you
 know a trick for that, too!

 Well, what about creating a custom shell script named hostname,
turn it executable, and put it somewhere in your PATH ?

#!/bin/sh
echo darkstar.frop.org

-- 
Dominique QUATRAVAUX   Ingénieur développeur senior
01 44 42 00 35 IDEALX




Re: sed error in perl Makefile.pl

2003-01-02 Thread Stas Bekman
[...]

When I run

 perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
 APACHE_PREFIX=/home/user/httpd/apache

I see this (note the sed error)

(cd ../apache_1.3.27  CC=gcc CFLAGS= -D_REENTRANT
-DTHREADS_HAVE_PIDS -fno-
strict-aliasing -I/usr/local/include ./configure
--activate-module=src/modules/
perl/libperl.a --disable-rule=EXPAT
--prefix=/home/user/httpd/apache)
CC=gcc CFLAGS= -D_REENTRANT -DTHREADS_HAVE_PIDS
-fno-strict-aliasing
 -I/usr/local/include ./configure
--activate-module=src/modules/perl/libperl.a
--disable-rule=EXPAT --prefix=/home/user/httpd/apache
Configuring for Apache, Version 1.3.27
 + using installation path layout: Apache ,
(config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
sed: -e expression #44, char 46: Unknown option to 's'
Creating Configuration.apaci in src


First, you need to figure out where this error is coming from, sed isn't 
very helpful here. Since we are talking about ./configure errors, you 
need to modify apache-1.3/configure to start with:

#!/bin/sh -x

(notice the -x)

now log the build process into a file a look what happens between two 
strings:
Creating Makefile
and
Creating Configuration.apaci in src

From what I see the error is in apache domain, but since I don't have 
this problem I could be wrong.

__
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: sed error in perl Makefile.pl

2003-01-02 Thread J Q Private
It ended up being the bad character tacked returned by
my . It sometimes looks like 'nyc.rr.com\000' or the
like. Bad DHCP setup on my part.

Here's the a couple lines out of the offending sed.

-e s%@conf_serveradmin@[EMAIL PROTECTED]%d00%g
-e s%@conf_servername@%float1.nyc.rr.com%d00%g


Thanks for that #!/bin/sh -x trick, Stas!

I have to rebuild my perl and go through the Configure
process to tell it to ignore `hostname`, unless you
know a trick for that, too!

-ciao for now,
Josh

--- Stas Bekman [EMAIL PROTECTED] wrote:
 [..
  When I run
  
   perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src
 \
   DO_HTTPD=1 USE_APACI=1
 EVERYTHING=1 \
  
 APACHE_PREFIX=/home/user/httpd/apache
  
  I see this (note the sed error)
  
  (cd ../apache_1.3.27  CC=gcc CFLAGS=
 -D_REENTRANT
  -DTHREADS_HAVE_PIDS -fno-
  strict-aliasing -I/usr/local/include ./configure
  --activate-module=src/modules/
  perl/libperl.a --disable-rule=EXPAT
  --prefix=/home/user/httpd/apache)
  CC=gcc CFLAGS= -D_REENTRANT -DTHREADS_HAVE_PIDS
  -fno-strict-aliasing
   -I/usr/local/include ./configure
  --activate-module=src/modules/perl/libperl.a
  --disable-rule=EXPAT
 --prefix=/home/user/httpd/apache
  Configuring for Apache, Version 1.3.27
   + using installation path layout: Apache ,
  (config.layout)
   + activated perl module (modules/perl/libperl.a)
  Creating Makefile
  sed: -e expression #44, char 46: Unknown option to
 's'
  Creating Configuration.apaci in src
 
 First, you need to figure out where this error is
 coming from, sed isn't 
 very helpful here. Since we are talking about
 ./configure errors, you 
 need to modify apache-1.3/configure to start with:
 
 #!/bin/sh -x
 
 (notice the -x)
 
 now log the build process into a file a look what
 happens between two 
 strings:
 Creating Makefile
 and
 Creating Configuration.apaci in src
 
  From what I see the error is in apache domain, but
 since I don't have 
 this problem I could be wrong.
 

__
 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
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com