X.Org port broken?

Luke luked at pobox.com
Sun Jul 4 15:43:12 PDT 2004



> I just installed FreeBSD 5.2.1-RELEASE on a computer and after failing
> to get XFree86 4.3.1,1 going on my DVI LCD monitor and nVidia FX5200
> card, I wanted to try my luck with X.Org's server, but the port simply
> refuses to install.I tried to install it a couple of weeks ago and it
> gave me tons of errors even then, this time, it gave me the following
> error:
>
> <paste>
> ndation"' -DXVENDORNAMESHORT='"X.Org"' -c xhost.c
> xhost.c: In function `change_host':
> xhost.c:423: error: syntax error before "siaddr"
> xhost.c:434: error: `siaddr' undeclared (first use in this function)
> xhost.c:434: error: (Each undeclared identifier is reported only once
> xhost.c:434: error: for each function it appears in.)
> xhost.c: In function `get_hostname':
> xhost.c:883: error: `XServerInterpretedAddress' undeclared (first use in this fu
> nction)
> xhost.c:883: error: `sip' undeclared (first use in this function)
> xhost.c:884: warning: ISO C89 forbids mixed declarations and code
> xhost.c:888: error: syntax error before ')' token
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg.
> </paste>

I did the same thing for the same reason last week and got the same error. 
The problem was caused by stale files on my system.

Explicitly installing /usr/ports/x11/xorg-libraries before installing
/usr/ports/x11/xorg did the trick.

This error was just the first in a series of problems caused by stale 
files, but I fought my way through the installation process and now have 
xorg running with the latest nvidia drivers so now my video card works and 
I'm happy.  :)


More information about the freebsd-questions mailing list