sysutils/coreutils plus devel/id-utils equals conflict
I would like to install both sysutils/coreutils and devel/id-utils, but portinstall id-utils tells me that there is a conflict. This gave me the chance to learn about the program comm, and now I know that the conflicting file is /usr/local/bin/gid. What do I do? Punt? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl port: How to compile with debugging support?
Is there a way to tell the system to always compile Perl with debugging support? I gather that I can specify make args in /usr/local/etc/pkgtools.conf, but when reading the Perl port's Makefile, I can't find a knob to twiddle for debugging support. For the time being, I shall hack the Makefile. tia, Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any use to build from source?
Chuck Swiger [EMAIL PROTECTED] writes: One way is to put your local changes into files/patch-aa [1] using diff format. Other times it's as simple as defining some environment variables by passing them into make, via /etc/make.conf, etc. But what happens to the file files/patch-aa after I do cd /usr/src make update ? (I use CVSup to keep current.) I'm sorry for not mentioning this at the beginning. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any use to build from source?
Charles Swiger [EMAIL PROTECTED] writes: Oh, yes. The first time you run into a problem and fix it yourself, or make a change to the programs to add some feature that you want, you will discover the serious advantages. However, if you never try to fix bugs or write code for yourself, then you aren't going to gain nearly as much from using source compared with using precompiled binaries. How does one deal with local changes in the software when installing as a port? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Devil Mascot
Thompson, Jimi [EMAIL PROTECTED] writes: Why should The FreeBSD project be interested in users ? They are VERY interested in users, according to my humble experience. And that's good: Software is written for users, isn't it? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Built-in lpr vs CUPS
Rob [EMAIL PROTECTED] writes: How about this in /etc/make.conf: CUPS_OVERWRITE_BASE=yes NO_LPR=yes This sounds like a good idea. I will do this now, so I just have to remember to build CUPS again after the world. Thanks! Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compile Emacs from CVS as a port?
I use Emacs from CVS on a daily basis. Currently, I have a working copy which build and install into a subdir of my home directory. But I think building Emacs as a port might provide advantages in integrating with add-on packages that are available as ports, such as AUCTeX. I searched a bit, but everything I could find assumed that the source code for the program to build is available as a tarball, whereas I have a CVS working copy. Does anyone have pointers? Perhaps somebody has done what I need already? tia, Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Built-in lpr vs CUPS
The default setup is to include /usr/bin before /usr/local/bin in $PATH. This means that entering lpr -Pfoo doesn't work for printing on my machine, I have to say /usr/local/bin/lpr -Pfoo. It is obvious that I could change $PATH to mention /usr/local/bin before /usr/bin, but is that the right solution? Surely there is a reason for /etc/login.conf to mention /usr/bin first. Any thoughts are very much appreciated. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which port provides fig2dev?
Is there a way for me to find out which port provides the fig2dev binary? I tried pkg_which and ports_glob, but I think that the former operates on installed ports only, and the latter operates on port names only. Hm. Ah, I could grep fig2dev /usr/ports/*/*/pkg-plist, but is that the only way? Kai PS: fig2dev was meant as an example; portinstall transfig is running already. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsdpan-DB_File - missing origin
Lee Dilkie [EMAIL PROTECTED] writes: If you do perl -MCPAN -e shell install DB_File then you get that port. Okay, that is good to know. But I, personally, never did this so it must have been done by one of the ports I have installed. I just wonder which one, or rather, how one goes about discovering which one. Any ideas? You did it yourself, see below. Note that the Berkeley-DB library (from the db41 port) and the Perl interface thereto (DB_File) are two different things. I installed the db41 but after that was done, i went into the perl subdir, fixed up config.in and ran the perl installation. I had done that some time ago for graphdefang ( it's not from ports but it needed DB_File). I would think they have the same api, but what do I know of perl ;) Ah! This will also create that port. I didn't know that DB_File is part of the Berkeley-DB distribution. So there are many ways to get at DB_File: * It is included in Perl itself. (Perhaps you have to install the db41 port first, and then the Perl port.) * perl -MCPAN -e shell * Do like you did. This is all quite confusing. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginning C++ in FreeBSD
Daniela [EMAIL PROTECTED] writes: On Friday 16 April 2004 20:31, Kai Grossjohann wrote: Daniela [EMAIL PROTECTED] writes: What? C++ code is converted to C? Which compiler are you using, and why the hell would a compiler do this? In the old days, C++ was implemented by a program called cfront, I believe, and it did convert C++ to C. If you can write a program that converts language X to C, then you get to take advantage of all the nifty optimizing C compilers out there. If you try to go the direct route to compiling into machine language, then you need to do the optimization part yourself. So converting into C as an intermediary language is an option that requires less work. There's no harm in doing the optimizing yourself. If you compile directly, then you can optimize much more because you can take advantage of the structure of the language. Two different languages always have different strengths and weak points. What I was trying to say is that using C as an intermediary language reduces effort. Of course it is /possible/ to do the optimizing yourself, it is just more work. I think that reducing effort is a pretty damn good reason for doing something in a specific way. I hope that answers your why the hell question. BTW, when I need somthing optimized, I'll do it in assembly anyway. *cough* Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginning C++ in FreeBSD
Daniela [EMAIL PROTECTED] writes: Why would one need C++ if it's converted to C anyway? Why would one need C if it's converted to machine language anyway? Why would one need machine language if it's converted to micro-ops anyway? Do you see my point? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsdpan-DB_File - missing origin
Lee Dilkie [EMAIL PROTECTED] writes: I googled this problem and I understand that *something* has installed this module/package/??? from CPAN. How can I find out what port is using this? I have a DB_File already installed from the db41 port, so why is another one needed? If you do perl -MCPAN -e shell install DB_File then you get that port. Note that the Berkeley-DB library (from the db41 port) and the Perl interface thereto (DB_File) are two different things. Kai PS: Is thereto correct in this context? It seemed like a cool way to make the sentence shorter ;-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeradius + 800 users :-(
Mipam [EMAIL PROTECTED] writes: That is, the machines acts as radius server. Another machine will file a radius authentication request to the server to give access to certain users. But 800 users is a lot and sometimes users will be removed and be added etc. Does anybody have suggestions how to maintain such a system and a mechanism to remove and add users? I guess most people have their home-grown mechanisms for provisioning. AFAIK, FreeRadius can authenticate against LDAP or a MySQL database, and there are frontends for, well, at least for MySQL, and I'd be very surprised if there wasn't something better than ldapsearch for LDAP... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginning C++ in FreeBSD
Daniela [EMAIL PROTECTED] writes: What? C++ code is converted to C? Which compiler are you using, and why the hell would a compiler do this? In the old days, C++ was implemented by a program called cfront, I believe, and it did convert C++ to C. If you can write a program that converts language X to C, then you get to take advantage of all the nifty optimizing C compilers out there. If you try to go the direct route to compiling into machine language, then you need to do the optimization part yourself. So converting into C as an intermediary language is an option that requires less work. GCC has a backend which can server as an intermediary language, I guess, but if you convert into C, then you aren't even wedded to GCC. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Binary upgrades?
Matthew Seaman [EMAIL PROTECTED] writes: On Sun, Mar 14, 2004 at 05:37:56PM +0100, Kai Grossjohann wrote: I wonder if this could be made easier. I'd be surprised if there wasn't a method of doing binary upgrades already. For example, if we decided to track releases, would that enable us to do binary upgrades using sysinstall, say? I vaguely remember having seen an upgrade option in there... http://www.daemonology.net/freebsd-update Yes, being able to install security updates is a cool thing. I've now installed it and read the freebsd-update(8) and freebsd-update.conf(5) man pages. Alas, I don't grok it, yet. - Is the intent that I can make my own server? Or is it just a convenient way to receive binary upgrades for releases? (I put the quotes there because I think it is not a small feat.) - If I'm supposed to be able to make my own server, how to put stuff there? - What does it do with config files during the upgrade? (Actually, I think for me it would be sufficient for the thing to install default config files -- I've got cfengine to handle the rest...) - Can it upgrade from one version to another, or is it for security fixes only? Regardless of the answers, however, I can already see that it will help us tremendously: we just install a release, then let freebsd-update handle the rest for the base system. And for the ports, we think of another way, such as the portupgrade -avRPP command that I mentioned before. Now the only thing missing is my ability to convince them ;-) Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two-way Sync of Directories - how? (rsync?)
Port net/unison. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two-way Sync of Directories - how? (rsync?)
Stephen Liu [EMAIL PROTECTED] writes: On Monday 15 March 2004 04:10, Bill Campbell wrote: I would do this with two rsync runs from one machine cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e ssh -vaurP $remote:$directory/ . Hi Bill, Is the option -P --partial -- progress means 'incremental'??? -P is the same as specifying both --partial and --progress. --progress means to show a progress meter. Normally, if you interrupt rsync while it is transferring a file, rsync will delete the partially transferred file. If you give the --partial option, it will not do that. The advantage of specifying --partial is that you can interrupt it in the midst of transferring a 1G file, and then you can resume the transfer later. What will be difference between './ $remote:$directory' and '$remote:$directory/' This question does not make sense. You should ask for the difference between './ $remote:$directory' and '$remote:$directory/ .'; note the trailing period. If you say rsync a b then this means copy from a to b, if you say rsync b a, then this means copy from b to a. In the above case, a was . and b was $remote:$directory ... Explaining the trailing slash is more difficult. I just remember a rule of thumb: if you want to copy directories with rsync, always specify a trailing slash. On both the source and the destination. Of course, man rsync has the full story... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't compile gtk20 on -current (after threading lib change)
I get the following error message from make install: /bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0 ../../gtk/gtk-query-immodules-2.0 /usr/X11R6/etc/gtk-2.0/gtk.immodules Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core dumped) *** Error code 134 At this point, make install has already done a number of things. I'm guessing that this is due to the libkse - libpthread name change. I've read the 20040130 entry in /usr/src/UPDATING, and also the stanza on threading libraries in /usr/ports/CHANGES. UPDATING talks about frobbing /etc/libmap.conf until the ports system has been updated, but I take the /usr/ports/CHANGES as telling me that the ports system has been updated already. I do not have a /etc/libmap.conf file. So I read some docs, but fail to grok them :-| Do you have some idea what might be the problem? tia, Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to build FreeBSD entirely from sources?
Edmund Craske [EMAIL PROTECTED] writes: Note that the procedure shown will likely break your system if you're upgrading from 5.1 or earlier, so do: shutdown -r now then boot into single user mode, as described in the handbook, instead of shutdown now. I guess this teaches me not to try to paraphrase the handbook again. Thanks for the friendly kick in the butt. The process described by Kai is not as depicted in UPDATING... Indeed. Hm. See above... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to build FreeBSD entirely from sources?
Geert Hendrickx [EMAIL PROTECTED] writes: You can better sync your source with cvsup rather then using the sources which are being installed by the CD. Like that you'll always have the most recent version of your FreeBSD installation. How do I do this? I put some stuff in /etc/make.conf. Then I execute the following command to fetch the most recent sources from the server: cd /usr/src make update Then, follow the process outlined in /usr/src/UPDATING to rebuild the system. I do: cd /usr/src make buildworld buildkernel installkernel shutdown now mergemaster -p make installworld mergemaster reboot You may have to adjust this sequence of commands depending on your config and on what /usr/src/UPDATING says. Please do read the chapter Staying current with ...; it explains this better than I can. I only included the above to show that it doesn't take many commands. Here are the lines I put in /etc/make.conf. Please adjust! SUP_UPDATE= yes SUPHOST=cvsup2.de.freebsd.org SUPFILE=/usr/share/examples/cvsup/standard-supfile PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Avoid questions from portupgrade?
I started a portupgrade -avR yesterday. It stopped in the middle of the night, after getting to GhostScript. GhostScript asks me which drivers to compile. Is there a way, preferrably in /etc/make.conf, that I can tell it beforehand which drivers I want, so that GhostScript won't ask? Is there a way for me to find out which other ports like to ask questions, which questions it asks, and to preanswer them? tia, Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avoid questions from portupgrade?
Matthew Seaman [EMAIL PROTECTED] writes: Only by experience, or by reading through the port's Makefile. You can switch off the interactive configuration by setting 'BATCH=yes' in make's argument list. Most of the ports that use interactive configuration will in any case turn off the interactive stuff if you give them any WITH_FOO or WITHOUT_BAR options. So, doing it manually would mean the following? cd /usr/ports/print/ghostscript-gnu make BATCH=yes WITH_FOO=1 WITHOUT_BAR=1 And then, I following the instructions in /usr/local/etc/pkgtools.conf to put BATCH=yes WITH_FOO=1 WITHOUT_BAR=1 in it in the right syntax for the right ports. That seems to be easy enough. Cool. Hm. Maybe portsversion can give me a list of installed ports, and I just look at their Makefiles. Then I know what to put in the MAKE_ARGS hash. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ideas for an old BSD laptop?
Jonathon McKitrick [EMAIL PROTECTED] writes: Any ideas on something interesting to use it for? Maybe some kind of learning experience? Well, if you can use it as a portable computer, that's cool. I guess that's what you should do, if you can. The second best choice is to learn. You could try something weird, like Plan 9 or GNU Hurd or another BSD (not really weird), or some other little-known OS. I hear there are prople trying to reimplement Windows NT under the GPL. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to build FreeBSD entirely from sources?
Geert Hendrickx [EMAIL PROTECTED] writes: FreeBSD from Scratch describes a method for REbuilding a FreeBSD system entirely from sources, starting from an existing FreeBSD system. But I want to build a new FreeBSD system on a machine currently NOT running FreeBSD. How can I do this? I'm used to doing this with Gentoo Linux: With Gentoo, one extracts a stage tarball to the target partition, which contains gcc, glibc and some other binary programs, just enough to rebuild itself, using a bootstrapping script. With Gentoo, the stage tarball is also binary, isn't it? For FreeBSD, you can download the miniinst CD image, which gives you about the same thing as the stage tarball, except that it isn't a tarball. Instead of emerge system, one makes the world in FreeBSD. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports usage question: semi-unattended mass upgrades
Say I would like to upgrade all installed packages. I already found out that I can do portversion -c which spits out a shell script which does this. But since it takes a long time, so I'd like to let it run over night. It seems that it can ask me a question from time to time, if the port likes to ask questions. (Last time, I was lucky and only Postfix wanted to ask me. This question came fairly early.) How do I prevent having to get up in the middle of the night to answer a question from portupgrade? (Telling me to let the upgrade run over day rather than over night is not an acceptable answer ;-) The holy grail, of course, would be that I invoke some command which asks me all questions and stores the answers somewhere, then invoke another command which actually builds and installs the ports. I could then do the question-answering in the evening, before I go to bed... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two programs trying to handle the mouse?
fbsd_user [EMAIL PROTECTED] writes: Mouse is started from /etc/rc.conf Sounds like you did not config your mouse during the sysinstall when you installed FBSD from CD. There are moused lines in /etc/rc.conf, and the mouse is working well. The question I wanted to ask is: why does the mouse start working BEFORE moused is started? Hypothesis after reading man syscons: The syscons driver displays the mouse pointer. moused is only responsible for handling copy-and-paste. That would explain why I see the mouse pointer (and can move it) before moused is started. [EMAIL PROTECTED] grep mouse /etc/rc.conf moused_enable=YES moused_flags=-z 4 Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Two programs trying to handle the mouse?
When the system boots, it will show a mouse cursor at some point. Then, later, I see Starting moused:, and then it will say it's unable to open /dev/psm0 because there's no such file or directory. Does it mean that there is another program than moused displaying the mouse pointer and does it mean that I can turn off moused? Which other program could be displaying the mouse pointer? Kai FreeBSD slowfox.dyndns.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Nov 19 01:50:52 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two programs trying to handle the mouse?
fbsd_user [EMAIL PROTECTED] writes: It will rebuilt the moused statements in rc.conf for you. Moused is starting, and the mouse is working. I have moused_enable=YES in /etc/rc.conf (and moused_flags=-z 4, but no other mouse-related settings afaict). My question was: why does the mouse pointer appear and work BEFORE moused is started? (At least before Starting moused appears on the console.) Hm. Is there a time lag between moused starting and the output appearing on the console? That would be highly unlikely I think, but who knows... Another thing to try would be to turn moused off, to see if the mouse still works. Later... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
Kent Stewart [EMAIL PROTECTED] writes: make index portsdb -u The docs for portsdb mention portsdb -uU (or was it -Uu?). Is there a difference between portsdb -U and make index? What's that difference? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group Calendar Server on FreeBSD?
[EMAIL PROTECTED] writes: Is there a group calendar software (client/server or peer-to-peer) solution that can run on FreeBSD? Ideally has both a web front end as well as a client application. My former colleagues and I used to use the Plan program. It's got a braindead user interface, but it has the features we needed. You can set up a netplan server which keeps the appointments. There is also a cgi script there somewhere. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group Calendar Server on FreeBSD?
Timothy Luoma [EMAIL PROTECTED] writes: Is this the app you are referring to? http://www.bitrot.de/plan.html Yes, that's the one. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complex crontab query
Matthew Hunt [EMAIL PROTECTED] writes: 2. Every first Thursday of the month 0 3 1-7 * * [ `date +%a` = Thu ] mycommand My understanding is that putting more than one condition in it performs a logical conjunction. So wouldn't it work to do like this? # minute hour dom month dow command 031-7 * 4 mycommand But I'm not an expert. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complex crontab query
Matthew Hunt [EMAIL PROTECTED] writes: On Tue, Sep 30, 2003 at 10:56:20PM +0200, Kai Grossjohann wrote: My understanding is that putting more than one condition in it performs a logical conjunction. So wouldn't it work to do like this? # minute hour dom month dow command 031-7 * 4 mycommand I thought that might be the case, but the man page says: # Commands are executed by cron(8) when the minute, hour, and month of # year fields match the current time, and when at least one of the two # day fields (day of month, or day of week) matches the current time # (see ``Note'' below). Ick. Silly me. Can't even read the manpage. *blush* Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow network connection in -current
Kai Grossjohann [EMAIL PROTECTED] writes: I've noticed a certain slowness in doing network connections with -current. Can't explain this. While /usr/src/UPDATING does speak of slowness that I need to expect, this smells of another problem. I ran make update yesterday and let it chug along overnight. Now the new system has booted the first time and the slowness seems to be gone. Whee. I'll come back if it becomes slow again. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Slow network connection in -current
I've noticed a certain slowness in doing network connections with -current. Can't explain this. While /usr/src/UPDATING does speak of slowness that I need to expect, this smells of another problem. I type host mail.gmx.net and it immediately comes back with an answer. I type telnet mail.gmx.net pop3 and it takes many seconds before a connection is established. Once the connection is established, I see the greeting from the remote server quickly enough. I can't explain why it takes such a long time to establish the connection. I tried to investigate using truss -f telnet mail.gmx.net pop3, but that produces an error message: [EMAIL PROTECTED] truss -f -d -o truss.out telnet mail.gmx.net pop3 truss: get_struct 0x0: Bad address [EMAIL PROTECTED] As you can see, I get a new prompt. However, after some seconds (sufficient for me to write this paragraph), I get more output which shows the greeting from the remote server. Hm. Indeed, a telnet process is running, says ps. Hmmm... Ah! Here is the additional output: [EMAIL PROTECTED] truss -f -d -o truss.out telnet mail.gmx.net pop3 truss: get_struct 0x0: Bad address [EMAIL PROTECTED] psg telnet kai 977 0.0 0.4 3500 2208 p0 S10:00PM 0:00.04 telnet mail.gmx.net pop3 [EMAIL PROTECTED] Trying 213.165.64.20... Connected to mail.gmx.net. Escape character is '^]'. psg telnet+OK GMX POP3 StreamProxy ready [EMAIL PROTECTED] Looks weird, doesn't it? The psg telnet in the last line comes from me hitting Ctrl-P in bash at just the time the output arrived. In case you're interested in truss.out, I'm appending it to this message. Any ideas what might be wrong? tia, Kai 977: 0.002124013 mmap(0x0,3480,0x3,0x1000,-1,0x0) = 671633408 (0x28085000) 977: 0.003305728 munmap(0x28085000,0xd98) = 0 (0x0) 977: 0.004165334 __sysctl(0xbfbff5ac,0x2,0x28082e2c,0xbfbff5a8,0x0,0x0) = 0 (0x0) 977: 0.005117410 mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671633408 (0x28085000) 977: 0.005854934 issetugid() = 0 (0x0) 977: 0.007448433 open(/etc/libmap.conf,0x0,0666) ERR#2 'No such file or directory' 977: 0.008945830 open(/var/run/ld-elf.so.hints,0x0,00) = 4 (0x4) 977: 0.009809347 read(0x4,0xbfbff644,0x80) = 128 (0x80) 977: 0.010828471 lseek(4,0x80,0) = 128 (0x80) 977: 0.011622986 read(0x4,0x28089000,0x56) = 86 (0x56) 977: 0.012491253 close(4) = 0 (0x0) 977: 0.013809576 access(/lib/libncurses.so.5,0) = 0 (0x0) 977: 0.015083761 open(/lib/libncurses.so.5,0x0,027757773234) = 4 (0x4) 977: 0.015894479 fstat(4,0xbfbff684) = 0 (0x0) 977: 0.016713577 read(0x4,0x28081d80,0x1000) = 4096 (0x1000) 977: 0.018038326 mmap(0x0,262144,0x5,0x20002,4,0x0) = 671666176 (0x2808d000) 977: 0.018868041 mprotect(0x280c3000,0x1000,0x7) = 0 (0x0) 977: 0.019754187 mprotect(0x280c3000,0x1000,0x5) = 0 (0x0) 977: 0.020808790 mmap(0x280c4000,32768,0x3,0x12,4,0x37000) = 671891456 (0x280c4000) 977: 0.021858924 mmap(0x280cc000,4096,0x3,0x1012,-1,0x0) = 671924224 (0x280cc000) 977: 0.022688917 close(4) = 0 (0x0) 977: 0.023943825 access(/lib/libipsec.so.1,0) = 0 (0x0) 977: 0.025212702 open(/lib/libipsec.so.1,0x0,027757773234) = 4 (0x4) 977: 0.026015038 fstat(4,0xbfbff684) = 0 (0x0) 977: 0.026833578 read(0x4,0x28081d80,0x1000) = 4096 (0x1000) 977: 0.027847115 mmap(0x0,28672,0x5,0x20002,4,0x0) = 671928320 (0x280cd000) 977: 0.028638277 mprotect(0x280d2000,0x1000,0x7) = 0 (0x0) 977: 0.029568004 mprotect(0x280d2000,0x1000,0x5) = 0 (0x0) 977: 0.030571204 mmap(0x280d3000,4096,0x3,0x12,4,0x5000) = 671952896 (0x280d3000) 977: 0.031491153 close(4) = 0 (0x0) 977: 0.032812550 access(/lib/libmp.so.4,0) ERR#2 'No such file or directory' 977: 0.034070811 access(/usr/lib/libmp.so.4,0) = 0 (0x0) 977: 0.035338011 open(/usr/lib/libmp.so.4,0x0,027757773234) = 4 (0x4) 977: 0.036142303 fstat(4,0xbfbff684) = 0 (0x0) 977: 0.036962240 read(0x4,0x28081d80,0x1000) = 4096 (0x1000) 977: 0.037973821 mmap(0x0,16384,0x5,0x20002,4,0x0) = 671956992 (0x280d4000) 977: 0.038798227 mprotect(0x280d6000,0x1000,0x7) = 0 (0x0) 977: 0.039680183 mprotect(0x280d6000,0x1000,0x5) = 0 (0x0) 977: 0.040688412 mmap(0x280d7000,4096,0x3,0x12,4,0x2000) = 671969280 (0x280d7000) 977: 0.041609758 close(4) = 0 (0x0) 977: 0.042859079 access(/lib/libcrypto.so.3,0) = 0 (0x0) 977: 0.044106444 open(/lib/libcrypto.so.3,0x0,027757773234) = 4 (0x4) 977: 0.044904590 fstat(4,0xbfbff684) = 0 (0x0) 977: 0.045713911 read(0x4,0x28081d80,0x1000) = 4096 (0x1000) 977: 0.046692247 mmap(0x0,1110016,0x5,0x20002,4,0x0) = 671973376 (0x280d8000) 977: 0.047481174 mprotect(0x281d,0x1000,0x7) = 0 (0x0) 977: 0.048350559 mprotect(0x281d,0x1000,0x5) = 0 (0x0) 977: 0.049602114 mmap(0x281d1000,81920,0x3,0x12,4,0xf8000) = 672993280 (0x281d1000) 977: 0.050668172 mmap(0x281e5000,8192,0x3,0x1012,-1,0x0) = 673075200
Java on FreeBSD
I went to /usr/ports/java/jdk14 and tried to install that thing. It produced a number of errors on build. I ran make twice and here is the output of the third make. Maybe it's the wrong way to get Java on a FreeBSD system? Or, even more likely, I did something stupid. Kai === Building for jdk-1.4.1p3_3 # Start of jdk build bsd i586 1.4.1-p3 build started: 03-09-25 20:58 gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' if [ -r ./../../patch/make/Makefile ]; then \ ( cd ./../../patch/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ; ); \ fi Build Machine Information: build machine = Build Directory Structure: CWD = /usr/ports/java/jdk14/work/control/make TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control GENERICS_TOPDIR = ./../../generics HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se MOTIF_TOPDIR = ./../../motif COBUNDLE_TOPDIR = ./../../cobundle Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: BOOTDIR = /usr/local/linux-sun-jdk1.4.2_01 BOOTSTRAP J2SDK VERSION: 1.4.2_01 OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 Build Tool Settings: UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/X11R6 CC_VER = gcc (GCC) 3.3.1 [FreeBSD] Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = J2RE_ONLY = NO_DOCS = YES NO_IMAGES = TOOLS_ONLY = true INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 5.1-CURRENT TRUE_PLATFORM = FreeBSD (5.x CURRENT way) FREE_SPACE = 3899148 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.4.1 MILESTONE = p3 BUILD_NUMBER = root_25_sep_2003_20_58 BUNDLE_DATE = 25_sep_2003 External File/Binary Locations: HOTSPOT_SERVER_PATH = /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server HOTSPOT_CLIENT_PATH = /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client OPT_JAVAWS = /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip MOZILLA_PATH = /java/devtools MOZILLA_HEADERS_PATH = /java/devtools/share/plugin MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin MOTIF_DIR = /usr/X11R6 CACERTS_FILE = ./../src/share/lib/security/cacerts WARNING: Your build environment has the variable NO_DOCS defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build. WARNING: You do not have access to the Java Web Start binary. These binaries may be optional for this build. Please check your access to /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip and/or check your value of ALT_JAVAWS_PATH. This will make your images target build incomplete. Sanity check passed. (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.4.1-p3-root_25_sep_2003_20_58 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Compiling /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:929:50: pasting . and i does not give a valid preprocessing token
Extended partitions under FreeBSD: more info, and how to mount?
I'm running -current as of a couple of days ago (using the GENERIC kernel). I have this disk layout: ~ fdisk *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=232632 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=232632 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 63, size 10474317 (5114 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 651/ head 254/ sector 63 The data for partition 2 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 10474380, size 20964825 (10236 Meg), flag 0 beg: cyl 652/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 31439205, size 62910540 (30718 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 15 (0x0f),(Extended DOS (LBA)) start 94349745, size 140140287 (68427 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 83/ sector 63 First question: how to find out what is inside that extended DOS partition? And devd has created these devices for me: ~ ls /dev/ad* /dev/ad0/dev/ad0s2 /dev/ad0s3a /dev/ad0s3c /dev/ad0s5 /dev/ad0s1 /dev/ad0s3 /dev/ad0s3b /dev/ad0s4 So it seems to me that /dev/ad0s5 ought to be the right place to look for my FAT32 partition inside the extended DOS partition: ~ mount_msdosfs /dev/ad0s5 /mnt mount_msdosfs: /dev/ad0s5: Invalid argument Second question: how to mount that partition? -- Two cafe au lait please, but without milk. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]