On Saturday, May 11, 2002, at 02:38 AM, Individual . . wrote:
> Hello.
>
> I hope you are not yet sick of me whining and whining about Jed, a nice
> text editor.
>
> I discovered (duh) that fink has slang available, so I installed that.
>
> I then went to the jed tarball directory, and typed ./configure, and
> that went fine.
> Then make clean, as the last lines of configure recommended, and then
> make.
> This is the error:
>
> cd src; make jed
> gcc -g -O2 -fno-strength-reduce -I/usr/X11R6/include -Dunix -DJED
> -I/usr/local/include /Users/durandal/Prog/pipes/jed-
> B0.99-15/src/chkslang.c -o /Users/durandal/Prog/pipes/jed-
> B0.99-15/src/objs/chkslang -L/usr/local/lib -lslang -ltermcap -lm
> /usr/bin/ld: can't locate file for: -ltermcap
> make[1]: *** [/Users/durandal/Prog/pipes/jed-
> B0.99-15/src/objs/chkslang] Error 1
> make: *** [jed] Error 2
>
> THe way I understand it, the library termcap was not found by ld which
> has to do with libraries and the compiler. I did sudo find / -name
> "*termcap" and it turned up 2 files, one called xterm.termcap and the
> other is in /usr/share/mist/termcap. Now, is this a problem of a
> strategic symlink not existing or something else?
>
> Help would be greatly appreciated.
You don't need a lot of the 'special' libraries on Darwin; they're
included in the "system framework". It's a convenience, unless you're
porting existing makefiles.
In your case, just remove the '-ltermcap' definition so it isn't
included. A lot of the "expected" library specs have been 'no-op'd in
Darwin's version of 'cc/ld', but I guess this isn't one of them.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners