Solved x11/xorg fails to install usinf make install clean or pkg install

I am completely new to FreeBSD although I have been successful with Linux. I have installed version 10.1 from the downloaded ISO disk and am following the online handbook to build the system. I am now trying to follow section 6.3 Installing Xorg. I tried
Code:
# cd /usr/ports/x11/xorg
# make install clean
but this fails with:
Code:
fetch: http://distcache.FreeBSD.org/ports-distfiles/MesaLib-10.4.0.tar.bx2: No address record

Couldn't fetch it - please try again
port manually into /usr/ports/distfiles/ and try again.
Not sure how to manually port the distfile.

I next tried
Code:
# pkg install xorg

This command tries to update pkg: 1.3.8_3 -> 1.4.3

This also fails with pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/All/pkg-1.4.3.txz: No address record
Am I doing something wrong or are the packages not available please?
 
"No address record" indicates a resolving issue. You either don't have proper DNS servers in /etc/resolv.conf or the ones you have do not work.
 
Back
Top