On 2019/03/27 07:37, Alessandro DE LAURENZIS wrote:
> Hello Stuart,
> 
> On 26/03/2019 11:59, Stuart Henderson wrote:
> 
> [...]
> > I suspect you probably have a symlink for tclsh -> tclsh8.5. The following
> > is needed to let it build otherwise:
> > 
> > --- Makefile.orig   Tue Mar 26 10:57:14 2019
> > +++ Makefile        Tue Mar 26 10:56:23 2019
> > @@ -32,6 +32,9 @@ CONFIGURE_ARGS = -DTCL_HEADER=${MODTCL_INCDIR}/tcl.h \
> >   NO_TEST = Yes
> > +pre-configure:
> > +   cd ${WRKSRC}/etc && ${MODTCL_WISH_ADJ} TclEncode.tcl SwigCleanup.tcl
> > +
> >   post-install:
> >     ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opensta
> >     ${INSTALL_DATA} ${WRKSRC}/doc/OpenSTA.pdf ${PREFIX}/share/doc/opensta
> > 
> > With that added, it's OK sthen@ to import.
> > 
> 
> You're right, I removed tclsh and wish links to avoid similar issues for the
> future. But while there, maybe it's worth noting that, being both
> TclEncode.tcl and SwigCleanup.tcl run during build, and since they launch
> wish, the following message is displayed:

> > Application initialization failed: no display name and no $DISPLAY 
> > environment variable

Sorry my mistake, I should have suggested MODTCL_TCLSH_ADJ rather than 
MODTCL_WISH_ADJ.
I've fixed that and put MODULES back to lang/tcl.

Reply via email to