make install problems
Closed / Duplicate1782934fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 152 days ago
Descriptionplain2007-08-27 21:58:38
Hi I am installing Tcl/Tk for use with pyton2.5.1. I can build Tcl/Tk following the directions in /unix/Readme. configure, make and make test work fine using my username and environment. I have two problems. Installing as root on our server, the permisions are incorrect. I do not get execute permissions for users directories and executables outside root! It seems like folders and executables should be 755 but are not? I have hacked it by hand with chmod When running make test in python, tkinter looks for tk.tcl in some very strange places, I have no idea why. I finally got it to work by adding a symlink from Tcl/8.4.15/lib to ../../../tk/8.4.15/lib/tk8.4 Any suggestions about better solutions would be great! David $uname "-a" Linux myname.and.domain 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:39:17 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
dkf Ticket [1782934fff]: 2 changes
[History diff]2007-08-28 15:17:42
hobbsplain2007-09-11 06:11:16
Logged In: YES user_id=72656 Originator: NO What is your umask setting? Can you elaborate on the dir structure you have a bit more? It may be that what you have isn't the "expected"/standard dir structure.
dstuebeplain2007-09-11 09:16:19
Logged In: YES
user_id=1791042
Originator: YES
Hi Hobbs
Thanks for the suggestions, I do not know much about umask, but it seems to be correct, umask for root is 0022 - I can't remember now exactly what the permissions were when I ran the install atleast 644 or less ? Seems strange... Has anyone else reported permissions problems installing tk/tcl as root?
As for Python - what a mess. I definetly have a non standard directory structure. I am trying to install python with support for tkinter on a server for both em64t/ia32 machines, so we have a wrapper for our binaries to select the correct version, and non standard install directories for most of our libraries and include files.
I am trying to install the binaries for tk/tcl and python in a serperate directery without interfering with the version that came with the kernel. I can't overwrite the version that comes with the kernel, that is on each work station, not the server. The users .rc file will have to set the correct environmental variables to get the correct libraries, path etc...
Our servers name is 'mao', it has a directory, /usr/medm which is exported to all workstations as: /hosts/mao/usr/medm
I install build software with --prefix=/hosts/mao/usr/medm/share/{em64t,ia32}/PROG_NAME/VERSION#
Then I put links to the binaries and libraries in /hosts/mao/usr/medm/{bin,lib,lib64,include,include64}
That way when I install new versions I can test the install before switching the users, then switch the links...
So for instance, I built and installed Tk and Tcl, they work fine (permissions...) but when I try and build python it it is not able to find the tk libraries unless I put a link in the tcl/lib directory. I guess I am mostly complaining about python at this point... Any advice is welcome! It all works in theory but damn it is a pain in practice.
Suggestions are welcome!
David
dgpplain2008-03-12 02:25:12
Logged In: YES user_id=80530 Originator: NO The comments about seeking tk.tcl "in some very strange places" sound like a Dup of 765642.
stuplain2025-01-20 10:41:14
I think this can be closed. Install perms have been ok for a while now, the rest of the ticket is about some custom Python/Tcl configuration, and Tk 8.4 and Linux 2.6 are no longer relevant.
stuplain2025-01-20 10:50:08
Also, I can't find ticket 765642.
stu Ticket [1782934fff]: 3 changes
[History diff]2025-01-21 16:34:00
jan.nijtmanswiki2025-01-21 18:00:59
>Also, I can't find ticket 765642.
It's here (for Tk)
stuplain2026-07-02 12:16:56
I think this can be closed, as I mentioned about 1.5 years ago ;)
jan.nijtmanswiki2026-07-03 12:53:06
This looks like a dup of [31d4fa115b], so let's close it.
Log in (anonymous is fine) to add a comment.