Solved [Solved] Can't install Xorg on FreeBSD 10.0

Hello all,

I would like to install Xorg on FreeBSD 10.0 and it fails; I follow the manual instruction, I type
# cd /usr/ports/x11/xorg
# make install clean
and I have the following error message.
Code:
This is a meta port, meaning that it just depends on its subparts of the port.
It won't build and install all the parts until you have typed make install.
This port does not ensure things are upgraded ; use portupgrade if you want 
to upgrade xorg. if you simply type 'make install' it may use over 2GB to built
all the subports. You can install the ports singly if you are low on space.
===> xorg-7.7 depend on file :/usr/local/sbin/pkg- not found
===> Verifing install for /usr/local/sbin/pkg in /usr/ports/ports/ports-mgmt/pkg
===> License BSD2CLAUSE accepted by the user
=> pkg-1.2.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
fetch http//files.etoilebsd.net/pkg/pkg-1.2.4.tar.xz : no adress record
=> Attempting to fetch http//mirror.shatow.net/freebsd/pkg/pkg-1.2.4.tar.xz
=> fetch http//mirror.shatow.net/freebsd/pkg/pkg-1.2.4.tar.xz no adress record
etc. continuing with differents http and ftp adress with same result no adress record.
Code:
=> Couldn't fecht it please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again
*** Error code 1
Stop.
 make[1] : stopped in /usr/ports/ports/ports-mgmt/pkg
*** Error code 1
Stop.
Make : stopped in /usr/ports/x11/xorg
I have tried the second suggested method, I type
Code:
# pkg install xorg
and I had the following error.
Code:
The pakage management tool is not yet installed on your system.
Do you want to fetch and install now [y/N]? y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latset/pkg.txz : no adress found.
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports :'ports-mgmt/pkg'.

What have I done wrong? What is the problem? Does anybody have an idea about my problem?
Thanks in advance.
Chat Noir
 
Re: Can't install Xorg on FreeBSD 10.0

First, did you verify your installation media? You may have a bad download. When I installed FreeBSD 10.0, all I had to do was enable dbus and hald in rc.conf, then downloaded xorg. I also downloaded Fluxbox to use as my window manager of choice, which meant that I created a .xinitrc in my home directory with its startup line.
 
Re: Can't install Xorg on FreeBSD 10.0

ChatNoir said:
I would like to install Xorg on FreeBSD 10.0 and it fails; I follow the manual instruction, I type
# cd /usr/ports/x11/xorg
# make install clean
and I have the following error message.
Did you update the ports tree before you did that? Looking at the version numbers of the ports it's trying to install I'm guessing you're working with a very old ports tree.
 
Re: Can't install Xorg on FreeBSD 10.0

Verify first that you have internet connectivity, the error messages suggest that you don't.
 
Re: Can't install Xorg on FreeBSD 10.0

Yes, looking at it again I see a bigger issue:
Code:
=> fetch http//mirror.shatow.net/freebsd/pkg/pkg-1.2.4.tar.xz no address record
The "no address record" and "no address found" indicates your DNS resolving doesn't work. How are you connected? Wired or wireless? Are you using DHCP or static addresses? When using static IP addresses the most common issue when resolving doesn't work is not having a proper resolv.conf(5).
 
Re: Can't install Xorg on FreeBSD 10.0

First, thanks for your reply.

kpa said:
Verify first that you have internet connectivity, the error messages suggest that you don't.

Yes, it seems that I have no connection to the internet.

SirDice said:
The "no address record" and "no address found" indicates your DNS resolving doesn't work. How are you connected? Wired or wireless? Are you using DHCP or static addresses? When using static IP addresses the most common issue when resolving doesn't work is not having a proper resolv.conf(5).

I am wired (wireless when it will work). I have configured using DHCP and IPv4. It seems not to be working. I don't see my machine on my internet box under FreeBSD but I see the machine when Windows7 runs!

How to solve this problem?
 
Re: Can't install Xorg on FreeBSD 10.0

I have reinstalled FreeBSD completely. After this installation it seems that my machine is connected to the router. My internet box sees my machine. I have performed a ping, it seems OK. Nevertheless after # make install clean I have the same errors as before.
 
Re: Can't install Xorg on FreeBSD 10.0

Code:
sudo fetch http://mirror.shatow.net/freebsd/pkg/pkg-1.2.7.tar.xz
pkg-1.2.7.tar.xz                              100% of 1780 kB  513 kBps 00m04s

I would suggest portsnap fetch extract.
 
Re: Can't install Xorg on FreeBSD 10.0

ChatNoir said:
I have reinstalled FreeBSD completely. After this installation it seems that my machine is connected to the router. My internet box sees my machine. I have performed a ping, it seems OK. Nevertheless after # make install clean I have the same errors as before.

A ping of what? The router or an outside site? What are the contents of /etc/rc.conf and /etc/resolv.conf?

Reinstalling the whole system is usually not necessary, and can just delay finding problems.
 
Re: Can't install Xorg on FreeBSD 10.0

Thanks all for answers.

wblock@ said:
A ping of what? The router or an outside site? What are the contents of /etc/rc.conf and /etc/resolv.conf?

I performed a ping of the router and an outside site to be sure to be connected. I have tried to install Xorg with # pkg install xorg and it works.

I am thinking, to my knowledge, that I have an old ports tree. I am now configuring and starting Xorg. I am thinking my problem is solved.
 
Back
Top