Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2009 23:13:01 -0500 (EST)
From:      Kenneth Freidank <kennethcf@earthlink.net>
To:        Henry Olyer <henry.olyer@gmail.com>, freebsd-questions@freebsd.org
Cc:        Kenneth <kennethcf@earthlink.net>, Chris Whitehouse <cwhiteh@onetel.com>
Subject:   Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else
Message-ID:  <18273839.1257221581200.JavaMail.root@wamui-cynical.atl.sa.earthlink.net>

next in thread | raw e-mail | index | archive | help
------=_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 <henry.olyer@gmail.com>
>Sent: Oct 26, 2009 2:53 AM
>To: freebsd-questions@freebsd.org
>Cc: Kenneth <kennethcf@earthlink.net>, Chris Whitehouse <cwhiteh@onetel.com>
>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: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18273839.1257221581200.JavaMail.root>