defining dependencies for ports
Message: 5 Date: Sun, 16 Jul 2006 23:00:40 -0500 From: mike [EMAIL PROTECTED] Subject: defining dependencies for ports To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello. I'm brand new to FreeBSD. I'm mostly enjoying it so far. I'm playing with installing the Eclipse IDE port right now. I say playing with because I started to install it and saw the list of dependencies and shuddered. I like to keep my system relatively clean and tend to start a new install of Linux (and now BSD) as bare bones and add only what I need. So I'm building Eclipse, and one of the things it wants to include is python . Seems odd for my java ide to need python, so I look it up on the web tool that shows all the dependencies for a port (which is a fantastic tool, by the way). And python is included because glade is included, and glade seems to be a top-level dependency. However, nowhere can I find in the Makefile any reference to Glade, nor to the many other top-level dependencies. How do I find out these things and once I find them, how do I change them so I don't include? (Mozilla is another example, but this one I actually see in the Makefile for the Eclipse port. However, make config and make configure don't ask me if I want mozilla -- I use firefox). This applies generally. I installed other ports too that had odd dependencies (like including perl because of some helper scripts that aren't even required to be run). Is there a command I'm missing that let's me configure these things? On a side note, is the name pretty-print-build-depends-list designed to keep me from running the command? ;-) And after typing all that, the output wasn't really even pretty. thanks for any tips. Sorry if this is a dumb question, I've been using FreeBSD only two days now. Currently I run slackware. mike Mike, Have a look at this link and see how your ports don't have to be difficult: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Look for other stuff Dru's written about as well - good stuff. Install the port you want and all the dependancies will sort themselves out: e.g. # cd /usr/ports//www/firefox/ # make install clean Sorted! You are aware that there exists 1. ports = source = must be compiled = make install (as above) 2. packages = executable packages = precompiled = pkgadd -r . . . So unless you're running a custom kernel, there's no advantage of ports over packages. Good luck, Owen ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntpd configuration . . . and errors
Hi all, Following the suggestions regarding setting timekeeping up as a daemon I did the following and got these console messages . . . . . . Jul 14 13:04:29 epia ntpd[648]: no IPv6 interfaces found Jul 14 13:04:29 epia ntpd[648]: gethostby*.getanswer: asked for europe.pool.ntp.org IN , got type A Jul 14 13:04:29 epia ntpd[648]: Frequency format error in /var/db/ntpd.drift Jul 14 13:05:44 epia ntpd[656]: no IPv6 interfaces found Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 0.0.0.0, i n_classd=0 flags=8 fails: Address already in use Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 192.168.2. 14, in_classd=0 flags=8 fails: Address already in use Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use Jul 14 13:05:45 epia ntpd[656]: gethostby*.getanswer: asked for europe.pool.ntp .org IN , got type A Jul 14 13:05:45 epia ntpd[656]: Frequency format error in /var/db/ntpd.drift Jul 14 13:05:45 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:06:49 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:07:52 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:18:36 epia last message repeated 10 times Jul 14 13:28:20 epia last message repeated 5 times Jul 14 13:36:52 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor . . . The Frequency format error in /var/db/ntpd.drift messages have now gone away (which is a good thing) and the file has now been written to rather than being 0 bytes . . . epia# ls -al /var/db/ntpd.drift -rw-r--r-- 1 root wheel 6 Jul 14 14:05 /var/db/ntpd.drift epia# cat /var/db/ntpd.drift 0.000 . . . but I have no ideas why I'm getting the other errors. I can't see anything in the ntp / ntpd documentation or the man pages that offers any enlightenment. The (in)appropriate configurations are here: epia# ls -al /etc/rc.conf -rw-r--r-- 1 root wheel 658 Jul 14 11:29 /etc/rc.conf /etc/rc.conf . . . snip ntpd_enable=YES ntpd_flags=-q -p /var/run/ntpd.pid ntpd_sync_on_start=YES snip epia# ls -al /etc/ntp.conf -rw-r--r-- 1 root wheel 125 Jul 14 12:31 /etc/ntp.conf epia# cat /etc/ntp.conf # # put your default configuration (e.g. broadcastclient) in here # server europe.pool.ntp.org driftfile /var/db/ntpd.drift FYI . . . europe.pool.ntp.org = 84.54.128.8 :-) localhost = 192.168.2.14 :-) h2348.serverkompetenz.net = 81.169.152.214 I have no idea why this gets a mention - I am in Germany though! Any help greatly appreciated. Thanks in anticipation. Owen ___ Try the all-new Yahoo! Mail. The New Version is radically easier to use The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd configuration . . . and errors
--- Bob Johnson [EMAIL PROTECTED] wrote: On 7/14/06, Owen G [EMAIL PROTECTED] wrote: Following the suggestions regarding setting ntpd as a daemon I did the following and got these console messages . . . . . . Jul 14 13:04:29 epia ntpd[648]: no IPv6 interfaces found Jul 14 13:04:29 epia ntpd[648]: gethostby*.getanswer: asked for europe.pool.ntp.org IN , got type A ntpd This isn't a problem. It asked for an IP6 address if available and it wasn't, so it got an IP4 address instead. Jul 14 13:05:44 epia ntpd[656]: no IPv6 interfaces found Notice the process ID changed from 648 to 656 here. It looks like a second copy of ntpd is trying to start. Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 0.0.0.0, i n_classd=0 flags=8 fails: Address already in use The second copy can't grab port 123 because the first copy is already using it. The output of ntpq -p should be informative. It will tell you if ntpd is actually working. By the way, you can use multiple servers for greater reliability, e.g. in ntp.conf: server 0.europe.pool.ntp.org server 1.europe.pool.ntp.org server 2.europe.pool.ntp.org will give you three different randomly selected servers, in case one goes down. - Bob Thanks Bob, I did a reboot to see if the same errors come up this time - without me laying on any hands! After a reboot, when running ntpq -p, as requested . . . it says can't read: connection refused. - and there's no console output. Obviously ntpd isn't starting automatically. Wrong - I used the ntpd_flags=-q as per a previous posting . . . without me having RTFM - mea culpa! Then I corrected this run once and quit option and now get no errors on the console anymore and ntpq -p gives: epia# ntpq -p remote refid st t when poll reach delay offset jitter == *h2348.serverkom 192.53.103.108 2 u 62 128 377 63.3949.194 19.331 epia# BTW, The idea of using europe.pool.ntp.org as the only server was that the address itself resolves to a round robin pool of servers - obviating the need for multiple entries. I will of course sit corrected. My concern is now that ntpd doesn't seem to report that it has checked the time with any timesource. Any ideas how to confirm (apart from changing the time to something wrong but only wrong by less than 1000 seconds?) Cheers, Owen ___ Yahoo! Photos NEW, now offering a quality print service from just 7p a photo http://uk.photos.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CPUTYPE for VIA EPIA EDEN in /etc/make.conf on FreeBSD 6.1
Hi, I'm trying to get a little more speed out of my 600MHz mini-itx box as I convert it into a FReeBSD fileserver (with GUI) . . . I'm trying to find the right settings for /etc/make.conf and would appreciate your help. dmesg.boot shows the processor as being: CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU) Origin = Centaurhauls Id = 0x673 Stepping = 3 Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX Some Linux distributions say that this should be thought of as a Cyrix C3 processor but that isn't on the list of FreeBSD options for CPUTYPE . . . There's nothing that I can see from the BSD side in the archives or in the file: /usr/share/examples/etc/make.conf that looks like a suitable CPUTYPE . . . I've not seen any documentation on the other remarked out CPU options for /etc/make.conf either: NO_CPU_CFLAGS= NO_CPU_COPTFLAGS= and CFLAGS= -0 -pipe Any ideas on any of the 4 options for this CPU gratefully accepted. (I have got the GENERIC kernel changed correctly - hopefully) Thanks in anticpation, Owen ___ All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]