473,396 Members | 1,935 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,396 software developers and data experts.

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 1366
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 <iintbeumtnbfkcpntohw__NOSP@M__xs4all.nl.invalid > 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 <iintbeumtnbfkcpntohw__NOSP@M__xs4all.nl.invalid > 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
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...
2
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...
10
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...
6
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...
9
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...
1
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
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...
3
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.