Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 35596 invoked from network); 3 Jan 2006 19:31:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 19:31:23 -0000 Received: (qmail 15523 invoked by uid 500); 3 Jan 2006 19:31:21 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 15487 invoked by uid 500); 3 Jan 2006 19:31:21 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 15474 invoked by uid 99); 3 Jan 2006 19:31:21 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 11:31:19 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id E1C92E0; Tue, 3 Jan 2006 20:30:58 +0100 (CET) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 38110] New: - sed's parse error in build/instdso.sh Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 3 Jan 2006 20:30:58 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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