home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!chsun!osnbe!
- From: rheiger@renext.eiger.olivetti.ch (Richard H. E. Eiger)
- Newsgroups: gnu.gcc.help
- Subject: Re: libg++-2.3
- Message-ID: <1992Dec27.084125.11869@osnbe.Olivetti.ch>
- Date: 27 Dec 92 08:41:25 GMT
- References: <1992Dec23.211947.19450@netcom.com>
- Sender: @osnbe.Olivetti.ch
- Reply-To: rheiger@renext.eiger.olivetti.ch
- Organization: Olivetti (Schweiz) AG, Branch Office Berne
- Lines: 47
- Nntp-Posting-Host: renext
-
- In article <1992Dec23.211947.19450@netcom.com> jimlynch@netcom.com (Jim Lynch)
- writes:
- > Hello, more problems... I did the 'make fixincludes' and now I'm getting more
- > problems... Question: If I set the _prefix_, does the lib make assume that my
- > entire installation is in the prefix directory? If so, is there a way to tell
- > the make (presumably thru 'configure') only the fixed includes are in my dir
- > and the rest can be found in the default place (/usr/local/...)?
- >
- > Here's what I'm getting when I try to make the c++ libs:
- >
- > Problem I:
- > dummy.c: 4: Can't find include file stdarg.h
- >
- > Problem II:
- > gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c
- String.cc
- > In file included from String.cc:28:
- > /u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11:
- syslim
- > its.h: No such file or directory
- > *** Error code 1
- > make: Fatal error: Command failed for target `String.o'
-
- I had the very same thing on my sun 3/60 sun-os 4.1.1. I managed to get around
- this by simply changeing ...2.3.2/include/limits.h to include <sys/limits.h>
- instead. I don't know whether that's ok - but it works so far.
-
- [deleted]
-
- > ---
- >
- > Any and all help appreciated.
-
- On top of that problem I would also get a problem when I wanted to compile a
- c++ program as anything else than root user. I found out that there were many
- include files in ...g++-include which had no read permissions other than for
- root. After the chmod it worked just fine.
-
- Richard
-
- --
-
- ___ _____2
- / ) / / / Richard H. E. Eiger
- /_ _/ /__/ /__ Ing. Informatik HTL
- /\ / / / Unregistered NeXT fan
- / \ / / /_____ rheiger@renext.eiger.olivetti.ch (NeXT mail welcome)
-