Re: Problem in compiling scotty with Linux.

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Wed, 10 Jul 1996 12:01:27 +0200

Erik Campo <campo@ATM.teleinfo.uqam.ca> wrote:

> I'm trying to install scotty in my Linux box. The kernel version
> is 1.2.8 and as indicated, I've installed Tcl7.5 and Tk4.1.
> Now, I enter the unix directory and run the configure script.
> Then, I run make. Everything seems to compile well enough (some
> warnings here and there...) but I always get the following error and I
> really don't know what it means:
>
> make: execvp: tnmInit.o: Permission denied

The configure script tries to figure out how to build a dynamic
loadable extension by loading the tclConfig.sh file. This file
includes a definition for TCL_SHLIB_LD which defines the linker used
to build the loadable object file. I guess that your definition of
TCL_SHLIB_LD is empty and hence the first argument of the linker call
(tnmInit.o) is executed.

Please check if your Linux version supports Tcl dynamic loadable
modules (which is equivalent to the questions if your systems is an
ELF based Linux system). If you are running ELF, why is the
TCL_SHLIB_LD empty? How do you build loadable modules?

Anyway, I added an additional check for an empty TCL_SHLIB_LD
definition to the configure script so you will get an error at
configure time and not at compile time.

Juergen