pkg version?
$ pkg query %v pkg 1.0.3 $ pkg -v 1.0.2 $ Why the discrepancy? By the way: ## SVN ## - update to 1.0.3 ## SVN ## - changes: ## SVN ## * Accept to query _https._tcp srv records ## SVN ## * Fix diskspace change calculation in pkg upgrade ## SVN ## * Fix pkg info -s -F apackage Excellent. Thanks, Matthew. $ pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 size is: 567 MB $ Yep, that bit works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Tue, 04 Dec 2012 20:27:15 +, Matthew Seaman wrote: I just committed a fix to the release-1.0 branch which will be in the next release. Was already fixed in master. Thanks! Does that fix 'pkg info' reporting zero size, or the 'pkg update' misreporting of size difference, or both? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Issue with the pkgng repository
I have another minor issue with pkgng: Say package foo-1.0 depends on bar-1.0. Then bar-1.0 is upgraded to version 1.1. So a new package bar-1.1 is built (from the port), and replaces bar-1.0 in the repository. The repository database is then updated using 'pkg repo'. Now the repository database is out of whack: It still thinks foo-1.0 depends on bar-1.0 (the deps table in the compressed repo.sqlite database - i.e. repo.txz in the repository). Admittedly the packages will still install (from the repository in question) on another machine, but nevertheless it doesn't seem quite right. One workaround is to re-create the foo package (plus any others depending on bar) and refresh the repository, but is this an omission? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Tue, 04 Dec 2012 21:10:41 +, Matthew Seaman wrote: On 04/12/2012 20:48, Matthew Seaman wrote: On 04/12/2012 20:42, Walter Hurry wrote: On Tue, 04 Dec 2012 20:27:15 +, Matthew Seaman wrote: I just committed a fix to the release-1.0 branch which will be in the next release. Was already fixed in master. Thanks! Does that fix 'pkg info' reporting zero size, or the 'pkg update' misreporting of size difference, or both? Oh, yes. That was to fix pkg info getting the installed size of packages wrong when reading a pkg tarball. The other issue with pkg update had temporarily escaped me. Yeah. Committed a fix for the pkg upgrade disk space thing too. If you upgraded to a package that was smaller than the one it was replacing it would report the change in space used as the sum of the old and new sizes, when clearly it should be the difference. D'Oh! Surprised no one spotted that before now. Excellent. Thanks again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Issue with the pkgng repository
On Tue, 04 Dec 2012 21:32:19 +, Matthew Seaman wrote: This is a flaw in your package repository maintenance process. Helpful and detailed response snipped for brevity Thanks. Noted. I shall rethink the process accordingly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Mon, 03 Dec 2012 06:32:48 +, Matthew Seaman wrote: On 02/12/2012 21:51, Walter Hurry wrote: Copied from terminal and pasted here: -- $ sudo pkg upgrade Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be upgraded: Upgrading gcc: 4.6.4.20121102 - 4.6.4.20121123 The installation will free 1 GB 88 MB to be downloaded Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 6.0MB/s 00:13 Checking integrity... done Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ -- OK, fine. But what's this about 1GB being freed? That's what pkg has calculated as the change in disk space usage resulting from replacing one version by another. It certainly looks suspicious on the face of it: given the package size of 88MB and presuming the previous package wasn't orders of magnitude different in size it's hard to see where that size of change would come from. Do you still have the gcc-4.6.4.20121102 package around look in /var/cache/pkg/All)? Can you try pkg info -s -F gcc-4.6.4.20121102.txz and pkg info -s -F gcc-4.6.4.20121123.txz please? Curiouser and curiouser. This is from another machine, with gcc not yet upgraded but otherwise identical: -- $ cd /var/cache/pkg $ cd All cd: All: No such file or directory $ ls -l gcc* -rw--- 1 root wheel 92395460 29 Nov 15:22 gcc-4.6.4.20121102.txz -rw--- 1 root wheel 4360 29 Nov 15:32 gccmakedep-1.0.2.txz $ sudo pkg info -s -F gcc-4.6.4.20121102.txz gcc-4.6.4.20121102 flat size is: 0 B gcc-4.6.4.20121102 package size is: 0 B $ cd /var/db/pkg $ sqlite3 local.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter .help for instructions Enter SQL statements terminated with a ; sqlite select version, flatsize from packages where name = 'gcc'; 4.6.4.20121102|596779179 sqlite .quit $ sqlite3 repo.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter .help for instructions Enter SQL statements terminated with a ; sqlite select version, pkgsize, flatsize from packages where name = 'gcc'; 4.6.4.20121102|92395460|596779179 sqlite .quit $ sudo pkg update Updating repository catalogue repo.txz100% 261KB 260.9KB/s 260.9KB/s 00:00 $ sqlite3 repo.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter .help for instructions Enter SQL statements terminated with a ; sqlite select version, pkgsize, flatsize from packages where name = 'gcc'; 4.6.4.20121123|92316676|595326810 sqlite .quit $ sudo pkg upgrade Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be upgraded: Upgrading gcc: 4.6.4.20121102 - 4.6.4.20121123 The installation will free 1 GB 88 MB to be downloaded Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 10.7MB/s 00:13 Checking integrity... done Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ sqlite3 local.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter .help for instructions Enter SQL statements terminated with a ; sqlite select version, flatsize from packages where name = 'gcc'; 4.6.4.20121123|595326810 sqlite .quit $ cd /var/cache/pkg $ ls -l gcc* -rw--- 1 root wheel 92395460 29 Nov 15:22 gcc-4.6.4.20121102.txz -rw--- 1 root wheel 92316676 3 Dec 14:46 gcc-4.6.4.20121123.txz -rw--- 1 root wheel 4360 29 Nov 15:32 gccmakedep-1.0.2.txz $ sudo pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 flat size is: 0 B gcc-4.6.4.20121123 package size is: 0 B $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Mon, 03 Dec 2012 15:49:48 +, Matthew Seaman wrote: On 03/12/2012 15:34, Walter Hurry wrote: $ sudo pkg info -s -F gcc-4.6.4.20121102.txz gcc-4.6.4.20121102 flat size is: 0 B gcc-4.6.4.20121102 package size is: 0 B Ah. It turns out that querying any pkgng package directly for its installed size always returns 0 at the moment. You'ld need to use the repo catalogue to get some sort of reasonable answer. I can't remember off hand if pkgs are meant to know what their installed size is; will look into that tonight after work. snip Thanks, Matthew. pkg query against the .txz file in the cache appears to work though, as does pkg info against the installed package: --- $ pwd /var/cache/pkg $ sudo pkg query -F gcc-4.6.4.20121123.txz %sh 567 MB $ pkg info -s gcc gcc-4.6.4.20121123 size is: 567 MB $ --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Mon, 03 Dec 2012 16:14:08 +, Walter Hurry wrote: pkg query against the .txz file in the cache appears to work though It seems to have got the difference calculation right this time: --- $ sudo pkg upgrade Updating repository catalogue repo.txz100% 260KB 260.5KB/s 260.5KB/s 00:00 The following packages will be upgraded: Upgrading tcl-modules: 8.5.12_2 - 8.5.13 Upgrading tcl: 8.5.12_2 - 8.5.13 Upgrading tk: 8.5.12 - 8.5.13 The installation will require 7 kB more space 1 MB to be downloaded Proceed with upgrading packages [y/N]: y tcl-modules-8.5.13.txz 100% 45KB 45.3KB/s 45.3KB/s 00:00 tcl-8.5.13.txz 100% 902KB 901.8KB/s 901.8KB/s 00:00 tk-8.5.13.txz 100% 904KB 904.4KB/s 904.4KB/s 00:00 Checking integrity... done Upgrading tcl-modules from 8.5.12_2 to 8.5.13... done Upgrading tcl from 8.5.12_2 to 8.5.13... done Upgrading tk from 8.5.12 to 8.5.13... done $ cd /var/cache/pkg $ sudo pkg query -F tk-8.5.12.txz %sb 5052562 $ sudo pkg query -F tk-8.5.13.txz %sb 5058022 $ sudo pkg query -F tcl-modules-8.5.12_2.txz %sb 171187 $ sudo pkg query -F tcl-modules-8.5.13.txz %sb 173149 $ sudo pkg query -F tcl-8.5.12_2.txz %sb 5971408 $ sudo pkg query -F tcl-8.5.13.txz %sb 5971395 $ --- I wonder if there is some kind of overflow problem with the calculations on larger packages? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg upgrade?
On Mon, 03 Dec 2012 20:51:59 +, Matthew Seaman wrote: Curious. I can't reproduce the problem on my dev system: worm:...cache/pkg/All:# pkg info -s -F git-1.7.11.5.txz git-1.7.11.5 10 MB I wonder... I'm using portmaster to build packages on my dev box, and poudriere on my work machine. Could poudriere be at fault? I think there's a problem with 'pkg info' irrespective of how the package is built. $ pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 flat size is: 0 B gcc-4.6.4.20121123 package size is: 0 B $ pkg query -F gcc-4.6.4.20121123.txz %sh 567 MB $ It seems that 'pkg info' is looking at one measure, while 'pkg query' is looking at another. Maybe portmaster is populating both correctly, but poudriere is only doing one of the two. I'm using a straightforward 'pkg create' to build my package files, by the way. But why should there be two (apparently discrete) measures? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GNOME (was: Gnome)
On Sun, 02 Dec 2012 13:55:14 -0500, Mike Jeays wrote: On Sun, 2 Dec 2012 18:36:23 + ren_...@yahoo.com wrote: Hello, I was wondering if you can use Gnome to run your FreeBSD server, instead of using let's say Direct Admin ? If so, is there any literature on it ? You can use both Gnome and KDE, and just about any other desktop manager. True. I'm not sure why anyone competent would want to so, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkg upgrade?
Copied from terminal and pasted here: -- $ sudo pkg upgrade Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be upgraded: Upgrading gcc: 4.6.4.20121102 - 4.6.4.20121123 The installation will free 1 GB 88 MB to be downloaded Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 6.0MB/s 00:13 Checking integrity... done Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ -- OK, fine. But what's this about 1GB being freed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Another question about pkgng
When I issue 'pkg version -R' it does not actually use the remote repository for comparison; instead it uses the local cache of the remote repository, i.e. it checks local.sqlite against repo.sqlite. That's fine, but should it not do a 'pkg update' first? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another question about pkgng
On Sat, 24 Nov 2012 21:54:50 +, Matthew Seaman wrote: On 24/11/2012 20:28, Walter Hurry wrote: When I issue 'pkg version -R' it does not actually use the remote repository for comparison; instead it uses the local cache of the remote repository, i.e. it checks local.sqlite against repo.sqlite. That's fine, but should it not do a 'pkg update' first? That would be consistent with the way 'pkg upgrade' and 'pkg install' behave, so personally I think that would be a yes. Can you open an issue on Github so this point does not get forgotten please? https://github.com/pkgng/pkgng/issues Thanks, Matthew. Done - Issue #396 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using new pkgng system on 9.0 system
On Thu, 22 Nov 2012 19:03:50 +, Matthew Seaman wrote: Most people testing pkgng at the moment are building their own package sets -- poudriere is a popular choice for doing that -- and setting up their own private repositories. Yes, I too am building my own package set and creating a private repository for local distributon. It seems to be working very well indeed. Poudriere though: I read somewhere that ZFS is a prerequisite. Is that so? Second question: At the moment I'm using 'pkg create' to generate packages from conventionally built ports, 'pkg repo' to create/update the tarred repo file, and a tiny Python script for HTTP serving. Am I missing out on some functionality? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Light word processor plus the occasional spreadsheet
On Thu, 15 Nov 2012 10:18:41 +0100, Leslie Jensen wrote: Polytropon skrev 2012-11-15 10:12: On Thu, 15 Nov 2012 10:06:56 +0100, Leslie Jensen wrote: Hello I mainly use LibreOffice and it works for me. My problem now is that the build time for LibreOffice on a little older hardware is very long. Why not use the binary install method (pkg_add -r)? The default options should work fine. Maybe I'll try that. I never got into packages, I always ended up compiling dependencies anyway so I dropped it ;-) I'm compiling ports once, on my main box, then using pkgng to build binary packages ('pkg create'). These packages are on an NFS share, which the other machines use with 'pkg add your binary'. As an example, libreoffice-3.5.7.txz installed (with 28 not-already-installed dependencies pulled in automatically from the same directory) in *56 seconds*. The main box has 3GB RAM, the second has 1MB. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problem with pkgng
I am attempting to migrate a test box to pkgng, and have run into difficulty: When I run the pkg2ng script, it fails to register postgreql-jdbc because one if its files, namely /usr/local/share/doc/postgresql/README-client, is also installed by postgresql-client-9.2.1. In this, pkgng is perfectly correct, but how do I work around the issue? My assumption is that I will need to use pkg register with a hacked plist file from which the offending entry has been removed. Can anyone shed light on how to achieve this? I'm afraid I'm rather a novice at present. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: way way off topic
On Tue, 23 Oct 2012 15:51:54 -0700, Gary Kline wrote: lets say that x == 15 and y == 16. Q: how much less is x than y? it is not just 1; there was some other way of finding the answer. 6.25% ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: compile/install Libreoffice Writer only
On Sun, 07 Oct 2012 15:44:15 +, jb wrote: Polytropon freebsd at edvax.de writes: On Sun, 7 Oct 2012 12:12:17 + (UTC), jb wrote: Polytropon freebsd at edvax.de writes: On Sun, 7 Oct 2012 05:11:50 + (UTC), jb wrote: Hi, is there a way to do that right now in ports (config, make options) ? Or would that require separate source packaging per component ? I'm not aware that this is possible, as LibreOffice (like OpenOffice) is designed as an integrated package containing various interconnected parts of office productivity programs. So I assume it's not easy to build _only_ one component. ... It is possible - those Linux lollipops offer such in some distros, prepackaged. Interesting, I didn't think that was possible. Does this come with a _separated_ build for all the components that have such a corresponding package, or is it simply not containing the binaries for the other components? ... For example, in Archlinux these are separate builds/packages: libreoffice-common libreoffice-base libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-writer libreoffice-sdk libreoffice-sdk-doc libreoffice-extension-nlpsolver libreoffice-extension-pdfimport libreoffice-extension-presentation-minimizer libreoffice-extension-presenter-screen libreoffice-gnome libreoffice-kde4 libreoffice-math libreoffice-postgresql-connector libreoffice-scripting-javascript ... So, there is a lot of functionality thru modularity. For example, in CentOS (clone of RedHat) I can install libreoffice-writer only, which pulls libreoffice-common, and perhaps some extension packages (if so configured). Yes, but libreoffice-common is essentially the whole thing; libreoffice- base, libreoffice-calc, libreoffice-draw, libreoffice-impress and libreoffice-writer are (relatively) small front ends. To all intents and purposes, Polytropon is right. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What replaces csup?
On Mon, 17 Sep 2012 21:26:45 -0600, Warren Block wrote: For ports, it's probably worth saving the distfile directory along with local diffs. Move it back into place after the svn checkout of the ports tree. PMFJI. Newbie here: What's wrong with using SVN for src, and portsnap for ports? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What replaces csup?
On Wed, 19 Sep 2012 16:18:02 -0600, Warren Block wrote: I also find portsnap slower than either csup or svn. That surprises me. Once the initial download and extract is done, I find portsnap fetch update to be miles faster than csup. However, each to his own, I suppose. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What replaces csup?
On Mon, 17 Sep 2012 09:45:23 -0500, Paul Schmehl wrote: Now that we're switching to svn, is there a utility analogous to csup for fetching source? Is that utility available for 8.3? (I'm assuming subversion will become part of base in 9.x.) 9.1-RC1 here. Subversion is still in ports at the moment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong version of sources?
On Sun, 02 Sep 2012 08:51:33 +0300, Alexander Kapshuk wrote: On 09/02/2012 03:21 AM, Walter Hurry wrote: My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html RELENG_9 The line of development for FreeBSD-9.X, also known as FreeBSD 9-STABLE You're running 9.1-RC1, which doesn't have the RELENG_9_1 tag available yet, as this is a release candidate. Thus the trouble when compiling VBox from sources. Have you rebuilt your kernel and the world once you'd pulled in the sources for RELENG_9? Anyway, that's my take on it. Thanks for the reply. No, I haven't rebuilt kernel and world, nor do I intend to for the moment. I'm happy to stick with generic. I'm still slightly confused by this tag stuff though; sorry (despite perusal of the handbook). Are you saying that until RELENG_9_1 is made available I won't be able to compile kernel modules? Or that I should have a different tag in my standard-supfile? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wrong version of sources?
I am having trouble with virtualbox-ose-additions. This is 9.1-RC1 on amd64 in a VirtualBox VM. It builds from the port (DISTVERSION= 4.1.20), but on reboot, the kernel module refuses to load,, complaining of a version mismatch with the kernel. When I install the binary version (4.1.18) using 'pkg_add -r' it is fine. This induces me to suspect that I have the wrong version of the kernel sources installed. I installed the source tree with csup. My standard- supfile (copied from examples with only the default host changed) says 'tag=RELENG_9'. I must be doing something wrong, but what? Please forgive me if this is a silly question; I am fairly new to FreeBSD, being a refugee from Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update
On Sun, 26 Aug 2012 14:24:34 -0400, doug wrote: In doing an update from 8.3 -- 9.0 I messed up the merge on /etc/ttys. This has interesting consequences BTW. Are there any docs on how to do this? Here's mine. Note: I changed ttyv8 from off to on as I am using xdm. console noneunknown off secure # ttyv0 /usr/libexec/getty Pc xterm on secure # Virtual terminals ttyv1 /usr/libexec/getty Pc xterm on secure ttyv2 /usr/libexec/getty Pc xterm on secure ttyv3 /usr/libexec/getty Pc xterm on secure ttyv4 /usr/libexec/getty Pc xterm on secure ttyv5 /usr/libexec/getty Pc xterm on secure ttyv6 /usr/libexec/getty Pc xterm on secure ttyv7 /usr/libexec/getty Pc xterm on secure ttyv8 /usr/local/bin/xdm -nodaemon xterm on secure # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. ttyu0 /usr/libexec/getty std.9600 dialup off secure ttyu1 /usr/libexec/getty std.9600 dialup off secure ttyu2 /usr/libexec/getty std.9600 dialup off secure ttyu3 /usr/libexec/getty std.9600 dialup off secure # Dumb console dcons /usr/libexec/getty std.9600 vt100 off secure (END) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: doom, quake, hexen...
On Mon, 20 Aug 2012 21:24:32 +0700, Victor Sudakov wrote: Colleagues, Please advise if there are any 3D shooters in the ports collection which work out of the box on 9.0-STABLE (amd64)? None of those I have tried work for a number of irritating reasons, like e.g. games/uhexen: http://pastebin.com/ZaJ74eaa games/doom: http://pastebin.com/XdrCwzvn games/quake2lnx even pretends to do something: it opens a tiny X11 window with some flickering rubbish and plays some farting sounds to the audio system. Is there any working 3D shooter in the ports collection my 8 year old son could enjoy? prboom works flawlessly on my FreeBSD9 laptop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: user specific xorg.conf?
On Sun, 19 Aug 2012 21:38:30 +0300, Jeff Tipton wrote: On 08/19/2012 20:51, Polytropon wrote: On Sun, 19 Aug 2012 11:44:15 -0600, Gary Aitken wrote: In attempting to zero in on my system crash problem, I need to customize xorg.conf. As I read the documentation, there is no way for an ordinary user to provide an xorg.conf; Xorg looks for files in the normal server search path, which does not include any user directories -- unless the user is root. What if you do (as a user) the startx command and try to hand the -configfile to the program, like this: % Xorg -file /home/user/test/xorg.conf I haven't tried that myself, but according to man Xorg this option does exist. However, I'm not sure if xinit or startx honors this option if you use them (to make use of ~/.xinitrc). Am I missing something? Is this because of the security vulnerabilities in X? A valid consideration. With a malfunctioning X server, you can easily crash a system. That's why a user should not be able to have access to such files. Gary, why do you need user-specific xorg.conf? Presumably because he doesn't have root privileges. Duh. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update and csup - I'm going around in circles.
On Fri, 17 Aug 2012 01:48:18 +0200, Polytropon wrote: snip problem and comprehensive answer That's really helpful. Very many thanks, Polytropon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update and csup - I'm going around in circles.
Please forgive me if this is a daft question; I am quite new to FreeBSD. I have read the handbook assiduously and am attempting to follow it. This is 9.0-RELEASE-p3, by the way. Every time I run freebsd-update fetch it says it wants to update the following 5 source files as part of updating to 9.0-RELEASE-p4: /usr/src/sys/amd64/amd64/trap.c /usr/src/sys/conf/newvers.sh /usr/src/sys/netinet/tcp_input.c /usr/src/sys/netinet6/in6.c /usr/src/sys/netinet6/ip6_input.c So I run freebsd-update install and they are updated happily. But when I run csup with my standard-supfile, it puts the same 5 files back to where they were. What am I missing, or doing wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
LibreOffice with Java?
I note that in the Makefile for libreoffice (/usr/ports/editors/libreoffice/Makefile) it says: LibreOffice works only with Java 6 But I have Java 7. Is this a problem? $ java -version openjdk version 1.7.0_04 OpenJDK Runtime Environment (build 1.7.0_04-b22) OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode) $ LibreOffice seems to install (from the port) and run OK. This is 9.0-RELEASE on amd64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak
I am running FreeBSD 9.0-RELEASE (64 bit), with a VirtualBox VM also running the same. On the host I am running NFS server: $ showmount -e Exports list on localhost: /usr/home Everyone But when I try to mount is on the client (the VM guest) I get this: # mount xx:/usr/home /mnt [tcp] xx:/usr/home: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak # On the server, in /var/log/messages I see this: mountd[29140]: mount request from nnn.nnn.nnn.nnn from unprivileged port So I infer that the 'unprivileged port' bit is the problem. Further information - on the client: $ rpcinfo xx program version netid addressserviceowner 104tcp 0.0.0.0.0.111 rpcbindsuperuser 103tcp 0.0.0.0.0.111 rpcbindsuperuser 102tcp 0.0.0.0.0.111 rpcbindsuperuser 104udp 0.0.0.0.0.111 rpcbindsuperuser 103udp 0.0.0.0.0.111 rpcbindsuperuser 102udp 0.0.0.0.0.111 rpcbindsuperuser 104tcp6 ::.0.111 rpcbindsuperuser 103tcp6 ::.0.111 rpcbindsuperuser 104udp6 ::.0.111 rpcbindsuperuser 103udp6 ::.0.111 rpcbindsuperuser 104local /var/run/rpcbind.sock rpcbindsuperuser 103local /var/run/rpcbind.sock rpcbindsuperuser 102local /var/run/rpcbind.sock rpcbindsuperuser 132udp 0.0.0.0.8.1nfssuperuser 133udp 0.0.0.0.8.1nfssuperuser 132udp6 ::.8.1 nfssuperuser 133udp6 ::.8.1 nfssuperuser 132tcp 0.0.0.0.8.1nfssuperuser 133tcp 0.0.0.0.8.1nfssuperuser 132tcp6 ::.8.1 nfssuperuser 133tcp6 ::.8.1 nfssuperuser 151udp6 ::.2.94mountd superuser 153udp6 ::.2.94mountd superuser 151tcp6 ::.2.94mountd superuser 153tcp6 ::.2.94mountd superuser 151udp 0.0.0.0.2.94 mountd superuser 153udp 0.0.0.0.2.94 mountd superuser 151tcp 0.0.0.0.2.94 mountd superuser 153tcp 0.0.0.0.2.94 mountd superuser $ What am I doing wrong? I am new to NFS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak
On Fri, 06 Jul 2012 12:42:02 -0400, kpneal wrote: On Fri, Jul 06, 2012 at 04:03:27PM +, Walter Hurry wrote: I am running FreeBSD 9.0-RELEASE (64 bit), with a VirtualBox VM also running the same. On the host I am running NFS server: $ showmount -e Exports list on localhost: /usr/home Everyone But when I try to mount is on the client (the VM guest) I get this: # mount xx:/usr/home /mnt [tcp] xx:/usr/home: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak # On the server, in /var/log/messages I see this: mountd[29140]: mount request from nnn.nnn.nnn.nnn from unprivileged port So I infer that the 'unprivileged port' bit is the problem. That's odd. At 8.2 the documentation (man page) on mount_nfs says that reserved ports are the default. I'd be surprised if 9.0 was different. *shrug* Try running mountd with the -n option. If I understand the man page then it allows mountd to accept mounts from port numbers less than 1024. Note that the mountd protocol is distinct from the NFS protocol and so rpcinfo can't really tell you anything about mountd. Thanks. Yes, the mount worked fine on the client when the server mountd was started with the -n option. That leads me to two more questions: Why would mount_nfs be using an unprivileged port by default? As far as I can see from man mount_nfs the only relevant option would be (section of manpage reformatted for convenience): port=⟨port_number⟩ Use specified port number for NFS requests. The default is to query the portmapper for the NFS port. I'm afraid that due to my lack of knowledge in this area, that doesn't mean a lot to me. Are there security implications in using an unprivileged port? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak
On Fri, 06 Jul 2012 18:55:27 +0200, Bas Smeelen wrote: Are you root when mounting on the client? From looking at your prompt # I think you are, but I ask just to make sure. You can also take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- nfs.html in the handbook Thanks for the reply. Yes, I'm running as root on the client when I try the mount. It was the handbook I was following in my attempt to set up NFS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Messages not reaching the lists
On Fri, 29 Jun 2012 11:24:56 +0200, Damien Fleuriot wrote: On 6/29/12 6:40 AM, Conrad J. Sabatier wrote: Lately I've been noticing that almost without fail, any messages I send to the FreeBSD mailing lists never actually appear on the list. Just wondering if maybe my ISP (cox.net) has been flagged as a known spam source, or what? This is very strange! I'm still subscribed to all of the same lists I've been on for quite some time, and am receiving the lists' mail just fine. It's just my own messages that never show up here. We'll see if this one shows up. :-) I've been experiencing the same issue for a long time. My messages are sent, people seem to actually receive them, but I don't, although my subscription options state that I should receive copies of my own messages. I'm reading both your messages on gmane vi a newsreader (Pan) - my preferred method. No issues whatever. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anatomy of Perfomance tests
On Fri, 29 Jun 2012 11:40:37 +0200, Julien Cigar wrote: On 06/29/2012 11:00, Fred Morcos wrote: On Fri, Jun 29, 2012 at 10:53 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Most probably all filesystems were used with defaults. MAYBE softupdates, but not even sure for this. Compare this to linux which is async-like. Comparing with UFS+async would be more fair. Still - FreeBSD default MAXPHYS in param.h is far too low. i change it to 2048*1024 (default is 128*1024) and improvement on handling large files is huge. I run that setting everywhere. No problems. I already talked about it on forum but was ignored. As for scientific processing it should not depend much from OS at all, but for sure it depends on crappy compiler that Juniper wanted... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I would not worry too much about what this guy says. Judging from his interpretations of the plots, he doesn't seem to know much about the benchmarks he is running and why they behave that way on the different systems. I think he just runs and publishes everything that says benchmark on it, without truly understanding what's going on or even going through the effort of providing fair comparisons. That said, I think that the Linux kernel performs better simply due to wider adoption (larger developer base, wider set of use-cases, etc) and thus a higher chance of getting performance improvements. Note that stability matters too. I remembered a bench on PostgreSQL where Linux was faster, but at some point the machine had to be rebooted because it became unresponsive. Unscientific, anecdotal and entirely subjective, but here's my 2c. I run both FreeBSD and Linux on the same machine in a multi-boot configuration. Each has its default disk configuration (UFS + SJ vs. Ext4 with journalling). Linux is noticeably faster, but the performance of both is satisfactory, and I prefer FreeBSD. To echo Julien, benchmarks aren't everything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xorg listening on the WAN?
FreeBSD 9.0-RELEASE I think Xorg is listening on external addresses: $ sockstat -46 |grep Xorg root Xorg 1573 1 tcp6 *:6000*:* root Xorg 1573 3 tcp4 *:6000*:* $ netstat -a|grep x11 tcp4 0 0 *.x11 *.*LISTEN tcp6 0 0 *.x11 *.*LISTEN I'm new to FreeBSD, but if I interpret this correctly, x11 is listening for connections on port 6000 for connections from any IPv4 or IPv6 address. I don't think I'm in any immediate danger, as I am behind a router which will block incoming connection attempts, which (virtually) all seem to be on the http port (80) anyway. But it would give me a warm fuzzy feeling to stop x11 listening externally at all - I don't think I need it. How can I go about that please? In case it makes a difference, I am using XDM with standard LXDE. I do not use startx to initiate my sessions. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg listening on the WAN?
On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: $ man Xorg | col -b | fgrep -- -nolisten Thanks for the pointer. I'm probably being stupid here, and I should have mentioned that I had already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer is probably to put '-nolisten tcp' somewhere, but where? As far as I can see, XDM invokes /usr/local/lib/X11/xdm/Xsession, which seems to do little more than call $HOME/.xsession. This last runs /usr/ local/bin/startlxde, which in turn invokes /usr/local/bin/lxsession (a binary). I have looked at 'man lxsession' and found it of little help. So I'm rather lost. Can you amplify a little? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg listening on the WAN?
On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote: El día Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz escribió: El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry escribió: On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: $ man Xorg | col -b | fgrep -- -nolisten Thanks for the pointer. I'm probably being stupid here, and I should have mentioned that I had already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer is probably to put '-nolisten tcp' somewhere, but where? $ cat ~/.xserverrc exec X -nolisten tcp -retro sorry, it took me some time to remember where the pointer is: $ man xinit | col -b | fgrep xserverrc Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I created one with your contents (permissions 744). It doesn't seem to have made any difference at all, though. After restart, I am still getting the same output from netstat and sockstat. So I'm still in the dark. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SOLVED: Xorg listening on the WAN? (was Xorg listening on the WAN?)
On Mon, 25 Jun 2012 20:33:15 +, Walter Hurry wrote: On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote: El día Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz escribió: El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry escribió: On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: $ man Xorg | col -b | fgrep -- -nolisten Thanks for the pointer. I'm probably being stupid here, and I should have mentioned that I had already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer is probably to put '-nolisten tcp' somewhere, but where? $ cat ~/.xserverrc exec X -nolisten tcp -retro sorry, it took me some time to remember where the pointer is: $ man xinit | col -b | fgrep xserverrc Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I created one with your contents (permissions 744). It doesn't seem to have made any difference at all, though. After restart, I am still getting the same output from netstat and sockstat. So I'm still in the dark. Of course! Looking back at the output from sockstat in my original post, X is running under root, so no amount of tinkering with files in $HOME is going to change anything. So I looked into XDM's configuration files in /usr/local/lib/X11/xdm, and found what change did the trick: $ cat /usr/local/lib/X11/xdm/Xservers # # Xservers file, workstation prototype # # This file should contain an entry to start the server on the # local display; if you have more than one display (not screen), # you can add entries to the list (one per line). If you also # have some X terminals connected which do not support XDMCP, # you can add them here as well. Each X terminal line should # look like: # XTerminalName:0 foreign # :0 local /usr/local/bin/X -nolisten tcp :0 If there's batter way of doing this, please would someone let me know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
On Sun, 24 Jun 2012 22:19:54 +0200, Christian Graulund wrote: Hello Guys, I just install FreeBSD 9, and after compiling Xorg, I started trying to figure out how to install a Window Manager. When Following the handbook, I suggest installing XDM. I want to use something like Openbox, as my window manager, and I can't figure out if Openbox is a replacement for XDM, or something on top of XDM. I now there are alternative to XDM directly like LightDM ect., but the same questions applies to them. So what is the function of XDM (or alternatives), and is it necessary to have to run a WM, or DE for that sake? XDM is not a window manager - it is a display manager. In short it provides a GUI login and then starts your window manager of choice. So if you want a GUI login and a GUI DE, you need both a DM and an WM. I use XDM + Openbox, and it works very well indeed for me. Vastly preferable to some heavyweight like GDM, IMHO. The handbook provides excellent guidance on installing and configuring XDM. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Sendmail and Postfix
A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? Sorry if this is a newbie question; I am as yet relatively unfamiliar with FreeBSD, being a refugee from GNU/Linux. This is FreeBSD 9.0-RELEASE, by the way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sendmail and Postfix
On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote: When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. Thanks! (Thanks too to the other responders.) Looks like that's the step I missed. Fixed now. Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to FreeBSD - Some questions
On Wed, 20 Jun 2012 14:32:24 +0200, Fred Morcos wrote: Hello all, I am new to FreeBSD, coming from a GNU/Linux background (most comfortable with Archlinux). I compiled a series of questions I would like to ask in different areas and categories. Should I send them all in a single email message or should I split them by subject/topic into different emails? The advantage of the former is that I will be able to easily show relations between the different topics and questions (put them into context) as well as articulate the setup I would like to reach. The advantage of the latter is that it is cleaner and simpler to answer one question by one. Also, I have done a bit of poking around to answer each of my own questions, obviously with no luck, so I do not mind RTFM-ing - I would actually prefer it, please feel free to link me to an article, tutorial, man page or handbook that already answers one or more question(s). I'm quite new to FreeBSD too (RHEL/Fedora background), and am most impressed with it so far. The first thing to mention is that this is an extremely helpful list (I won't call it a newsgroup because it isn't one, though I read it via gmane), and as such is most useful. Ask away! Secondly (and probably stating the obvious), the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ is the place I always look first. Good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
No sound in Flash
FreeBSD 9 (x86_64). Sorry if this is a FAQ, but I have googled assiduously and found nothing useful. I have installed Flash, following the instructions in the handbook. It works well, and the video element seems fine and smooth. But on (for example) YouTube, there is no audio at all. This is despite the fact that .mp3s, .mp4s, .avis, .movs etc. all play perfectly (in mplayer). There is probably a simple solution, but I cannot find it. Can anyone help? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No sound in Flash
On Thu, 21 Jun 2012 00:31:02 +0200, Wojciech Puchar wrote: FreeBSD 9 (x86_64). Sorry if this is a FAQ, but I have googled assiduously and found nothing useful. I have installed Flash, following the instructions in the handbook. Flash is adobe product and they don't provide binaries for FreeBSD, at least they didn't. if you really need flash, you may install gnash from ports. not fully capable but usually works, and doesn't need linux emulator and closed source code. Thanks for the advice about gnash! I've installed it, and removed nspluginwrapper and all the linux stuff. It seems to work perfectly for my purposes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie question: Why aren't my cron jobs running?
On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: The syntax of his crontab file is correct. Vixie cron does care about leading spaces, tabs, extra spaces, or leading zeros. Earlier versions of cron are much pickier about the crontab file. The cron logs show that it is starting his jobs at the correct times. It is far more likely that there is a problem with the scripts. A very common cause of problems with scripts run from cron is that they do not inherit your environment. Do the scripts run from the command line? If the do, then the problem is most likely something in your environment that the scripts need. I'm a complete idiot, and I feel embarrassed. Everything was fine, except that I had missed out '/bin' in the paths of the jobs. I had: /home/walterh/exports.sh /home/walterh/backup_etc.sh /home/walterh/systemcheck.sh /home/walterh/backup_bsd.sh which should of course have been: /home/walterh/bin/exports.sh /home/walterh/bin/backup_etc.sh /home/walterh/bin/systemcheck.sh /home/walterh/bin/backup_bsd.sh What a stupid mistake! Thanks for all the replies, but I must say sorry for wasting your time. Sorry! WH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Newbie question: Why aren't my cron jobs running?
As the subject says, this is probably a newbie question (I am new to FreeBSD but quite experienced at Linux). FreeBSD9 on x86_64. Cron is running: $ ps -ax|grep cron 1513 ?? Is 0:00.01 /usr/sbin/cron -s 2283 0 S+ 0:00.00 grep cron $ I have a syntactically valid crontab: $ crontab -l #min hr dom month dow command SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ daddy/bin HOME=/home/walterh 00 02 * * * /home/walterh/exports.sh 05 02 * * * /home/walterh/backup_etc.sh 10 02 * * * /home/walterh/systemcheck.sh 15 02 * * * /home/walterh/backup_bsd.sh $ So what is wrong? Why is nothing happening? I have consulted the handbook but see nothing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote: Have you installed bash? It's not in the system base. What's in your shell scripts? Thanks for the quick response. $ pkg_info|grep bash bash-4.2.28 The GNU Project's Bourne Again SHell $ which bash /bin/bash $ $ less $HOME/bin/exports.sh #!/bin/bash LOG=$HOME/log/exports.log logger -t walterh-cronjob Exports started echo Exports started at `date` $LOG rm $HOME/postgresql/* psql packages -f $HOME/sql/exports.sql cd $HOME/postgresql tar cfz postgresql.tgz * rm *csv echo Exports finished at `date` $LOG logger -t walterh-cronjob Exports finished /home/walterh/bin/exports.sh (END) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 21:21:12 -0500, Adam Vande More wrote: You really have bash in /bin ? Are your scripts executable? What does /var/log/cron say? $ file /bin/bash /bin/bash: symbolic link to `/usr/local/bin/bash' $ sudo tail -50 /var/log/cron (result snipped at 02:22:00 for brevity) Jun 12 01:55:00 jupiter /usr/sbin/cron[1780]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1823]: (root) CMD (newsyslog) Jun 12 02:00:00 jupiter /usr/sbin/cron[1825]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:00:00 jupiter /usr/sbin/cron[1824]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1836]: (walterh) CMD (/home/ walterh/exports.sh) Jun 12 02:01:00 jupiter /usr/sbin/cron[1849]: (root) CMD (adjkerntz -a) Jun 12 02:05:00 jupiter /usr/sbin/cron[1874]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:05:00 jupiter /usr/sbin/cron[1875]: (walterh) CMD (/home/ walterh/backup_etc.sh) Jun 12 02:10:00 jupiter /usr/sbin/cron[1912]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:10:00 jupiter /usr/sbin/cron[1913]: (walterh) CMD (/home/ walterh/systemcheck.sh) Jun 12 02:11:00 jupiter /usr/sbin/cron[1924]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:15:00 jupiter /usr/sbin/cron[1981]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:15:00 jupiter /usr/sbin/cron[1982]: (walterh) CMD (/home/ walterh/backup_bsd.sh) Jun 12 02:20:00 jupiter /usr/sbin/cron[2013]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:22:00 jupiter /usr/sbin/cron[2025]: (operator) CMD (/usr/ libexec/save-entropy) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 19:36:28 -0700, Michael Sierchio wrote: cat /etc/shells $ cat /etc/shells # $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/sh /bin/csh /bin/tcsh /usr/local/bin/bash /usr/local/bin/rbash $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with portupgrade libreoffice
On Sat, 09 Jun 2012 20:46:49 +, Walter Hurry wrote: On Sat, 09 Jun 2012 18:12:25 +0100, Dave Morgan wrote: On 09/06/12 at 04:41P, Walter Hurry wrote: FreeBSD 9 on x86_64. I am in the process of doing a portupgrade on libreoffice (from 3.4.4 to 3.5.2.5). During the build it has (so far) errored out 4 times, in the following modules: vcl framework sfx2 tail_build Each time, it told me to go into the subdirectory, do a gmake clean and a gmake -r there, then return to the top level and rerun make. This I duly did, but to my surprise, each time I ran the gmake -r, it completed successfully. When the top-level make finally succeeds, I intend simply to rerun the portupgrade, on the theory that seeing everything already made, it will just do the uninstall/reinstall, sort out the dependencies and so forth. Q1) Is this a sensible approach? Q2) Has anyone else seen this? What is going on? There is a thread in the forums which recommends removing boost-libs and boost-jam, building libreoffice then reinstalling them. I did this and it worked for me. Thanks. I'll try that and report back. Yes, that did the trick. It zoomed through! Very many thanks. I'll need to keep an eye on the forum, methinks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problems with portupgrade libreoffice
FreeBSD 9 on x86_64. I am in the process of doing a portupgrade on libreoffice (from 3.4.4 to 3.5.2.5). During the build it has (so far) errored out 4 times, in the following modules: vcl framework sfx2 tail_build Each time, it told me to go into the subdirectory, do a gmake clean and a gmake -r there, then return to the top level and rerun make. This I duly did, but to my surprise, each time I ran the gmake -r, it completed successfully. When the top-level make finally succeeds, I intend simply to rerun the portupgrade, on the theory that seeing everything already made, it will just do the uninstall/reinstall, sort out the dependencies and so forth. Q1) Is this a sensible approach? Q2) Has anyone else seen this? What is going on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work)
On Sat, 09 Jun 2012 05:58:25 +0200, Bernt Hansson wrote: 2012-06-09 00:10, Walter Hurry skrev: On Fri, 08 Jun 2012 20:58:49 +0200, Bernt Hansson wrote: 2012-06-08 17:51, Walter Hurry skrev: On Fri, 08 Jun 2012 15:39:22 +, Walter Hurry wrote: Never mind: Stupid moi. The answer was staring me in the face in man rc.conf. moused_port. You also have moused_flags=Put your flags here That does not help, not me anyway. Indeed you do. But I didn't need moused_flags (nor moused_type) - just moused_port. I was then able to restore /etc/rc.d/moused to its pristine state. That would be moused_flags=-p /dev/sysmouse Ah, good point. As ever, there's always more than one way to skin a cat. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with portupgrade libreoffice
On Sat, 09 Jun 2012 18:12:25 +0100, Dave Morgan wrote: On 09/06/12 at 04:41P, Walter Hurry wrote: FreeBSD 9 on x86_64. I am in the process of doing a portupgrade on libreoffice (from 3.4.4 to 3.5.2.5). During the build it has (so far) errored out 4 times, in the following modules: vcl framework sfx2 tail_build Each time, it told me to go into the subdirectory, do a gmake clean and a gmake -r there, then return to the top level and rerun make. This I duly did, but to my surprise, each time I ran the gmake -r, it completed successfully. When the top-level make finally succeeds, I intend simply to rerun the portupgrade, on the theory that seeing everything already made, it will just do the uninstall/reinstall, sort out the dependencies and so forth. Q1) Is this a sensible approach? Q2) Has anyone else seen this? What is going on? There is a thread in the forums which recommends removing boost-libs and boost-jam, building libreoffice then reinstalling them. I did this and it worked for me. Thanks. I'll try that and report back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work)
On Thu, 07 Jun 2012 14:59:01 -0400, Jerry wrote: Ubuntu, Debian, and Fedora, and projects such as KDE, GNOME and X.org are in the process of deprecating HAL as it has become a large monolithic unmaintainable mess. Well, I finally got it working. I'm far from an expert in this area, but what I think was happening was that the touchpad was grabbing /dev/psm0, and then X.org tried to allocate the same port for the USB mouse, which of course failed (even though I had specified a Device of /dev/ums0, and set AutoAddDevices to Off so as to take hald out of the picture). The solution for me was to run moused *on port /dev/ums0* and then specify the device as /dev/sysmouse in xorg.conf. However, that leads me to another question: my amateurish way to get moused to run on /dev/ums0 was to hack /etc/rc.d/moused and hard code it. I don't think that's very good, and I suspect that the right way to do it was to set some variable in /etc/rc.conf. Can anyone guide me on how that should be done, or point me to a fine manual? Thamks to all for the responses. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work)
On Fri, 08 Jun 2012 15:39:22 +, Walter Hurry wrote: On Thu, 07 Jun 2012 14:59:01 -0400, Jerry wrote: Ubuntu, Debian, and Fedora, and projects such as KDE, GNOME and X.org are in the process of deprecating HAL as it has become a large monolithic unmaintainable mess. Well, I finally got it working. I'm far from an expert in this area, but what I think was happening was that the touchpad was grabbing /dev/psm0, and then X.org tried to allocate the same port for the USB mouse, which of course failed (even though I had specified a Device of /dev/ums0, and set AutoAddDevices to Off so as to take hald out of the picture). The solution for me was to run moused *on port /dev/ums0* and then specify the device as /dev/sysmouse in xorg.conf. However, that leads me to another question: my amateurish way to get moused to run on /dev/ums0 was to hack /etc/rc.d/moused and hard code it. I don't think that's very good, and I suspect that the right way to do it was to set some variable in /etc/rc.conf. Can anyone guide me on how that should be done, or point me to a fine manual? Thamks to all for the responses. Never mind: Stupid moi. The answer was staring me in the face in man rc.conf. moused_port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work)
On Fri, 08 Jun 2012 20:58:49 +0200, Bernt Hansson wrote: 2012-06-08 17:51, Walter Hurry skrev: On Fri, 08 Jun 2012 15:39:22 +, Walter Hurry wrote: Never mind: Stupid moi. The answer was staring me in the face in man rc.conf. moused_port. You also have moused_flags=Put your flags here That does not help, not me anyway. Indeed you do. But I didn't need moused_flags (nor moused_type) - just moused_port. I was then able to restore /etc/rc.d/moused to its pristine state. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD9 - I can't get my mouse to work
Firstly, sorry if this is a bit of a newbie question. I am quite new to FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD is fine, except that no matter what I try I cannot get the (USB) mouse to work. I have scoured the handbook, and Googled, but to no avail. This is 9.0-RELEASE on amd64 - fully updated. I don't need the mouse in consoles, but I do want it in X. Here is my xorg.conf in its entirety: ## Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option Clone off EndSection Section ServerFlags Option AutoAddDevices On EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/Liberation/ FontPath /usr/local/lib/X11/fonts/LinLibertineG/ FontPath /usr/local/lib/X11/fonts/OTF/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/bitstream-vera/ FontPath /usr/local/lib/X11/fonts/dejavu/ FontPath /usr/local/lib/X11/fonts/URW/ EndSection Section Module Load ddc Load dbe Load extmod EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbModel pc105 Option XkbLayout gb EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelName Monitor Model EndSection Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option Clone off EndSection Section ServerFlags Option AutoAddDevices On EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/Liberation/ FontPath /usr/local/lib/X11/fonts/LinLibertineG/ FontPath /usr/local/lib/X11/fonts/OTF/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/bitstream-vera/ FontPath /usr/local/lib/X11/fonts/dejavu/ FontPath /usr/local/lib/X11/fonts/URW/ EndSection Section Module Load ddc Load dbe Load extmod EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbModel pc105 Option XkbLayout gb EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelName Monitor Model EndSection Section Device Identifier Card0 Screen 0 Driver radeonhd VendorName Radeon Video Driver Option XAANoOffscreenPixmaps true Option AccelMethod EXA Option DRI true BusID PCI:1:5:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Depth 24 Modes 1366x768 EndSubSection EndSection ## and here are the relevant Xorg.0.log messages: ## (EE) config/hal: couldn't initialise context: unknown error (null) (EE) xf86OpenSerial: Cannot open device /dev/psm0 (EE) PS/2 Mouse: cannot open input device (EE) PreInit returned NULL for PS/2 Mouse (EE) config/hal: NewInputDeviceRequest failed (8) ((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (WW) Usb Mouse: No Device specified, looking for one... (WW) PS/2 Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... ## Can anyone assist with this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD9 - I can't get my mouse to work
On Tue, 05 Jun 2012 23:14:35 +, Walter Hurry wrote: Firstly, sorry if this is a bit of a newbie question. I am quite new to FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD is fine, except that no matter what I try I cannot get the (USB) mouse to work. Can anyone assist with this? One bit of information which might be relevant: This is a laptop with a built-in touchpad. The touchpad works, even though I have made no configuration changes for it. Unfortunately, as I said, the mouse doesn't. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD9 - I can't get my mouse to work
On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: Option AutoAddDevices On Set this to off. Thanks for the reply. Yes, I've tried setting it to Off, but there is no apparent difference; only a new set of messages in Xorg.0.log: (EE) config/hal: couldn't initialise context: unknown error (null) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (WW) Mouse0: No Device specified, looking for one... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Python module wnck?
On Fri, 27 Apr 2012 07:07:59 -0400, Rod Person wrote: On Fri, 27 Apr 2012 03:54:29 + (UTC) Walter Hurry walterhu...@gmail.com wrote: How many of the screenlets actually work? When I was working on this I found that a number of them where too linux specific to work. I have a screenshot of the sticky note and weather working but that's about all I can recall working. I only wanted three: Clock, ClearCalendar and ClearWeather. They work perfectly. I haven't tried any of the others. Consider making a port. Clearly there is some demand. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ For the Python wnck module, or for screenlets? I'm afraid that technically I am well short of the ability to do either. I am more than willing to help anyone who elects to so, though. Incidentally (and this is addressed to Rod mainly), the ClearWeather module was broken. I had to hack it a bit to get it to work properly. It got confused over proxies, but since I am not unfamiliar with Python, that presented no difficulty. Creating a port itself is rather simple...it the porting of the code from Linux to FreeBSD that is the hard part. I have one official port that I made as a way to brush off my C skills, it works but it was hell getting some of the Linux specific translated but thanks to one of the committers it got cleaned up... But anyway, the issues with screenlets is getting any of the screenlets that interface with the system to work such as Mount, MyIP, Netmonitor or the CPU Meter, when I tried this with FreeBSD 7.2 none of them worked because of all the Linux device names. If you know python this should not be too hard just time consuming. The only reason I stopped working on this was I moved from using OpenBox to using the i3 window manager. I can check around and see if I still have any thing I worked on laying around but I'm not sure about that...I changed hard disks since then. I do love python so I would not be adversed to working on some of the individual screenlet modules. Thanks for the encouragement, but my skills really are not up to that. Cheers, anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Unresolvable links
Arising from a very useful link posted by Warren Block in another thread: http://forums.freebsd.org/showpost.php?p=163415postcount=17 , I have been running libchk. It now gives the following (relevant) output: Unresolvable link(s) found in: /usr/local/lib/libreoffice/program/ configmgr.uno.so libxmlreader.so Unresolvable link(s) found in: /usr/local/lib/firefox/sdk/lib/libxul.so libmozsqlite3.so Unresolvable link(s) found in: /usr/local/lib/firefox/components/ libmozgnome.so libmozalloc.so libxpcom.so Unresolvable link(s) found in: /usr/local/lib/firefox/components/ libdbusservice.so libmozalloc.so libxpcom.so Unresolvable link(s) found in: /usr/local/lib/firefox/components/ libbrowsercomps.so libmozalloc.so libxul.so libxpcom.so All these shared object files are present in one lib or another, so my suspicion is that somehow the 'parent' shared objects are looking for them in the wrong place. Any ideas on fixing this please? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Python module wnck?
I'm trying to get screenlets up and running on 9.0, but I'm getting the following Python error: ImportError: No module named wnck I believe that this should be supplied by a a package or port named something like py27-wnck, but am unable to trace any such. Can anyone point me in the right direction please? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Python module wnck?
On Thu, 26 Apr 2012 10:43:23 -0400, Rod Person wrote: On Thu, 26 Apr 2012 13:37:44 + (UTC) Walter Hurry walterhu...@gmail.com wrote: I'm trying to get screenlets up and running on 9.0, but I'm getting the following Python error: ImportError: No module named wnck I believe that this should be supplied by a a package or port named something like py27-wnck, but am unable to trace any such. Can anyone point me in the right direction please? It's been a year or two since I tried to get screenlets running, but as I recall you need to get python wnck module yourself. libwnck is in the ports which is needed for the python module. Thanks. libwnck is already installed, so I downloaded gnome-python- desktop-2.32.0.tar.bz2 from ftp.gnome.org, which apparently contains the Python wnck module. I was intending to make the whole thing, but then install only the bit I need. Unfortunately when it came to compile wnck, the following error was displayed: libtool: link: `/usr/local/lib/libxcb-aux.la' is not a valid libtool archive Indeed it isn't. There is no such file, even though libxcb is installed. Any thoughts? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Python module wnck?
On Thu, 26 Apr 2012 11:29:44 -0600, Warren Block wrote: On Thu, 26 Apr 2012, Walter Hurry wrote: On Thu, 26 Apr 2012 10:43:23 -0400, Rod Person wrote: On Thu, 26 Apr 2012 13:37:44 + (UTC) Walter Hurry walterhu...@gmail.com wrote: I'm trying to get screenlets up and running on 9.0, but I'm getting the following Python error: ImportError: No module named wnck I believe that this should be supplied by a a package or port named something like py27-wnck, but am unable to trace any such. Can anyone point me in the right direction please? It's been a year or two since I tried to get screenlets running, but as I recall you need to get python wnck module yourself. libwnck is in the ports which is needed for the python module. Thanks. libwnck is already installed, so I downloaded gnome-python- desktop-2.32.0.tar.bz2 from ftp.gnome.org, which apparently contains the Python wnck module. I was intending to make the whole thing, but then install only the bit I need. Unfortunately when it came to compile wnck, the following error was displayed: libtool: link: `/usr/local/lib/libxcb-aux.la' is not a valid libtool archive Indeed it isn't. There is no such file, even though libxcb is installed. http://forums.freebsd.org/showpost.php?p=163415postcount=17 Thanks for that link! And thanks to Rod and Poly too. I now have screenlets up and running perfectly. I have kept notes in case any other soul needs assistance. What a suerb list!. As I gain experience with FreeBSD I hope I shall be able to contribute something in return. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Python module wnck?
On Thu, 26 Apr 2012 18:41:35 -0400, Rod Person wrote: On Thu, 26 Apr 2012 22:14:53 + (UTC) Walter Hurry walterhu...@gmail.com wrote: Thanks for that link! And thanks to Rod and Poly too. I now have screenlets up and running perfectly. I have kept notes in case any other soul needs assistance. What a suerb list!. As I gain experience with FreeBSD I hope I shall be able to contribute something in return. How many of the screenlets actually work? When I was working on this I found that a number of them where too linux specific to work. I have a screenshot of the sticky note and weather working but that's about all I can recall working. I only wanted three: Clock, ClearCalendar and ClearWeather. They work perfectly. I haven't tried any of the others. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Python module wnck?
On Thu, 26 Apr 2012 19:51:49 -0600, Warren Block wrote: On Fri, 27 Apr 2012, Walter Hurry wrote: On Thu, 26 Apr 2012 18:41:35 -0400, Rod Person wrote: On Thu, 26 Apr 2012 22:14:53 + (UTC) Walter Hurry walterhu...@gmail.com wrote: Thanks for that link! And thanks to Rod and Poly too. I now have screenlets up and running perfectly. I have kept notes in case any other soul needs assistance. What a suerb list!. As I gain experience with FreeBSD I hope I shall be able to contribute something in return. How many of the screenlets actually work? When I was working on this I found that a number of them where too linux specific to work. I have a screenshot of the sticky note and weather working but that's about all I can recall working. I only wanted three: Clock, ClearCalendar and ClearWeather. They work perfectly. I haven't tried any of the others. Consider making a port. Clearly there is some demand. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ For the Python wnck module, or for screenlets? I'm afraid that technically I am well short of the ability to do either. I am more than willing to help anyone who elects to so, though. Incidentally (and this is addressed to Rod mainly), the ClearWeather module was broken. I had to hack it a bit to get it to work properly. It got confused over proxies, but since I am not unfamiliar with Python, that presented no difficulty. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org