[ expat-Bugs-438393 ] expat compile fails in ld on HPUX 11.0

noreply@sourceforge.net noreply@sourceforge.net
Sun, 26 Aug 2001 03:59:25 -0700


Bugs item #438393, was opened at 2001-07-03 16:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=438393&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: SANJAY WAZA (sanjay_waza)
Assigned to: Greg Stein (gstein)
Summary: expat compile fails in ld on HPUX 11.0

Initial Comment:
I failed to install the expat . I am not able to 
understand why

The configure with though fine , It failed in make 
The results of  configure are 
./configure --
prefix=/users/summit/implementation/admin/expat

./configure --
prefix=/users/summit/implementation/admin/expat 
loading cache ./config.cache
checking host system type... hppa2.0w-hp-hpux11.00
checking build system type... hppa2.0w-hp-hpux11.00
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-
compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... 
(cached) no
checking for BSD-compatible nm... 
(cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... +Z
checking if cc PIC flag +Z works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc static flag -Wl,-a -Wl,archive 
works... -Wl,-a -Wl,archive
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports 
shared libraries... yes
checking command to parse /usr/bin/nm -p output... 
failed
checking how to hardcode library paths into 
programs... relink
checking for /usr/bin/ld option to reload object 
files... -r
checking dynamic linker characteristics... hpux11.00 
dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-
compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... 
(cached) /opt/imake/bin/install -c
checking how to run the C preprocessor... (cached) cc -
E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... 
(cached) yes
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
creating ./config.status
creating Makefile
creating lib/Makefile
creating xmlwf/Makefile
creating examples/Makefile
creating config.h
config.h is unchanged



In Make it gives the following error

autoconf
Make: Cannot load autoconf.  Stop.
*** Error exit code 1

Stop.


----------------------------------------------------------------------

>Comment By: Greg Stein (gstein)
Date: 2001-08-26 03:59

Message:
Logged In: YES 
user_id=6501

This was some crappy stuff in the Makefile that would 
attempt to regenerate the ./configure script if it was out 
of date with respect to configure.in (for whatever reason). 
Thus, it would try to run autoconf.

I fixed this in CVS a couple days ago; you'll see the fix 
in the 1.93.3 release.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-20 20:51

Message:
Logged In: YES 
user_id=3066

Can you test this with the current CVS version of Expat?  The build process has changed a fair bit, and suspect this may have changed.

Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=438393&group_id=10127