This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Gcc 3.4.6 Build error
- From: "Mcgovern, Matthew CIV NAVAIR 521420E" <matthew dot mcgovern at navy dot mil>
- To: "Bob Proulx" <bob at proulx dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 28 Jun 2006 08:19:35 -0700
- Subject: RE: Gcc 3.4.6 Build error
The only option to configure was: --prefix=/usr/local/gccbuild. I did
a mkdir of "gccbuild", but the object directory is /usr/local/gccobj. I
used the "gccbuild" directory because of the recommendation that the
object directory not be in the same path as the build directory, or vice
versa. The source directory is in a totally different path.
I don't know if I'm using the native HP C compiler. I don't think it is
installed on this system. I'm trying to install gcc so that I can
upgrade/install Apache web server (httpd 2.0). The Apache is not
building and I think it's because I don't have any compilers installed
on the system. The OS load was conducted using a proprietary set of
tapes with proprietary software, not by installing from a factory
released build, so I think they didn't install any compilers on the
system.
I don' t know what the bundled K&R compiler or the ANSI C compiler are.
As you can tell I'm not as knowledgeable as I should be, but I need to
upgrade my web server for security reasons.
VR,
Matt
-----Original Message-----
From: Bob Proulx [mailto:bob@proulx.com]
Sent: Wednesday, June 28, 2006 1:34
To: Mcgovern, Matthew CIV NAVAIR 521420E
Cc: gcc-help@gcc.gnu.org
Subject: Re: Gcc 3.4.6 Build error
Mcgovern, Matthew CIV NAVAIR 521420E wrote:
> I am attempting to install a native gcc 3.4.6 on an HP-UX 10.20 OS.
> I've successfully run configure. The srcdir is separate from objdir.
> When I try to build the system I get the following error:
>
> Cpp: libgnuintl.h line 301 error 4065 Recursion in macro
> "libintl_set_relocation_prefix"
Exactly what were the options to configure? Are you using the native HP
C compiler? Is this the bundled K&R compiler or the optionally
installed ANSI C compiler?
> Any suggestions on how to solve this and continue with the build?
Depending upon the above answer you may need to bootstrap yourself using
a previously compiled binary version of gcc.
Bob