On 02/03/13 13:34, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> On 02/03/13 11:32, Polytropon wrote: >>> On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >>>> On Sun, 3 Feb 2013, Gary Aitken wrote: >>>> >>>>> I suspect it is from building the nvidia driver, >>>>> as those Makefiles use >>>>> X11BASE= /usr/X11R6 >>>> >>>> Last I heard from the ports guys, that is obsolete. >>> >>> If I remember correctly, X11BASE equals LOCALBASE, which >>> is /usr/local, so any Makefile which uses X11BASE will >>> be directed to /usr/local. It's not clear to me why a >>> Makefile defines a location that has been obsolated... >> >> It's surrounded by >> >> .if !defined(X11BASE) >> X11BASE= /usr/X11R6 >> .endif >> >> Which would protect it if it was defined; >> but I don't see where X11BASE is defined anywhere in >> /usr/ports/Mk >> /usr/share/mk >> >> If it's been obsoleted, that would be the problem. >> >> However, I don't see LOCALBASE defined anywhere except in terms of itself, >> either. >> Where is it initially set? >> Not being a make dude, I'm out of my element here > > Do you have it defined in /etc/make.conf?
No; the only thing defined in /etc/make.conf is PERL_VERSION For the OP, I (just now) got the nvidia driver and x to compile and run under 9.1 as follows: 1. make and install the x11/xorg port 2. create the symlink /usr/X11R6 to point to /usr/local if /usr/X11R6 already exists as a regular directory and has stuff in it, move it aside or delete it. I found mine only had stuff from previous attempts to build the nvidia driver in it (a "bin" plain file(!), and a "lib" containing files from the nvidia driver build), so I deleted it. 3. download and unpack the nvidia driver; I used NVIDIA-FreeBSD-x86_64-304.64.tar.gz but note that that file is specific to my architecture, which is amd64; you'll need the appropriate one for your architecture. 4. make the nvidia driver 5. make sure step #4 added the line nvidia_load="YES" to /boot/loader.conf 6. add the following lines to /etc/rc.conf if not already present # Enable hald and dbus for X to work with kbd and mouse hald_enable="YES" dbus_enable="YES" Gary _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"