Subject: Re: Cannot link editor Ted
To: tech pkg <tech-pkg@NetBSD.org>
From: Jonathan <j.e.drews@worldnet.att.net>
List: tech-pkg
Date: 03/16/2004 21:56:20
Jeremy C. Reed wrote:

>You would modify in Ted-2.15a7, the Ted/makefile.in file. That file is
>used to generate the Ted/makefile. Notice how it has:
>
>X_LIBS=@X_LIBS@
>
>  
>
Great Jeremy: )

 I added -Wl -R/usr/X11R6/lib, to line 38, of 
~/Ted-2.15a7/Ted/makefile.in like so:

X_LIBS=@X_LIBS@ -Wl -R/usr/X11R6/lib

and it produced the desired output here for the "make private" version,  
on NetBSD 1.6.2.

ldd Ted.static || true
Ted.static:
         -lX11.6 => /usr/X11R6/lib/libX11.so.6
         -lXext.6 => /usr/X11R6/lib/libXext.so.6
         -lXp.6 => /usr/X11R6/lib/libXp.so.6
         -lICE.6 => /usr/X11R6/lib/libICE.so.6
         -lSM.6 => /usr/X11R6/lib/libSM.so.6
         -lXt.6 => /usr/X11R6/lib/libXt.so.6
         -lXmu.6 => /usr/X11R6/lib/libXmu.so.6
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lc.12 => /usr/lib/libc.so.12


Thanks for your help : ). Now I can test the upcoming Ted release on 
Netbsd and make sure everything works. I just have to configure CUPS so 
I can test the hardcopy printing.


                                                                   Kind 
regards,
                                                                   Jonathan

>  
>