You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/01/03 19:25:11 UTC

DO NOT REPLY [Bug 38108] New: - sed's parse error in build/instdso.sh

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108

           Summary: sed's parse error in build/instdso.sh
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: scott@abcoa.com


When compiling and installing PHP with the Apache's DSO module, I ran into
compile failure when using "make install".  After some troubleshooting, it all
boiled down to this apache's instdso.sh file.  So, I simplify this testcase here...

--snip--
#!/bin/sh

#DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p}"
$TARGETDIR/$DSOARCHIVE_BASENAME`
DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p}"
/usr/local/apache2/modules/libphp5.la`
#LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p}"
$TARGETDIR/$DSOARCHIVE_BASENAME`
LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p}"
/usr/local/apache2/modules/libphp5.la`
LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"`
 
if test -z "$DLNAME"
then
#  echo "Warning!  dlname not found in $TARGETDIR/$DSOARCHIVE_BASENAME."
  echo "Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la."
  echo "Assuming installing a .so rather than a libtool archive."
  exit 0
fi
--snip--

where I get this error...

--snip--
sed: 0602-404 Function /^dlname=/{s/.*='\([^']*\)'/\1/;p} cannot be parsed.
sed: 0602-404 Function /^library_names/{s/library_names='\([^']*\)'/\1/;p}
cannot be parsed.
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
--snip--

The original result when trying to install PHP source code was...

--snip--
-=[root@netgate]
-=[/usr/local/src/php-5.1.1]==>make install
        echo '\
\
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp5.so
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-5.1.1/libs'
sed: 0602-404 Function /^dlname=/{s/.*='\([^']*\)'/\1/;p} cannot be parsed.
sed: 0602-404 Function /^library_names/{s/library_names='\([^']*\)'/\1/;p}
cannot be parsed.
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: A file or directory in the path
name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.

Stop.
-=[root@netgate]
-=[/usr/local/src/php-5.1.1]==>
--snip--

I don't see any existing bug in this Apache's bugzilla but I did see one bug
that is unrelated to this one...  Bug #29599  Whatever happen, I'm unable to
install PHP.  However, back then, Apache was configured, compiled and installed
without a problem...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From masaoki@techfirm.co.jp  2006-03-06 03:31 -------
Actually I don't have AIX environment.  This was not the right place to post the
patch.  However, I guess, this should be common problem as just sed script
string was wrong.  I confirmed my pacth works on RedHat 7.3 x86 and Solaris 10 x86.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From masaoki@techfirm.co.jp  2006-03-02 10:36 -------
Created an attachment (id=17816)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17816&action=view)
Patch file to avoid sed errors on installing apache 2.2


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From sfletcher@abcoa.com  2006-03-02 17:12 -------
>LANG=C
>LC_ALL=C
>LANGUAGE=C
>export LANG LC_ALL LANGUAGE

The sed error you were referring to, I found out it only apply to AIX 4.3, not
AIX 5.2.

Trying your patch that eliminate the sed error and it seem to work pretty well
with no sed error but I get further compile error.  Here's what I got...

--snip--
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp5.so
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-5.1.2/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: A file or directory in the path
name does not exist.
apxs:Error: Command failed with rc=65536
--snip--

So, I check the /usr/local/apache2/module directory and found there is no
libphp5.so file.  So, with further studying and tracing to the instdso.sh script
I noticed that 

--snip--
rm -f /usr/local/apache2/modules/libphp5.so
--snip-- 

is removed first as to remove the older or obselote file.  Then the next part
get executed..

--snip--
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
--snip--

which does in fact copy both files, libphp5.a and libphp5.la files, not the
libphp5.so file.  So, hte next few part of the script which use sed.  With some
tracing and execution of a shell script.  I get

--snip--
libphp5.so


libphp5.a libphp5.a


libphp5.a libphp5.a
--snip--

and no sed error.  So, we the patch is working as it fix this bug.  Then further
below in the script is a "rm -f ...." script that remove those libphp5.a files
so it explained why there's no libphp5.* files in that directory.  Which lead us
to the next part of the script that caused the 

--snip--
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
--snip--

to appear.  Then the next part of the script here

--snip--
if test "$DLNAME" != "$TARGET_NAME"
then
    mv $TARGETDIR/$DLNAME $TARGETDIR/$TARGET_NAME
fi
--snip--

where the "if test" script produced a result..

--snip--
if test "libphp5.so" != "libphp5.so"
then 
    mv /usr/local/apache2/modules/libphp5.so /usr/local/apache2/modules/
fi
--snip--

So, this part of the script is correct and there's still no libphp5.so in that
directory at all.  The next part of the script just removed everything.  So, no
wonder why I get the apxs errors and chmod error.  The libphp5.so is never
copied over in the first place.

I'm looking forward to a further patch fix that would allow the libphp5.so to be
put into the /usr/local/apache2/module directory...  It is just a bad script.

So, go ahead and check in that patch fix as it fix this AIX sed problem....

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |long@kestrel.cc.ku.edu




------- Additional Comments From jorton@redhat.com  2006-03-06 09:57 -------
*** Bug 38696 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


scott@abcoa.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


scott@abcoa.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From scott@abcoa.com  2006-01-10 18:44 -------
Still get the same error but it look a little better...  The old error was 

--snip--
sed: 0602-404 Function /^dlname=/{s/.*='\([^']*\)'/\1/;p} cannot be parsed.
sed: 0602-404 Function /^library_names/{s/library_names='\([^']*\)'/\1/;p}
cannot be parsed.
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
--snip--

while the new error is

--snip--
sed: Function /^dlname=/{s/.*='\([^']*\)'/\1/;p} cannot be parsed.
sed: Function /^library_names/{s/library_names='\([^']*\)'/\1/;p} cannot be parsed.
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
--snip--

Noticed that the "0602-404" is no longer there in the new error message.  I'm
not sure if the AIX's native sed is that compatible with that sed script or not.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


scott@abcoa.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable




------- Additional Comments From scott@abcoa.com  2006-03-03 15:21 -------
> was that patch to fix the issue with the AIX sed too?
Yea, for the AIX sed?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2006-01-10 14:16 -------
Can you try adding at the top of build/instdso.sh:

LANG=C
LC_ALL=C
LANGUAGE=C
export LANG LC_ALL LANGUAGE

(and then "make install" from httpd, then try installing PHP again)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2006-01-03 21:18 -------
Do you have LANG set?  Google says this can happen because of an AIX bug with
LANG set.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From scott@abcoa.com  2006-01-03 21:24 -------
*** Bug 38111 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


sfletcher@abcoa.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|AIX                         |All




------- Additional Comments From sfletcher@abcoa.com  2006-03-06 15:00 -------
I meant to say this patch fix for AIX's sed now work without a problem.  So, 
it's a good thing you posted here.  Since you mentioned Red Hat too.  (Along 
with Sun)

OS --> All

Let us know the patch had been check into the branch.

The newer problem I have is not a sed bug (with the patch fix) so I'll file a 
new bug later (cleaner bug report) on this week or next week as soon as I 
finish rebuilting AIX from scratch.  (Well PHP folks said I need GNU Linker 
which doesn't solve the problem.  Also later learned that GNU Linker doesn't 
work too well with AIX as it's incompactible with AIX and IBM's web site said 
we only need to use the AIX's native sed instead of the GNU linker.  A sign of 
further messed up.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From masaoki@techfirm.co.jp  2006-03-02 10:45 -------
I believe the patch file I attached will eliminate sed error.
It has been affected to all environments so that the ${prefix}/modules 
directory contains ".a" and ".la" files because of this error.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |masaoki@techfirm.co.jp




------- Additional Comments From jorton@redhat.com  2006-03-03 12:13 -------
this time, adding CC:

Nice work Masaoki, was that patch to fix the issue with the AIX sed too?  We've
had a report of a similar error on Solaris too (bug 38696) so I've asked whether
this fix works there too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From masaoki@techfirm.co.jp  2006-03-07 07:34 -------
The original sed script works fine on GNU sed 4.1.2, while it does not on GNU 
sed 3.1 or Solaris sed.
The patched script works fine on all of above.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From scott@abcoa.com  2006-01-03 21:24 -------
*** Bug 38112 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From rpluem@apache.org  2006-01-03 22:05 -------
*** Bug 38110 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From scott@abcoa.com  2006-03-24 20:36 -------
Filed bug #39099 for the php module that doesn't work in Apache 2.2.0.  Any
chance of anyone testing this patch any further or checking it in to the branch
without breaking it before the next Apache release?  I thought I did see
somewhere in the Apache file that specify the minimum GNU Sed version somewhere
but I couldn't find it.

Is the reason for this bug being unchanged due to not assigning the bug to
bugs@httpd.apache.org instead of leaving it as new?  This bugzilla is a little
confusing as I'm so used to the Mozilla's bugzilla.  Sorry for the spam if I
misunderstood.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From scott@abcoa.com  2006-01-03 22:21 -------
That's interesting.  I don't get it on why does the LANGUAGE have to do with this.

I did "echo $LANG" and got the "en_US" response so I did this, "export LANG=''"
and did the "echo $LANG" and got the blank response.

So, tried running this command manually, "/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules" and still get this sed error message.  The same
thing for "make install" in the /usr/local/src/php5.1.1 directory.  I did the
make clean  and double check to make sure.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jorton@redhat.com  2006-03-29 15:13 -------
No, just lazy engineers lacking round tuits.  This is now committed to the
trunk, and proposed for inclusion in 2.2.x.

http://svn.apache.org/viewcvs?rev=389797&view=rev

Thanks again for the patch, Masaoki.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From scott@abcoa.com  2006-01-03 22:44 -------
The output of the cat command of the libphp5.la in the
/usr/local/apache/modules/libphp5.la result in ..

--snip--
# libphp5.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.18 (1.1220.2.245 2005/05/16 08:55:27)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libphp5.so'

# Names of this library.
library_names='libphp5.a libphp5.a'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -lssl -lcrypto -lssl -lcrypto -lssl -lcrypto
-L/usr/local/ssl/lib -L/usr/local/lib -lssl -lcrypto -lssl -lcrypto -lm
/usr/local/lib/libcurl.la -lssl -lcrypto -lssl -lcrypto
/usr/local/lib/libodbc.la -ldl -liconv -lthread'

# Version information for libphp5.
current=0
age=0
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/src/php-5.1.1/libs'
--snip--

if that can be of a further help here..

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38108] - sed's parse error in build/instdso.sh

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38108





------- Additional Comments From jorton@redhat.com  2006-03-03 12:11 -------
Nice work Masaoki, was that patch to fix the issue with the AIX sed too?  We've
had a report of a similar error on Solaris too (bug 38696) so I've asked whether
this fix works there too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org