473,800 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile Python With SSL On Solaris 10

Hi,

I am trying to compile py2.4.3/2.5 on a Solaris 10x86 machine, but
cannot get it to build an SSL enabled version. I have added the
relevant sfw directories into the path/crle, with no success. I've
even explicitly added ssl via the --with-libs directive, yet an import
_ssl still fails.

Has anyone else come across this?

Thanks

John

Oct 30 '06 #1
2 2980
ju****@gmail.co m schrieb:
I am trying to compile py2.4.3/2.5 on a Solaris 10x86 machine, but
cannot get it to build an SSL enabled version. I have added the
relevant sfw directories into the path/crle, with no success. I've
even explicitly added ssl via the --with-libs directive, yet an import
_ssl still fails.

Has anyone else come across this?
setup.py ignores all this. You have to edit Modules/Setup if you want
to specify non-standard search locations for header files and libraries.

Regards,
Martin
Oct 30 '06 #2

Martin v. Löwis wrote:
ju****@gmail.co m schrieb:
I am trying to compile py2.4.3/2.5 on a Solaris 10x86 machine, but
cannot get it to build an SSL enabled version. I have added the
relevant sfw directories into the path/crle, with no success. I've
even explicitly added ssl via the --with-libs directive, yet an import
_ssl still fails.

Has anyone else come across this?

setup.py ignores all this. You have to edit Modules/Setup if you want
to specify non-standard search locations for header files and libraries.

Regards,
Martin
That worked a treat, thank you!

Regards

John

Oct 31 '06 #3

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

Similar topics

1
1784
by: Jeremy Fincher | last post by:
I'm having problems compiling Python with socket support (and support for several other libraries) on Solaris 7. When I do the standard ./configure, make, make install dance, I got a fully compiled Python without an _socket module. So I uncommented the appropriate socketmodule.c line in Modules/Setup, and recompiled. I get this:
0
1001
by: mwidj | last post by:
I'm building python extension for some solaris specific functions. My setup.py looks like this: setup.py: from distutils.core import setup, Extension sol_ex = Extension('sun.solaris', )
0
1973
by: lmckaha | last post by:
Hi, Mysql version: 3.23.49 Solaris version: 2.7 gcc compiler version: 2.95.2 Python : 2.2.2 I'm evaluating the C and C++ API to decide which one to bye but I have many troubles.
12
3457
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++ compiler. I need to compile it under UNIX platform. correct? any other alternatives?? Please advise. Thanks!!
3
3720
by: skip | last post by:
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient version of curses in /usr/lib, so I downloaded and installed ncurses 5.5, both using default settings and using --with-shared. When the curses module is linked against libcurses.so I get some strange error about acs32map being undefined (which...
0
1444
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 407 open ( +3) / 3393 closed (+17) / 3800 total (+20) Bugs : 888 open (+28) / 6145 closed (+14) / 7033 total (+42) RFE : 232 open ( +3) / 236 closed ( +1) / 468 total ( +4) New / Reopened Patches ______________________
4
5101
by: milan_sanremo | last post by:
Under Solaris 10 I installed tcl 8.5 and tk8.5 and they work just fine. I built both with ../configure -prefix /usr/local/python/lib I then set LD_RUN_PATH to /usr/local/python/lib and ran the ./configure for Python 2.5 with no arguments. When I run make, it states: INFO: Can't locate Tcl/Tk libs and/or headers running build_scripts
0
1614
by: Martijn de Munnik | last post by:
Hi, I'm trying to build/install pysqlite on a Solaris 10 platform. I've got Sun Studio 11 on a AMD 64 platform and got this error. I'm a python newbie and just want to install trac. I've got ActiveState python: ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on Python 2.4.3 (#1, Apr 3 2006, 18:07:58) on sunos5 Type "help", "copyright", "credits" or "license" for more information.
4
6482
by: Martijn de Munnik | last post by:
Hi, I want to compile python on my solaris 10 system (amd 64 bit). I did the following: ../configure --prefix=/opt/64/python make which resulted in this error:
0
1811
by: mg | last post by:
When make gets to the _ctypes section, I am getting the following in my output: building '_ctypes' extension creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/ Modules/_ctypes creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/ Modules/_ctypes/libffi creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/ Modules/_ctypes/libffi/src
0
9550
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,...
0
10501
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10250
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
10032
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
9085
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
7574
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...
1
4149
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
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.