freebsd notes – compiling and installing using ports

# compiling and installing using ports
ex.

whereis package
 
cd /usr/ports/package
 
make

# installing bash

cd /usr/ports/shells/bash
 
sudo make
 
sudo make install

# installing screen

cd /usr/ports/sysutils/screen
 
sudo make
 
sudo make install

# installing perl

cd /usr/ports/perl5
 
sudo make
 
sudo make install

# installing wget

cd /usr/ports/ftp/wget
 
sudo make
 
sudo make install

# di

cd /usr/ports/sysutils/di
 
sudo make
 
sudo make install

# php5

cd /usr/ports/lang/php5
 
sudo make install clean

resources

http://www.freebsd.org/doc/handbook/portsnap.html

[tags]freebsd, software, freebsd_installation_notes[/tags]

gentoo toolchain notes

A few critical packages in gentoo were released from ~ to stable recently, and through the upgrade I expericend a couple bumps.

After the upgraded packages were installed in order for things to compile after you will need to select the newer environment. YMMV

sudo binutils-config -l
 
sudo binutils-config 2
 
sudo gcc-config -l
 
sudo gcc-config 6

resources

GF20: C compiler cannot create executables

http://forums.gentoo.org/viewtopic.php?t=294109