Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 15:43:02 -0700 (PDT)
From:      Luke <luked@pobox.com>
To:        3BSD <assadbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X.Org port broken?
Message-ID:  <Pine.NEB.4.60.0407041535480.21768@norge.freeshell.org>
In-Reply-To: <f8646080040703232417a08d64@mail.gmail.com>
References:  <f8646080040703232417a08d64@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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.  :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.60.0407041535480.21768>