Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Unix :
sed: Function cannot be parsed
When running configure under HPUX-10.20, I got this message:

  sed: Function s%@ACLOCAL@%/my/dir/apache/ApacheJServ-1.0/src/scripts/build/unix cannot be parsed.

The problem boiled down to this line (line 839 in my copy of
configure for the 1.3.9 distribution):

  missing_dir=`cd $ac_aux_dir && pwd`

It turns out that under the shell I'm using (zsh, although
the script invokes #!/bin/sh) the "cd" command changes directory
and issues a "pwd" automatically, so the above line essentially
concatenates two copies of a directory name with a newline in
between them.

To fix this, I had to change the line to:

  missing_dir=`cd $ac_aux_dir`

Hope this helps!

- Jon
--
Jonathan Pardue
AT&T Wireless Services, Inc.
jonathan.pardue@attws.com
jonathanDOTpardueATattwsDOTcom
[Append to This Answer]
Previous: (Answer) Installing JServ 1.0 with Stronghold 2.4.1
Next: (Answer) Linux (Redhat 6.0) installation for ApacheJServ 1.0
This document is: http://java.apache.org/faq/?file=294
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.