[GRASS5] _gtty & _stty errors
Jeshua Lacock
jeshua at SierraMaps.com
Sun Dec 10 13:42:45 EST 2000
On Saturday, December 9, 2000, at 11:12 PM, Eric G . Miller wrote:
> On Sat, Dec 09, 2000 at 09:35:41PM -0800, Jeshua Lacock wrote:
> >
> > On Saturday, December 9, 2000, at 07:06 PM, Eric G . Miller wrote:
> >
> > > > OK, I'm back after re-installing my system.
> > > >
> > > > It appears that gtty and stty are defined in the header libc.h (which
> > > > is on my system), however I cannot locate the archive libc.a anywhere
> > > > on my system. I suspect that this may be the problem, can someone
> > > > confirm this?
> > > >
> > > > Does anyone know where to get libc.a? Would it work if someone
> > > > emailed it to me (off list, of course)?
> > >
> > > You need to get a copy of the static C library for Mac OS X. Possibly
> > > available in developer's resources or some such. Apparently you only
> > > have the shared libes ?? (libc.so or libc.o). It's likely much to big
> > > to mail and it *must* be built for that system. Mine weighs in around
> > > 2.5 MB.
> >
> > Hi Eric,
> >
> > Thanks for your help.
> >
> > I'm not sure about your question. In /usr/include I have libc.h and
> > libc.p (no libc.o or libc.so). I do not have any libc*.* files in
> > /usr/lib....
>
> I find it hard to believe there is no C library. Did you check in /lib
> as well? (it wouldn't be in an include directory). How'd you manage to
> build stuff before without the static library? I always get a linker
> error (but then, all the shared libraries are stripped of symbols too).
Thanks Eric. I do not have a directory named /lib.
Then I must have some of the static lib and not all of it?
> > I am having a hard time finding the static C lib. Does GNU have a
> > distribution? Maybe gcc?
>
> Yes, but there're complications with having more than one C library on
> the system, especially if they're from different "vendors".
Well, the cc that I have now is GNU's, so I a presume It would be OK.
I can't get gcc compiled however, so I think I will join the gcc mailist and ask for some support.
> > If you ftp'ed the lib, could I build it for my system? If so, please
> > ftp to ftp.SierraMaps.com/pub/
>
> Yes you could get GNU Libc, but maybe you'd be better off getting the
> libc that gets distributed with the BSD's (I believe it's different).
I'll look into this.
> I think that maybe you could build it in /usr/local/lib, but then you
> may or may not need to use an LD_PRELOAD=/usr/local/lib/libc.so.6 or
> whatever in order to run GRASS programs and not have them do weird
> things. I don't know for sure.
>
Thanks again,
Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list