This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: makesetup support for RPATH (PR#202)
Type: Stage:
Components: Build Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake
Priority: normal Keywords:

Created on 2000-07-31 21:05 by anonymous, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (3)
msg84 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-07-31 21:05
Jitterbug-Id: 202
Date: Fri, 11 Feb 2000 07:12:28 -0500 (EST)
Version: 1.5.2
OS: IRIX 6.5

Recently tried to rebuild Python, adding in gdbm.  This Setup line is
new for this build:

gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib32 -rpath
/usr/local/lib32 -lgdbm

The problem is, 1.5.2's makesetup doesn't take RPATH directives, reporting
-rpath as a "bad word".  Note that RPATH directives take different forms
on different OSs:  -rpath on SGI IRIX is -R on Solaris, --rpath on FreeBSD,
A provision should be made for RPATH options as they are used to avoid the 
need for LD_LIBRARY_PATH hacks.

--- Makefiles ---
bad word -rpath in gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib32
-rpath /usr/local/lib32 -lgdbm
*** Error code 1



Audit trail:
Wed Feb 23 21:30:21 2000	guido	changed notes
Wed Feb 23 21:30:21 2000	guido	moved from incoming to open
msg85 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-08-03 06:10
The current CVS version of makesetup appears to handle -rpath and -R, but not --rpath.  Is neither of the alternatives sufficient for FreeBSD?
msg86 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-08-11 13:59
-R and -rpath are supported; --rpath support is added in Modules/makesetup revision 1.27.
Date User Action Args
2022-04-10 16:02:08adminsetgithub: 32684
2000-07-31 21:05:57anonymouscreate