From owner-freebsd-questions@FreeBSD.ORG Tue Nov 3 04:13:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0E5106568D for ; Tue, 3 Nov 2009 04:13:02 +0000 (UTC) (envelope-from kennethcf@earthlink.net) Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5502D8FC14 for ; Tue, 3 Nov 2009 04:13:02 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=oF1t5hIjkIMM5LnucMfBZwn1nvJ6YqtNgPtEFlUjYBNtV5ADlHAv3JA2OU1LYHsX; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.63] (helo=wamui-cynical.atl.sa.earthlink.net) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1N5AlR-0003NE-Lu; Mon, 02 Nov 2009 23:13:01 -0500 Received: from 66.32.208.121 by webmail.c.earthlink.net with HTTP; Mon, 2 Nov 2009 23:13:01 -0500 Message-ID: <18273839.1257221581200.JavaMail.root@wamui-cynical.atl.sa.earthlink.net> Date: Mon, 2 Nov 2009 23:13:01 -0500 (EST) From: Kenneth Freidank To: Henry Olyer , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7888_27189121.1257221581116" X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: fa60bc5202b74016ef7f91bc926e004c7e972de0d01da94008d75b1aa837b23debc9ebcf670c842a350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.63 Cc: Kenneth , Chris Whitehouse Subject: Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kenneth Freidank List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 04:13:02 -0000 ------=_Part_7888_27189121.1257221581116 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Here are partial listings of my config files. Add these entries to your config files and see if that does the trick. I can't be 100% sure that everything is required, but it is what I have, and it works. Attached is the xorg.conf file I generated. Place it in the directory /etc/X11/. When you have done these things, make sure your user belongs to the group "wheel", then login. To start X, give the command: startx You should get 3 windows, one of them labeled "login" in the title bar. If you type "exit" while inside this window, then return, that will end your X session. You will have some "fatal error" messages in your console window when X finishes. Also, make sure you have installed the nvidia drivers per my other postings. You can check if you have the package installed by typing: pkg_info | grep nvidia You should see at a minimum: nidia-driver-185.18.29 NVidia graphics card binary drivers for hardware OpenGL ren You have to build this packages and install it. This process is documented in the NetBSD documents and my other postings for installing FreeBSD on a Compaq Presario CQ60. File /etc/rc.conf linux_enable="YES" moused_enable="YES" keyrate="fast" saver="star" hald_enable="YES" dbus_enable="YES" vesa_load="YES" File /boot/loader.conf nvidia_load="YES" -----Original Message----- >From: Henry Olyer >Sent: Oct 26, 2009 2:53 AM >To: freebsd-questions@freebsd.org >Cc: Kenneth , Chris Whitehouse >Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else > >'everything; is dying in /usr/ports/lang/gcc44 > >I know, (in all likelihood,) I'll have to scratch this area and do a >complete re-install. Fine. The thing is, I didn't change anything to mess >this area up in the first place. > >I've just been going to various directories in /usr/ports and saying, "make >install clean" and now this... I was trying to put up octave when this >happened. > >So I could use a little help here, please... > >I also want/need to run X, and my X session (just put up,) doesn't yet let >me move the mouse. I installed hal and dbus but what do I do now? > >And where or where do I put the "ServerFlags" entry in my xorg.conf file. > I'm sorry, I just don't know these things... > > > > >===> Building for gcc-4.4.2.20091006 >echo stage3 > stage_final >gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build' >rm -f stage_current >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty' >gmake[4]: Entering directory >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' >gmake[4]: Nothing to be done for `all'. >gmake[4]: Leaving directory >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl' >gmake[3]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' >gmake[4]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' >gmake[4]: Nothing to be done for `all'. >gmake[4]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' >gmake[3]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' >gmake[3]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib' >true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g -fkeep-inline-functions" >"CXXFLAGS=-g -fkeep-inline-functions" "CFLAGS_FOR_BUILD=-O2 >-fno-strict-aliasing -pipe -I/usr/l >ocal/include" "CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe >-I/usr/local/include" "INSTALL=/usr/bin/install -c -o root -g wheel" >"INSTALL_DATA=install -o root - >g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" >"INSTALL_SCRIPT=install -o root -g wheel -m 555" "LDFLAGS=" "LIBCFLAGS=-g >-O2 -fno-strict-aliasin >g -pipe -I/usr/local/include" "LIBCFLAGS_FOR_TARGET=-g -O2 >-fno-strict-aliasing -pipe -I/usr/local/include" "MAKE=gmake" >"MAKEINFO=makeinfo --no-split --split-size=5000 >000 --split-size=5000000 --split-size=5000000" "PICFLAG=" >"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" >"RUNTESTFLAGS=" "exec_prefix=/usr/loca >l" "infodir=/usr/local/info/gcc44" "libdir=/usr/local/lib/gcc44" >"prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd7.2" "AR=ar" >"AS=as" "CC=cc" "CXX=c++" "LD= >/usr/bin/ld" "LIBCFLAGS=-g -O2 -fno-strict-aliasing -pipe >-I/usr/local/include" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all >multi-do # gmake >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/zlib' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libcpp' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libcpp' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/gcc' >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/gcc' ------=_Part_7888_27189121.1257221581116 Content-Disposition: attachment; filename="xorg.conf" Content-Type: application/octet-stream; name=xorg.conf Content-Transfer-Encoding: 7bit Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" Load "record" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "GeForce 8200M G" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection ------=_Part_7888_27189121.1257221581116--