User Tools

Site Tools


usersguide:installingsourcepackages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous 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:42] (current)
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 bmakeclang, 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 -s// (as provided in the Makefile) is to use ///​usr/​bin/​strip//,​ unless an alternative is provided in the environmental value STRIP.
 ===== Additional Documentation ===== ===== Additional Documentation =====
  
usersguide/installingsourcepackages.1419778536.txt.gz · Last modified: 2015/12/01 17:40 (external edit)