[ expat-Bugs-224566 ] Compile-Problems for HP-UX 11.0

noreply@sourceforge.net noreply@sourceforge.net
Wed, 25 Jul 2001 13:57:16 -0700


Bugs item #224566, was opened at 2000-12-05 08:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=224566&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: Compile-Problems for HP-UX 11.0

Initial Comment:
I try to compile as my normal user -> got huge tempfiles in /tmp.
I saw this with other packages too, i think that's no expat problem.
I works e.g. as root. My user works wit CC=/opt/ansic/bin/cc too.


After installing autoconf and m4 i tryed again with
export CC=/opt/ansic/bin/cc

and got
make
        autoconf
configure.in:69: warning: AC_TRY_RUN called without default to allow cross compiling
/opt/autoconf-2.13/bin/autoconf[150]: gawk:  not found.
running /bin/sh ./configure  --prefix=/opt/eate --no-create --no-recursion
which kills ./configure :-( (there is a empty file left)

So i installed gawk too. (i this really needed ???)

I finally got i it running
1.export CC=/opt/ansic/bin/cc
2../configure --prefix=where_you_like
3. DO NOT CALL make
4. cd lib
5. remove -Wp,.... from  Makefile
6. make
7. make install

I 'm not familar with that autoconf stuff, so i don't know where to
remove this -Wp stuff for the configure.

There was some error while make, because of removing this -WP,... stuff,
but the library seems to work (I use the XMLParser too :-) )


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 13:57

Message:
Logged In: YES 
user_id=3066

Closing this since the build control has changed a lot since the last version; if there are any problems with the CVS version or the upcoming 1.95.2, please report them.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2001-06-07 07:57

Message:
Logged In: NO 

HP 11.00:
I was able to compile after I installed autoconf-2.50 and 
m4-1.4, but I got the following warnings from the compiler:

gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

uname -a:
HP-UX HOSTNAME B.11.00 C 9000/800 2000895455 32-user license

gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.1\ -I. -I.. -g -O2 -Wp,-MD,.deps/xml
parse.pp -c xmlparse.c
cc1: warning: -g is only supported when using GAS on this 
processor,
cc1: warning: -g option disabled.

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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-04-05 12:52

Message:
Logged In: YES 
user_id=3066

The -Wp stuff has been removed, but I'm not sure what the gawk requirement from autoconf is all about.  Assigning to Greg since he knows more about that.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2001-03-13 12:23

Message:
Logged In: NO 

The change to the Makefile should be to change all lines 
that contain:

   -Wp,MD,.deps(...)

To

   -Wp,M.deps(...)

After making this change, I succesfully compiled on HPUX 
11.0

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

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