www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Koch <dk...@tivoli.com>
Subject config/4820: ApacheJServ-1.0 configure breaks when run under hp's default sh, sh-posix
Date Wed, 04 Aug 1999 17:07:19 GMT

>Number:         4820
>Category:       config
>Synopsis:       ApacheJServ-1.0 configure breaks when run under hp's default sh, sh-posix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Aug  4 10:10:00 PDT 1999
>Originator:     dkoch@tivoli.com
>Release:        1.3.6
HP-UX nimitz B.10.20 A 9000/859 1441553301 two-user license
gcc --version   2.7.1 snapshot 951024
I'm building ApacheJServ-1.0 on HPUX 10.20 and ran into
the following problem that seems to be due to /usr/bin/sh
which is the POSIX.2-conformant command shell.
The problem does not occur if I use /usr/old/bin/sh
which is the "standard" Bourne shell.

Line 839 of configure 
missing_dir=`cd $ac_aux_dir && pwd`
results in
but should be 
This is because cd in the posix sh prints the path.
If I change line 839 to 
missing_dir=`cd $ac_aux_dir > /dev/null 2>&1 && pwd`
the problem is fixed.  Alternatively I could
put /usr/old/bin before /usr/bin in my path to
get the old bourne shell.
run configure on hpux 10.20 with /usr/bin in PATH ahead of /usr/old/bin
If I change line 839 of configure to 
missing_dir=`cd $ac_aux_dir > /dev/null 2>&1 && pwd`
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message