Subject: make of pkg tk80 fails on NetBSD/pmax 1.3.
To: None <current-users@NetBSD.ORG>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 02/03/1998 16:42:26
[since there's no pkg list yet, AFAIK....]

Host: a NetBSD/pmax 1.3 system with the 1.3 /usr/share/mk/bsd.port*.mk
files (the -current ones Just Dont Work with the 1.3 make).,

Everything proceeds  okay until linking wish:

   cc  tkAppInit.o -L/cuisinart/NetBSD/pkgsrc/x11/tk80/work/tk8.0/unix -ltk80 -L/usr/pkg/lib -ltcl80  -L/usr/X11R6/lib -lX11  -lm -lc   -o wish
   ld: cannot open -ltk80: No such file or directory

Investigation shows that the linker is failing because the pkg system
isn't making the symlinks required by NetBSD's ELF subsystem (At
least, they're required on a pmax, and I copied the setup from the
alpha.  See the symlink rules in

Making the symlinks -> and -> and rerunning make seems to work.  But the pkg system
should be using the correct NetBSD rules to build libraries.

Has anyone successfully made tk and tcl on NetBSD/alpha 1.3?
If so, how?