From owner-freebsd-qa Sun May 26 14:26:26 2002 Delivered-To: freebsd-qa@freebsd.org Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.21]) by hub.freebsd.org (Postfix) with ESMTP id A160237B404; Sun, 26 May 2002 14:26:22 -0700 (PDT) Received: from iae.nl ([213.46.9.162]) by amsfep14-int.chello.nl (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP id <20020526212621.MXZH25038.amsfep14-int.chello.nl@iae.nl>; Sun, 26 May 2002 23:26:21 +0200 Message-ID: <3CF152FD.42165EAC@iae.nl> Date: Sun, 26 May 2002 23:26:21 +0200 From: Hans Ottevanger X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.6-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: Randy Pratt Cc: qa@FreeBSD.ORG, re@freebsd.org Subject: Re: Sysinstall and configuring XFree86 References: <20020525112948.7bd9123f.rpratt1950@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Randy Pratt wrote: > > When I configure XFree86(4.2.0) using the sysinstall options, it seems to always > produces an error messages that the XFree86 Configuration process seems to have > failed when it tries to test the configuration. However, when I exit sysinstall > and use the configuration file that was produced, it works. This leads me to > think that its not a configuration issue. > > I'm beginning to wonder if anyone has gotten XFree86 configured successfully > using sysinstall. I'd appreciate confirmation that it has been used to configure > XFree86 without problems using sysinstall. > > My concern is that when a new user attempts to install and runs into this, > they're going to give up. > > I'd appreciate any comments on this since I'm trying to update the > handbook/install section for 4.6-RELEASE. It makes it pretty difficult to document if I can't seem to make it work. > > Thanks! > > Randy > When using sysinstall to configure XFree86 in 4.6-RC2, I found that the results of both the graphical and ncurses based config programs need some tweaking to be acceptable. And indeed, both config options produce error messages and make sysinstall fail over and over, just like you found, and as far as I know, this has nothing to do with the configuration. I have taken a look in the source code and found that sysinstall assumes that XF86Config is written into /etc, while the graphical and ncurses based programs by default save XF86Config in /usr/X11R6/lib/X11 and /etc/X11, respectively. As an additional complication, the ncurses based config program assumes that the directory /etc/X11 exists, so you must create it manually, if it is not there (like with a fresh install). You can choose other locations in both config programs, but I tried to change sysinstall to look for XF86Config in the alternative locations (added some code at line 709 in /usr/src/release/sysinstall/config.c), and now my sysinstall continues with the desktop selection after X configuration, as it should. Of course, all this does not help during a fresh install. I share your concern about new users just giving up, and I think sysinstall needs to be updated, and at least somewhat tested before 4.6-RELEASE hits the streets. Kind regards, Hans To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-qa" in the body of the message