Cannot link editor Ted

Jonathan <[email protected]>
Newsgroups gmane.os.netbsd.ports
Message-ID <[email protected]>
OS NetBSD 1.6.2
i386
gcc-2.95.2
openmotif-2.1.30nb2


I am having a problem with doing make install on Ted, a word processing package. I get these results whether I build /usr/pkgsrc/editors/ted or the source tarball. I am helping with the testing on the next release (ver 2.15) and wanted to make sure it worked well on NetBSD. 
  Just before I do "make install" I get see this at the end of the make:

 Ted.static:
         -lXp.6 = not found
         -lXmu.6 = not found
         -lXt.6 = not found
         -lXext.6 = not found
         -lSM.6 = not found
         -lICE.6 = not found
         -lX11.6 = not found
         -lm.0 = /usr/lib/libm387.so.0
         -lm.0 = /usr/lib/libm.so.0
         -lc.12 = /usr/lib/libc.so.12
 
 when they really should be like this (from FreeBSD 4.9):
 
 ldd Ted.static || true
Ted.static:
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2832c000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28334000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28349000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28393000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x283a1000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x283aa000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x283c0000)
        libm.so.2 => /usr/lib/libm.so.2 (0x2847c000)
        libc.so.4 => /usr/lib/libc.so.4 (0x28498000)
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28533000)
:
: Static executable Ted/Ted.static ready

 I got the same result whether I used bash-2.0.5 or the C shell, on NetBSD.
Any ideas as to why it is getting the wrong lib format?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.