[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glib-2.0.6 breaks on hp-ux 11.00
From: |
Gansser, Martin |
Subject: |
glib-2.0.6 breaks on hp-ux 11.00 |
Date: |
Fri, 23 Aug 2002 10:04:07 +0200 |
Hi,
there is a problem with building glib-2.0.6, gtk-2.0.6 ... on HPUX 11.00:
gmake
...
rm -fr .libs/libglib-2.0.lax
mkdir .libs/libglib-2.0.lax
rm -fr .libs/libglib-2.0.lax/libcharset.al
mkdir .libs/libglib-2.0.lax/libcharset.al
(cd .libs/libglib-2.0.lax/libcharset.al && ar x
/users/mgansser/GNU/glib-2.0.4/glib/libcharset/.libs
/libcharset.al)
/usr/ccs/bin/ld -b +h libglib-2.0.sl.0 +b /usr/local/lib -o
.libs/libglib-2.0.sl.0.4 garray.lo gasy
ncqueue.lo gbacktrace.lo gbsearcharray.lo gcache.lo gcompletion.lo gconvert.lo
gdataset.lo gdate.lo
gdir.lo gerror.lo gfileutils.lo ghash.lo ghook.lo giochannel.lo glist.lo
gmain.lo gmarkup.lo gmem.lo
gmessages.lo gnode.lo gpattern.lo gprimes.lo gqsort.lo gqueue.lo grel.lo
grand.lo gscanner.lo gshel
l.lo gslist.lo gstrfuncs.lo gstring.lo gthread.lo gthreadpool.lo gtimer.lo
gtree.lo guniprop.lo gutf
8.lo gunibreak.lo gunicollate.lo gunidecomp.lo gutils.lo giounix.lo gspawn.lo
.libs/libglib-2.0.lax/
libcharset.al/localcharset.lo -L/usr/local/lib libcharset/.libs/libcharset.al
-R/usr/local/lib -lc
/usr/local/lib/libintl.sl /usr/local/lib/libiconv.sl -lc
/usr/ccs/bin/ld: Invalid numeric argument for -R/usr/local/lib
gmake[3]: *** [libglib-2.0.la] Error 1
gmake[3]: Leaving directory `/users/mgansser/GNU/glib-2.0.4/glib'
gmake[2]: *** [all-recursive] Error 1
this is my build script:
setenv CPPFLAGS "-I/usr/local/include"
setenv LDFLAGS "-L/usr/local/lib"
setenv RANLIB "/bin/true"
#
gmake distclean
rm config.cache
./configure --prefix=/usr/local --x-includes=/usr/include/X11R6 \
--x-libraries=/usr/lib/X11R6 --with-libiconv=gnu \
--enable-threads=no --enable-static=yes
gmake
Compiler: gcc-3.1
works only with the following patch (ltmain.sh is from libtool-1.4.2):
patch: for libtool
*** ltmain.sh.old Wed Jun 12 14:26:08 2002
--- ltmain.sh Wed Jun 12 15:05:32 2002
***************
*** 1473,1481 ****
esac # linkmode
continue
;; # -L
! -R*)
if test "$pass" = link; then
! dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
# Make sure the xrpath contains only unique directories.
case "$xrpath " in
*" $dir "*) ;;
--- 1473,1481 ----
esac # linkmode
continue
;; # -L
! -R* | +b*)
if test "$pass" = link; then
! dir=`$echo "X$deplib" | $Xsed -e 's/^-R//' -e 's/^+b//'`
# Make sure the xrpath contains only unique directories.
case "$xrpath " in
*" $dir "*) ;;
***************
*** 2455,2461 ****
# If the user specified any rpath flags, then add them.
temp_xrpath=
for libdir in $xrpath; do
! temp_xrpath="$temp_xrpath -R$libdir"
case "$finalize_rpath " in
*" $libdir "*) ;;
*) finalize_rpath="$finalize_rpath $libdir" ;;
--- 2455,2461 ----
# If the user specified any rpath flags, then add them.
temp_xrpath=
for libdir in $xrpath; do
! temp_xrpath="$temp_xrpath +b$libdir"
case "$finalize_rpath " in
*" $libdir "*) ;;
*) finalize_rpath="$finalize_rpath $libdir" ;;
is this a known problem ?
thanks Martin
- glib-2.0.6 breaks on hp-ux 11.00,
Gansser, Martin <=