473,657 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't compile with --enable-shared on MacOSX

Help,

i tried to generate a dynamic library from the official
Python-2.4.0.tgz on MacOSX 10.3 but when i do the

../configure --enable-shared ; make ; sudo make install

or

../configure --enable-shared=yes ; make ; sudo make install
It links statically. It's also strange that i can't find a
libpython2.4.a in my
/usr/local/lib. It's not installed by the install command.

Also /usr/local/bin/python24 works fine.

I get an error that TK/TCL was not found. Is this the reason, i
thought i can simply ignore this error message.
Jul 19 '05 #1
3 1382
In article <6e************ **************@ posting.google. com>,
ll*****@web.de (Lothar Scholz) wrote:
i tried to generate a dynamic library from the official
Python-2.4.0.tgz on MacOSX 10.3 but when i do the

./configure --enable-shared ; make ; sudo make install

It links statically. It's also strange that i can't find a
libpython2.4.a in my
/usr/local/lib. It's not installed by the install command.
On Mac OS X the shared library functionality is obtained through
frameworks. It may detect this by default, but I'm not sure about
that. In any case read the install documentation, the correct options
are mentioned there, or you could just use the pre-built binary
install from python.org
I get an error that TK/TCL was not found. Is this the reason, i
thought i can simply ignore this error message.


Is not the reason, will go away once tcl/tk is installed (there is a
nice binary installer in the mac os x downloads section at apple.com

Maarten
Jul 19 '05 #2
Maarten Sneep <iintbeumtnbfkc pntohw__NOSP@M_ _xs4all.nl.inva lid> wrote in message news:<42******* **************@ news.xs4all.nl> ...
On Mac OS X the shared library functionality is obtained through
frameworks. It may detect this by default, but I'm not sure about


Not good. I don't want frameworks. I must embedd python into my
application.
Setting up a framework and installing/maintaining it is much more work
especially when i'm already doing my own maintainance for the
Linux/Windows port.

No ther way then stealing the dylib from the framework directory ?
Jul 19 '05 #3
Lothar Scholz wrote:
Maarten Sneep <iintbeumtnbfkc pntohw__NOSP@M_ _xs4all.nl.inva lid> wrote in message news:<42******* **************@ news.xs4all.nl> ...

On Mac OS X the shared library functionality is obtained through
frameworks. It may detect this by default, but I'm not sure about

Not good. I don't want frameworks. I must embedd python into my
application.
Setting up a framework and installing/maintaining it is much more work
especially when i'm already doing my own maintainance for the
Linux/Windows port.

No ther way then stealing the dylib from the framework directory ?


Umm, the framework gets embedded into the app bundle when you build it.
I think you do want frameworks.

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Jul 19 '05 #4

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

Similar topics

12
2362
by: Terry Richards | last post by:
i have macosx 10.2.8. i am trying to install php-4.3.10. i am getting: make gcc -Iext/standard/ -I/Users/terryr/tmp/php-4.3.10/ext/standard/ -DPHP_ATOM_INC -I/Users/terryr/tmp/php-4.3.10/include -I/Users/terryr/tmp/php-4.3.10/main -I/Users/terryr/tmp/php-4.3.10 -I/Users/terryr/tmp/php-4.3.10/Zend -I/Users/terryr/tmp/php-4.3.10/ext/xml/expat -no-cpp-precomp -no-cpp-precomp -I/Users/terryr/tmp/php-4.3.10/TSRM -g -O2 -c...
2
1927
by: Joe | last post by:
Is there a way to mount a network share from within Python on MacOSX? I imagine it would be the same as for Unix, but I don't know how to do it for Unix either. I have searched python.org and googled a lot without success. Any help here is greatly appreciated. Thanks all!
10
2200
by: svenn.are | last post by:
Hi, I wanted to run a program that is written in PyQt on my mac, and went over to Riverbank to get PyQ 3.13 and SIP 4.1.1 sources. I followed the installation guide except for the compiling python as Macosx already has python. I had no problem with compiling SIP and also no problem with compiling PyQt nor did I have any error message during make install.
6
1291
by: Kevin Atherton | last post by:
Hello. I work for a large web company, and we are in the process of converting our old .asp pages to .aspx with VB code-behind. The solution includes 8 projects, all of which are very interwoven. The problem is that when I first open the IDE and load my solution, if I try to build or build all, it gets partway through the compile and then IDE simply goes away. There is no error, no fanfare, no warning, no indication that there is a...
9
4174
by: collection60 | last post by:
I've been developing some Unix based shell tools. They work fine on Linux and MacOSX. I want to compile them on Win32. But I can't get hash_map to compile. I tried downloading stl (and stlport) which is supposed to work in MSVC, but it doesn't, it just generates tons of errors for stuff that used to work just fine. Where do I get fts.h to compile and dirent.h compile?
1
1921
by: Nagaraj | last post by:
hi all, I have simple basic c++ program "hello world" which i cant compile on linux system. I have given extension as .C. please tell me how to compile C++ programs on Linux.
4
1734
by: andrea | last post by:
Hi everyone, I use python on macosx with textmate as editor (great program). I also use macport to install unix programs from the command line and I find it great too. Well I would like to have all my modules in the path when I'm using textmate AND when I use the commandline (ipython), but because textmate and the command line use different python versions they also search in different places..
3
1329
by: M K | last post by:
I keep getting this message Visual Studio could not copy a support file to this location.... Please verify the path exists and is writeable. I keep trying to set the read only bit on it but when i click Ok it goes right back. I tired subfolder, even the mydocs folder too.. still read only. HELP!
0
1174
by: sskaje | last post by:
i tried to compile php_imagick on my win box with visual c++ 6.0 but i got these errors when linking: these two symbols can be found in the php5ts.lib, but i dont know what makes them ive already add the php5ts.lib to the link libs then i read the source of php_imagick, and found :
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.