Overview
| Artifact ID: | 4b5818e9f3a428d1b9e472e53a30e734c081f67d |
|---|---|
| Ticket: | 489370ffffffffffffffffffffffffffffffffff
Make --libdir & --exec_prefix consistent |
| User & Date: | dgp on 2002-01-26 08:01:58 |
Changes
- icomment:
Logged In: YES user_id=80530 Thanks for looking into this. You mean TCL_LIB_SPEC, etc. Now I see the problem. Let me tell you what I want to do. Maybe you have an alternative for me. I want to really install Tcl under /usr/local/install/tcl8.4a4/ but I want it to act like it's installed in the default location /usr/local/. So $ cd unix $ ./configure $ make At this point the binaries have been built with the search path for shared libraries and the script library compiled into them as /usr/local/lib. Then, edit the Makefile and change the values of prefix and exec_prefix to the real install location, /usr/local/install/tcl8.4a4. Then $ make install Now, when I decide I really want to use Tcl 8.4a4, I run a script that makes all the symlinks to make it appear to be in the default location. For example, /usr/local/bin/tclsh8.4 -> /usr/local/install/tcl8.4a4/bin/tclsh8.4 This technique lets me quickly change from one to another to another Tcl version for testing, but they all appear to be installed in the same place (and can share a single set of installed packages). With current CVS, I have the additional step of editing the value of libdir in addition to prefix and exec_prefix.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"