Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Building Python with non-traditional paths

Thread Tools

Building Python with non-traditional paths
Posts: n/a
Is there a clean way to build Python under a non-traditional path,
linking with other software that is under non-traditional paths, on

I maintain a build of Python [1] that is part of a self-contained
bundle of software [2] to run bcfg2 [3].

The major problem I am having is getting the build to link to the
openssl libraries, which are installed under /usr/local/lib/bcfg2/lib;
I tried (on GNU/Linux):


but that didn't work. The only thing I could do to get it to work
(sometimes) was to edit the file directly before the
../configure; make; make install like this:

cat \
| sed s:\/usr\/local\/:\/usr\/local\/lib\/bcfg2\/:g \
| sed
| sed
| sed
s:\/usr\/local\/lib\/bcfg2\/ssl\/lib:\/usr\/local\/lib\/bcfg2\/lib:g \


However that is rather ugly, and modifies the source which I'd rather
not do. Is there a better/cleaner way?

[1] Complete build spec for Python for Bcfg2

[2] Bcfg2 Encap Packages - Overview

[3] Bcfg2 - Provides a declarative interface to system configuration

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paths, gentleman, paths Ohad Lutzky Ruby 2 11-07-2006 02:15 AM
Wireless building-to-building 101 Tim Jacob Wireless Networking 2 02-17-2006 09:46 AM
Building to Building wireless Patriot Cisco 2 11-04-2003 05:07 PM
Convert between Windows style paths and POSIX style paths Noah Python 5 07-11-2003 09:25 PM
Re: Building Python - how to set include and lib paths? Lack Mr G M Python 1 07-08-2003 08:40 AM