LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 12-21-2005, 11:03 AM   #1
dabang
Member
 
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
Compiling "nvidia-settings" an keeping FreeBSD up-to-date


Hi there!

I mananged installing FreeBSD 6.0 and the nVidia drivers 1.0-8174, but I came across a problem compiling the "nvidia-settings" tool. When I do "gmake" it stops compiling with:

Code:
src/libXNVCtrl/libXNVCtrl.a: could not read symbols: File format not recognized
gmake: *** [nvidia-settings] Error 1
Do I miss any dependencies? Or something very obvious? I followed the instructions given in the nVidia FreeBSD forum...

I have another question, concerning FreeBSD: how do I keep it up-to-date? If I understand correctly cvsup is used for updating the ports only? I havn't used any ports, just the binaries from the CDs or "pkg_add -r". Coming from Debian and Ubuntu I got very used to "apt-get update". Is there anything similar in FreeBSD?

Thanks a lot in advance!
 
Old 12-22-2005, 05:47 AM   #2
Carnevil
LQ Newbie
 
Registered: Dec 2005
Distribution: Freebsd 6.0
Posts: 12

Rep: Reputation: 0
Can't help you with the first question but you might try the mailing lists. Now the other two questions I can help you. Cvsup is also used to keep your src tree up to date this would be a source supfile.
Code:
*default host=cvsup8.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_0
*default delete use-rel-suffix
*default compress
src-all
You can change the host to whatever you want, now the other thing to change if you want is the release tag, which is set to download the 6.0 release branch. The release branch is used only for security and critical bug fixes. The other branch tag "RELENG_6" is the development branch for 6.X also called Stable "FreeBSD-STABLE is our development branch from which major releases are made. Changes go into this branch at a different pace, and with the general assumption that they have first gone into FreeBSD-CURRENT for testing. This is still a development branch, however, and this means that at any given time, the sources for FreeBSD-STABLE may or may not be suitable for any particular purpose. It is simply another engineering development track, not a resource for end-users."~Freebsd Handbook. Most likely you'll want to stick with the release branch, after you cvsup your source you'll rebuild the world http://www.freebsd.org/doc/en_US.ISO...makeworld.html. Now if you want to update your ports, portupgrade is the way to go, http://www.onlamp.com/pub/a/bsd/2003...SD_Basics.html great how to at that link. Now there are alot of switches for portupgrade but since you use packages, I'd use the -pp command which tells portupgrade to use packages instead of compiling. Oh one other link http://www.freshports.org great place to see all the ports for freebsd.
 
Old 12-22-2005, 08:34 AM   #3
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
For the first question, the problem appears to be the way you are doing the make. You don't use gmake directly. Log in as root (or su to root), then cd to /usr/ports/x11/nvidia-settings and do this:

make all && make install && make clean

The port is not currently marked "broken" so it should make cleanly. If it doesn't post the error message(s), and let's see what's happening.
 
Old 12-31-2005, 11:58 AM   #4
dabang
Member
 
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks guys for your replies! I'm still learning *BSDs ;-)
 
Old 12-31-2005, 05:20 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by dabang
Thanks guys for your replies! I'm still learning *BSDs ;-)
Another alternative is
Code:
#cd /usr/ports/x11/nvidia-settings
#make install clean
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 08:52 PM
Compiling KDE 3.2.0 - "Can't open perl script "/dcopidlng/kalyptus" linuxgamer09483 Linux - Software 3 04-09-2004 09:25 PM
"adjust date & time" in KDE on slack 9.1 causes crash mep]-[isto Slackware 13 02-08-2004 11:07 AM
gnome global settings "Help Me!!" or "URGENT" Fascistchicken Linux - Software 3 01-26-2004 07:27 PM
Monthly Archiving Script... help with "date" & "cron" Supp0rtLinux Linux - Software 3 01-03-2003 10:29 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration