how do i automate building packages?
How do I build tarballs of packages that usually wind up in /usr/ports/packages? I thought I had something in /etc/make.conf, but nope. My build of OOo [311] recently finished on my new to-be server. Since both the new Dell and this older Dell are running 7.2, I figure I can do any builds and move the packages across. I thought I had seen foo.tgz in /usr/ports/bar/foo/; but this time, no expected tarball. --??-- A man ports isn't very clear. I usually type make install clean when I build anything. If I have to start over from scratch with openoffice would I type # make install package clean? Or what? anybody? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: how do i automate building packages?
Le Sat, 28 Nov 2009 01:05:47 -0800, Gary Kline kl...@thought.org a écrit : How do I build tarballs of packages that usually wind up in /usr/ports/packages? ... # make install package clean? Or what? make package You can also create a package from an already installed port with pkg_create. Regards. ___ 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: how do i automate building packages?
Gary Kline wrote: How do I build tarballs of packages that usually wind up in /usr/ports/packages? I thought I had something in /etc/make.conf, but nope. My build of OOo [311] recently finished on my new to-be server. Since both the new Dell and this older Dell are running 7.2, I figure I can do any builds and move the packages across. I thought I had seen foo.tgz in /usr/ports/bar/foo/; but this time, no expected tarball. --??-- A man ports isn't very clear. I usually type make install clean when I build anything. If I have to start over from scratch with openoffice would I type # make install package clean? Or what? anybody? Now that you got it installed, you may use pkg_create: pkg_create -Rb openoffice.org-3.1.1 (You can get the exact package name using pkg_info -Ix openoffice) The -R flag will also build all dependencies of openoffice. Something along the lines of the following script: #! /usr/bin/env bash mkdir -p /usr/ports/packages cd /usr/ports/packages rm -rf *.tbz echo Package creation starting `date` IFS=$'\n' for i in `pkg_info -Ea` do echo Creating $i pkg_create -b $i done echo Finished, `date` will create a package for every single port installed on your system and place it in /usr/ports/packages. You can then move these and install them on another system. Notice the script does not use -R as it is already building all 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
amd64: building lib32 with ccache ?
Hey everyone, Yesterday I wanted to update my system currently running 8.0-RC1 amd64 to the latest 8-STABLE release. However buildworld failed. I found out the problem seems to pop up when trying to build the lib32 libraries. If I build lib32 without ccache everything on itself everything seems to go fine. However when using ccache, even with a clean cache, the build fails. The error seems to start at: echo libc.so.7: /usr/obj/usr/src/lib32/usr/lib32/libgcc.a .depend /usr/local/libexec/ccache/world-cc -O -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/lib32/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c fork.S fork.S: Assembler messages: fork.S:3: Error: invalid character '_' in mnemonic Can anyone point out what could go wrong ? Am I even 'allowed' to build lib32 with ccache on ? My current system is running: fr...@rena# uname -a FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov 2 13:45:35 CET 2009 r...@rena.fstaals.lan:/usr/obj/usr/src/sys/RENAKERNEL amd64 fr...@rena# ccache -V ccache version 2.4 Copyright Andrew Tridgell 2002 Released under the GNU GPL v2 or later* * The full log : http://fstaals.net/junk/build32_clean_cache.log thanks in advance -- - Frank ___ 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: how do i automate building packages?
On Sat, Nov 28, 2009 at 11:26:55AM +0200, Manolis Kiagias wrote: Gary Kline wrote: How do I build tarballs of packages that usually wind up in /usr/ports/packages? I thought I had something in /etc/make.conf, but nope. My build of OOo [311] recently finished on my new to-be server. Since both the new Dell and this older Dell are running 7.2, I figure I can do any builds and move the packages across. I thought I had seen foo.tgz in /usr/ports/bar/foo/; but this time, no expected tarball. --??-- A man ports isn't very clear. I usually type make install clean when I build anything. If I have to start over from scratch with openoffice would I type # make install package clean? Or what? anybody? Now that you got it installed, you may use pkg_create: pkg_create -Rb openoffice.org-3.1.1 (You can get the exact package name using pkg_info -Ix openoffice) The -R flag will also build all dependencies of openoffice. Something along the lines of the following script: #! /usr/bin/env bash mkdir -p /usr/ports/packages cd /usr/ports/packages rm -rf *.tbz echo Package creation starting `date` IFS=$'\n' for i in `pkg_info -Ea` do echo Creating $i pkg_create -b $i done echo Finished, `date` will create a package for every single port installed on your system and place it in /usr/ports/packages. You can then move these and install them on another system. Notice the script does not use -R as it is already building all 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 Doing a pkg_create -Rb yielded the same results as Patrick's make package. Someone I wound up with 109 tarballs on ethic [new Dell]. Am trying a pkg_add on tao [old Dell]. See if it works. ...Well, an hour+, but it was a learning experience. In my desktop's /usr/ports/packages/All---it probably did not matter-- pkg_add -vfF openoffice-3.tbz worked. thanks guys, gary PS: I should add in my own defense that I tried building OOo-311 on my desktop but ran out of diskspace... . -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: Installer: missing GEOM/gpart capabilities slicing disk?
Daniel O'Connor wrote: [ -current CC dropped ] On Mon, 9 Nov 2009, O. Hartmann wrote: I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a barndnew harddrive. As far as I recall partitioning a disk is now done via gpart and the limitation of having only 8 (-2) partitions from a through h except b and c is now obsoleted. When dropping into the installation process, I realised that the 8 partition boundary is still present. Is there a howto (I searched the wiki and lists without success)? I read a lot about how to install FreeBSD on op of a complete ZFS infrastructure, but key issue seems to be a hands-on partitioning of the target haddrive via the fixit procedure. sysinstall does not [yet] do GPT partitions, I believe someone is working on patches but I have no idea what state they are in. Oh, I regret this. GPT partitions seem to me to be much more powerful than the old MBR. Hope we can get GPT support/replacement soon. Also, I didn't think that bsdlabel was limited to 8 partitions, however I'm not certain. Manpage of bsdlabel(8) tells us that it can hold 8 entries in the partitioning table. I'm not quite sure, but months ago I read something about a change/patch allowing up to 26 entries (limitation to the alphabet). Days ago I installed a fresh new FreeBSD 8 on a new harddisk to get rid of some legacy geometry errors. I was wondering why still the a - h-label constraint in bsdlabel was still present. BTW gpart does many partition types not just MBR and GPT. Oliver ___ 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
USB device read and write
Hi, I'm trying to read/write on usb weather station. I've got a C soft which find it on /dev/uhid0 But i do not know how to read/write on it. It make 5 years i've not used C developpement. I've read handbook and what i can find about USB / UHID and communication ... But i still don't know how to read and write on it. Can someont tell me where to find an example or who can help me ? Thanks, Olivier ___ 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: how do i automate building packages?
El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias escribió: Now that you got it installed, you may use pkg_create: pkg_create -Rb openoffice.org-3.1.1 (You can get the exact package name using pkg_info -Ix openoffice) The -R flag will also build all dependencies of openoffice. ... If you build more than one package don't forget the flag -n matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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
Tunning 8.0 for multiple VMs (VBox)
Hi to all; I have a system where I will be running 5 VBox VMs (3 W2K3, 1 XP 1 Linux) for a lab simulation (work obligations). I have already ran the 5 VMs with a regular load on each and everything went fine. I think VBox is truly a great VM Manager, and it runs better (smoother and faster) in FBSD than in any other OS I tried it (Ubuntu, Winblows and OpenSolaris (!) ). Along the years, I've been running FBSD, picking up info from any Tuning FreeBSD guide I could find, starting with the handbook of course, going through articles and mailing list archives, trying to find a balance that would fit my desktop, among the several roles FreeBSD is used for. I would like to expose the hardware/settings I have now to the list, to see if what I've done is appropriate, over or under rated (or simply stupid), to squeeze every drop of performance FreeBSD can give with what I have. It is pretty fast as it is but it never hurts attempting to make it even better. Please bear 2 things in mind: 1) I am trying to learn here; 2) This is a Desktop machine (not a server!), sitting on my home LAN, behind a properly configured (again, to the best of my modest ability) firewall. It is used for everyday tasks, plus developing and music production. I am posting what I believe to be most relevant. Thank you all before hand for any advice. Here it goes: [Machine] FreeBSD 8.0-PRERELEASE #0 r198930M: Sat Nov 21 14:24:10 BRT 2009 CPU: AMD Phenom(tm) II X4 955 Processor (3193.08-MHz K8-class CPU) Cool`n'Quiet 2.0 on cpu0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 MB: AOD790GX/128M RAM: real mem = 8589934592 (8192 MB) avail mem = 7994658816 (7624 MB) VIDEO:ATI Radeon 3300 Graphics on vgapci0 NET: RealTek PCIe Gigabit Ethernet (yeah, i know...) HD1: 476940MB MAXTOR STM3500320AS MX15 at ata2-master SATA300 HD2: 476940MB MAXTOR STM3500320AS MX15 at ata3-master SATA300 [loader.conf] verbose_loading=YES amdtemp_load=YES drm_load=YES radeon_load=YES linux_load=YES vboxdrv_load=YES # vboxnetflt and #vboxnetadp loaded later snd_cmi_load=YES atapicam_load=YES cpufreq_load=YES [rc.conf] background_fsck=NO check_quotas=NO clear_tmp_enable=YES compat4x_enable=YES compat5x_enable=YES compat6x_enable=YES compat7x_enable=YES kern_securelevel_enable=NO tcp_extensions=YES defaultrouter=10.10.10.1 hostname=me gateway_enable=NO ifconfig_re0=inet 10.10.10.2 netmask 255.255.255.0 linux_enable=YES inetd_enable=NO sendmail_enable=NONE sshd_enable=YES smbd_enable=YES usbd_enable=YES cupsd_enable=YES fusefs_enable=YES fusefs_safe=YES hald_enable=YES dbus_enable=YES powerd_enable=YES # powerd_flags=-i 92 -r 65 -p 200 powerd_flags=-p 200 font8x8=cp850-8x8 font8x14=cp850-8x14 font8x16=cp850-8x16 keymap=br275.iso.acc.kbd [sysctl.conf] debug.cpufreq.lowest=1250 vfs.read_max=32 kern.maxvnodes=40 kern.maxfiles=65536 kern.maxfilesperproc=32768 kern.ipc.maxsockbuf=524288 kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules compat.linux.osrelease=2.6.16 kern.ipc.shmmax=1036870912 kern.ipc.shmall=261072 Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE) ___ 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
Tunning 8.0 for multiple VMs (VBox)
Hi to all; I have a system where I will be running 5 VBox VMs (3 W2K3, 1 XP 1 Linux) for a lab simulation (work obligations). I have already ran the 5 VMs with a regular load on each and everything went fine. I think VBox is truly a great VM Manager, and it runs better (smoother and faster) in FBSD than in any other OS I tried it (Ubuntu, Winblows and OpenSolaris (!) ). Along the years, I've been running FBSD, picking up info from any Tuning FreeBSD guide I could find, starting with the handbook of course, going through articles and mailing list archives, trying to find a balance that would fit my desktop, among the several roles FreeBSD is used for. I would like to expose the hardware/settings I have now to the list, to see if what I've done is appropriate, over or under rated (or simply stupid), to squeeze every drop of performance FreeBSD can give with what I have. It is pretty fast as it is but it never hurts attempting to make it even better. Please bear 2 things in mind: 1) I am trying to learn here; 2) This is a Desktop machine (not a server!), sitting on my home LAN, behind a properly configured (again, to the best of my modest ability) firewall. It is used for everyday tasks, plus developing and music production. I am posting what I believe to be most relevant. Thank you all before hand for any advice. Here it goes: [Machine] FreeBSD 8.0-PRERELEASE #0 r198930M: Sat Nov 21 14:24:10 BRT 2009 CPU: AMD Phenom(tm) II X4 955 Processor (3193.08-MHz K8-class CPU) Cool`n'Quiet 2.0 on cpu0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 MB: AOD790GX/128M RAM: real mem = 8589934592 (8192 MB) avail mem = 7994658816 (7624 MB) VIDEO:ATI Radeon 3300 Graphics on vgapci0 NET: RealTek PCIe Gigabit Ethernet (yeah, i know...) HD1: 476940MB MAXTOR STM3500320AS MX15 at ata2-master SATA300 HD2: 476940MB MAXTOR STM3500320AS MX15 at ata3-master SATA300 [loader.conf] verbose_loading=YES amdtemp_load=YES drm_load=YES radeon_load=YES linux_load=YES vboxdrv_load=YES # vboxnetflt and #vboxnetadp loaded later snd_cmi_load=YES atapicam_load=YES cpufreq_load=YES [rc.conf] background_fsck=NO check_quotas=NO clear_tmp_enable=YES compat4x_enable=YES compat5x_enable=YES compat6x_enable=YES compat7x_enable=YES kern_securelevel_enable=NO tcp_extensions=YES defaultrouter=10.10.10.1 hostname=me gateway_enable=NO ifconfig_re0=inet 10.10.10.2 netmask 255.255.255.0 linux_enable=YES inetd_enable=NO sendmail_enable=NONE sshd_enable=YES smbd_enable=YES usbd_enable=YES cupsd_enable=YES fusefs_enable=YES fusefs_safe=YES hald_enable=YES dbus_enable=YES powerd_enable=YES # powerd_flags=-i 92 -r 65 -p 200 powerd_flags=-p 200 font8x8=cp850-8x8 font8x14=cp850-8x14 font8x16=cp850-8x16 keymap=br275.iso.acc.kbd [sysctl.conf] debug.cpufreq.lowest=1250 vfs.read_max=32 kern.maxvnodes=40 kern.maxfiles=65536 kern.maxfilesperproc=32768 kern.ipc.maxsockbuf=524288 kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules compat.linux.osrelease=2.6.16 kern.ipc.shmmax=1036870912 kern.ipc.shmall=261072 Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE) ___ 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
What port to use for python / https?
I am trying to install Mercurial on FreeBSD in order to install Go (programming language). I am running into a problem with Mercurial which looks like this: $ hg pull abort: could not import module thread! Exception AttributeError: 'httpsrepository' object has no attribute 'urlopener' in bound method httpsrepository.__del__ of mercurial.httprepo.httpsrepository object at 0x2857882c ignored Googling turns up very little except the following: http://www.idimmu.net/2009/11/11/Python-support-for-SSL-and-HTTPS-is-not-installed According to this, the answer is to install the python socket ssl library from ports. However, this is for Apple Mac. I am trying to find the relevant port for FreeBSD without success. Can anyone point me in the right direction? ___ 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: black-friday ads -- ASUS-EEE's
ill...@gmail.com wrote: 2009/11/26 Gary Kline kl...@thought.org: � � � �Folks, � � � �IF any/everone would keep an eye out for national Black FRiday � � � �adds that offer a 9-10 ASUS-EEE, I'd appreciate it. � (I've been � � � �poking around for much of today, but zip.) �The stores that are � � � �open obv'ly want to build suspense; this is a win re that � � � �notebook. �For me anyway:-) � � � �tia, y'all What's a good price? Beast Buy has the 1005HA in pathetic, pale pink for $280 on line, which is a gorb-dorfle cheap yo, if'n y'ask me ( I'm not sure if the above counts, but I'm goin' with it here). Have you looked at http://www.pricewatch.com ? ___ 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: amd64: building lib32 with ccache ?
On Sat, 28 Nov 2009 11:57:17 +0100 Frank Staals franksta...@gmx.net wrote: Hey everyone, Yesterday I wanted to update my system currently running 8.0-RC1 amd64 to the latest 8-STABLE release. However buildworld failed. I found out the problem seems to pop up when trying to build the lib32 libraries. If I build lib32 without ccache everything on itself everything seems to go fine. However when using ccache, even with a clean cache, the build fails. ... Can anyone point out what could go wrong ? Am I even 'allowed' to build lib32 with ccache on ? People have reported buildworld problems before with the ccache/amd64/32-bit combination. I'd suggest looking back through the list. ___ 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
Removing installed packages
In trying to upgrade CUPS on a new 7.2 installation (CUPS was installed via sysinstall) the upgrade choked, and then I saw in UPDATING that print/cups has been split into multiple ports, and that in order to upgrade you must first remove the installed version. What is the best way to do that? Should I be using pkg_delete and, if so, with what switch or switches? Thanks. Rem ___ 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: Removing installed packages
On Sat, 28 Nov 2009 08:16:58 -0800, Rem P Roberti remeg...@comcast.net wrote: In trying to upgrade CUPS on a new 7.2 installation (CUPS was installed via sysinstall) the upgrade choked, and then I saw in UPDATING that print/cups has been split into multiple ports, and that in order to upgrade you must first remove the installed version. What is the best way to do that? Should I be using pkg_delete and, if so, with what switch or switches? I think # pkg_delete -x cups should be sufficient. It will remove all the packages from your system that contain cups in their name. If you're a bit unsure for such a drastic method, remove the CUPS packages separately, e. g. # pkg_delete -f cups-base-1.2.3.4 # pkg_delete -f cups-foobar-5.6.7.8 ... Using -f makes sure that you don't have to pay attention to the order of removal, or packages that depend on CUPS. Another way is to enter the CUPS port directory and issue the command # make deinstall Then you can continue in that port directory with # make reinstall if you've already updated your ports source tree. The new version of CUPS will then be installed that way. Of course, there's nothing wrong with using the precompiled packages that you can add with the pkg_add -r mechanism. -- 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
zfs on 8.0-RELEASE
Hi everybody, First of all, I would like to congratulate all of you and thank all the developers and contributors, and the core team as the widely expected 8.0-RELEASE has become available recently. I wanted to ask a simple question, is ZFS now ready to be used on production systems? Best regards, Victor. ___ 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: zfs on 8.0-RELEASE
On Sat, 28 Nov 2009, Victor Lyapunov wrote: I wanted to ask a simple question, is ZFS now ready to be used on production systems? From Thursday's announcement: - ZFS no longer in experimental status ...so I would guess the answer is 'yes'. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging | ] ___ 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
Sorting a device list
Can anyone recommend a quick and dirty way to sort a device list? For example, if I do this: ls /dev/ad* | sort I get something like this: /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 I can add -g, but it doesn't help: ls /dev/ad* | sort -g /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 I need to skip the device prefix before applying the -g option. Something like this works: ls /dev/ad*|sort -g -k 1.8 /dev/ad4 /dev/ad6 /dev/ad8 /dev/ad10 but this assumes the device name is just two characters long. I want a quick way to sort a generic device list like this, considering only the numeric part of the device for the key. Is there a quick and dirty way to do this or do I need to pipe it into a perl script or something? ___ 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
8.0-RELEASE and dangerously dedicated disks
Can someone elaborate on what exactly this statement in the 8.0 detailed release notes means? http://www.freebsd.org/releases/8.0R/relnotes-detailed.html#FS 2.2.5 File Systems “dangerously dedicated” mode for the UFS file system is no longer supported. Important: Such disks will need to be reformatted to work with this release. Due to history I won't go into, all my production (currently 7.2-RELEASE) systems are installed onto dangerously dedicated disks. What exactly do I need to do to upgrade them to 8.0? (I'm not asking for an upgrade procedure, I'm familiar with that, but rather, how this change impacts the upgrade.) I think that the suggestion that the disks need to be reformatted is extreme and I hope something less extreme will suffice. Also, just to be clear, does this statement refer to boot disks, data disks, or both? It doesn't make sense to me that dangerously dedicated could have an impact on UFS filesystems specifically. A partition table is just a partition table, regardless of what filesystems might be written on disks, yes? Am I misunderstanding something here? Thanks for helping to clear up my confusion... plw ___ 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
Mail not working
Greetz to all. I've never been able to get a mail server working on my FreeBSD installation. While I recently upgraded to 8.0-RELEASE, it hasn't worked since my initisl 7.0-RELEASE installation. This is not a major server, so I haven't fussed with it up to now. But, I would like to finally fix it. I've tried various combinations of postfix and sendmail, but all have failed. It doesn't matter to me whether I run postfix or sendmail, though I have far more experience with sendmail. I believe that both postfix and sendmail are currently installed, with postfix being the mail server. I want to forward mail to my sendmail MTA for distribution, which I'm doing successfully with many other *nix boxes. Here's what I currently see in /var/log/messages whenever I try to send a message from the FBSD box: Nov 28 04:15:30 marshfield kernel: pid 11721 (mailwrapper), uid 0: exited on signal 11 (core dumped) and in /var/log/maillog: Nov 26 21:35:29 marshfield postfix/master[946]: daemon started -- version 2.7-20091008, configuration /usr/local/etc/postfix Here's at least a snippet from main.cf: mydomain = ourdomain.com readme_directory = no myorigin = $mydomain mydestination = $mydomain #relayhost = [mail1.$mydomain] relayhost = 192.168.1.2 data_directory = /var/db/postfix transport_maps = /usr/local/etc/postfix/transportsmtpd_recipient_restrictions = permit_my networks and mailer.conf: sendmail/usr/sbin/sendmail send-mail /usr/sbin/sendmail mailq /var/spool/mqueue newaliases /usr/bin/newaliases I've googled, etc., but haven't come up with a solution. Your help would be greatly appreciated. Thanks. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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
ANNOUNCE: FreeBSD 8.0-RELEASE Custom XFCE build available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, After the successful release of 8.0, I am pleased to announce that I have updated my little project here: http://freebsd-custom.wikidot.com to provide an XFCE DVD based on the new release. Here are the direct download links: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/8.0-RELEASE-i386-XFCE-27112009.iso Checksum and signature files: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/8.0-RELEASE-i386-XFCE-27112009.iso.CHECKSUM.MD5 http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/8.0-RELEASE-i386-XFCE-27112009.iso.CHECKSUM.SHA256 http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/8.0-RELEASE-i386-XFCE-27112009.iso.asc Make sure to read the README file: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/README-8.TXT as it contains important information on installation (there are some differences in sysinstall between 7.X and 8.0) Note: While the above files are i386 only, a 64bit version is also on the works as I now have some suitable hardware available. It will become available in 7-10 days. Note this release includes the latest openoffice 3.1.1 as well as abiword / gnumeric for those who prefer them. Gnash has been dropped (linux flash plugin works very well now) and avant-window-navigator is also included (but is untested). Latest versions of well known packages (gimp, inkscape, evince, firefox35 etc) are included as well. This is the same selection of packages as the ones included in the 8.0-RC1 version of the iso, but they are of course updated to the latest versions. The documentation packages for all available languages are included on the disc. As always, please report any problems, success stories, comments and criticisms to mano...@freebsd.org Thanks and happy FreeBSDing! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksRXmEACgkQZ/MxGm4PtJQ6tQCdGuRNp9kkV0giFwB5ggx5AbJ4 KekAn1+uQesOOBF5yGxqdBAy5DtCBinJ =fBm8 -END PGP SIGNATURE- ___ 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 port to use for python / https?
On Sat, Nov 28, 2009 at 08:49:57PM +0900, Ben Bullock wrote: I am trying to install Mercurial on FreeBSD in order to install Go (programming language). I am running into a problem with Mercurial which looks like this: $ hg pull abort: could not import module thread! Exception AttributeError: 'httpsrepository' object has no attribute 'urlopener' in bound method httpsrepository.__del__ of mercurial.httprepo.httpsrepository object at 0x2857882c ignored Googling turns up very little except the following: http://www.idimmu.net/2009/11/11/Python-support-for-SSL-and-HTTPS-is-not-installed According to this, the answer is to install the python socket ssl library from ports. However, this is for Apple Mac. I am trying to find the relevant port for FreeBSD without success. Can anyone point me in the right direction? security/py-openssl maybe? Disclaimer: I don't use mercurial. 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
Syinstall binary upgrade to FreeBSD 8.0
I would like to upgrade a 7.1 FreeBSD system to 8.0 FreeBSD using sysinstalls binary upgrade feature. I would mainly for now would like to upgrade the core OS and X and so on, but I still have some 7.1 binaries that will still be on the system. Is there binary compatability with 7.1 binaries on 8.0. Binary compatability is pretty important to me. Anything else i need to know about? As for why I am not using freebsd-update, i did try it once it seemed as though it was going to take 7 hours to update the system., when the old way will have it done in 30 minutes. Thanks in advance. ___ 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: how do i automate building packages?
On Sat, Nov 28, 2009 at 12:58:09PM +0100, Matthias Apitz wrote: El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias escribió: Now that you got it installed, you may use pkg_create: pkg_create -Rb openoffice.org-3.1.1 (You can get the exact package name using pkg_info -Ix openoffice) The -R flag will also build all dependencies of openoffice. ... If you build more than one package don't forget the flag -n There are things I don't understand about this entire process. That is, if I was a tarball to give to someone for distribution anywhere among FBSD users. Somegow I wound up with 109 *tbz tarballs. These among them: 6 -rw-r--r-- 1 root wheel 5918 Nov 28 01:33 mkfontdir-1.0.4.tbz 18 -rw-r--r-- 1 root wheel 17429 Nov 28 01:33 mkfontscale-1.0.6.tbz 146256 -rw-r--r-- 1 root wheel 149655791 Nov 28 01:33 openoffice.org-3.1.1.tbz 528 -rw-r--r-- 1 root wheel 520386 Nov 28 01:34 pango-1.24.5.tbz 152 -rw-r--r-- 1 root wheel 155011 Nov 28 01:33 pciids-20090807.tbz 608 -rw-r--r-- 1 root wheel 599789 Nov 28 01:33 pcre-8.00.tbz 11440 -rw-r--r-- 1 root wheel 11697094 Nov 28 01:33 perl-5.8.9_3.tbz These I eventually scp'd over to 'tao', my current desktop, and stored in /usr/ports/packages/All. My 311 version of OOo would not complete until I figured out that pkg_add required the -F flag. (Actually, I did pkg_add -vFf OOo-tarball. I chose the font packages and a few others from the 3D dialogs when I build openoffice. Nutshell, is there a means of building only openoffice-3..1.tbz and letting the user of this use pkg_add and install or build his own additional ports, if any? gary matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: Why my Firefox doesn't display Cyrillic fonts well?
webfont works well. You can also install ttf fonts from windows.Or use Ubuntu). 2009/11/28 Yuri y...@rawbw.com: Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows Cyrillic texts in a messed up way. Also in Belarussian texts letters і and ў stand out (ex. http://be-x-old.wikipedia.org). And Opera shows Cyrillic texts very neatly. I don't quite understand what causes such difference. Ubuntu Linux doesn't have such problem at all, not in firefox and not in opera. Yuri ___ 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: Why my Firefox doesn't display Cyrillic fonts well?
S4mmael wrote: webfont works well. You can also install ttf fonts from windows.Or use Ubuntu). webfonts is installed on my system and doesn't work in ff, as I mentioned before. My question is why ff shows Cyrillic so poorly, as opposed opera on the same system, and you didn't answer it. Thanks, Yuri ___ 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: black-friday ads -- ASUS-EEE's
On Sat, Nov 28, 2009 at 04:02:50PM -0500, PJ wrote: ill...@gmail.com wrote: 2009/11/26 Gary Kline kl...@thought.org: ??? ??? ??? ???Folks, ??? ??? ??? ???IF any/everone would keep an eye out for national Black FRiday ??? ??? ??? ???adds that offer a 9-10 ASUS-EEE, I'd appreciate it. ??? (I've been ??? ??? ??? ???poking around for much of today, but zip.) ???The stores that are ??? ??? ??? ???open obv'ly want to build suspense; this is a win re that ??? ??? ??? ???notebook. ???For me anyway:-) ??? ??? ??? ???tia, y'all What's a good price? Beast Buy has the 1005HA in pathetic, pale pink for $280 on line, which is a gorb-dorfle cheap yo, if'n y'ask me ( I'm not sure if the above counts, but I'm goin' with it here). Have you looked at http://www.pricewatch.com ? No, but I Will now:-) Also, there used to be a *.biz site that gave you the best prices for things. Anybody clue me in on what what biz site was called? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: Syinstall binary upgrade to FreeBSD 8.0
Yes, there is something like COMPAT7X option in 8.0 GENERIC kernel. 2009/11/28 David Jackson djackson...@gmail.com: I would like to upgrade a 7.1 FreeBSD system to 8.0 FreeBSD using sysinstalls binary upgrade feature. I would mainly for now would like to upgrade the core OS and X and so on, but I still have some 7.1 binaries that will still be on the system. Is there binary compatability with 7.1 binaries on 8.0. Binary compatability is pretty important to me. Anything else i need to know about? As for why I am not using freebsd-update, i did try it once it seemed as though it was going to take 7 hours to update the system., when the old way will have it done in 30 minutes. Thanks in advance. ___ 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: Mail not working [SOLVED]
On Sat, 28 Nov 2009 12:56:57 -0500, Dimitri Yioulos wrote Greetz to all. I've never been able to get a mail server working on my FreeBSD installation. While I recently upgraded to 8.0-RELEASE, it hasn't worked since my initisl 7.0-RELEASE installation. This is not a major server, so I haven't fussed with it up to now. But, I would like to finally fix it. I've tried various combinations of postfix and sendmail, but all have failed. It doesn't matter to me whether I run postfix or sendmail, though I have far more experience with sendmail. I believe that both postfix and sendmail are currently installed, with postfix being the mail server. I want to forward mail to my sendmail MTA for distribution, which I'm doing successfully with many other *nix boxes. Here's what I currently see in /var/log/messages whenever I try to send a message from the FBSD box: Nov 28 04:15:30 marshfield kernel: pid 11721 (mailwrapper), uid 0: exited on signal 11 (core dumped) and in /var/log/maillog: Nov 26 21:35:29 marshfield postfix/master[946]: daemon started -- version 2.7- 20091008, configuration /usr/local/etc/postfix Here's at least a snippet from main.cf: mydomain = ourdomain.com readme_directory = no myorigin = $mydomain mydestination = $mydomain #relayhost = [mail1.$mydomain] relayhost = 192.168.1.2 data_directory = /var/db/postfix transport_maps = /usr/local/etc/postfix/transportsmtpd_recipient_restrictions = permit_my networks and mailer.conf: sendmail/usr/sbin/sendmail send-mail /usr/sbin/sendmail mailq /var/spool/mqueue newaliases /usr/bin/newaliases I've googled, etc., but haven't come up with a solution. Your help would be greatly appreciated. Thanks. I can't believe it. After all this time hacking away, I solved my issue rather easily. I made sure sendmail was turned off, then deinstalled/reinstalled postfix-current from ports. I had to tweak some directives in mailer.conf and main.cf based on a couple of posts I googled. I made sure sendmail wouldn't start, then started postfix with /etc/rc.d/sendmail onestart (Q: why is postfix invoked by starting sendmail?). Was able to send mail locally and externally through MTA. Sorry for the noise. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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: Mail not working [SOLVED]
Dimitri Yioulos wrote: I can't believe it. After all this time hacking away, I solved my issue rather easily. I made sure sendmail was turned off, then deinstalled/reinstalled postfix-current from ports. I had to tweak some directives in mailer.conf and main.cf based on a couple of posts I googled. I made sure sendmail wouldn't start, then started postfix with /etc/rc.d/sendmail onestart (Q: why is postfix invoked by starting sendmail?). Was able to send mail locally and externally through MTA. It isn't usually. I guess it only works because mailer.conf says the real sendmail binary is the one installed by postfix. The usual arrangement is to turn off sendmail and enable postfix from /etc/rc.conf by the following: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO postfix_enable=YES Then you should be able to start postfix by: # /usr/local/etc/rc.d/postfix start although you'll have to make sure the instance you started as a pseudo-sendmail is killed first. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
evoultion missing its top graphics [on menu-bar]
Folks, I t think I asked here a couple years ago when the same thing happened; I didn't think it would happen again. Evo works fairly well--is there a way I can make it my default GUI mailer?-- I hope so. Anyway, in recent months it fails to display the icons for Delete and everything else. Last time I was told to do something; forget what. This is just another minor annoyance ... but they accumulate += fast! thanks for any clues. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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 Olympus USB camera on 8.0 RELEASE
The camera in question is an Olympus C-2040Z, I've had no problems using it with 6.4. I tried rev. 7 some time ago but plugging the camera in always caused a panic and crash so I stayed with 6.4. Now that 8.0 is out I'd like to move on and the good news is that with 8.0 I can connect the camera without a panic but the bad news is that although the system detects the camera I'm not able to access it. On plugging in the camera I see the following console messages: ugen0.2: OLYMPUS at usbus0 umass0: OLYMPUS C-2040ZOOM, class 0/0, rev 1.10/1.00, addr 2 on usbus0 umass0: SCSI over (unknown 0x00); quirks = 0x0100 umass0: could not setup required transfers, USB_ERR_INVAL device_attach: umass0 attach returned 6 ... and camcontrol devlist returns nothing at all I only see this problem with this particular camera, 2 other USB devices (Nikon Coolpix 3100 and Canon iP4500 printer) can be accessed OK. In case the info is any use for comparison here's the messages when I connect the camera on the same PC running 6.4: umass0: OLYMPUS C-2040ZOOM, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: OLYMPUS C-2040ZOOM 1.00 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C) -- Mike Clarke ___ 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 port to use for python / https?
On Sat, 28 Nov 2009 18:26:45 +, Frank Shute fr...@shute.org.uk wrote: On Sat, Nov 28, 2009 at 08:49:57PM +0900, Ben Bullock wrote: I am trying to install Mercurial on FreeBSD in order to install Go (programming language). I am running into a problem with Mercurial which looks like this: $ hg pull abort: could not import module thread! Exception AttributeError: 'httpsrepository' object has no attribute 'urlopener' in bound method httpsrepository.__del__ of mercurial.httprepo.httpsrepository object at 0x2857882c ignored Googling turns up very little except the following: http://www.idimmu.net/2009/11/11/Python-support-for-SSL-and-HTTPS-is-not-installed security/py-openssl maybe? Disclaimer: I don't use mercurial. The abort message does not refer to https/openssl but to a lack of the `thread' module. I think you should try to build Python with thread support instead and see how things work from there. The `keepalive.py' module of Mercurial tries to import the `thread' module: keram...@kobe:/hg/mercurial/crew$ fgrep thread mercurial/*py mercurial/keepalive.py:should be done with care when using multiple threads. mercurial/keepalive.py: * there is nothing that prevents another thread from creating new mercurial/keepalive.py:import thread mercurial/keepalive.py:self._lock = thread.allocate_lock() keram...@kobe:/hg/mercurial/crew$ ___ 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: Sorting a device list
On Sat, 28 Nov 2009 11:48:18 -0600, Peter Steele pste...@maxiscale.com wrote: Can anyone recommend a quick and dirty way to sort a device list? For example, if I do this: ls /dev/ad* | sort I get something like this: /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 Just use `sort -n': ls -d1 /dev/ad* | sort -n It should work fine even when there are non-numeric prefix strings. ___ 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 for binaries fails miserably, but not completely
On Fri, Nov 27, 2009 at 07:47:03PM -0800, Paul Hoffman wrote: Greetings again. I used freebsd-update to upgrade a system from 7.1 to 7.2. The main upgrade went fine, but upgrading the ports had huge problems. It could not find most (but not all) of the packages to upgrade. A typical part of the failure looks like: --- Checking for the latest package of 'lang/python25' --- [snip] You don't mention what command you are using to upgrade your ports/packages. You do realise that you don't have to upgrade your ports if you go from 7.1 to 7.2. You can do but don't have to. You should upgrade python25 to python26. See /usr/ports/UPDATING dated 20090608 for instructions on how to do so. 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: evoultion missing its top graphics [on menu-bar]
Am Samstag, den 28.11.2009, 15:01 -0800 schrieb Gary Kline: Folks, I t think I asked here a couple years ago when the same thing happened; I didn't think it would happen again. Evo works fairly well--is there a way I can make it my default GUI mailer?-- I hope so. Anyway, in recent months it fails to display the icons for Delete and everything else. Last time I was told to do something; forget what. This is just another minor annoyance ... but they accumulate += fast! Hi Gary, Gnome-Team has just (some hours ago) released Gnome2-28.1 to the ports tree. Did you already try it? Greetings Uli. thanks for any clues. ___ 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: Sorting a device list
I had tried that. It doesn't work: # ls -d1 /dev/ad* | sort -n /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 I want the ad10 to appear last... -Original Message- From: Giorgos Keramidas [mailto:keram...@ceid.upatras.gr] Sent: Saturday, November 28, 2009 4:31 PM To: Peter Steele Cc: freebsd-questions@freebsd.org Subject: Re: Sorting a device list On Sat, 28 Nov 2009 11:48:18 -0600, Peter Steele pste...@maxiscale.com wrote: Can anyone recommend a quick and dirty way to sort a device list? For example, if I do this: ls /dev/ad* | sort I get something like this: /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 Just use `sort -n': ls -d1 /dev/ad* | sort -n It should work fine even when there are non-numeric prefix strings. ___ 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
What does this message mean?
Just installed mpd5 to experiment with it, and got the following error message on the next boot: WARNING: attempt to domain_add(netgraph) after domainfinalize() What does this mean? Does it signal a serious problem? --Brett Glass ___ 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
HighPoint RR 2640 support in 8.0-RELEASE?
Hello everyone, I recently upgraded to 8, and purchased a HighPoint RocketRAID 2640 card. Sadly I had remembered incorrectly that this was supported by either the hptrr or hptiop driver, and instead it seems to only be supported by a binary driver from HighPoint. However, the latest release of the driver is for 7.2, and although it kldload's correctly, I see in dmesg: module_register_init: MOD_LOAD (pci/rr26xx, 0x805a92e0, 0x81145ca0) error 22 rr26xx: RocketRAID 26xx controller driver v1.0.08.1230 (Jul 9 2009 13:58:26) rr26xx: no controller detected. it does not seem to work. Is there any hope of it being supported by the built-in drivers anytime soon, or is this an intentional oversight and do I have to wait for HighPoint to fix their drivers for 8.0? 03:00.0 SCSI storage controller: HighPoint Technologies, Inc. RocketRAID 2640 SAS/SATA Controller (rev 02) Thank you for any suggestions, Steven Schlansker___ 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: how do i automate building packages?
El día Saturday, November 28, 2009 a las 12:15:11PM -0800, Gary Kline escribió: On Sat, Nov 28, 2009 at 12:58:09PM +0100, Matthias Apitz wrote: El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias escribió: Now that you got it installed, you may use pkg_create: pkg_create -Rb openoffice.org-3.1.1 (You can get the exact package name using pkg_info -Ix openoffice) The -R flag will also build all dependencies of openoffice. ... If you build more than one package don't forget the flag -n There are things I don't understand about this entire process. That is, if I was a tarball to give to someone for distribution anywhere among FBSD users. Somegow I wound up with 109 *tbz tarballs. These among them: ... After compiling and installing all ports I'm using I just do something like this: # mkdir PKGDIR # cd PKGDIR # ls /var/db/pkg ../list # while read name ; do pkg_create -Rnb $name done ../list this gives some 1000++ packages; # scp * toSomeOtherHost:. and can install all package ther by just do pkg_add(1M); matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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 print/cups-client (cups-client-1.3.10_4) fails
In my nightly portupgrade I got, while upgrading print/cups-client : ... Compiling bannertops.c... cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/ usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEF ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c bannertops.c echo Compiling pstext.c... Compiling pstext.c... cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/ usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEF ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c pstext.c echo Compiling common.c... Compiling common.c... cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/ usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEF ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c common.c echo Linking bannertops... Linking bannertops... cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-R/usr/local/lib -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-prot ector -o bannertops bannertops.o pstext.o common.o -lcupsimage \ -lcups -pthread -lm -lcrypt /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/crt1.o: could not read symbols: Bad value gmake[1]: *** [bannertops] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-client/work/cups-1.4.2/filter ' gmake: *** [all] Error 1 *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/print/cups-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091129-50 184-1684ok3-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-client-1.3.10_4 UPG RADE_PORT_VER=1.3.10_4 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package ** Fix the problem and try again. --- Build of print/cups-client ended at: Sun, 29 Nov 2009 08:29:01 +0100 (cons umed 00:00:20) --- Upgrade of print/cups-client ended at: Sun, 29 Nov 2009 08:29:01 +0100 (co nsumed 00:00:20) --- ** Upgrade tasks 7: 0 done, 0 ignored, 0 skipped and 1 failed --- Skipping 'print/cups-image' (cups-image-1.3.10_4) because a requisite pack age 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to force) --- ** Upgrade tasks 7: 0 done, 0 ignored, 1 skipped and 1 failed --- Skipping 'print/cups-base' (cups-base-1.3.10_4) because a requisite packag e 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to force) --- ** Upgrade tasks 7: 0 done, 0 ignored, 2 skipped and 1 failed --- Skipping 'x11-toolkits/gtk20' (gtk-2.16.6) because a requisite package 'cu ps-client-1.3.10_4' (print/cups-client) failed (specify -k to force) --- ** Upgrade tasks 7: 0 done, 0 ignored, 3 skipped and 1 failed --- Skipping 'devel/gconf2' (gconf2-2.26.2_1) because a requisite package 'gtk -2.16.6' (x11-toolkits/gtk20) failed (specify -k to force) --- ** Upgrade tasks 7: 0 done, 0 ignored, 4 skipped and 1 failed --- Skipping 'graphics/poppler-qt' (poppler-qt-0.10.6_1) because a requisite p ackage 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to force) --- ** Upgrade tasks 7: 0 done, 0 ignored, 5 skipped and 1 failed --- Skipping 'x11-themes/gtk-engines2' (gtk-engines2-2.18.2_1) because a requi site package 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to fo rce) --- ** Upgrade tasks 7: 0 done, 0 ignored, 6 skipped and 1 failed --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! print/cups-client (cups-client-1.3.10_4) (unknown build error) * print/cups-image (cups-image-1.3.10_4) * print/cups-base (cups-base-1.3.10_4) * x11-toolkits/gtk20 (gtk-2.16.6) * devel/gconf2 (gconf2-2.26.2_1) * graphics/poppler-qt (poppler-qt-0.10.6_1) * x11-themes/gtk-engines2 (gtk-engines2-2.18.2_1) --- Packages processed: 0 done, 0 ignored, 6 skipped and 1 failed how to fix 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