gcc won't compile (or can't install) on hp-ux 11.0

Joe Comunale jbc@forbin.qc.edu
Sat Aug 5 06:16:00 GMT 2000


I attempted twice to install gcc on the following machine:

Machine    :    HP Model 9000/712/66
OS         :    HP-UX B 11.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ATTEMPT [1]

I installed gcc using HP's "swinstall" command. Everything
went well. I clicked "Done" (on the gui) to complete the install.
Then I tried to run a simple program and received this error:

as: "/var/tmp/ccrovZAa.s", line 22: error 1052: Directive name not
recognized - NSUBSPA

The program simply prints 'Hello' - see for yourself

	/* This program tests the gcc installation */
	#include <stdio.h>
	int main()
	{
	  printf ( "\nHello\n" );
	}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATTEMPT [2]

I then tried to compile gcc (2.95.1). The configure went
well, but the 'make' aborts with this error message. Please note that
lcal is my symbolic link for /usr/local/bin. As you can see below,
the 'configure.in' file does exist! [This behavior (not being able
to find files in the same dir) happened before - the gcc install
said it couldn't find bison. So I included /usr/local/bin in root's
$PATH.] Error message follows:

huck1:/lcal/gcc-2.95.1> make
No suffix list.
        make all-recursive
No suffix list.
Making all in intl
Making all in lib
Making all in makeinfo
Configuring in /usr/local/bin/gcc/libio
../.././libio not found
/lcal/gcc-2.95.1/configure[589]: /lcal/gcc-2.95.1/gcc/version.c: Cannot 
find or open the file.
grep: can't open ./configure.in
*** ./configure.in has no "per-host:" line.
grep: can't open ./configure.in
*** Error exit code 1
 
Stop.

So I did an ls and you can plainly see that configure.in exists.
huck1:/lcal/gcc-2.95.1> ls
.brik                  config.cache           libchill/
.cvsignore             config.guess           libf2c/
COPYING                config.if              libiberty/
COPYING.LIB            config.status          libio/
ChangeLog              config.sub             libobjc/
FAQ                    configure              libstdc++/
INSTALL/               configure.in           ltconfig
MAINTAINERS            contrib/               ltmain.sh
Makefile               etc/                   missing
Makefile.in            faq.html               mkinstalldirs
README                 hppa1.1-hp-hpux11.00/  move-if-change
bison                  include/               symlink-tree
config/                install/               texinfo/
config-ml.in           install-sh             ylwrap
huck1:/lcal/gcc-2.95.1>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks in advance for any help you may give me.
--
Joe Comunale         /url> forbin.qc.edu/~jbc
Queens College/OIT   /vox>       718-997-5919
Unix Asst Sys Mgr    /fax>              x5678

(root@huck1.dh.qc.edu)






More information about the Gcc-help mailing list