473,788 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Make problem on Solaris : how to use Modules/Setup.config.in

Hello,

I'm trying to build python 2.3.4 on Solaris 8 (SunOS 5.8) and I ran into
a little problem with the socket/ssl module :

*************** *************** ******
gcc -shared build/temp.solaris-2.8-sun4u-2.3/_ssl.o -lssl -lcrypto -o
build/lib.solaris-2.8-sun4u-2.3/_ssl.so
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
*** WARNING: renaming "_ssl" since importing it failed:
ld.so.1:./python: fatal: build/lib.solaris-2.8-sun4u-2.3/_ssl.so: open
failed: No such file or directory
error: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `sharedmods'
*************** *************** ******

I know that this problem has happened before :
http://groups.google.fr/groups?hl=fr...org%26rnum%3D1

But I don't understand the solution :
"You must make sure that the library you link with is
position-independent, or else you must build _ssl as a builtin module
(i.e. through Modules/Setup, as non-shared)."

Because I haven't found the manual to use the Modules/Setup.config.in

How can I modify the Modules/Setup.config.in to build ssl as a builtin
module ?

Thanks in advance,
Jul 18 '05 #1
0 1496

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

Similar topics

2
2589
by: pancho | last post by:
Greetings, I need help configuring/building PHP3 with MySQL as a DSO on a Solaris 8 box - this module is needed to host some existing sites I will be migrating Note. I built PHP4 from source and it loads without an error. When I try t run "apachectl configtest" I get the following error: -- Cannot load /usr/local/apache/libexec/libphp3.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file...
0
1154
by: Noah | last post by:
freeBSD 4-8 STABLE cant install Python-2.3.3 configure: creating ./config.status config.status: creating Makefile.pre config.status: creating Modules/Setup.config config.status: error: cannot find input file: Modules/Setup.config.in clues please?
0
1763
by: Christopher De Vries | last post by:
The predominant operating system in my workplace is Solaris, with a bit of Linux and MacOS X thrown in. As such people expect to install new software with the sequence: ../configure make make install I've written some python modules and scripts which I packaged as a source distribution with distutils and sent it to some of my colleagues
5
4385
by: Madhu R. Vajrala | last post by:
Hello All, I am very new to Python, trying to install it from source (ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/python-2.3.3.tar.gz) on Sun Solaris-9 (SPARC). But getting the below error message during configure. Also while uncompressing, it is returning the checksum doesnt match error as well. Configure Error:
1
1828
by: Holger Joukl | last post by:
Hi, I encountered some build issues when compiling Python 2.4.4 on a Solaris 8 box using gcc 3.4.4: 1. Running configure detects that a C++-built main needs C++-linking. Therefore, Python gets linked with g++, creating a dependency on libstdc++. Some research showed up a rather elaborate discussion in the python-dev/c++-sig-archives, ending up in a patch that replaces the --with-cxx option with a --with-cxx-main
6
4904
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
3
3718
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...
2
2979
by: judasi | last post by:
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?
0
974
by: srf99 | last post by:
Recently I was trying to compile/install cx_Oracle on our Solaris system. When I ran "python setup.py build" I got the following message: "/usr/ucb/cc: language optional software package not installed" I Googled around and discovered that this is a frequently-encountered issue on Solaris systems, because Solaris systems don't have the Solaris C compiler installed by default. (We certainly don't. We use gcc instead.)
0
9656
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
9498
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
10366
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
10110
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
9967
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
8993
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...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.