public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* HP-UX 10.20 Install Problems
@ 2000-10-10  5:02 Richard.Gilham
  2000-10-10  5:28 ` Alexandre Oliva
  2000-10-10 10:22 ` Jeffrey A Law
  0 siblings, 2 replies; 3+ messages in thread
From: Richard.Gilham @ 2000-10-10  5:02 UTC (permalink / raw)
  To: gcc

Hi,

I hope I'm mailing this to the correct location, apologies if not.

I have been requested to install the GCC compiler onto one of our 10.20
HP-UX systems.
Unfortunately I seem to have run into some problems:

I have followed the instructions given at the
" http://hpux.connect.org.uk/hppd/hpux/gcc-2.95.2 " website.
(binutils 2.9.1, Bison 1.28, flex 2.5.4a and sed 3.0.2 have all been
installed locally)
I then downloaded the HP-UX Source Code (gzipped) using FTP, on looking at
the file it's description was:

	gcc-2.95.2-ss-11.00.tar.gz

The file was then decompressed and un-tar'd so that the configuring process
could start.
I am using the " http://gcc.gnu.org/install/configure.html " notes for
configuring.

I set-up an "objdir", cd'd into it then ran the "srcdir/configure" command.
The following error message appeared:

/mnt/GCC/gcc-2.95.2/configure --prefix=/usr/local
Configuring for a -hp-hpux10.20 host.
*** Cannot configure here in "/mnt/GCC/build" when "/mnt/GCC/gcc-2.95.2" is
currently configured.

Not a good start, I tried using a different "objdir" directory with the same
results.
Next I tried running "configure" within the gcc source code dir:

./configure
Configuring for a -hp-hpux10.20 host.
Invalid configuration `-hp-hpux10.20': machine `-hp' not recognized
Invalid configuration `-hp-hpux10.20': machine `-hp' not recognized
Unrecognized host system name -hp-hpux10.20.

The configure command doesn't appear to be able to resolve the O.S. version.
I tried using the switch, "--target=hpux10.20", resulting in exactly the
same error.
Next I edited the configure script and actually set the "host_alias"
variable to "hpux10.20"
This time the error message was:

./configure
Invalid configuration `hpux10.20': machine `hpux10.20' not recognized
Invalid configuration `hpux10.20': machine `hpux10.20' not recognized
Unrecognized host system name hpux10.20.

At least it now didn't recognise a valid O.S.?!

On looking at the configure command there are lots of references to HP-UX
V11.00.
I'm now wondering if this source code is compatible with HP-UX 10.20.

Can you please advise?

Alternativley I could just load the Dynamically Linked libraries, but I'd
prefer to work from the source code.

Many thanks

Richard Gilham
IM UNIX On Site Support
Nokia (UK) Ltd

P.S. Other details of use:

HP Model:	9000/785/C360

Software installed:
           # Bundle(s): 
           # 
           700QPK1020 ACE.199912.02 Workstation Quality Pack for HP-UX 10.20
(December 1999) 
           B3782EA B.10.20 HP-UX Media Kit (Reference Only. See Description)

           B6193EA ACE.199912.01 Workstation ACE for HP-UX 10.20 (December
1999) 
           B6196AA_APZ B.10.20.07 HP-UX 700 OpenGL 3D Graphics API Run Time
Environment 
           B6378DA ACE.199912.01 Networking ACE for HP-UX 10.20 (December
1999) 
           B7580AA B.10.20.03 HP-UX 700/800 Visualize Conference Run Time
Environment 
           HPUXEngCR700 B.10.20 English HP-UX CDE Runtime Environment 
           IUX-Recovery A.2.3.205 Ignite-UX tape and network recovery tool
subset 
           J2559C D.05.15 Hewlett-Packard JetAdmin for Unix Utility 
           OnlineDiag B.10.20.16.08 HPUX 10.0 Support Tools Bundle 
           # 
           # Product(s) not contained in a Bundle: 
           # 
           FIRSTSPACE 1.0 FirstSpace VRML Viewer 
           binutils 2.9.1 binutils 
           bison 1.28 bison 
           flex 2.5.4a flex 
           sed 3.02 sed 
           sudo 1.5.6p5 sudo 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HP-UX 10.20 Install Problems
  2000-10-10  5:02 HP-UX 10.20 Install Problems Richard.Gilham
@ 2000-10-10  5:28 ` Alexandre Oliva
  2000-10-10 10:22 ` Jeffrey A Law
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2000-10-10  5:28 UTC (permalink / raw)
  To: Richard.Gilham; +Cc: gcc

On Oct 10, 2000, Richard.Gilham@nokia.com wrote:

> I have been requested to install the GCC compiler onto one of our 10.20
> HP-UX systems.

Do you have a working C compiler already?  You need one to compile
anything, even GCC.  If not, you'll have to go for a pre-compiled GCC
binary, and use it to build your own.  You may have to set the CC
environment variable to the name of this compiler, if it is not `cc',
so that config.guess can figure out the complete system triplet.
hpux10.20 isn't a valid triplet; hppa1.1-hp-hpux10.20 (for example)
is.

> I then downloaded the HP-UX Source Code (gzipped) using FTP, on looking at
> the file it's description was:

> 	gcc-2.95.2-ss-11.00.tar.gz

I wouldn't recommend your using this package modified for 11.00.  GCC
2.95.2 is supposed to work on HP-UX 10.20 out of the box.  Please grab
the sources from http://gcc.gnu.org and start over, or ask for help
from whoever provided you with these modified sources.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HP-UX 10.20 Install Problems
  2000-10-10  5:02 HP-UX 10.20 Install Problems Richard.Gilham
  2000-10-10  5:28 ` Alexandre Oliva
@ 2000-10-10 10:22 ` Jeffrey A Law
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 2000-10-10 10:22 UTC (permalink / raw)
  To: Richard.Gilham; +Cc: gcc

  In message < C50DB0BE69E0D211B5D50008C7894AA2C43567@caeis04nok >you write:
   > I have followed the instructions given at the
  > " http://hpux.connect.org.uk/hppd/hpux/gcc-2.95.2 " website.
I haven't looked at these, but odds are there are some botches in
their instructions.

  > (binutils 2.9.1, Bison 1.28, flex 2.5.4a and sed 3.0.2 have all been
  > installed locally)
You shouldn't need bison, flex or sed to install gcc (though you may need to
get a patch from HP to fix their broken sed).

  > I then downloaded the HP-UX Source Code (gzipped) using FTP, on looking at
  > the file it's description was:
  > 
  > 	gcc-2.95.2-ss-11.00.tar.gz
?!?  This doesn't correspond to any official release I'm aware of.  It
almost sounds like a hacked up version for hpux11.  I recommend you instead
get an official release from the FSF.

  > The file was then decompressed and un-tar'd so that the configuring process
  > could start.
  > I am using the " http://gcc.gnu.org/install/configure.html " notes for
  > configuring.
  > 
  > I set-up an "objdir", cd'd into it then ran the "srcdir/configure" command.
  > The following error message appeared:
  > 
  > /mnt/GCC/gcc-2.95.2/configure --prefix=/usr/local
  > Configuring for a -hp-hpux10.20 host.
  > *** Cannot configure here in "/mnt/GCC/build" when "/mnt/GCC/gcc-2.95.2" is
  > currently configured.
This sounds like whatever sources you downloaded had already been configured,
and 99.9% of the time that's a bad thing.  Go get an official release and start
over.

jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-10 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-10  5:02 HP-UX 10.20 Install Problems Richard.Gilham
2000-10-10  5:28 ` Alexandre Oliva
2000-10-10 10:22 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).