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 2012/10/05 14:57:49 UTC

[Bug 43012] AIX instdso.sh libphp5.so

https://issues.apache.org/bugzilla/show_bug.cgi?id=43012

--- Comment #13 from Michael Felt <ma...@gmail.com> ---
This is something taht has been here for years - would be good to get it
settled.

perhaps having the environment before/after would help!

root@x104:[/tmp/httpd/build]diff -u *.st*
--- instdso.9502830.start       2012-10-05 14:43:35 +0200
+++ instdso.9502830.stop        2012-10-05 14:43:37 +0200
@@ -1,7 +1,12 @@
 AUTHSTATE=compat
 CLCMD_PASSTHRU=1
+CMD='/var/apr/build-1/libtool --mode=install cp libphp5.la
/var/tmp/root/php-RC1.0.0.0/opt/httpd/libexec/'
+DLNAME=libphp5.so
+DSOARCHIVE=libphp5.la
+DSOARCHIVE_BASENAME=libphp5.la
+DSOBASE=libphp5
 EDITOR=/usr/bin/vi
-ERRNO=25
+ERRNO=2
 FCEDIT=/usr/bin/ed
 HOME=/
 IFS='  
@@ -9,7 +14,8 @@
 INSTALL_ROOT=/var/tmp/root/php-RC1.0.0.0
 LANG=en_US
 LC__FASTMSG=true
-LINENO=29
+LIBRARY_NAMES='libphp5.a libphp5.a'
+LINENO=104
 LOCPATH=/usr/lib/nls/loc
 LOGIN=root
 LOGNAME=root
@@ -29,14 +35,19 @@
 PS3='#? '
 PS4='+ '
 PWD=/data/prj/php/php-RC1-5.3.18
-RANDOM=30138
-SECONDS=0
+RANDOM=11335
+SECONDS=2
 SHELL=/usr/bin/ksh
+SH_LIBTOOL=/var/apr/build-1/libtool
 SSH_CLIENT='192.168.129.45 54211 22'
 SSH_CONNECTION='192.168.129.45 54211 192.168.129.104 22'
 SSH_TTY=/dev/pts/0
+SYS=AIX
+TARGETDIR=/var/tmp/root/php-RC1.0.0.0/opt/httpd/libexec
+TARGET_NAME=libphp5.so
 TERM=vt100
 TMOUT=0
 TZ=Europe/Amsterdam
 USER=root
-_=/tmp/httpd/build
+_=/var/tmp/root/php-RC1.0.0.0/opt/httpd/libexec/liblibphp5.so
+f=libphp5.a
root@x104:[/tmp/httpd/build]

===
please note: to get this to work at all I have added the HACK

if test -z "$DLNAME"
then
  echo "Warning!  dlname not found in $TARGETDIR/$DSOARCHIVE_BASENAME."
  echo "Assuming installing a .so rather than a libtool archive."
  exit 0
fi

# HACK to move .a archive to .so archive
[[ -e  $TARGETDIR/$DSOBASE.a && ! -e  $TARGETDIR/$TARGET_NAME ]] && \
        mv  $TARGETDIR/$DSOBASE.a $TARGETDIR/$TARGET_NAME
# end HACK

if test -n "$LIBRARY_NAMES"
then
    for f in $LIBRARY_NAMES
    do
        rm -f $TARGETDIR/$f
    done
fi

-- 
You are receiving this mail because:
You are the assignee for the bug.

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