Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error during "configure/autoconf" step #8

Open
LittleZen opened this issue Feb 14, 2022 · 1 comment
Open

Installation error during "configure/autoconf" step #8

LittleZen opened this issue Feb 14, 2022 · 1 comment

Comments

@LittleZen
Copy link

Hi,

I was looking to build tkgate 2.0, but I found some errors during the installation phase! Unfortunately I wasn't able to install the program. I've followed all the steps wrote in the "INSTALL" file, and I've also correctly installed all the necessary dependencies. I've also tried to manually setup the ./config file in order to correctly read the *.sh files, but still got errors. That's the screenshots about the problem:

image

Basically the terminal return the error configure: error: could not find tclConfig.sh during the launch of the ./config script!

@bnoordhuis
Copy link
Owner

bnoordhuis commented Feb 15, 2022

tkgate's configure script doesn't use --with-tclConfig-file=... and --with-tkConfig-file=..., as far as I know, but you can point it to your tcl/tk install with the TKGATE_INCDIRS and TKGATE_LIBDIRS environment variables:

./configure --prefix=$(DESTDIR) --with-x --x-includes=$(X11DIR)/include --x-libraries=$(X11DIR)/lib TKGATE_TCLTK_VERSIONS=8.6 TKGATE_INCDIRS="$(X11DIR)/include $(DESTDIR)/include" TKGATE_LIBDIRS="$(X11DIR)/lib $(DESTDIR)/lib"

$(DESTDIR)/include and $(DESTDIR)/lib contain the tcl/tk header files and libraries respectively in this example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants