Re: Mixer resets

2009-02-16 Thread Polytropon
On Sun, 15 Feb 2009 16:41:46 -0800, Rem P Roberti remeg...@comcast.net wrote:
   line via mixer.  After a while I installed gmixer because having a
   graphical interface made things go a lot quicker.  But I discovered that
   every time I invoked gmixer it reset the vol to 0:0.  It continues to do
   that, and I'm wondering if anyone else has that experience with gmixer. 
   Could that be a bug?  Are there other graphical mixer alternatives?
  
  You could install the gkrellm and gkrellmvolume2 ports; then you'll always
  have a slider for each mixer channel available.
 
 I may give that a try.  It does help, in this case, to have a graphical
 interface.  It's pretty difficult to get things adjusted properly while
 switching back and forth between fldigi and the command line.

An old fashioned alternative is xmixer (or xmix?) which may
have less dependencies than other programs.

An idea for gmixer: Eventually there's an option for preset
values, or a kind of configuration file which is read right
after program startup, and if such a file doesn't exists,
zero values are assumed.

Another mixer GUI worth mentioning is aumix / xaumix (Gtk)
which features both a graphical and a text mode GUI for
adjusting levels. Because I've used this program in the past,
I can tell you that it's not resetting all the values.

Good luck es vy 73 de D. :-)



-- 
Polytropon
From 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: freebsd 7.1 clean install with mouse completely hang

2009-02-16 Thread Polytropon
On Mon, 16 Feb 2009 09:16:48 +0700, Vu The Cuong vuthecu...@luvina.net 
wrote:
 Hi all
 
 Yeassterday I performed clean installation of freebsd 7.1, gnome showed
 up fined, but mouse and keyboard 
 
 completely not functioned, hang all the time, the only way to restart is
 press the button reset of PC.
 
 How can I solved that?

Did you install X and Gnome from the installation CD or from
(updated) ports? Maybe it's one of the improvements after
major changes in X that require certain modifications (xorg.conf,
HAL, DBUS). Check out ports/UPDATING, if this is the issue.



-- 
Polytropon
From 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


transcode fails to compile

2009-02-16 Thread Warren Liddell

Running AMD64 7.1-Prrelease system KDE 4.2

Basic question which google fails to answer .. why is this happening an 
how do i fix ?





Test Summary Report
---
t/x11/write   (Wstat: 0 Tests: 2 Failed: 1)
 Failed test:  1
Files=27, Tests=345,  8 wallclock secs ( 0.28 usr  0.12 sys +  5.28 
cusr  1.19 csys =  6.88 CPU)

Result: FAIL
Failed 1/27 test programs. 1/345 subtests failed.
*** Error code 255

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.9-3/PerlMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.9-3.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.9-3.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.9-3.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.10628.0 env make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
   ! multimedia/transcode  (unknown build error)
Command failed [exit code 1]: /usr/local/sbin/portinstall 
multimedia/transcode


___
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: Please Help Me ...

2009-02-16 Thread cpghost
On Mon, Feb 16, 2009 at 08:15:41AM +0330, Ali Reza wrote:
 Hi i am Install FreeBsd 7.1 in to Detacetad Server
 
 where Are Support Cpanel  Whm .. ?
 
 Please Answer Me ...

cPanel and WHM are commercial products:
  http://www.cpanel.net/products/cpwhm/cpanel11/index.html

Apparently, they also support FreeBSD, since many FreeBSD
web hosters do provide cPanel to their customers.

Just have a look at their website and ask there. ;-)

 My Blog
 
 http://weblog.teamnet.ir

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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


[6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Gilles
Hello

I updated the Ports collection on this 6.3 host, but it fails
compiling MySQL Server 5.1:

===
In file included from item.h:2428,
 from mysql_priv.h:749,
 from sql_profile.cc:32:
item_cmpfunc.h:1301: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
===

Has someone seen this, and knows a work-around?

Thank you.

___
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: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Ivan Voras
Gilles wrote:
 Hello
 
 I updated the Ports collection on this 6.3 host, but it fails
 compiling MySQL Server 5.1:
 
 ===
 In file included from item.h:2428,
  from mysql_priv.h:749,
  from sql_profile.cc:32:
 item_cmpfunc.h:1301: internal compiler error: Illegal instruction: 4
 Please submit a full bug report,
 with preprocessed source if appropriate.
 ===
 
 Has someone seen this, and knows a work-around?

If you have any CFLAGS set (the most common are those for CPU
optimizations), disable them and try again.



signature.asc
Description: OpenPGP digital signature


Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Gilles
On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras ivo...@freebsd.org
wrote:
If you have any CFLAGS set (the most common are those for CPU
optimizations), disable them and try again.

Thanks for the tip. Do you know which value I should set for this
switch, if at all?

# dmesg | grep -i CPU
CPU: Intel Pentium III (994.63-MHz 686-class CPU)
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xorg-fbserver / xorg-server fails upgrade

2009-02-16 Thread Ewald Jenisch
Hi,

While upgrading a machine during upgrade of
/usr/ports/x11-servers/xorg-vfbserver/work/xorg-server-1.5.3 the build
process fails with the errors given below.

Any ideas what can be wrong here and how to overcome this problem?

Thanks much in advance for any clue,
-ewald

PS: FreeBSD 7.1, AMD64 platform, kernel/system up2date as per Feb 5.

--  Cut here  --

---  Installing 'xorg-vfbserver-1.5.3_1,1' from a port 
(x11-servers/xorg-vfbserver)
---  Building '/usr/ports/x11-servers/xorg-vfbserver'
===  Cleaning for xorg-vfbserver-1.5.3_1,1
===  Vulnerability check disabled, database not found
===  Extracting for xorg-vfbserver-1.5.3_1,1
= MD5 Checksum OK for xorg/xserver/xorg-server-1.5.3.tar.bz2.
.
.
.
 cc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support 
-I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri 
-I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN 
-DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -DDBUS_API_SUBJECT_TO_CHANGE 
-I/usr/local/include -I/usr/local/include/freetype2 
-I/usr/local/include/pixman-1 -I/usr/local/include/hal 
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include 
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes 
-I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr 
-I../fb -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/drm 
-D_THREAD_SAFE -I/usr/local/include -I/usr/local/include 
-I/usr/local/include/drm -I/usr/local/include/X11/dri -DXFree86Server 
-D__GLX_ALIGN64 -O -pipe -MT glxdriswrast.lo -MD -MP -MF .deps/glxdriswrast.Tpo 
-c glxdriswrast.c  -fPIC -DPIC -o .libs/glxdriswrast.o
glxdriswrast.c:39:39: error: GL/internal/dri_interface.h: No such file or 
directory
In file included from glxdriswrast.c:49:
glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before 
'*' token
glxdricommon.h:36: warning: type defaults to 'int' in declaration of 
'__DRIcoreExtension'
glxdricommon.h:36: error: expected ';', ',' or ')' before '*' token
glxdricommon.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'systemTimeExtension'
glxdriswrast.c:64: error: expected specifier-qualifier-list before '__DRIscreen'
glxdriswrast.c:75: error: expected specifier-qualifier-list before 
'__DRIcontext'
glxdriswrast.c:80: error: expected specifier-qualifier-list before 
'__DRIdrawable'
glxdriswrast.c: In function '__glXDRIdrawableDestroy':
glxdriswrast.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
glxdriswrast.c:92: error: 'core' undeclared (first use in this function)
glxdriswrast.c:92: error: (Each undeclared identifier is reported only once
glxdriswrast.c:92: error: for each function it appears in.)
glxdriswrast.c:92: error: '__GLXDRIdrawable' has no member named 'screen'
glxdriswrast.c:94: error: '__GLXDRIdrawable' has no member named 'driDrawable'
glxdriswrast.c:96: error: '__GLXDRIdrawable' has no member named 'gc'
glxdriswrast.c:97: error: '__GLXDRIdrawable' has no member named 'cleargc'
glxdriswrast.c:98: error: '__GLXDRIdrawable' has no member named 'swapgc'
glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers':
glxdriswrast.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
glxdriswrast.c:116: error: 'core' undeclared (first use in this function)
glxdriswrast.c:116: error: '__GLXDRIdrawable' has no member named 'screen'
glxdriswrast.c:118: error: '__GLXDRIdrawable' has no member named 'driDrawable'
glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer':
glxdriswrast.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
glxdriswrast.c:128: error: 'copySubBuffer' undeclared (first use in this 
function)
glxdriswrast.c:129: error: '__GLXDRIdrawable' has no member named 'screen'
glxdriswrast.c:132: error: '__GLXDRIdrawable' has no member named 'driDrawable'
glxdriswrast.c: In function '__glXDRIcontextDestroy':
glxdriswrast.c:141: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:141: error: '__GLXDRIcontext' has no member named 'driContext'
glxdriswrast.c: In function '__glXDRIcontextMakeCurrent':
glxdriswrast.c:154: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:154: error: '__GLXDRIcontext' has no member named 'driContext'
glxdriswrast.c:155: error: '__GLXDRIdrawable' has no member named 'driDrawable'
glxdriswrast.c:156: error: '__GLXDRIdrawable' has no member named 'driDrawable'
glxdriswrast.c: In function '__glXDRIcontextLoseCurrent':
glxdriswrast.c:165: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:165: error: '__GLXDRIcontext' has no member named 'driContext'
glxdriswrast.c: In function '__glXDRIcontextCopy':
glxdriswrast.c:176: error: '__GLXDRIscreen' has no member named 'core'

tab-delimited to csv

2009-02-16 Thread John Almberg
Can anyone suggest a way to convert a tab-delimited file to csv using  
standard unix utilities? I could whip up a Ruby script to do it, but  
I hate to reinvent the wheel.


Thanks: John
___
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: tab-delimited to csv

2009-02-16 Thread Adam Vande More

John Almberg wrote:
Can anyone suggest a way to convert a tab-delimited file to csv using 
standard unix utilities? I could whip up a Ruby script to do it, but I 
hate to reinvent the wheel.


Thanks: John
___
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
if you just dealing with a few files, you could use thing like vi or and 
editor w/ regex capbilites to search and replace tabs w/ comma's.


perl -pe ’s/\t/,/g’ table.tsv  table.csv
___
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


Performance problem with samba/zfs

2009-02-16 Thread Jonathan Belson

Hiya

I export a few samba shares from a FreeBSD amd64 server and I've been editing 
text files on one of the shares via a Windows box.


This /usually/ works fine, but occasionally I'll get a pause of several seconds 
when I save back a modified file.  No errors are generated on the server, but it 
causes the smbd process takes a few % of available cpu time, according to top.


Could this be due to the infamous seekdir/seekdir issue between samba and 
FreeBSD?  Some of the directories do contain hundreds of files.  This post 
suggests it has been fixed though: http://www.vnode.ch/fixing_seekdir


The server is running -STABLE ('FREEBSD 7.1-PRERELEASE'), as built on 
2008/09/08.  The file system is zfs.  I'm using samba 3.0.34,1, built from ports.


Any ideas, anyone?

Cheers,

--Jon
___
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: tab-delimited to csv

2009-02-16 Thread Polytropon
On Mon, 16 Feb 2009 11:55:50 -0500, John Almberg jalmb...@identry.com wrote:
 Can anyone suggest a way to convert a tab-delimited file to csv using  
 standard unix utilities? I could whip up a Ruby script to do it, but  
 I hate to reinvent the wheel.

I think it's more simple with sed. Use the global substitution
function, such as

% sed s/\t/:/g

See that \t or maybe [ \t]* may be the appropriate field delimiter.
Instead of :, take , or . as separator, just as you need.

Another solution could be awk.

% awk '{ gsub([\t]*, :, $0); print $0; }'

If you need additional re-ordering, use -F or FS to specify
the field separator, and then printf %s:%s:%s\n, $2, $1, $3;.

These would be the easiest (I think) substitution approaches.



-- 
Polytropon
From 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: tab-delimited to csv

2009-02-16 Thread John Almberg


On Feb 16, 2009, at 12:16 PM, Adam Vande More wrote:


John Almberg wrote:
Can anyone suggest a way to convert a tab-delimited file to csv  
using standard unix utilities? I could whip up a Ruby script to do  
it, but I hate to reinvent the wheel.


Thanks: John
___
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
if you just dealing with a few files, you could use thing like vi  
or and editor w/ regex capbilites to search and replace tabs w/  
comma's.


perl -pe ’s/\t/,/g’ table.tsv  table.csv


There's more to csv than commas, though. For example, if one of the  
fields contains commas, you need to wrap the field with quotes.


-- John

___
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: tab-delimited to csv

2009-02-16 Thread Roland Smith
On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote:
 Can anyone suggest a way to convert a tab-delimited file to csv using  
 standard unix utilities? I could whip up a Ruby script to do it, but  

As long as the files don't contain commas themselves, it is a
straightforward sed or perl command: replace '\t' with ','
And any field has internal double quotes, it becomes more
difficult. See http://en.wikipedia.org/wiki/Comma-separated_values

 I hate to reinvent the wheel.

I'd whip up that script. There is a shareware tab2csv utility for
windows for $49.95: http://www.download32.com/info-pack-com-tab2csv-i31827.html

OTOH, if you have a spreadsheet program like Gnumeric or OpenOffice
installed, you might be able to script those to import from tab-delimited
and export to CSV. Admittedly that is like using a nuke to kill a fly.

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)


pgpGnYpU9WLBf.pgp
Description: PGP signature


Re: Recommendations for running FreeBSD as a guest OS

2009-02-16 Thread Tim Judd
As promised, here is the link

Was recommended only once by a vendor we use.  Haven't done ANY research on
it, and WILL do research on it.  I'd be interested to hear outcomes from
anybody here that tries it.

http://www.mailenable.com/

Thanks all,
--Tim
___
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: tab-delimited to csv

2009-02-16 Thread John Almberg


On Feb 16, 2009, at 12:55 PM, Roland Smith wrote:


On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote:

Can anyone suggest a way to convert a tab-delimited file to csv using
standard unix utilities? I could whip up a Ruby script to do it, but


As long as the files don't contain commas themselves,


Right, that's the tricky bit. I could use tr otherwise.




I hate to reinvent the wheel.


I'd whip up that script. There is a shareware tab2csv utility for
windows for $49.95: http://www.download32.com/info-pack-com-tab2csv- 
i31827.html


I'm working on it, right now.

I also saw that windows utility, but doesn't help me much.



OTOH, if you have a spreadsheet program like Gnumeric or OpenOffice
installed, you might be able to script those to import from tab- 
delimited

and export to CSV. Admittedly that is like using a nuke to kill a fly.


Actually, the problem arises because I have a client who is exporting  
a 'database' file from Excel 2000 (don't ask), to .csv, and Excel is  
so stupid that it is not putting quotes around a field that contains  
commas. Duh.


Excel seems to export to tab-delimited format without making any  
fatal errors, but I need a real .csv file for import.


Thus my need to convert from tab to (real) csv.

-- John

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
I am having problems up grading SpamAssassin.  The get the following
errors when I do portupgrade.  I hand corrected the first error by
following the instructions listed below, then this error showed.
Before I go though and hand correct these one by one, I thought I'd
ask if I was doing something wrong.

P.S. I ran perl-after-upgrade after upgrading perl.

Thanks


===  Installing for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-Socket6 already installed
===   p5-Socket6-0.23 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 net/p5-Socket6
  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/net/p5-Socket6.
*** Error code 1

Stop in /usr/ports/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
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: tab-delimited to csv

2009-02-16 Thread Adam Vande More

John Almberg wrote:


On Feb 16, 2009, at 12:55 PM, Roland Smith wrote:


On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote:

Can anyone suggest a way to convert a tab-delimited file to csv using
standard unix utilities? I could whip up a Ruby script to do it, but


As long as the files don't contain commas themselves,


Right, that's the tricky bit. I could use tr otherwise.




I hate to reinvent the wheel.


I'd whip up that script. There is a shareware tab2csv utility for
windows for $49.95: 
http://www.download32.com/info-pack-com-tab2csv-i31827.html


I'm working on it, right now.

I also saw that windows utility, but doesn't help me much.



OTOH, if you have a spreadsheet program like Gnumeric or OpenOffice
installed, you might be able to script those to import from 
tab-delimited

and export to CSV. Admittedly that is like using a nuke to kill a fly.


Actually, the problem arises because I have a client who is exporting 
a 'database' file from Excel 2000 (don't ask), to .csv, and Excel is 
so stupid that it is not putting quotes around a field that contains 
commas. Duh.


Excel seems to export to tab-delimited format without making any fatal 
errors, but I need a real .csv file for import.


Thus my need to convert from tab to (real) csv.

-- John


There is this:

http://www.sat.dundee.ac.uk/arb/psion/

Have no idea if it complies or works as you want.

But if you're dealing with just one so called database from Excel I 
would go with either checking the settings on the Excel export(in OO.org 
you can specify w/ or w/out quotes) as they may have missed the option.  
Or simply get the original file, open it in OO.org and do it from there 
as was basically suggested earlier.



I would have thought something like would exist as it's certainly useful 
like dos2unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 08:58:37 Tankko wrote:
 I am having problems up grading SpamAssassin.  The get the following
 errors when I do portupgrade.  I hand corrected the first error by
 following the instructions listed below, then this error showed.
 Before I go though and hand correct these one by one, I thought I'd
 ask if I was doing something wrong.

 P.S. I ran perl-after-upgrade after upgrading perl.

We need the line that says:
  ===  p5-IO-INET6 depends on file

That line is probably faulty.
Also please list:
grep ^PERL /etc/make.conf

 ===  Installing for p5-Socket6-0.23
 ===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
 ===   Generating temporary packing list
 ===  Checking if net/p5-Socket6 already installed
 ===   p5-Socket6-0.23 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 net/p5-Socket6
   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/net/p5-Socket6.
 *** Error code 1

 Stop in /usr/ports/net/p5-IO-INET6.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: tab-delimited to csv

2009-02-16 Thread John Almberg


On Feb 16, 2009, at 1:25 PM, Adam Vande More wrote:


John Almberg wrote:


On Feb 16, 2009, at 12:55 PM, Roland Smith wrote:


On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote:
Can anyone suggest a way to convert a tab-delimited file to csv  
using
standard unix utilities? I could whip up a Ruby script to do it,  
but


As long as the files don't contain commas themselves,


Right, that's the tricky bit. I could use tr otherwise.




I hate to reinvent the wheel.


I'd whip up that script. There is a shareware tab2csv utility for
windows for $49.95: http://www.download32.com/info-pack-com- 
tab2csv-i31827.html


I'm working on it, right now.

I also saw that windows utility, but doesn't help me much.



OTOH, if you have a spreadsheet program like Gnumeric or OpenOffice
installed, you might be able to script those to import from tab- 
delimited
and export to CSV. Admittedly that is like using a nuke to kill a  
fly.


Actually, the problem arises because I have a client who is  
exporting a 'database' file from Excel 2000 (don't ask), to .csv,  
and Excel is so stupid that it is not putting quotes around a  
field that contains commas. Duh.


Excel seems to export to tab-delimited format without making any  
fatal errors, but I need a real .csv file for import.


Thus my need to convert from tab to (real) csv.

-- John


There is this:

http://www.sat.dundee.ac.uk/arb/psion/

Have no idea if it complies or works as you want.

But if you're dealing with just one so called database from Excel  
I would go with either checking the settings on the Excel export(in  
OO.org you can specify w/ or w/out quotes) as they may have missed  
the option.


That was my first hope, but there doesn't seem to be a quote option  
in Excel 2000, hard as that is to believe... Unfortunately, they are  
a remote client, so I can't look at the 'Save As' options myself, but  
I spent a long time on the phone with them, trying to get them to  
look for such an 'advanced' option. No luck. It's either not there,  
or they are blind.


Or simply get the original file, open it in OO.org and do it from  
there as was basically suggested earlier.


That would be easy, but they upload this file frequently, and I need  
an automated solution.



I would have thought something like would exist as it's certainly  
useful like dos2unix


Me too. Weird.

I've got a prototype working, but now I've discovered that even the  
tab delimited file is malformed... the Ruby CSV Library chokes on one  
of the data lines. Illegal use of quotes. Bummer...


-- John
___
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: recovering from a power outage

2009-02-16 Thread Mel
On Thursday 12 February 2009 16:24:25 A. Wright wrote:

 Can anyone corroborate that?  If so, does anyone know when
 ed started wanting to make a temp file even before any edits
 are made?  I am sure that ed has gotten me out of similar jams
 in the past, when I wanted to see part of a file in an unchecked
 root fs, and cat wouldn't fit the bill because the file was
 too long (and more and friends are far away on /usr, and therefore
 not available if still patching up the root).

From ed(1):
FILES
 /tmp/ed.*  buffer file

Solution:
mdconfig -a -t swap -s 64m -o reserve -u 0
newfs -U /dev/md0
mount /dev/md0 /tmp
chmod 1777 /tmp

Also, there's /rescue/vi (since 7.0 I believe), which will complain 
about /var/tmp/vi.recover, which you can a) ignore or b) use above procedure 
with -u 1 to create /var/tmp.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko

 We need the line that says:
  ===  p5-IO-INET6 depends on file

 That line is probably faulty.

This is the closest thing I can find to p5-IO-INET6 in the build output.

===  Installing for p5-Net-DNS-0.65
===   p5-Net-DNS-0.65 depends on executable: ipcount - found
===   p5-Net-DNS-0.65 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/Digest/HMAC_MD5.pm - found
===   p5-Net-DNS-0.65 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm - not found
===Verifying install for
/usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm in
/usr/ports/net/p5-IO-INET6
===  Extracting for p5-IO-Socket-INET6-2.56
= MD5 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
= SHA256 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===  Patching for p5-IO-Socket-INET6-2.56
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-IO-Socket-INET6-2.56 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - not found
===Verifying install for
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm in
/usr/ports/net/p5-Socket6
===  Extracting for p5-Socket6-0.23
= MD5 Checksum OK for Socket6-0.23.tar.gz.
= SHA256 Checksum OK for Socket6-0.23.tar.gz.
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===  Patching for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===  Configuring for p5-Socket6-0.23

 Also please list:
 grep ^PERL /etc/make.conf

This is what is listed in /etc/make.conf

# added by use.perl 2009-02-16 09:12:57
PERL_VER=5.8.9
PERL_VERSION=5.8.9
___
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: Old user can't log in

2009-02-16 Thread Mel
On Thursday 12 February 2009 19:17:05 Da Rock wrote:

 I've been following this thread with interest: are you saying FreeBSD
 logins cannot handle more than 16 groups? If so, why? 

Because the kernel needs to keep this info. At the time of conception, 16 
shorts (16*4=64) per login and maxusers of 10, is only 640 bytes kernel 
memory. When working with 32MB physical memory per machine those 640 bytes 
sound a lot more invasive.
The variable is defined in sys/sys/syslimits.h, in case you need to tune your 
kernel.

In any case, work is being done to make this a sysctl runtime tuneable:
http://lists.freebsd.org/pipermail/freebsd-hackers/2009-February/027738.html
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: accents in file names

2009-02-16 Thread Mel
On Thursday 12 February 2009 13:44:40 Chuck Swiger wrote:

 Perhaps I'm biased, but I've long been of the opinion that the Mac
 platform with HFS+ has very good internationalization support.

Then maybe this is your cue to take over the HFS support in FreeBSD. I've only 
seen this support degrading over the years. ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Determining process preventing umount of busy partition

2009-02-16 Thread Mel
On Wednesday 11 February 2009 22:34:11 Polytropon wrote:
 First of all, I checked both lsof's and fstat's output: NOTHING seems to
 have a file open in the /usr partition. Very strange. Of course, I've tried
 the copies of both tools in /root/bin so they don't cause any access on
 /usr theirselves.

 On Thu, 12 Feb 2009 00:08:58 -0700, Tim Judd taj...@gmail.com wrote:
  Most commonly for me is because my $PWD (or CWD) is in the filesystem i
  intend to umount

 I've checked this: In SUM, $CWD was /, and root's $HOME is /root on
 the / partition. Users' home directories are on /home which is separated
 from /usr (and can be unmounted without problems). At no time, a $CWD
 was on /usr partition.

  so as a habit now, i move myself to the root partition (when logged in
  as root) via the following, and assuming I want to umount /usr
 
 
  # umount /usr
  umount: unmount of /usr failed: Device busy
  # cd
  # umount /usr
 
 
  cd, with no arguments, move you to ~ (aka $HOME)

 Which would be /root in case of SUM.



 As I said, very strange...

Is this a one-time event or 100% reproducable?
A likely scenario is:
- You have squid running
- You have rc_shutdowntimeout at default (30 seconds)
- rc hits the watchdog while squid is being shutdown
- you unmount
- get busy
- call fstat at which point squid has been shutdown.

Replace squid with anything that takes 30+ seconds to shutdown. Allthough, 
they would probably already fail at umount /var. Squid with defaults is fully 
contained in /usr/local.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: /var/db/pkg/*/+INSTALL arguments

2009-02-16 Thread Mel
On Thursday 12 February 2009 08:09:46 Rich Winkel wrote:
 What are the proper arguments to pass to +INSTALL during package
 installation?

+INSTALL pkg-name stage

where stage is one of PRE-INSTALL or POST-INSTALL. 

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 10:04:43 Tankko wrote:
  We need the line that says:
   ===  p5-IO-INET6 depends on file
 
  That line is probably faulty.

 This is the closest thing I can find to p5-IO-INET6 in the build output.

 ===  Installing for p5-Net-DNS-0.65
 ===   p5-Net-DNS-0.65 depends on executable: ipcount - found
 ===   p5-Net-DNS-0.65 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/Digest/HMAC_MD5.pm - found
 ===   p5-Net-DNS-0.65 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm - not found
 ===Verifying install for
 /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm in
 /usr/ports/net/p5-IO-INET6
 ===  Extracting for p5-IO-Socket-INET6-2.56
 = MD5 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
 = SHA256 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===  Patching for p5-IO-Socket-INET6-2.56
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - not found

If:
# grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS

gives something with site_perl/5.8.8, you:
pkg_delete -f p5-Socket6-*

Then go back to building what you were building.

If the output is empty, then still do the pkg_delete -f, then install 
p5-Socket6. Then run the above command again. If it's still empty, the port 
doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken because of 
it OR the pkg-plist for p5-Socket6 is broken. Either way a send-pr(1) is 
needed.

If the output is anything else, please list here.


 This is what is listed in /etc/make.conf

 # added by use.perl 2009-02-16 09:12:57
 PERL_VER=5.8.9
 PERL_VERSION=5.8.9

That's correct.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: vm.pmap.shpgperproc or vm.pmap.pv_entry_max

2009-02-16 Thread Mel
On Thursday 12 February 2009 06:50:58 Marc G. Fournier wrote:
 I'm gettig an error on my console about 'Approaching the limit on PV
 entries', to which its giving me two choices as to how to deal with it ...

 Why would I use one over the other?
http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/184179.html

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Logcheck dependency hell

2009-02-16 Thread Mel
On Thursday 12 February 2009 03:22:04 n j wrote:
 Hello,

 could anyone help me what command should I use to find out which
 logcheck-required port _exactly_ is trying to install half of the X
 libraries?

 The logcheck port lists the following build depends (output of
 pretty-print-build-depends-list):

# finddep.php security/logcheck x11/xorg-libraries
/usr/ports/textproc/docbook-to-man: /usr/local/libdata/xorg/libraries 
= /usr/ports/x11/xorg-libraries

Script below sig.

-- 
Mel

#!/usr/local/bin/php -q
?php
// vim: ts=4 sw=4 nobackup noet
//define('DEBUG', 1);
function usage()
{
$me = $argv[0];
echo(Usage: $me origin dep\n);
echo(\tFind which dependancy lists dep in origin\n);
exit(1);
}

function chkdep($val, $check)
{
if( !is_dir($val) )
{
fprintf(STDERR, No such dir: %s/%s\n, $GLOBALS['PORTSDIR'],
$val
);
return;
}
chdir($val);
$_deps = preg_split('/\s/',
shell_exec(/usr/bin/make -V LIB_DEPENDS -V RUN_DEPENDS -V 
BUILD_DEPENDS)
);
foreach($_deps AS $_dep)
{
list($pkgname, $origin) = explode(':', $_dep);
if( preg_match('/^\s*$/', $origin) )
continue;
if( in_array($origin, $GLOBALS['CHECKED']) )
continue;
if( $origin == $GLOBALS['PORTSDIR'] . '/' . $check )
echo($val: $pkgname = $origin\n);
else
{
if( defined('DEBUG') )
{
fprintf(STDERR, %s != %s/%s\n, $origin, 
$GLOBALS['PORTSDIR'],
$check
);
}
$GLOBALS['CHECKED'][] = $origin;
chkdep($origin, $check);
}
}
}
if( $argc  3 )
usage();

$PORTSDIR=('' != getenv('PORTSDIR') ) ? getenv('PORTSDIR') : '/usr/ports';
$pkg = $argv[1];
$dep = $argv[2];
if(!file_exists($PORTSDIR/$pkg/Makefile) )
{
fprintf(STDERR, Orphaned port: $pkg\n);
exit(2);
}
$CHECKED=array();
chkdep($PORTSDIR . '/' . $pkg, $dep);
?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
 If:
 # grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS

 gives something with site_perl/5.8.8, you:
 pkg_delete -f p5-Socket6-*

 Then go back to building what you were building.

 If the output is empty, then still do the pkg_delete -f, then install
 p5-Socket6. Then run the above command again. If it's still empty, the port
 doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken because of
 it OR the pkg-plist for p5-Socket6 is broken. Either way a send-pr(1) is
 needed.

 If the output is anything else, please list here.


I ran the grep, and it did come back with site_perl/5.8.8, so I ran:

pkg_delete -f p5-Socket6-*
pkgdb -F
portupgrade p5-Mail-SpamAssassin

and I get the following errors:

---cut---
Writing Makefile for IO::Socket::INET6
===  Building for p5-IO-Socket-INET6-2.56
cp lib/IO/Socket/INET6.pm blib/lib/IO/Socket/INET6.pm
Manifying blib/man3/IO::Socket::INET6.3
===  Installing for p5-IO-Socket-INET6-2.56
===   p5-IO-Socket-INET6-2.56 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - found
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-IO-INET6 already installed
===   p5-IO-Socket-INET6-2.56 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 net/p5-IO-INET6
  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/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
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: Performance problem with samba/zfs

2009-02-16 Thread Mel
On Monday 16 February 2009 07:56:02 Jonathan Belson wrote:
 Hiya

 I export a few samba shares from a FreeBSD amd64 server and I've been
 editing text files on one of the shares via a Windows box.

 This /usually/ works fine, but occasionally I'll get a pause of several
 seconds when I save back a modified file.  No errors are generated on the
 server, but it causes the smbd process takes a few % of available cpu time,
 according to top.

 Could this be due to the infamous seekdir/seekdir issue between samba and
 FreeBSD?  Some of the directories do contain hundreds of files.  This post
 suggests it has been fixed though: http://www.vnode.ch/fixing_seekdir

 The server is running -STABLE ('FREEBSD 7.1-PRERELEASE'), as built on
 2008/09/08.  The file system is zfs.  I'm using samba 3.0.34,1, built from
 ports.

 Any ideas, anyone?

If you can reproduce this behavior using local access or ssh access (taking 
samba out of the equivalent) I would take it over to freebsd-fs.
The seekdir is indeed fixed.
If not, increase verbosity for smbd, maybe it spits out a hint why it is 
taking so long (smells like locking).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: accents in file names

2009-02-16 Thread Mihai Donțu
On Friday 13 February 2009, Chuck Swiger wrote:
 On Feb 12, 2009, at 2:50 PM, Wojciech Puchar wrote:
  accented letter to my freebsd box, the accented letter simply
  disappear.
 
  UFS supports 8-bit characters except for / and \0, but you also
  need to run a terminal with UTF8 support and use a correct font to
  view such things.
 
  why? i use ISO-8859-2

 You've answered why when you state that you set up a locale which
 supports ISO Latin-X charset.  If you are running in the default C/
 POSIX locale, using the US-ASCII character set and a font that only
 knows about 7-bit ASCII glyphs, then you won't get accented characters.

  UFS doesn't deal with encoding at all, just store what you give

 That's right, which means you need to use filenames encoded in UTF8
 rather than in arbitrary Unicode.

UTF-8 is what we prefer these days, but the filesystem can handle anything 
that is ASCII compatible (like you said: Shift_JIS, EUC-JP etc.).

Now, I assume Daniel was copying filé.txt from a non-UFS (Windows box, 
FAT32, NTFS etc) filesystem to UFS, because this is the only case I can think 
of and in which such a problem might appear.

 People in Asia tend to want UTF-16 
 or UTF-32 encoding (although historical encodings like Big5, Shift-
 JIS, and now GB18030 for China are still rather popular, and those are
 multibyte encodings), and things like gcc's implementation of
 widechars or Python are standardizing on UTF-32.

-- 
Mihai Donțu
___
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: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Mel
On Monday 16 February 2009 05:46:01 Gilles wrote:
 On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras ivo...@freebsd.org

 wrote:
 If you have any CFLAGS set (the most common are those for CPU
 optimizations), disable them and try again.

 Thanks for the tip. Do you know which value I should set for this
 switch, if at all?

 # dmesg | grep -i CPU
 CPU: Intel Pentium III (994.63-MHz 686-class CPU)
 cpu0: ACPI CPU on acpi0
 acpi_throttle0: ACPI CPU Throttling on cpu0

If you have none in /etc/make.conf that's a good start.
If it still fails, then make sure BUILD_OPTIMIZED is unset.
Also comment any CPUTYPE variables in /etc/make.conf.

This particular error stems from having a faulty CPUTYPE detected/set 
somewhere.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 11:19:35 Tankko wrote:
  If:
  # grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS
 
  gives something with site_perl/5.8.8, you:
  pkg_delete -f p5-Socket6-*
 
  Then go back to building what you were building.
 
  If the output is empty, then still do the pkg_delete -f, then install
  p5-Socket6. Then run the above command again. If it's still empty, the
  port doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken
  because of it OR the pkg-plist for p5-Socket6 is broken. Either way a
  send-pr(1) is needed.
 
  If the output is anything else, please list here.

 I ran the grep, and it did come back with site_perl/5.8.8, so I ran:

 pkg_delete -f p5-Socket6-*
 pkgdb -F
 portupgrade p5-Mail-SpamAssassin

 and I get the following errors:

 ---cut---
 Writing Makefile for IO::Socket::INET6
 ===  Building for p5-IO-Socket-INET6-2.56
 cp lib/IO/Socket/INET6.pm blib/lib/IO/Socket/INET6.pm
 Manifying blib/man3/IO::Socket::INET6.3
 ===  Installing for p5-IO-Socket-INET6-2.56
 ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - found
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/bin/perl5.8.9 - found ===   Generating temporary packing list
 ===  Checking if net/p5-IO-INET6 already installed
 ===   p5-IO-Socket-INET6-2.56 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 net/p5-IO-INET6
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.

Same issue, different package. Apparently perl-after-upgrade didn't do it's 
job.
I would:
portupgrade -f p5-*

Then go back to upgrade spamassasin.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Wojciech Puchar

so do make deinstall and make install /usr/ports/net/p5-Socket6



===  Installing for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-Socket6 already installed
===   p5-Socket6-0.23 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 net/p5-Socket6
 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/net/p5-Socket6.
*** Error code 1

Stop in /usr/ports/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
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: accents in file names

2009-02-16 Thread Daniel Leal

Yes, that's right. I copied the files from win4bsd system.


Mihai Donțu wrote:

On Friday 13 February 2009, Chuck Swiger wrote:
  

On Feb 12, 2009, at 2:50 PM, Wojciech Puchar wrote:


accented letter to my freebsd box, the accented letter simply
disappear.
  

UFS supports 8-bit characters except for / and \0, but you also
need to run a terminal with UTF8 support and use a correct font to
view such things.


why? i use ISO-8859-2
  

You've answered why when you state that you set up a locale which
supports ISO Latin-X charset.  If you are running in the default C/
POSIX locale, using the US-ASCII character set and a font that only
knows about 7-bit ASCII glyphs, then you won't get accented characters.



UFS doesn't deal with encoding at all, just store what you give
  

That's right, which means you need to use filenames encoded in UTF8
rather than in arbitrary Unicode.



UTF-8 is what we prefer these days, but the filesystem can handle anything 
that is ASCII compatible (like you said: Shift_JIS, EUC-JP etc.).


Now, I assume Daniel was copying filé.txt from a non-UFS (Windows box, 
FAT32, NTFS etc) filesystem to UFS, because this is the only case I can think 
of and in which such a problem might appear.


  
People in Asia tend to want UTF-16 
or UTF-32 encoding (although historical encodings like Big5, Shift-

JIS, and now GB18030 for China are still rather popular, and those are
multibyte encodings), and things like gcc's implementation of
widechars or Python are standardizing on UTF-32.



  


___
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: vm.pmap.shpgperproc or vm.pmap.pv_entry_max

2009-02-16 Thread Marc G. Fournier


Thanks, that one helps ...

On Mon, 16 Feb 2009, Mel wrote:


On Thursday 12 February 2009 06:50:58 Marc G. Fournier wrote:

I'm gettig an error on my console about 'Approaching the limit on PV
entries', to which its giving me two choices as to how to deal with it ...

Why would I use one over the other?

http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/184179.html

--
Mel

Problem with today's modular software: they start with the modules
   and never get to the software part.




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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


bump year on website

2009-02-16 Thread Eitan Adler
http://www.freebsd.org/copyright/freebsd-license.html
copyright should be 2009 now ;)
-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
 Same issue, different package. Apparently perl-after-upgrade didn't do it's
 job.
 I would:
 portupgrade -f p5-*

 Then go back to upgrade spamassasin.
 --
 Mel

OK, this solved the problem.   Everything upgrades fine now.  Thank
you very much for all your help.  Not sure why this happened in the
first place.
___
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: reread newsyslog.conf without reboot

2009-02-16 Thread John Nielsen
On Friday 13 February 2009 05:44:55 am Proskurin Kirill wrote:
 Fbsd1 wrote:
  How do I get the system to reread /etc/newsyslog.conf file with out
  rebooting the system?

 /etc/rc.d/newsyslog restart

Since newsyslog is run from cron (and doesn't stay active as a daemon) no 
action is strictly necessary. However running the script above will save 
you the trouble of creating empty logfiles if needed.

JN

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


(no subject)

2009-02-16 Thread wclark
I am new to bsd how can i load sound and is there a plugin adobe maybe ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (no subject)

2009-02-16 Thread Glen Barber
Please put a Subject: in your mails.  Most people won't read emails
w/o a subject.

On Mon, Feb 16, 2009 at 8:49 PM,  wcl...@dl1.njit.edu wrote:
 I am new to bsd how can i load sound and is there a plugin adobe maybe ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

http://cvsweb.freebsd.org/ports/print/acroread8

Regards,

-- 
Glen Barber
___
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 there are so many binary packages missing on FTP?

2009-02-16 Thread matt donovan
On Sat, Feb 14, 2009 at 1:31 PM, Yuri y...@rawbw.com wrote:

 /usr/ports/UPDATING recently recommended to upgrade kde-4.1.0 to kde-4-2.0.

 So I deleted kde-4.1.0 only to find out that there are no binaries for both
 kde-4.1.0 and kde-4.2.0.
 So I had to build kde-4.2.0 for many hours, again, only to find out that it
 doesn't work as well as kde-4.1.0.

 Desktop Folder applet doesn't show anything for ke-4.1.0. Applets show
 contents of other folders
 but there are no scrollbars in them. Also bottom panel doesn't have any
 colors and looks ugly.

 So now I a stuck with broken kde-4.2.0 and there is no easy way to go
 anywhere.

 I sent similar question to k...@freebsd.org but got no answer.

 So why kde-4.1.0 and kde-4.2.0 binaries are missing on FTP?
 And does kde4-4.2.0 work for anybody?

 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


release packages do not get upgraded you either have to go to pointyhat to
get newer packages or use a tinderbox to grab packages which kde does not
have unlike gnome. oruse-stablepackageswhich seems to not have a complete
kde4 built yet
___
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: bump year on website

2009-02-16 Thread Giorgos Keramidas
On Mon, 16 Feb 2009 16:52:12 -0500, Eitan Adler eitanadlerl...@gmail.com 
wrote:
 http://www.freebsd.org/copyright/freebsd-license.html
 copyright should be 2009 now ;)

I've updated the year ranges in both freebsd-doc-license.sgml and
freebsd-license.sgml.

Thanks :)


pgpEAu6eFpOpU.pgp
Description: PGP signature


How do I see disk IO for specific ZFS file systems?

2009-02-16 Thread Rudy


I realize I can see per device iostats with zpool or gstat, but I am 
interested in specific mount points.  Is that possible?
What are the read/writes for /tank/BBB.monkeybrains.net?  The READS 
are low and then jump to a higher value and I'm trying to track it down.


READ/WRITE over past 6 months:
http://www.monkeybrains.net/images/IO-past-6months.png


# zfs list
NAME  USED  AVAIL  REFER  MOUNTPOINT
tank 73.1G   368G39K  /tank
tank/AAA.monkeybrains.net2.54G  7.46G  2.45G  
/tank/AAA.monkeybrains.net
tank/BBB.monkeybrains.net2.64G  97.4G  2.64G  
/tank/BBB.monkeybrains.net
tank/CCC.monkeybrains.net1.39G  98.6G  1.39G  
/tank/CCC.monkeybrains.net



# zpool iostat -v
  capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank67.5G   380G 12 34   446K   257K
 mirror67.5G   380G 12 34   446K   257K
   ad0s2   -  -  3 17   276K   258K
   ad8s2   -  -  3 17   256K   258K
--  -  -  -  -  -  -


# gstat

dT: 1.001s  w: 1.000s
L(q)  ops/sr/s   kBps   ms/rw/s   kBps   ms/w   %busy Name
   0 29  64566.1 223382.3   21.7| ad0
   0 31  86159.8 223382.3   19.2| ad8
   0 26  53924.6 213182.53.1| ad0s1
   0  3  1 64   13.6  1 202.3   19.4| ad0s2
   0 26  5392   10.5 213182.55.8| ad8s1
   0  5  32248.7  1 200.3   16.9| ad8s2

specifically, I am intested in the file systems in ad0s2 and ad8s2.

Thanks if you can point me in the right direction, and thanks if you 
read this far!


Rudy


___
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