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 20:30:58 UTC
DO NOT REPLY [Bug 38110] 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=38110>.
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=38110
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 38110] - 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=38110>.
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=38110
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From rpluem@apache.org 2006-01-03 22:05 -------
*** This bug has been marked as a duplicate of 38108 ***
--
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