ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
I'm running another set of updates, and I can't for the life of me get rid of this erroneous behaviour. I run portupgrade and it tells me it can't update ImageMagick because the Djvu option requires threads, and needs perl, therefore perl needs to be threaded. So it comes up with an IGNORE which is nuts because I run threaded perl. #pkg_version -v | grep perl mod_perl2-2.0.4_2,3 = up-to-date with port perl-threaded-5.10.1_3 = up-to-date with port Something I'm missing here? A fix would be nice, I should be used to it though- ImageMagick _always_ has issues for me. I just thought it'd be nice to get it updated for once- it looked so close :) ___ 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
ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
Da Rock writes: I'm running another set of updates, and I can't for the life of me get rid of this erroneous behaviour. I run portupgrade and it tells me it can't update ImageMagick because the Djvu option requires threads, and needs perl, therefore perl needs to be threaded. So it comes up with an IGNORE which is nuts because I run threaded perl. #pkg_version -v | grep perl mod_perl2-2.0.4_2,3 = up-to-date with port perl-threaded-5.10.1_3 = up-to-date with port Something I'm missing here? A fix would be nice, I should be used to it though- ImageMagick _always_ has issues for me. I just thought it'd be nice to get it updated for once- it looked so close :) I'm getting something similar, have been for a couple of weeks: ** Port marked as IGNORE: graphics/ImageMagick: OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL ** Listing the failed packages (-:ignored / *:skipped / !:failed) - graphics/ImageMagick (marked as IGNORE) (Follow-ups redirected to ports@, or I tried to.) Robert Huff ___ 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: kernel config file according to config(5): inconsistent ?
In freebsd-questions Digest, Vol 342, Issue 9, Message: 1 On Sat, 25 Dec 2010 04:38:08 -0800 Rob spamref...@yahoo.com wrote: I read the guidelines in the man pages of config(5) on how to make a customized kernel config file: nooption name [, name [...]] nooptions name [, name [...]] Remove the specified kernel options from the list of previously defined options. This directive can be used to cancel the effects of option or options directives in files included using include. So I put following in my MYKERNEL config file: include GENERIC nocpu I486_CPU nocpu I586_CPU ident MYKERNEL nomakeoptions DEBUG nooptions MD_ROOT nooptions NFSCLIENT , NFSSERVER , NFSLOCKD , NFS_ROOT nooptions MSDOSFS , CD9660 nooptions PROCFS , PSEUDOFS The comma separated items seemed to cause an error when I do the buildkernel. If I remove the commas and make a 'nooptions' per item, then it is OK. Something seems to be inconsistent here, right? Same inconsistency for nodevices with the syntax in the manpages and the real config file Arguably unforgiving parsing and/or imprecise description. Try eg: nooptions NFSCLIENT, NFSSERVER, NFSLOCKD, NFS_ROOT with no space[s] before comma[s], as is generally conventional. cheers, Ian ___ 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: kernel config file according to config(5): inconsistent ?
On Mon, 27 Dec 2010 00:29:47 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Arguably unforgiving parsing and/or imprecise description. Try eg: nooptions NFSCLIENT, NFSSERVER, NFSLOCKD, NFS_ROOT with no space[s] before comma[s], as is generally conventional. That doesn't work either. It should be fairly easy to see what's wrong since the parser's in usr.sbin/config/config.y . -- Bruce Cran ___ 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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
On 12/26/10 23:04, Robert Huff wrote: Da Rock writes: I'm running another set of updates, and I can't for the life of me get rid of this erroneous behaviour. I run portupgrade and it tells me it can't update ImageMagick because the Djvu option requires threads, and needs perl, therefore perl needs to be threaded. So it comes up with an IGNORE which is nuts because I run threaded perl. #pkg_version -v | grep perl mod_perl2-2.0.4_2,3 = up-to-date with port perl-threaded-5.10.1_3 = up-to-date with port Something I'm missing here? A fix would be nice, I should be used to it though- ImageMagick _always_ has issues for me. I just thought it'd be nice to get it updated for once- it looked so close :) I'm getting something similar, have been for a couple of weeks: ** Port marked as IGNORE: graphics/ImageMagick: OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL ** Listing the failed packages (-:ignored / *:skipped / !:failed) - graphics/ImageMagick (marked as IGNORE) (Follow-ups redirected to ports@, or I tried to.) Hmm. I'm not alone then. I'll do some poking then and see what comes up... :) Any hints guys? ___ 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: kernel config file according to config(5): inconsistent ?
On Sun, 26 Dec 2010, Bruce Cran wrote: On Mon, 27 Dec 2010 00:29:47 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Arguably unforgiving parsing and/or imprecise description. Try eg: nooptions NFSCLIENT, NFSSERVER, NFSLOCKD, NFS_ROOT with no space[s] before comma[s], as is generally conventional. That doesn't work either. It should be fairly easy to see what's wrong since the parser's in usr.sbin/config/config.y . That'll teach me to punt on conventional generality :) Probably should be easy, but from trying to parse that and lang.l I get the vague impression (at best) that Rob's original should have worked? Too much partying probably .. care to enlighten us? cheers, Ian ___ 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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
On Sun, Dec 26, 2010 at 11:42:37PM +1000, Da Rock wrote: Something I'm missing here? A fix would be nice, I should be used to it though- ImageMagick _always_ has issues for me. I just thought it'd be nice to get it updated for once- it looked so close :) I'm getting something similar, have been for a couple of weeks: ** Port marked as IGNORE: graphics/ImageMagick: OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL ** Listing the failed packages (-:ignored / *:skipped / !:failed) - graphics/ImageMagick (marked as IGNORE) (Follow-ups redirected to ports@, or I tried to.) Hmm. I'm not alone then. I'll do some poking then and see what comes up... :) Any hints guys? Try building ImageMagick without perl support. Works for me, with EXR, but haven't tested with Djvu; cd /usr/ports/graphics/ImageMagick make config ┌┐ │ Options for ImageMagick 6.6.5.10 │ │ ┌^(-)┐ │ ... │ │[X] IMAGEMAGICK_OPENEXR OpenEXR support (needs threads)│ │ │ │[X] IMAGEMAGICK_OPENMP OpenMP for SMP (needs threads) │ │ │ │[ ] IMAGEMAGICK_PDF PDF format support │ │ │ │[ ] IMAGEMAGICK_PERL Perl support │ │ ... Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpXkTYs4Qx5X.pgp Description: PGP signature
Re: kernel config file according to config(5): inconsistent ?
On Mon, 27 Dec 2010 01:50:45 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Probably should be easy, but from trying to parse that and lang.l I get the vague impression (at best) that Rob's original should have worked? Too much partying probably .. care to enlighten us? The NOOPTION token doesn't accept an Opt_list, just a Save_Id - it's just OPTIONS and MAKEOPTIONS that can have a list. -- Bruce Cran ___ 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_info and an active /usr/ports is slow
Just wondering about the interaction of pkg_info (no args) and having a ports directory. Without it it's blazing fast, with it it is just slow and sometimes just breaks during the listing. There is nothing in the man page about it reading the ports directory or why it would want or need to. Most importantly there is no command line option to skip it. Thanks Chris ___ 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
py26-dbus
While upgrading python to 2.6.x (by following /usr/src/UPDATING and running 'cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER') I get the following error msg from devel/py-dbus. Attached is the config file from the build-process. I can reproduce this by independently running make in the portdir (devel/py-dbus). The tree is current as of a few days ago. I've been getting this error for several weeks now and been unable to figure it out. /usr/src/UPDATING has nothing specific to py(26)-dbus. Just Python, which is what I was following. FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun Oct 2401:53:03 EDT 2010 r...@ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY i386 [r...@ziggy [~]# cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER [..] === License check disabled, port has not defined LICENSE === Extracting for py26-dbus-0.83.2 = SHA256 Checksum OK for dbus-python-0.83.2.tar.gz. === Patching for py26-dbus-0.83.2 === py26-dbus-0.83.2 depends on file: /usr/local/bin/python2.6 - found === py26-dbus-0.83.2 depends on executable: gmake - found === py26-dbus-0.83.2 depends on package: libtool=2.2 - found === py26-dbus-0.83.2 depends on shared library: dbus-glib-1.2 - found === py26-dbus-0.83.2 depends on shared library: intl - found === Configuring for py26-dbus-0.83.2 [..] checking whether /usr/local/bin/python2.6 version = 2.4.0... yes checking for /usr/local/bin/python2.6 version... 2.6 checking for /usr/local/bin/python2.6 platform... freebsd7 checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix} /lib/python2.6/site-packages checking for Python headers using /usr/local/bin/python2.6-config --includes... -I /usr/local/include/python2.6 -I/usr/local/include/python2.6 checking whether those headers are sufficient... no configure: error: could not find Python headers === Script configure failed unexpectedly. Please run the gnomelogalyzer, available from http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gn...@freebsd.org, and attach (a) /usr/ports/devel/py-dbus/work/dbus-python-0.83.2/config.log, (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gn...@freebsd.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/devel/py-dbus. [r...@ziggy [/usr/ports/devel/py-dbus]# Of the errror message, this is what stuck out the most for me; [..] checking whether those headers are sufficient... no [..] This tells me something is missing, but what? How do I figure out what headers aren't sufficient? Incidentally could this be the cause? [..] [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.6/site-packages/ total 20 2 drwxr-xr-x 3 root wheel 512B Dec 18 14:55 . 14 drwxr-xr-x 28 root wheel14K Dec 18 14:45 .. 2 -r--r--r-- 1 root wheel 119B Dec 18 14:44 README 2 drwxr-xr-x 2 root wheel 512B Dec 18 14:55 xcbgen [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.5/site-packages/ total 350 2 drwxr-xr-x 3 root wheel 512B Oct 14 14:47 . 14 drwxr-xr-x 3 root wheel13K Sep 8 2009 .. 178 -rw-r--r-- 1 root wheel 178K Mar 20 2009 _dbus_bindings.a 2 -rwxr-xr-x 1 root wheel 910B Mar 20 2009 _dbus_bindings.la 130 -rwxr-xr-x 1 root wheel 130K Mar 20 2009 _dbus_bindings.so 6 -rw-r--r-- 1 root wheel 4.5K Mar 20 2009 _dbus_glib_bindings.a 2 -rwxr-xr-x 1 root wheel 1.1K Mar 20 2009 _dbus_glib_bindings.la 8 -rwxr-xr-x 1 root wheel 7.2K Mar 20 2009 _dbus_glib_bindings.so 2 drwxr-xr-x 3 root wheel 1.5K Mar 20 2009 dbus 2 -rw-r--r-- 1 root wheel33B Mar 20 2009 dbus_bindings.py 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyc 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyo [r...@ziggy [/usr/ports/lang/python]# [..] If I've missed anything, by all means, let me know and I shall provide it. P.S. I cross-posted this to 'gnome at' as well as 'freebsd-gnome at' as I was unsure/unclear if they were the same list or not. py26-dbus-0.83.2-config.log Description: Binary data ___ 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_info and an active /usr/ports is slow
On Sun, Dec 26, 2010 at 10:42 AM, Chris Telting christopher...@telting.orgwrote: Just wondering about the interaction of pkg_info (no args) and having a ports directory. Without it it's blazing fast, with it it is just slow and sometimes just breaks during the listing. There is nothing in the man page about it reading the ports directory or why it would want or need to. Most importantly there is no command line option to skip it. Thanks Chris IIRC pkg_* checks a database that tools such as portupgrade utilize and this could slow things down. But I am not 100% sure. C- ___ 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: kernel config file according to config(5): inconsistent ?
On Sun, 26 Dec 2010, Bruce Cran wrote: On Mon, 27 Dec 2010 01:50:45 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Probably should be easy, but from trying to parse that and lang.l I get the vague impression (at best) that Rob's original should have worked? Too much partying probably .. care to enlighten us? The NOOPTION token doesn't accept an Opt_list, just a Save_Id - it's just OPTIONS and MAKEOPTIONS that can have a list. Ah, indeed. So the config(5) nooption[s] entry is plain wrong, or at least 'ahead of the code' :) and whitespace is ignored anyway. Interesting parser; thanks for the introductory crash course! cheers, Ian ___ 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
randomising tracks: scripting question
I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser might clear the fog caused by excessive Xmas indulgence ;) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: randomising tracks: scripting question
Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser might clear the fog caused by excessive Xmas indulgence ;) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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 change cat t...n.m3u to random t..n.m3u -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpvxO07hLh2G.pgp Description: PGP signature
groups and login shells
Just spent some time figuring this out. I needed to create a group and add myself to it. But after I added myself to the group while I could id username my username and get the correct groups if I did a base id or groups the new group wouldn't show up. Not could I access a directory restricted to the group. Turns out I needed to invoke a new login shell from an existing command prompt or essentially shut everything down and relogin a the console. So I just reboot. But owning to many years of resentment dealing with Microsoft platform I highly resent reboots. Does anyone know if it's possible to update groups in memory? Thanks, Chris ___ 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: py26-dbus
On 12/26/10 11:11 AM, Chris Brennan wrote: While upgrading python to 2.6.x (by following /usr/src/UPDATING and running 'cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER') I get the following error msg from devel/py-dbus. Attached is the config file from the build-process. I can reproduce this by independently running make in the portdir (devel/py-dbus). The tree is current as of a few days ago. I've been getting this error for several weeks now and been unable to figure it out. /usr/src/UPDATING has nothing specific to py(26)-dbus. Just Python, which is what I was following. You need to reinstall devel/pth. Joe FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun Oct 2401:53:03 EDT 2010 r...@ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY i386 [r...@ziggy [~]# cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER [..] === License check disabled, port has not defined LICENSE === Extracting for py26-dbus-0.83.2 = SHA256 Checksum OK for dbus-python-0.83.2.tar.gz. === Patching for py26-dbus-0.83.2 === py26-dbus-0.83.2 depends on file: /usr/local/bin/python2.6 - found === py26-dbus-0.83.2 depends on executable: gmake - found === py26-dbus-0.83.2 depends on package: libtool=2.2 - found === py26-dbus-0.83.2 depends on shared library: dbus-glib-1.2 - found === py26-dbus-0.83.2 depends on shared library: intl - found === Configuring for py26-dbus-0.83.2 [..] checking whether /usr/local/bin/python2.6 version = 2.4.0... yes checking for /usr/local/bin/python2.6 version... 2.6 checking for /usr/local/bin/python2.6 platform... freebsd7 checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix} /lib/python2.6/site-packages checking for Python headers using /usr/local/bin/python2.6-config --includes... -I /usr/local/include/python2.6 -I/usr/local/include/python2.6 checking whether those headers are sufficient... no configure: error: could not find Python headers === Script configure failed unexpectedly. Please run the gnomelogalyzer, available from http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gn...@freebsd.org, and attach (a) /usr/ports/devel/py-dbus/work/dbus-python-0.83.2/config.log, (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gn...@freebsd.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/devel/py-dbus. [r...@ziggy [/usr/ports/devel/py-dbus]# Of the errror message, this is what stuck out the most for me; [..] checking whether those headers are sufficient... no [..] This tells me something is missing, but what? How do I figure out what headers aren't sufficient? Incidentally could this be the cause? [..] [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.6/site-packages/ total 20 2 drwxr-xr-x 3 root wheel 512B Dec 18 14:55 . 14 drwxr-xr-x 28 root wheel14K Dec 18 14:45 .. 2 -r--r--r-- 1 root wheel 119B Dec 18 14:44 README 2 drwxr-xr-x 2 root wheel 512B Dec 18 14:55 xcbgen [r...@ziggy [/usr/ports/lang/python]# lsl /usr/local/lib/python2.5/site-packages/ total 350 2 drwxr-xr-x 3 root wheel 512B Oct 14 14:47 . 14 drwxr-xr-x 3 root wheel13K Sep 8 2009 .. 178 -rw-r--r-- 1 root wheel 178K Mar 20 2009 _dbus_bindings.a 2 -rwxr-xr-x 1 root wheel 910B Mar 20 2009 _dbus_bindings.la 130 -rwxr-xr-x 1 root wheel 130K Mar 20 2009 _dbus_bindings.so 6 -rw-r--r-- 1 root wheel 4.5K Mar 20 2009 _dbus_glib_bindings.a 2 -rwxr-xr-x 1 root wheel 1.1K Mar 20 2009 _dbus_glib_bindings.la 8 -rwxr-xr-x 1 root wheel 7.2K Mar 20 2009 _dbus_glib_bindings.so 2 drwxr-xr-x 3 root wheel 1.5K Mar 20 2009 dbus 2 -rw-r--r-- 1 root wheel33B Mar 20 2009 dbus_bindings.py 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyc 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyo [r...@ziggy [/usr/ports/lang/python]# [..] If I've missed anything, by all means, let me know and I shall provide it. P.S. I cross-posted this to 'gnome at' as well as 'freebsd-gnome at' as I was unsure/unclear if they were the same list or not. ___ freebsd-gn...@freebsd.org mailing list
Re: randomising tracks: scripting question
On Sun, 26 Dec 2010 09:40:43 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser might clear the fog caused by excessive Xmas indulgence ;) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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 change cat t...n.m3u to random t..n.m3u That should be random -f trombone_shorty-backatown.m3u see random(6) for what happens when it reads directly from stdin (without -f -) ___ 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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
Da Rock wrote: I run portupgrade and it tells me it can't update ImageMagick because the Djvu option requires threads, and needs perl, therefore perl needs to be threaded. So it comes up with an IGNORE which is nuts because I run threaded perl. ... Any hints guys? So, as the others wrote, build the port WITHOUT_IMAGEMAGICK_PERL, if you don't need perl support; or fix the checks that are failing. What precisely is the message displayed when you've explicitly selected WITH_THREADS, WITH_IMAGEMAGICK_PERL, and WITH_IMAGEMAGICK_DJVU? Is it a message generated by the ImageMagick Makefile, or by portupgrade? If it is generated by the Makefile ( ... Perl is non-threaded. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL.), and you've selected the above three options, then what is the output of perl --version and make -C $PORTSDIR/*/ImageMagick -V PERL_THREADED? 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: groups and login shells
On 26/12/2010 17:50, Chris Telting wrote: Just spent some time figuring this out. I needed to create a group and add myself to it. But after I added myself to the group while I could id username my username and get the correct groups if I did a base id or groups the new group wouldn't show up. Not could I access a directory restricted to the group. Turns out I needed to invoke a new login shell from an existing command prompt or essentially shut everything down and relogin a the console. So I just reboot. But owning to many years of resentment dealing with Microsoft platform I highly resent reboots. Does anyone know if it's possible to update groups in memory? You don't need to reboot. All you need to do is login again, and your session will have all the new group memberships. Group membership is only set at the beginning of a session; ie at login, so to see any changes, you need to start a new session. Actually, you seem confused as to the difference between logging out and rebooting. Rebooting is a drastic action on a multi-user server, involving halting and restarting the whole OS and everything running on it. Logging out and back in again is pretty trivial, and only affects your own processes. Very different actions. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: randomising tracks: scripting question
How would I go about randomising the order of play using sh (preferably) or perl? I fiddled around for a minute without luck but I think between the built-in $RANDOM, tail and head you should be able to get a randomize going. I'd recommend putting a script together that just pulls a random line from a file then work from there. Post your results if yo get one working. -- # Mark Caudill ___ 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: randomising tracks: scripting question
On Sun, Dec 26, 2010 at 06:01:45PM +, RW wrote: On Sun, 26 Dec 2010 09:40:43 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser might clear the fog caused by excessive Xmas indulgence ;) Regards, change cat t...n.m3u to random t..n.m3u That should be random -f trombone_shorty-backatown.m3u see random(6) for what happens when it reads directly from stdin (without -f -) Excellent. I didn't know about random(6), I was getting lost in the manpages: there are manpages for random in 3 different sections! Should have used apropos. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: randomising tracks: scripting question
Frank Shute wrote: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? cat trombone_shorty-backatown.m3u | xargs mplayer ... -shuffle or mplayer ... -playlist trombone_shorty-backatown.m3u -shuffle if they are in a uncommented, one-absolute-path-per-line format without extended directives? 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: cpio misunderstanding?
On Fri, Dec 24, 2010 at 4:57 PM, Joe Kraft jvk-l...@thekrafts.org wrote: OK, now I know what's going on. I just don't know why. The immutable flag was set on all these files, if you clear it cpio will happily copy them to the new directory. Does cpio attempt to preserve flags? Since the error is could not create, I'm wondering if it's trying to set the same flags on the copy of the file and failing to do so. ___ 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
Portmaster general questions and problems
I had been using portupgrade for several years and never had any problems and upgrading ports was quick and simple process every week. But, due to portupgrade no longer being maintained and failing to work anymore, I have switched to using portmaster and am having nothing but problems, so much so that I dread updating my ports. I'm trying to figure out what I'm doing wrong or what I don't understand about portmaster. I've looked on google and can't find any documentation that isn't just basic stuff or rehashes of the man pages (which are fine for reference, but not helpful in understanding how to use it). Here is an example of a problem I run into all the time: I went to update php and I got this: === Starting check for runtime dependencies === Gathering dependency list for devel/libltdl from ports === No dependencies for devel/libltdl === Installing for libltdl-2.2.10 === Generating temporary packing list === Checking if devel/libltdl already installed === libltdl-2.2.10 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/libltdl without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/libltdl. ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? Portmaster also doesn't seem to understand when ports are already up-to-date, so doing this: portmaster php5-* To update all the php5 ports causes portmaster to re-install things that are already up to date. Is this expected behavior? if so, how can I upgrade ports without typing each one my hand. I'd rather not run portmaster with -a since I don't want to blindly update everything. Is there a good tutorial on portmaster somewhere that can help an some get started with it? Is portmaster the best tool for updating ports? Thanks, Ron ___ 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: Portmaster general questions and problems
On Sun, 26 Dec 2010 11:39:58 -0800 Ron (Lists) rg.li...@rzweb.com wrote: ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? That's a problem I've come across before too - I'd be interested to know what's going wrong too. -- Bruce Cran ___ 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: cpio misunderstanding?
On Sun, 26 Dec 2010 11:30:59 -0800, David Brodbeck g...@gull.us wrote: On Fri, Dec 24, 2010 at 4:57 PM, Joe Kraft jvk-l...@thekrafts.org wrote: OK, now I know what's going on. I just don't know why. The immutable flag was set on all these files, if you clear it cpio will happily copy them to the new directory. Does cpio attempt to preserve flags? Since the error is could not create, I'm wondering if it's trying to set the same flags on the copy of the file and failing to do so. I'm not sure about that - man cpio doesn't give a hint about flags. On the other hand, tar's -p option does keep the file mode (permissions), flags and maybe ACLs intact. I've tried info cpio ouch! ouch!, but that's not a continuous manual that allows easy searching for strings. :-( Some search in the /usr/src/bin subtree for the chflags call revealed that it is used by the chflags binary, cp, mv and rm commands, but no hint it is involved directly in cpio. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: randomising tracks: scripting question
On Sun, Dec 26, 2010 at 2:04 PM, b. f. bf1...@googlemail.com wrote: Frank Shute wrote: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? cat trombone_shorty-backatown.m3u | xargs mplayer ... -shuffle or mplayer ... -playlist trombone_shorty-backatown.m3u -shuffle if they are in a uncommented, one-absolute-path-per-line format without extended directives? Here is something that I wrote a long time ago in python, works quite well [code] #!/usr/bin/env python def randline(f): for i,j in enumerate(file(f, 'rb')): if random.randint(0,i) == i: line = j eturn line print randline(text) [/code] Name it as you wish then it's ./file.py INPUT, granted this will only read 1 (random) line from INPUT and print it, it shouldn't be hard to modify this for your needs tho, enjoy :) C- ___ 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: randomising tracks: scripting question
On Dec 26, 2010, at 11:02 AM, Frank Shute wrote: On Sun, Dec 26, 2010 at 06:01:45PM +, RW wrote: On Sun, 26 Dec 2010 09:40:43 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser might clear the fog caused by excessive Xmas indulgence ;) Regards, change cat t...n.m3u to random t..n.m3u That should be random -f trombone_shorty-backatown.m3u see random(6) for what happens when it reads directly from stdin (without -f -) Excellent. I didn't know about random(6), I was getting lost in the manpages: there are manpages for random in 3 different sections! Should have used apropos. Just keep in mind that random(6) comes from the `games' distribution-set. wget -r ftp://ftp-archive.freebsd.org/pub/FreeBSD/releases/i386/8.1-RELEASE/games cd games sudo ./install.sh Not sure if it's available anywhere else. -- Devin ___ 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
Updating.
Hi all, Up to this point I have always updated (within a branch), by dropping to single user mode for everything. After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Of course, after that step, one would drop to single user mode to buildkernel, installkernel, and installworld. -Grant ___ 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: py26-dbus
On Sun, Dec 26, 2010 at 12:33 PM, Joe Marcus Clarke mar...@freebsd.orgwrote: You need to reinstall devel/pth. Joe Joe, thanks, that did the trick, py26-dbus was correctly built and installed. I would never have thought to reinstall devel/pth first. Why wasn't this pulled in first by 'cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER' ? Logic tells me it should have been. Is this a flaw of the cmd or a flaw in a port Makefile? ___ 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: Portmaster general questions and problems
On Sun, Dec 26, 2010 at 2:45 PM, Bruce Cran br...@cran.org.uk wrote: On Sun, 26 Dec 2010 11:39:58 -0800 Ron (Lists) rg.li...@rzweb.com wrote: ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? That's a problem I've come across before too - I'd be interested to know what's going wrong too. it sounds like there might be an erronous alias or wrapper-script that is changing the options of portmaster, maybe even a global in /etc/rc.conf? What does the following give you. 'alias | grep portmaster' For me, I get the following; [r...@ziggy [~]# alias | grep port alias portmaster='portmaster -d --no-confirm' [r...@ziggy [~]# grep port .bashrc alias portmaster=portmaster -d --no-confirm [r...@ziggy [~]# as you can see, these options are expected for me. As option of '-f' is what it sounds like is being called in your case, to force-reinstall everything named from the cmdln. HTH/C- ___ 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: Updating.
On Sun, 26 Dec 2010 15:11:54 -0500, Grant Peel gp...@thenetnow.com wrote: After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Seems to be no problem, as /usr/src/Makefile states this as the default order: For individuals wanting to upgrade their sources (even if only a delta of a few days): 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). [steps 3. 4. can be combined by using the kernel target] 5. `reboot'(in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `make delete-old' 9. `mergemaster' (you may wish to use -U or -ai). 10. `reboot' 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) Of course, after that step, one would drop to single user mode to buildkernel, installkernel, and installworld. No, buildkernel, as all build activities, can be safely performed in multi-user mode. There are just restrictions in when to actually INSTALL built stuff. The kernel can be installed in multi-user mode (but should be okay in single-user mode, too), THEN the reboot into that new kernel is performed, in single-user mode of course, and finally the world is installed in this construction environment. After that, the system is rebooted again to start into multi-user mode again with the fully updated system (kernel AND world). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Updating.
On Sun, Dec 26, 2010 at 03:11:54PM -0500, Grant Peel wrote: Hi all, Up to this point I have always updated (within a branch), by dropping to single user mode for everything. After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Of course, after that step, one would drop to single user mode to buildkernel, installkernel, and installworld. It's perfectly safe to do 'make buildworld' in multiuser mode, but you have todo 'make installworld' in single user mode booting your newly compiled kernel. Regarding the kernel you can do both 'make buildkernel' and 'make installkernel' (or directly 'make kernel') in multiuser mode. -- Davide Petilli - k3rn31 Potenza, Italy FreeBSD, Mac OSX, GNU/Debian. Geek since birth. ___ 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
PCI IDE Controller Base Address Register setting
Hi, I'm trying to install FreeBSD 8.0 on AMD Geode LX800 (CS5536 southbridge). However, it cannot detect the IDE controller (in the CS5536) correctly. It says something similar to this: IDE controller not present I did lspci in Linux (BackTrack 3) and I saw that the IDE controller Base Address Registers (BARs) are all disabled (only contains zeros), except for one of them (BAR4). BAR4 decodes 16-bytes I/O ports (FFF0h-h). The decoded ports seems to conform to the PCI IDE specification for native-PCI IDE controller (relocatable within the 16-bit I/O address space). I did cat /proc/ioports and I found that the following I/O port address ranges decoded correctly to the IDE controller in the CS5536 southbridge: 1F0h-1F7h 3F6h 170h-177h FFF0h-h My question: Does FreeBSD require the IDE controller BARs to be programmed to also decode legacy I/O ports ranges (1F0h-1F7h,3F6h and 170h-177h)? What if those ranges are not programmed into the BARs of the IDE controller? Would the IDE controller be considered not present (disabled)? TIA, Darmawan PS: I'm working on the BIOS for this particular system but I have yet to be able to program the BARs to the aforementioned legacy I/O port ranges. This system is very peculiar because the PCI subsystem is virtualized. ___ 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: Portmaster general questions and problems
On Sun, Dec 26, 2010 at 1:39 PM, Ron (Lists) rg.li...@rzweb.com wrote: I had been using portupgrade for several years and never had any problems and upgrading ports was quick and simple process every week. But, due to portupgrade no longer being maintained and failing to work anymore, I have switched to using portmaster and am having nothing but problems, so much so that I dread updating my ports. I'm trying to figure out what I'm doing wrong or what I don't understand about portmaster. I've looked on google and can't find any documentation that isn't just basic stuff or rehashes of the man pages (which are fine for reference, but not helpful in understanding how to use it). I'm pretty sure this is a problem with a port and it's depends listing or something and not specific to portmaster. This should be relatively easy to test, try it with portupgrade/portmanager instead on the same ports tree. Your implication that this sort of thing didn't happen on portupgrade directly contradicts my experience. You'll probably get better help on freebsd-ports@ although there are people on this list that can help but list activity is low right now. Anyway I also see there a recent entry in UPDATING about libltdl. -- Adam Vande More ___ 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: Updating.
On Sun, 26 Dec 2010 15:11:54 -0500 Grant Peel gp...@thenetnow.com wrote: Hi all, Up to this point I have always updated (within a branch), by dropping to single user mode for everything. After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Personally, I don't bother with single-user mode at all within release branches. I do everything in multiuser mode and reboot afterwards at my convenience. I've never had a problem, but I do check UPDATING just in case there's anything abnormal. I do it by the book when moving between releases branches though, and reboot into single user mode after installing the kernel. ___ 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
Portupgrade status [Was Re: Portmaster general questions and problems]
On Sun, Dec 26, 2010 at 11:39:58AM -0800, Ron (Lists) wrote: But, due to portupgrade no longer being maintained and failing to work anymore, I'm a bit confused about this. I did a quick google search and saw that someone had stopped maintaining portupgrade, but I also saw things that suggested that other people were maintaining it. The handbook continues to list it ahead of portmanager and portmaster, with no mention that it isn't being maintained. I've never stopped using portupgrade, and it has always worked. Updates come through periodically, two in the past month. For a port that isn't being maintained, it seems to be remarkably well maintained. ___ 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: Updating.
On 12/26/2010 23:03, RW wrote: On Sun, 26 Dec 2010 15:11:54 -0500 Grant Peelgp...@thenetnow.com wrote: Hi all, Up to this point I have always updated (within a branch), by dropping to single user mode for everything. After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Personally, I don't bother with single-user mode at all within release branches. I do everything in multiuser mode and reboot afterwards at my convenience. I've never had a problem, but I do check UPDATING just in case there's anything abnormal. same here ... just be sure to disable all daemons in rc.conf except sshd I do it by the book when moving between releases branches though, and reboot into single user mode after installing the kernel. ___ 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-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: cpio misunderstanding?
Polytropon free...@edvax.de writes: On Sun, 26 Dec 2010 11:30:59 -0800, David Brodbeck g...@gull.us wrote: On Fri, Dec 24, 2010 at 4:57 PM, Joe Kraft jvk-l...@thekrafts.org wrote: OK, now I know what's going on. I just don't know why. The immutable flag was set on all these files, if you clear it cpio will happily copy them to the new directory. Does cpio attempt to preserve flags? Since the error is could not create, I'm wondering if it's trying to set the same flags on the copy of the file and failing to do so. I'm not sure about that - man cpio doesn't give a hint about flags. On the other hand, tar's -p option does keep the file mode (permissions), flags and maybe ACLs intact. I've tried info cpio ouch! ouch!, but that's not a continuous manual that allows easy searching for strings. :-( Some search in the /usr/src/bin subtree for the chflags call revealed that it is used by the chflags binary, cp, mv and rm commands, but no hint it is involved directly in cpio. I had done some testing for flag support out of curiosity, and found that only cp -p, bsdtar and dump support them. Cpio, afio, gnutar, gnucp and pax do not support them. I also tested extended attributes (used for ACLs?), and only bsdtar and dump worked for them. Those results were for usf, and generally didn't transfer to zfs at all or probably other file systems. -- Carl Johnsonca...@peak.org ___ 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
SD/CF card reader
I got a new (haha) PC for Christmas which I want to turn into my new home system. I could improve from Intel P4 2GHz 768 MB SDR-SDRAM and ATA disks to Intel Core2 1.8 GHz 2 GB DDR-SDRAM and SATA disk(s). A nice feature of the new system is a built-in card reader which I would like to be a replacement for my (ab)use of a defective MP3 player as a means to access SD cards (and maybe CF cards). From dmesg of that system, USB-related messages only: uhci0: VIA 83C572 USB controller port 0xe000-0xe01f irq 20 at device 16.0 on pci0 uhci0: [ITHREAD] usbus0: VIA 83C572 USB controller on uhci0 uhci1: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 22 at device 16.1 on pci0 uhci1: [ITHREAD] usbus1: VIA 83C572 USB controller on uhci1 uhci2: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.2 on pci0 uhci2: [ITHREAD] usbus2: VIA 83C572 USB controller on uhci2 uhci3: VIA 83C572 USB controller port 0xd400-0xd41f irq 23 at device 16.3 on pci0 uhci3: [ITHREAD] usbus3: VIA 83C572 USB controller on uhci3 ehci0: VIA VT6202 USB 2.0 controller mem 0xd000-0xd0ff irq 21 at device 16.4 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: VIA VT6202 USB 2.0 controller on ehci0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: VIA at usbus0 uhub0: VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus0 ugen1.1: VIA at usbus1 uhub1: VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus1 ugen2.1: VIA at usbus2 uhub2: VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus2 ugen3.1: VIA at usbus3 uhub3: VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus3 ugen4.1: VIA at usbus4 uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 ugen4.2: Generic at usbus4 umass0: Generic Flash Card Reader, class 0/0, rev 2.00/4.55, addr 2 on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Generic Flash HS-CF 4.55 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI status: Check Condition (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: Generic Flash HS-MS/SD 4.55 Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI status: Check Condition (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) da2 at umass-sim0 bus 0 scbus0 target 0 lun 2 da2: Generic Flash HS-SM 4.55 Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present The problem is: If I insert a card (SD or CF), a green light at the reader appears, but no messages arrive on the console. There are no corresponding device files, so I can't access anything. A front USB connector, on the other hand, works when I attach an USB stick: ugen4.3: Sony at usbus4 umass1: Sony Storage Media, class 0/0, rev 2.00/2.00, addr 3 on usbus4 umass1: SCSI over Bulk-Only; quirks = 0x umass1:1:1:-1: Attached to scbus1 da3 at umass-sim1 bus 1 scbus1 target 0 lun 0 da3: Sony Storage Media 1.00 Removable Direct Access SCSI-2 device da3: 40.000MB/s transfers da3: 3826MB (7835648 512 byte sectors: 255H 63S/T 487C) GEOM: da3: partition 1 does not start on a track boundary. GEOM: da3: partition 1 does not end on a track boundary. So I thought I'd check the CAM and maybe reset it: # camcontrol devlist Generic Flash HS-CF 4.55 at scbus0 target 0 lun 0 (pass0,da0) Generic Flash HS-MS/SD 4.55 at scbus0 target 0 lun 1 (pass1,da1) Generic Flash HS-SM 4.55 at scbus0 target 0 lun 2 (pass2,da2) Sony Storage Media 1.00 at scbus1 target 0 lun 0 (pass3,da3) (the last entry is the USB stick that works as intended) # camcontrol reset all Reset of bus 0 returned error 0x3a Reset of bus 1 returned error 0x3a What is this? Is there some documentation about what errors like 0x3a refer to? Is it in any relation with the previous uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT
Re: SD/CF card reader
On Sun, Dec 26, 2010 at 5:47 PM, Polytropon free...@edvax.de wrote: # camcontrol reset all Reset of bus 0 returned error 0x3a Reset of bus 1 returned error 0x3a What is this? Is there some documentation about what errors like 0x3a refer to? Is it in any relation with the previous uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 message recorded by dmesg? What should I do to get this internal reader working, or isn't it worth the time? I mean, if this is just the usual cheap and crappy VIA Windows-only shit, I won't bother anymore. I just went through something similar and IIRC the error you report is fixed in recent STABLE. During my initiation, I also became aware of GEOM's limitation when dealing with SD readers. After inserting the card, you have to open the device for writing for GEOM to retaste device so you can see the slices/partitions. Do something like: true /dev/da0 If a recent stable doesn't help, I'd try freebsd-scsi@ or freebsd-usb@ -- Adam Vande More ___ 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: Portmaster general questions and problems
On Sun, 26 Dec 2010 11:39:58 -0800 Ron (Lists) rg.li...@rzweb.com wrote: === Checking if devel/libltdl already installed === libltdl-2.2.10 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/libltdl without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/libltdl. ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? When a port gets built, the ports system looks for and installs any missing dependencies. As several different ports may satisfy a dependency the ports system looks for the functionality, a key executable, library etc, rather than a specific installed package. The error you see can occur when the port thinks it need to install a missing dependency port, but that install fails due to an existing entry in /var/db/pkg. This happens either because the appropriate files are missing or the port is looking for the wrong thing in the first place. It may be due to a mistake by the port maintainer or, more likely, a failure to deal with UPDATING entries correctly. ___ 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: SD/CF card reader
On Sun, 26 Dec 2010 17:58:56 -0600, Adam Vande More amvandem...@gmail.com wrote: I just went through something similar and IIRC the error you report is fixed in recent STABLE. Oh, I failed to mention that I did install 8.2-RC1 on this new machine. Time for updating. During my initiation, I also became aware of GEOM's limitation when dealing with SD readers. After inserting the card, you have to open the device for writing for GEOM to retaste device so you can see the slices/partitions. Do something like: true /dev/da0 I'll check that. Still... looks very strange. That shouldn't be neccessary on modern FreeBSD as it hadn't been any problem on old-fashioned FreeBSD. Besides that, I'm not using GEOM for anything important, as I keep things old-fashioned, even mounting media is not automated (as I do consider this a security risk). As I'm mainly working with outdated stuff, I don't rely on the latest modern technology for partitioning. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: SD/CF card reader
On Sun, Dec 26, 2010 at 6:33 PM, Polytropon free...@edvax.de wrote: Oh, I failed to mention that I did install 8.2-RC1 on this new machine. Time for updating. Well that should have the fix I was thinking of so you'll probably need to take it to one of the other lists I mentioned. I'll check that. Still... looks very strange. That shouldn't be neccessary on modern FreeBSD as it hadn't been any problem on old-fashioned FreeBSD. Perhaps you mean pre-GEOM? Besides that, I'm not using GEOM for anything important, as I keep things old-fashioned, even mounting media is not automated (as I do consider this a security risk). As I'm mainly working with outdated stuff, I don't rely on the latest modern technology for partitioning. :-) GEOM is more pervasive than I think you know. Basically every block-like device is a GEOM member these days automounting or not. I have only recently used an SD reader under FreeBSD but in my exploration of the symptoms, I saw very old and very recent indications that this is the way to handle. And by very old, I mean since GEOM's introduction. http://www.mail-archive.com/freebsd-stable@freebsd.org/msg104787.html You can easily find older ones, but this post explains a bit of the technical difficulty behind the bug. -- Adam Vande More ___ 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: Portupgrade status [Was Re: Portmaster general questions and problems]
On Sun, Dec 26, 2010 at 13:42, Bob Hall rjh...@gmail.com wrote: On Sun, Dec 26, 2010 at 11:39:58AM -0800, Ron (Lists) wrote: But, due to portupgrade no longer being maintained and failing to work anymore, I'm a bit confused about this. I did a quick google search and saw that someone had stopped maintaining portupgrade, but I also saw things that suggested that other people were maintaining it. The handbook continues to list it ahead of portmanager and portmaster, with no mention that it isn't being maintained. I've never stopped using portupgrade, and it has always worked. Updates come through periodically, two in the past month. For a port that isn't being maintained, it seems to be remarkably well maintained. I assume you are referring to my message from a couple months ago. At the time, the previous maintainer dropped it and transferred it to a mailing list. There had been no commits for around a year and a half. I am personally skeptical of anything maintained by a mailing list, because that seems to frequently lead to patches and bug reports being ignored for months or years. Then, the removal of MD5 distinfo broke it and it stayed broken for over a week with no indication given that a fix was in the works. On the other hand, Doug Barton has been very responsive to issues with portmaster and fixed this problem less than 48 hours after it appeared. Hence my recommendation to switch. -- Rob Farmer ___ 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
java
I have installed jdk Here is helloword.java class helloworld{ 2 public static void main(String[] args){ 3 System.out.println(hello world !); 4 } 5 } $javac helloworld.java //No problem $java helloworld.class //Exception in thread main java.lang.NoClassDefFoundError:helloworld/class $ java -version Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) May be should reset ClassPath , add . to path? I have no idea. 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: SD/CF card reader
On Sun, 26 Dec 2010 18:45:41 -0600, Adam Vande More amvandem...@gmail.com wrote: On Sun, Dec 26, 2010 at 6:33 PM, Polytropon free...@edvax.de wrote: Oh, I failed to mention that I did install 8.2-RC1 on this new machine. Time for updating. Well that should have the fix I was thinking of so you'll probably need to take it to one of the other lists I mentioned. Not needed - it works! The strange thing is that there are no console messages when inserting the SD and CF cards (both do work), in contrast to what happens if I use a regular USB stick. I'm still frightened as # true /dev/da0 suggests that something important might get overwritten. :-) GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. I'll check that. Still... looks very strange. That shouldn't be neccessary on modern FreeBSD as it hadn't been any problem on old-fashioned FreeBSD. Perhaps you mean pre-GEOM? Yes, when things were a bit more standardized and a bit less arbitrary... many years ago. :-) I have only recently used an SD reader under FreeBSD but in my exploration of the symptoms, I saw very old and very recent indications that this is the way to handle. And by very old, I mean since GEOM's introduction. That must have been sometimes with FreeBSD 5 or 6, if I remember correctly. Don't get me wrong, I'm always fast at complaining about the system's ability to do simple things that were no problem in the past, even if that's not fully the case. :-) Now as I know HOW this should work, it will be no problem to create a scripted solution for accessing those slots. Glad I can use them. With usable speed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: java
On Sun, Dec 26, 2010 at 16:59, xinyou yan yxy@gmail.com wrote: $javac helloworld.java //No problem $java helloworld.class It should be java helloworld (no extension). -- Rob Farmer ___ 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: Portupgrade status
Rob == Rob Farmer rfar...@predatorlabs.net writes: Rob Then, the removal of MD5 distinfo broke it and it stayed broken for Rob over a week with no indication given that a fix was in the works. On Rob the other hand, Doug Barton has been very responsive to issues with Rob portmaster and fixed this problem less than 48 hours after it Rob appeared. Hence my recommendation to switch. I switched to portmaster a few months ago after being firmly in the portupgrade camp, and have not regretted it in the slightest. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ 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: SD/CF card reader
On Sun, Dec 26, 2010 at 7:01 PM, Polytropon free...@edvax.de wrote: Not needed - it works! The strange thing is that there are no console messages when inserting the SD and CF cards (both do work), in contrast to what happens if I use a regular USB stick. My understanding is that USB devices can only respond to information requests, not broadcast changes so that is why nothing is in dmesg indicating new media has been inserted. Unless you have GEOM or something like hal constantly polling the device you won't be alerted. Normal USB flash drives are different than SD readers because GEOM can poll them immediately. I'm still frightened as # true /dev/da0 suggests that something important might get overwritten. :-) GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. Yeah I don't know about that. I think it's just a warning but maybe trying using FreeBSD zero out device, partition(slice) and newfs_msdos it. dd if=/dev/zero of=/dev/da0 bs=512k count=10 fdisk -i /dev/da0 newfs_msdos -F32 /dev/da0s1 -- Adam Vande More ___ 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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating
On 12/27/10 01:05, Roland Smith wrote: On Sun, Dec 26, 2010 at 11:42:37PM +1000, Da Rock wrote: Something I'm missing here? A fix would be nice, I should be used to it though- ImageMagick _always_ has issues for me. I just thought it'd be nice to get it updated for once- it looked so close :) I'm getting something similar, have been for a couple of weeks: ** Port marked as IGNORE: graphics/ImageMagick: OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL ** Listing the failed packages (-:ignored / *:skipped / !:failed) - graphics/ImageMagick (marked as IGNORE) (Follow-ups redirected to ports@, or I tried to.) Hmm. I'm not alone then. I'll do some poking then and see what comes up... :) Any hints guys? Try building ImageMagick without perl support. Works for me, with EXR, but haven't tested with Djvu; cd /usr/ports/graphics/ImageMagick make config ┌┐ │ Options for ImageMagick 6.6.5.10 │ │ ┌^(-)┐ │ ... │ │[X] IMAGEMAGICK_OPENEXR OpenEXR support (needs threads)│ │ │ │[X] IMAGEMAGICK_OPENMP OpenMP for SMP (needs threads) │ │ │ │[ ] IMAGEMAGICK_PDF PDF format support │ │ │ │[ ] IMAGEMAGICK_PERL Perl support │ │ ... Roland ImageMagick is already installed, so getting something to work is not a problem. Its updating it... What concerns me is perl-threaded _is_ installed but it can't see it. ___ 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: Portupgrade status
Quoth Randal L. Schwartz on Sunday, 26 December 2010: Rob == Rob Farmer rfar...@predatorlabs.net writes: Rob Then, the removal of MD5 distinfo broke it and it stayed broken for Rob over a week with no indication given that a fix was in the works. On Rob the other hand, Doug Barton has been very responsive to issues with Rob portmaster and fixed this problem less than 48 hours after it Rob appeared. Hence my recommendation to switch. I switched to portmaster a few months ago after being firmly in the portupgrade camp, and have not regretted it in the slightest. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion What do you see as its primary practical benefits? -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpLbLsbIJyyq.pgp Description: PGP signature
Re: pkg_info and an active /usr/ports is slow
Just wondering about the interaction of pkg_info (no args) and having a ports directory. Without it it's blazing fast, with it it is just slow and sometimes just breaks during the listing. There is nothing in the man page about it reading the ports directory or why it would want or need to. Are you sure that this is actually the case? From a cursory look at the source code ( /usr/src/usr.sbin/pkg_install/info/* ), I don't see how the mere presence of a populated PORTSDIR could affect pkg_info, at least for the most recent version ( # pkg_info --version Package tools revision: 20101012 ). Of course, if by active you mean that you are in the process of building, installing, or removing a port or package while running pkg_info at the same time, then this obviously would slow down both, because, apart from the usual delays involved in time-sharing, both may be attempting to simultaneously read and/or write to PKG_DBDIR, or other parts of the same disk. It is best to avoid such a situation. 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: Portmaster general questions and problems
On 12/26/10 11:45 AM, Bruce Cran wrote: On Sun, 26 Dec 2010 11:39:58 -0800 Ron (Lists) rg.li...@rzweb.com wrote: ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? That's a problem I've come across before too - I'd be interested to know what's going wrong too. This is covered in /usr/ports/UPDATING as part of the autotools cleanup. Just search for the date '20101208' and follow the instructions in that note. It's a good idea to check the UPDATING file before running 'portmaster -a' or anytime you have problems with portmaster. dn ___ 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: Portmaster general questions and problems
I had been using portupgrade for several years and never had any problems and upgrading ports was quick and simple process every week. But, due to portupgrade no longer being maintained and failing to work anymore, I have switched to using portmaster and am having nothing but problems, so much so that I dread updating my ports. It isn't that portupgrade is completely unmaintained, just that the former author and other contributors are busy, and don't spend as much time on it. And there isn't as much pressure for them to do so, because portmaster can now serve as a replacement for most purposes. I'm trying to figure out what I'm doing wrong or what I don't understand about portmaster. I've looked on google and can't find any documentation that isn't just basic stuff or rehashes of the man pages (which are fine for reference, but not helpful in understanding how to use it). This shouldn't be difficult: portmaster isn't a clone of portupgrade, but the command-line options and behavior of the two are similar. Portmaster is actually somewhat easier to use because you don't have to worry about the extra databases that portupgrade uses. The portmaster manpage is fairly well written, and the EXAMPLES section demonstrates most of what the average user will need. Here is an example of a problem I run into all the time: I went to update php and I got this: === Starting check for runtime dependencies === Gathering dependency list for devel/libltdl from ports === No dependencies for devel/libltdl === Installing for libltdl-2.2.10 === Generating temporary packing list === Checking if devel/libltdl already installed === libltdl-2.2.10 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/libltdl without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/libltdl. ok, so libltdl-2.2.10 is already installed? Why is that an issue? Why doesn't portmaster just happily skip it since it's already installed? What am I not understanding here? Or am I using portmaster wrong? Remember that portmaster is just a helper script, and that it relies on the ports infrastructure to perform many tasks, just as portupgrade does. So problems like this may occasionally arise from a problem with portmaster, but more often they are a problem within the ports tree itself. Here you are probably running afoul of the recent autotools changes. Make sure that your entire ports tree is up-to-date, and then read the 20101208 entry in ports/UPDATING and follow the instructions there (or just deinstall all of the old autotools -- the new versions should be automatically installed as needed). You should routinely read the latest entries in ports/UPDATING before updates, as recommended, to avoid these kinds of problems. Portmaster also doesn't seem to understand when ports are already up-to-date, so doing this: portmaster php5-* To update all the php5 ports causes portmaster to re-install things that are already up to date. Is this expected behavior? if so, how can I upgrade ports without typing each one my hand. I'd rather not run portmaster with -a since I don't want to blindly update everything. This is not the expected behavior, and portmaster is designed to avoid the need for most individual updates, and to update as few ports as possible by default. In fact, it's default settings are more conservative in this regard than are those of portupgrade. Are you sure that it is actually doing more than is needed? If you provide build transcripts, and lists of what ports/packages are installed on your machine, then we may be able to see if this is the case. Is there a good tutorial on portmaster somewhere that can help an some get started with it? Is portmaster the best tool for updating ports? Read the portmaster manpage, particularly the EXAMPLES section. Yes, right now portmaster is probably the best choice of updating software for the average user in the Ports tree. I use my own scripts, but then I just want speed, and not all of the portmaster features, and I can fix things when there are problems. 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
rcorder
I have a simple question, one that may have you wondering if I've searched hard enough for the answer... I am trying to change the boot order for a service on my server... I have a service that boots before mysql and need to change this. I have read the man page for rc and rcorder and still unable to come up with a solution to my problem. I'm pretty familiar with Ubunutu and the /etc/rc0-6 but I'm new to FreeBSD any help? Thanks, Anci ___ 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: rcorder
On Mon, 27 Dec 2010 00:38:53 -0500, Nu 2 Da Boro nu2dabor...@gmail.com wrote: I am trying to change the boot order for a service on my server... I have a service that boots before mysql and need to change this. I have read the man page for rc and rcorder and still unable to come up with a solution to my problem. There are keywords that determine the order of execution, those are especially REQUIRE and PROVIDE. You need to set them in the rc.d/ scripts. For example, the script that has to run first gets the proper PROVIDE setting, the script that depends on the first script - the one that should therefore be started _after_ the previous service is up - gets the REQUIRE keyword. You can see a better explaination in man rcorder. See the rc.d/ files of your services. E. g. /usr/local/etc/rc.d/mysql-server: # PROVIDE: mysql # REQUIRE: LOGIN # KEYWORD: shutdown Depending on the service that mysql requires, you would need to code something like # PROVIDE: bla in this service's startup file, and then add # REQUIRE: bla to mysql's startup file. The correct order of execution is determined automatically by the rcorder mechanism. I'm pretty familiar with Ubunutu and the /etc/rc0-6 but I'm new to FreeBSD FreeBSD does not have this kind of runlevel based startup. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Do I need a xorg.conf to use webfonts?
I installed FreeBSD 8.1, and the xorg package automatically detected my video-card and monitor. I did not have to create an xorg.conf file. If I want to webpages to look better in Firefox, I think I need to install the webfonts package. Section 5.5.2 of the Handbook seems to say I need to modify my xorg.conf to use True Type fonts. Do I need to create an xorg.conf to modify, or does the X server automatically use new TTF fonts? ___ 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
Does WINE work on FreeBSD amd64 ?
The wiki page seems to say that wine is a 32-bit port, and 32-bit ports do not work well on amd64. This would imply that 32-bit Windows programs would not run on 32-bit wine on a FreeBSD 8.1 amd64 system. Is this a correct interpretation? Does anyone know if there are any plans to get 32 or 64 bit windows programs running under wine on FreeBSD amd64? http://wiki.freebsd.org/Wine ___ 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: Does WINE work on FreeBSD amd64 ?
On Mon, Dec 27, 2010 at 02:02:58AM -0500, Xn Nooby wrote: The wiki page seems to say that wine is a 32-bit port, and 32-bit ports do not work well on amd64. This would imply that 32-bit Windows programs would not run on 32-bit wine on a FreeBSD 8.1 amd64 system. Is this a correct interpretation? Does anyone know if there are any plans to get 32 or 64 bit windows programs running under wine on FreeBSD amd64? http://wiki.freebsd.org/Wine Well, if you look further down the page, you can see how to get a 32-bit wine on an amd64 system. I followed the instructions, and I can get it to play Starcraft and EVE-Online. You just got to make sure that the 32-bit executable is on your path. -- Jonathan Chen j...@chen.org.nz -- Vini, vidi, velcro... I came, I saw, I stuck around ___ 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: Does WINE work on FreeBSD amd64 ?
On Mon, Dec 27, 2010 at 8:02 AM, Xn Nooby xno...@gmail.com wrote: The wiki page seems to say that wine is a 32-bit port, and 32-bit ports do not work well on amd64. This would imply that 32-bit Windows programs would not run on 32-bit wine on a FreeBSD 8.1 amd64 system. Is this a correct interpretation? As the wiki suggests, you can use the unofficial wine package at http://people.freebsd.org/~ivoras/wine/ I've been using it myself for some time now without any issues. You just need to install some lib32 userland libraries that in my system I didn't have. I use Spotify under wine on FreeBSD 8.1 AMD64. Cheers. Does anyone know if there are any plans to get 32 or 64 bit windows programs running under wine on FreeBSD amd64? http://wiki.freebsd.org/Wine ___ 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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org