bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testutils2.1 fails to configure on HPUX 10.20 using HP tools


From: Bob Proulx
Subject: Re: testutils2.1 fails to configure on HPUX 10.20 using HP tools
Date: Thu Nov 28 18:06:02 2002
User-agent: Mutt/1.4i

Jost Martin <address@hidden> [2002-11-25 14:55:21 +0100]:
> 
> I tried to configure textutils2.1 on HPUX 10.20 with HP tools.

Jim suggested trying the current coreutils package.  I routinely built
the textutils package on hpux and it has always built fine.  When you
say HP tools I hope you mean the HP ANSI C compiler and not the
bundled 'crippled' compiler.

> export CC=cc
> export CXX=aCC
> export CPPFLAGS="-I/pd/libs/include/"
> export LDFLAGS=" -L/pd/libs/lib/"
> export CFLAGS="+DAportable -Aa +O2"

Since -Aa looks like the ANSI compiler I will assume that.

> export CXXFLAGS="+DAportable -AA +O2"
> ./configure -prefix=/pd/text2.1 --without-gcc

The configure from textutils and the newer coreutils can correctly
deduce the -Aa compiler flag.  I would not place it here.  In
particular you probably want '-Ae -D_HPUX_SOURCE' instead of what you
have.  Better to avoid saying -Aa and let configure choose -Ae
instead.  This is very likely your problem.

> Is there a way to get textutils to compile on HPUX 10.20 ?
> (Older versions compiled without problems)

If you continue to have difficulty after trying the latest coreutils
please report back to the mailing list.  The *utils should compile
fine on hpux 10.20 as well as later versions of hpux.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]