Issue with installing gcc from ports in FreeBSD 10.0

When I try to install gcc I end up with the following:
Code:
root@:/usr/ports/lang # cd gcc49
root@:/usr/ports/lang/gcc49 # make install
===> Building/installing dialog4ports as it is required for the config dialog
===>  Cleaning for dialog4ports-0.1.5_2
===>   dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>  License BSD2CLAUSE accepted by the user
=> pkg-1.2.4.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://files.etoilebsd.net/pkg/pkg-1.2.4.tar.xz
It freezes with:
Code:
=> Attempting to fetch http://files.etoilebsd.net/pkg/pkg-1.2.4.tar.xz

I am using FreeBSD 10.0.
 
I tried to update but I got:
Code:
root@:~ # portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching public key from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Tue Feb 18 00:07:21 UTC 2014:
fetch: transfer timed out
 
It might be a local problem:
Code:
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Thu Jan 30 21:12:40 CET 2014 to Wed Feb 19 09:54:47 CET 2014.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 4 metadata files... done.
Fetching 24684 patches.
(24684/24684) 100.00%  done.
done.
 
I have reinstalled FreeBSD 10.0 multiple times with no benefit, finally I have decided returning back to FreeBSD 9.2 which works fine.
Difficult life without gcc & pkg in FreeBSD 10.
 
Back
Top