473,396 Members | 1,864 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.

autoconf-style checking for installed libs with DistUtils

HI!

Is it possible to probe for installed libs with DistUtils?

I'd like to automatically search for optional libs and adjust C compiler
switchers before starting the build of a the extension module.

Ciao, Michael.

Jul 18 '05 #1
2 2037
Michael Ströder <mi*****@stroeder.com> writes:
Is it possible to probe for installed libs with DistUtils?

I'd like to automatically search for optional libs and adjust C
compiler switchers before starting the build of a the extension module.


Unfortunately, great though it is, distutils can be a bit hard to
customize. I remember having trouble getting extra gcc switches in,
and getting data put where it needed to go. Generally, you do
whatever you like before calling setup(), to figure out library paths
and such. I haven't heard of any autoconf-like facilities having been
added. If you have a particular problem, try asking about that.

I wonder if SCons (pure-Python) could help in some way with this kind
of stuff? It *does* have some (newish, I think) autoconfiguration
code, but I don't know if it has any distutils support.
John
Jul 18 '05 #2
John J. Lee schrieb:
Michael Ströder <mi*****@stroeder.com> writes:
Is it possible to probe for installed libs with DistUtils?

I wonder if SCons (pure-Python) could help in some way with this kind
of stuff? It *does* have some (newish, I think) autoconfiguration
code, but I don't know if it has any distutils support.


SCons has some support for Library checks. But you may want to have a
look at Autoscons which offers more stuff (still under development). In
addition I am currently working on implementing a whole bunch of
autoconf stuff for Autoscons. If you are interested, I can send you some
fragments.

Regards
Hartmut Goebel
--
| Hartmut Goebel | IT-Security -- effizient |
| h.******@goebel-consult.de | www.goebel-consult.de |

Jul 18 '05 #3

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

Similar topics

188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
1
by: Amit Gangrade | last post by:
I am trying to make a configure script for a c++ library . The library can be compiled with some optional header files,depending on the users decision . So basically I need to check for the headers...
3
by: Steven T. Hatton | last post by:
Sorry about the big code dump. I tried to get it down to the minimum required to demonstrate the problem. Although this is all done with GNU, I believe the problem I'm having may be more general. ...
10
by: Simon Elliott | last post by:
Is there a way at compile time to determine if a function has been declared? My specific reason for this is because of memicmp() and stricmp() which are declared in namespace std by some...
1
by: Tristan Miller | last post by:
Greetings. I have a program written in C99 which uses the bool, true, and false definitions from <stdbool.h>. Without rewriting the code, I'd like to make this program compatible with C89. I'm...
7
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that...
11
by: Matt Kowalczyk | last post by:
I hope I am posting this to the right newsgroup. I tried submitting this to the autoconf@gnu.org mailing list, but I see no activity. If this is the wrong newsgroup, I would appriciate a...
0
by: Hallvard B Furuseth | last post by:
I want to use Python as an extension language in a package which uses autoconf. That means its and Python's autoconf #defines can conflict, so I can't safely #include both <Python.h> and the...
1
by: Tom | last post by:
I'm trying to install the Fileinfo extensions from a PECL library called "fileinfo". The install fails because autoconf cannot be found. I have a custom installation of autoconf running out of my...
1
by: Ruben | last post by:
Where is the best news group to discuss autoconf I have to tip my hat to the GNU developers becaause autoconf seems like an animal, impossible to learn. Between M4, C Marcos, GDB, C++, C- and...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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.