X.Org port broken?

2004-07-04 Thread 3BSD
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

Is there a solution to this or is it simply broken and awaits the
attention of the port maintainer?

MTIA

-Assad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.Org port broken?

2004-07-04 Thread Matthew Seaman
On Sat, Jul 03, 2004 at 11:24:35PM -0700, 3BSD wrote:
 
 Is there a solution to this or is it simply broken and awaits the
 attention of the port maintainer?

Please.  Assume at least a minimal amount of competence on the part of
port maintainers.  Ports, especially of big and important software
systems like the X.Org server and clients, are not allowed to sit
around in an obviously broken and uncompilable state.  There would be
a great deal of traffic all over the freebsd-x11 and freebsd-ports
mailing lists if such breakage did occur.  Even if there was breakage
occuring that could not be fixed immediately, a 'BROKEN=' flag would
be set in the port Makefile, with a message explaining the problem.

No, the immediate conclusion has to be that you are doing something
wrong.  You don't give us any information that will allow us to say
precisely what, but I will hazard a guess that since you tried to
install XFree8604.x you have the imake-4 port installed.  That won't
work with the X.Org stuff, but it will fool the ports system into
thinking that everything is OK.

You need to de-install imake-4 and install imake-6 instead:

# portupgrade -o devel/imake-6 -f imake-\*

Then try the X.Org installation again.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp3KnICySEqS.pgp
Description: PGP signature


Re: X.Org port broken?

2004-07-04 Thread Luke

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.  :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]