RIGHT:[[フリーソフトウェアのコンパイル]]
//
// libwww
//
*プラットフォーム
-Solaris 8 07/03
-gcc-3.3.2
-LD_RUN_PATH=/usr/local/lib:/usr/local/ssl/lib
-PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb
//------------
*必要なもの
http://www.w3.org/Library/
-w3c-libwww-5.4.0.tgz
*コンパイル,インストール
コンパイルの前に libtool のバグ潰し.
(Boune Shell ではうまく動かん)
$ diff libtool libtool.org
*** libtool Fri Mar 12 10:54:29 2004
--- libtool.org Fri Mar 12 10:40:55 2004
***************
*** 730,736 ****
pic_mode=default
;;
esac
! if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
# non-PIC code in shared libraries is not supported
pic_mode=default
fi
--- 730,736 ----
pic_mode=default
;;
esac
! if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
# non-PIC code in shared libraries is not supported
pic_mode=default
fi
***************
*** 1768,1774 ****
continue
;;
esac # case $deplib
! if test "$found" = yes || test -f "$lib"; then :
else
$echo "$modename: cannot find the library \`$lib'" 1>&2
exit 1
--- 1768,1774 ----
continue
;;
esac # case $deplib
! if test $found = yes || test -f "$lib"; then :
else
$echo "$modename: cannot find the library \`$lib'" 1>&2
exit 1
***************
*** 1942,1948 ****
-L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
esac
# Need to link against all dependency_libs?
! if test "$linkalldeplibs" = yes; then
deplibs="$deplib $deplibs"
else
# Need to hardcode shared library paths
--- 1942,1948 ----
-L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
esac
# Need to link against all dependency_libs?
! if test $linkalldeplibs = yes; then
deplibs="$deplib $deplibs"
else
# Need to hardcode shared library paths
***************
*** 1965,1971 ****
# Link against this shared library
if test "$linkmode,$pass" = "prog,link" ||
! { test $linkmode = lib && test "$hardcode_into_libs" = yes; }; then
# Hardcode the library path.
# Skip directories that are in the system default run-time
# search path.
--- 1965,1971 ----
# Link against this shared library
if test "$linkmode,$pass" = "prog,link" ||
! { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
# Hardcode the library path.
# Skip directories that are in the system default run-time
# search path.
***************
*** 2229,2236 ****
if test $linkmode = lib; then
if test -n "$dependency_libs" &&
! { test $hardcode_into_libs != yes || test "$build_old_libs" = yes ||
! test "$link_static" = yes; }; then
# Extract -R from dependency_libs
temp_deplibs=
for libdir in $dependency_libs; do
--- 2229,2236 ----
if test $linkmode = lib; then
if test -n "$dependency_libs" &&
! { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
! test $link_static = yes; }; then
# Extract -R from dependency_libs
temp_deplibs=
for libdir in $dependency_libs; do
***************
*** 2682,2688 ****
*) finalize_rpath="$finalize_rpath $libdir" ;;
esac
done
! if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
dependency_libs="$temp_xrpath $dependency_libs"
fi
fi
--- 2682,2688 ----
*) finalize_rpath="$finalize_rpath $libdir" ;;
esac
done
! if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
dependency_libs="$temp_xrpath $dependency_libs"
fi
fi
***************
*** 2725,2731 ****
;;
*)
# Add libc to deplibs on all other systems if necessary.
! if test "$build_libtool_need_lc" = "yes"; then
deplibs="$deplibs -lc"
fi
;;
--- 2725,2731 ----
;;
*)
# Add libc to deplibs on all other systems if necessary.
! if test $build_libtool_need_lc = "yes"; then
deplibs="$deplibs -lc"
fi
;;
***************
*** 3017,3023 ****
# Test again, we may have decided not to build it any more
if test "$build_libtool_libs" = yes; then
! if test "$hardcode_into_libs" = yes; then
# Hardcode the library paths
hardcode_libdirs=
dep_rpath=
--- 3017,3023 ----
# Test again, we may have decided not to build it any more
if test "$build_libtool_libs" = yes; then
! if test $hardcode_into_libs = yes; then
# Hardcode the library paths
hardcode_libdirs=
dep_rpath=
***************
*** 4246,4252 ****
# Directory that this library needs to be installed in:
libdir='$install_libdir'"
! if test "$installed" = no && test "$need_relink" = yes; then
$echo >> $output "\
relink_command=\"$relink_command\""
fi
--- 4246,4252 ----
# Directory that this library needs to be installed in:
libdir='$install_libdir'"
! if test "$installed" = no && test $need_relink = yes; then
$echo >> $output "\
relink_command=\"$relink_command\""
fi
$ make
# make install