This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
usersguide:installingsourcepackages [2014/12/28 15:55] yrmt make pkgsrc uses git, so make sure we have it |
usersguide:installingsourcepackages [2016/02/26 19:41] gtkelly [Compiling a Package] |
||
---|---|---|---|
Line 26: | Line 26: | ||
To retrieve the current official repository, type the following as root: | To retrieve the current official repository, type the following as root: | ||
<code> | <code> | ||
- | # pkgin install git-base | + | # pkgin install git-base digest |
# cd /usr | # cd /usr | ||
# make pkgsrc | # make pkgsrc | ||
</code> | </code> | ||
- | To build software, you will also need to install the development tools, a.k.a the following packages: | + | To build software, you will also need to install the development tools (pkgin_sets contains bmake, clang, etc): |
<code> | <code> | ||
- | # pkgin install bmake gmake binutils clang | + | # pkgin_sets |
</code> | </code> | ||
Line 66: | Line 66: | ||
This installs //figlet// in ///usr/pkg/bin//. | This installs //figlet// in ///usr/pkg/bin//. | ||
+ | If you receive a message "install: exec of strip failed: /usr/bin/strip" test your environmental values: | ||
+ | |||
+ | <code> | ||
+ | # which strip | ||
+ | /usr/pkg/bin/strip | ||
+ | # export STRIP=/usr/pkg/bin/strip | ||
+ | </code> | ||
+ | |||
+ | The default for ///usr/bin/install// is to use ///usr/bin/strip//, unless an alternative is provided in the environmental value STRIP. | ||
===== Additional Documentation ===== | ===== Additional Documentation ===== | ||