473,320 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

build on AIX without Tk

Hello all,

I am brand new to this list, not sure if this the right place to ask
this question. I have two AIX 5.1 64-bit boxes and would like to have
Python on both of them but don't need any of the graphical elements
(Tk/Tcl/Tkinter). One of the boxes happened to have Tk/Tcl stuff
installed on it, so I was able to build Python 2.3.2 without a hitch.

The other box does not have Tk/Tcl installed, and I don't particularly
need it there. Below is the error message I get when attempting to make:

building '_tkinter' extension
../Modules/ld_so_aix cc_r -bI:Modules/python.exp
build/temp.aix-5.1-2.3/_tkinter.
o build/temp.aix-5.1-2.3/tkappinit.o -L/usr/X11R6/lib -L/usr/local/lib
-ltk8.2 -
ltcl8.2 -lX11 -o build/lib.aix-5.1-2.3/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.2
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l tcl8.2
ld:open(): A file or directory in the path name does not exist.
*** WARNING: renaming "_tkinter" since importing it failed: from module
build/li
b.aix-5.1-2.3/_tkinter.so No such file or directory
error: No such file or directory
make: 1254-004 The error code from the last command is 1.
Stop.

Is there any way to build without including tkinter support? (Or am I
just doing something wrong????)

Thanks for any help at all . . .

Dustin Tennill
Systems Admin
Eastern Kentucky University
du************@eku.edu

Jul 18 '05 #1
1 2309
"Tennill, Dustin" <Du************@EKU.EDU> writes:
Is there any way to build without including tkinter support? (Or am I
just doing something wrong????)


You should disable compilation of _tkinter in setup.py, by putting
a
return

statement into detect_tkinter.

Regards,
Martin
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Marco | last post by:
Is there anything better than using make for fairly large C++ projects? Could be an open-source, free or inexpensive commercial tool. It needs to easily integrate with a SCM tool. I want to...
3
by: taras | last post by:
Hello, Do anybody know some options for DevEnv utility for building ASP.NET project (without IIS Virtual Folder)? How to build ASP.NET project without IIS Virtual Folder creation? Visual...
2
by: Joe Shum | last post by:
Hi All: I am pretty new at ASP.NET development. Currently I need to build a Web Server app using C# and ASP.NET to automatically and repeatly refresh data changes at fixed intervals (2 to 30...
4
by: Saurabh Aggrawal | last post by:
Hi, I have made a dll and it is working fine in the debug build (as expected) but when I run it in the release build it is working strangely. For example, the dll saves the 10 properties on the...
12
by: David Murmann | last post by:
hi all! i just built revision 41809 under winxp using a rather uncommon setup (at least i think so). since i have no visual studio here, i only used freely available tools: cygwin to get the...
2
by: keepyourstupidspam | last post by:
Hi, I have a strange build problem. I am building an exe, this exe links to a number of static libraries maybe 20 in all and all are built from my code. I am using the gmake build system...
1
by: mac | last post by:
I just put C# express editiion on my son's computer so he can learn how to code, and we've run into a weird problem. Whenever he makes a change to his code and hits F6 (build) the IDE reports...
7
by: plumb and tree | last post by:
I've been trying for days to build 64 bit python with Solaris 10 + Sun Studio 12. Can anyone helpl please. This is how I tried to do build: # ./configure --prefix=/opt/python2.4...
14
by: yxq | last post by:
Hello, I want to build the multi-language application with the xml file, how to do? could anyone tell a sample? Thank you
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.