|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-19 12:06 UTC] ler at lerctr dot org
the snap from today (php4-200111190600) DOES recognize OpenUNIX8. the libtool generated does NOT handle dependencies. I hand-tweaked the config parameters AFTER it was built. The generated libphp4.so works (see http://www.lerctr.org/~ler/php.php). Derick Rethans has an account on this box. Could someone (Derick?) look into this, and see why the libtool doesn't recognize OpenUNIX 8? Also, can the config.guess/config.sub files be updated in the 4.1.0RC branch (if they haven't been already)? The changes I made to libtool are: $ diff -c libtool libtool.ler *** libtool Mon Nov 19 11:03:13 2001 --- libtool.ler Mon Nov 19 10:52:46 2001 *************** *** 47,53 **** build_old_libs=no # Whether or not to add -lc for building shared libraries. ! build_libtool_need_lc=yes # Whether or not to optimize for fast installation. fast_install=yes --- 47,53 ---- build_old_libs=no # Whether or not to add -lc for building shared libraries. ! build_libtool_need_lc=no # Whether or not to optimize for fast installation. fast_install=yes *************** *** 70,76 **** with_gcc= # The linker used to build libraries. ! LD="/usr/bin/ld" # Whether we need hard or soft links. LN_S="ln -s" --- 70,76 ---- with_gcc= # The linker used to build libraries. ! LD="/usr/bin/ld" # Whether we need hard or soft links. LN_S="ln -s" --- 70,76 ---- with_gcc= # The linker used to build libraries. ! LD="/usr/bin/cc" # Whether we need hard or soft links. LN_S="ln -s" *************** *** 192,198 **** striplib="" # Method to check whether dependent libraries are shared objects. ! deplibs_check_method="unknown" # Command to use when deplibs_check_method == file_magic. file_magic_cmd="\$MAGIC_CMD" --- 192,198 ---- striplib="" # Method to check whether dependent libraries are shared objects. ! deplibs_check_method="pass_all" # Command to use when deplibs_check_method == file_magic. file_magic_cmd="\$MAGIC_CMD" If you want, I can put the real diff up for ftp/http. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 05:00:01 2025 UTC |
Ok, after a bunch of back and forth, and me learning about autoconf/automake and libtool, this is a libtool bug. I submitted the following to the libtool folks against libtool 1.4.2. Can the PHP team use this before a new libtool release? *** libtool.m4.old Mon Sep 10 22:16:01 2001 --- libtool.m4 Sun Dec 30 18:17:52 2001 *************** *** 1805,1810 **** --- 1805,1821 ---- export_dynamic_flag_spec='-Bexport' ;; + sysv5uw7* | unixware7* | sysv5Open*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + sysv5*) no_undefined_flag=' -z text' # $CC -shared without GNU ld will not create a library from C++ *************** *** 1848,1864 **** runpath_var=LD_RUN_PATH ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - *) ld_shlibs=no ;; --- 1859,1864 ---- *************** *** 3421,3428 **** lt_cv_file_magic_test_file=/lib/libc.so ;; ! sysv5uw[[78]]* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) --- 3421,3429 ---- lt_cv_file_magic_test_file=/lib/libc.so ;; ! sysv5uw[[78]]* | sysv4*uw2* | sysv5Open*) lt_cv_deplibs_check_method=pass_all + lt_cv_archive_cmds_need_lc=no ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)