Opened 13 years ago

Closed 13 years ago

#3228 closed Patches (invalid)

Documentation Improvement - Include "--exec-prefix" in Example

Reported by: eldon_nelson@… Owned by: Dave Abrahams
Milestone: Boost 1.40.0 Component: Getting Started Guide
Version: Boost 1.39.0 Severity: Optimization
Keywords: Cc:

Description

I would like to propose a usability fix to the Getting Started Guide at the following location.

http://www.boost.org/doc/libs/1_39_0/more/getting_started/unix-variants.html#id27

"Select your configuration options and invoke ./bootstrap.sh again without the --help option. Unless you have write permission in your system's /usr/local/ directory, you'll probably want to at least use"

BEFORE $ ./bootstrap.sh --prefix=path/to/installation/prefix PROPOSED FIXED $ ./bootstrap.sh --prefix=path/to/installation/prefix --exec-prefix=path/to/installation/prefix

"--exec-prefix" is needed to make sure that the libs can go where you want too - they default to the /lib dir which is not writeable by most people.

Thanks again!

---

REFERENCE Installation directories:

--prefix=PREFIX install Boost into the given PREFIX

usr/local

--exec-prefix=EPREFIX install Boost binaries into the given EPREFIX

[PREFIX]

More precise control over installation directories:

--libdir=DIR install libraries here [EPREFIX/lib] --includedir=DIR install headers here [PREFIX/include]

Change History (1)

comment:1 by Dave Abrahams, 13 years ago

Resolution: invalid
Status: newclosed

As far as I can tell, the default exec-prefix is the same as the prefix, so telling people to set the prefix to a writable directory handles that problem. I think this complication of the directions is not necessary. If I am wrong and the directions don't work, please reopen and reassign this ticket to vladimir_prus, who is responsible for bootstrap.sh

Note: See TracTickets for help on using tickets.