Re: Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-06 Thread Gerard Seibert
TLS and AUTH Maint: [EMAIL PROTECTED] B-deps: p5-Digest-HMAC-1.01 p5-Digest-SHA1-2.11 p5-IO-Socket-SSL-1.02 p5-MIME-Base64-3.07 p5-Net-SSLeay-1.30_1 perl-5.8.8 R-deps: perl-5.8.8 WWW:http://search.cpan.org/dist/Net-SMTP-TLS/ TLS = SSLv3, IIRC. No, it is not the module I am looking

Problems with perl script on 6.1/5.8.8

2007-02-06 Thread Don O'Neil
I've got a perl script that just refuses to run on my new 6.1 box with Perl 5.8.8... Whenever I run it from the command line I get this: Can't modify single ref constructor in lock at ./caldisp.pl line 84, near *LOCKF) Execution of ./caldisp.pl aborted due to compilation errors. The lines

Re: Problems with perl script on 6.1/5.8.8

2007-02-06 Thread Josh Carroll
Can't modify single ref constructor in lock at ./caldisp.pl line 84, near *LOCKF) Execution of ./caldisp.pl aborted due to compilation errors. I'm not sure what has changed in Perl 5.8, but this should work instead: if(open my $fh, $LOCKF) { lock($fh); } Josh

Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-05 Thread Gerard Seibert
I am looking for the Net-SMTP-SSL perl module in the ports system. So far I have not been able to locate it.. If I cannot locate it, I will have to use CPAN to install it; which is something I would rather not do. Does anyone know if it exists under a different name perhaps? Thanks! -- Gerard

Port upgrade/install problem: MySQL and Perl I/F

2007-02-03 Thread Robert Inder
p5-DBD-mysql50 and mysql itself Date: 03 Feb 2007 19:58:22 + Message-ID: [EMAIL PROTECTED] Lines: 128 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've upgraded Perl (via portupgrade), but the ports I need to re-install

Re: Port upgrade/install problem: MySQL and Perl I/F

2007-02-03 Thread Ted Mittelstaedt
Stuff like this happens, you can e-mail the port maintainer and bitch him out for making a stupid change to the dependency requirement, or you can simply dispense with ports, download the perl module and compile and install it the old fashioned way You ought to have nuked and repaved that server

Re: perl substitution question

2007-01-15 Thread Oliver Fromme
Gary Kline wrote: Giorgos Keramidas wrote: Watch out for shells with funny 'expansion rules', like csh(1) :) [...] Man! truer words, (c)... . One o the very few suggestions left for improving shells [ and/or subshells ] is a flag, say '-N' which would have *nothing* to be

Re: perl substitution question

2007-01-15 Thread Chuck Swiger
On Jan 14, 2007, at 1:44 PM, Gary Kline wrote: Man! truer words, (c)... . One o the very few suggestions left for improving shells [ and/or subshells ] is a flag, say '-N' which would have *nothing* to be escaped. In other words a '$' or '' would be interpreted

Re: perl substitution question

2007-01-15 Thread Giorgos Keramidas
On 2007-01-15 10:21, Chuck Swiger [EMAIL PROTECTED] wrote: On Jan 14, 2007, at 1:44 PM, Gary Kline wrote: Man! truer words, (c)... . One o the very few suggestions left for improving shells [ and/or subshells ] is a flag, say '-N' which would have *nothing* to be escaped. In

Re: perl substitution question

2007-01-15 Thread Gary Kline
On Tue, Jan 16, 2007 at 12:04:23AM +0200, Giorgos Keramidas wrote: On 2007-01-15 10:21, Chuck Swiger [EMAIL PROTECTED] wrote: On Jan 14, 2007, at 1:44 PM, Gary Kline wrote: Man! truer words, (c)... . One o the very few suggestions left for improving shells [ and/or subshells ] is a

Re: perl substitution question

2007-01-15 Thread Chuck Swiger
On Jan 15, 2007, at 2:29 PM, Gary Kline wrote: OMG! I managed to break a new shell war :) /me ducks and runs very far away No! no, cometh backeth, Giorgos! No war, just peace, love and flowers:-) % cd /usr/ports/mail/imap-uw/ make extract cd work/imap-2004g % tail -3

Re: perl substitution question

2007-01-15 Thread Gary Kline
On Mon, Jan 15, 2007 at 02:45:57PM -0800, Chuck Swiger wrote: On Jan 15, 2007, at 2:29 PM, Gary Kline wrote: OMG! I managed to break a new shell war :) /me ducks and runs very far away No! no, cometh backeth, Giorgos! No war, just peace, love and flowers:-) % cd

Re: perl substitution question

2007-01-14 Thread Gary Kline
Thanks for all the ways, gents. (I never thought of tr, but now that seems like an option.) A week+ ago I tried perl using 's/\xNN//g' from the cmdline, but nojoy. The online docs said that \N{xx} would catch a hex character; that's what was fuzzy

Re: perl substitution question

2007-01-14 Thread Giorgos Keramidas
On 2007-01-14 12:15, Gary Kline [EMAIL PROTECTED] wrote: Thanks for all the ways, gents. (I never thought of tr, but now that seems like an option.) A week+ ago I tried perl using 's/\xNN//g' from the cmdline, but nojoy. The online docs said that \N{xx} would catch a hex character; that's

Re: perl substitution question

2007-01-14 Thread Gary Kline
On Sun, Jan 14, 2007 at 10:31:04PM +0200, Giorgos Keramidas wrote: On 2007-01-14 12:15, Gary Kline [EMAIL PROTECTED] wrote: Thanks for all the ways, gents. (I never thought of tr, but now that seems like an option.) A week+ ago I tried perl using 's/\xNN//g' from the cmdline, but nojoy

perl substitution question

2007-01-13 Thread Gary Kline
o Anybody know if I can do a perl substitution of the scads of \x80\x9D to simple double-quotes () from the command line? I've got many HTML files with this strange syntax (must be from Windows) that I'd like to make human-readable for myself. I know how

Re: perl substitution question

2007-01-13 Thread Giorgos Keramidas
On 2007-01-13 18:45, Gary Kline [EMAIL PROTECTED] wrote: Anybody know if I can do a perl substitution of the scads of \x80\x9D to simple double-quotes () from the command line? You already have part of the syntax right: , | [EMAIL

Re: perl substitution question

2007-01-13 Thread Matt Emmerton
o Anybody know if I can do a perl substitution of the scads of \x80\x9D to simple double-quotes () from the command line? 80 hex = 200 octal 9D hex = 235 octal cat k | tr \200 \ | tr \235 \ k.new -- Matt Emmerton ___ freebsd-questions@freebsd.org

Re: perl substitution question

2007-01-13 Thread perryh
cat k | tr \200 \ | tr \235 \ k.new Or, skipping the unnecessary cat and invoking tr only once tr \200\235 \\ k k.new ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Re: sparc64 and perl 5.8.8 port test failures?

2007-01-04 Thread Steven D. Yee
of my machine ? I guess I could start mucking with the config.sh by hand but I'd rather figure out why the port just doesn't work as is. steve. - Original Message - From: David Landgren [EMAIL PROTECTED] To: Steven D. Yee [EMAIL PROTECTED] Subject: Re: sparc64 and perl 5.8.8 port

Re: sparc64 and perl 5.8.8 port test failures?

2007-01-03 Thread David Landgren
Steven D. Yee wrote: I'm seeing multiple errors from make test and I can't seem to figure out how to get rid of them. As far as I can tell it builds correctly. [...] ../lib/integer..NOK 10 # Failed test 'left shift' # in ../lib/integer.t at line 49. #

Re: sparc64 and perl 5.8.8 port test failures?

2007-01-03 Thread David Landgren
Steven D. Yee wrote: I'm seeing multiple errors from make test and I can't seem to figure out how to get rid of them. As far as I can tell it builds correctly. [...] ../lib/integer..NOK 10 # Failed test 'left shift' # in ../lib/integer.t at line 49. #

perl CPAN shell CPAN.pm failure

2007-01-02 Thread Vizion
I seem to have something wrong in my installation...: -- [EMAIL PROTECTED] /usr/ports/lang]# perl -MCPAN -e shell Can't locate Cwd.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr

Re: perl CPAN shell CPAN.pm failure

2007-01-02 Thread Vizion
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vizion Sent: Tuesday, January 02, 2007 4:07 AM To: freebsd-questions@freebsd.org Subject: perl CPAN shell CPAN.pm failure I seem to have something wrong in my installation

sparc64 and perl 5.8.8 port test failures?

2007-01-02 Thread Steven D. Yee
I'm seeing multiple errors from make test and I can't seem to figure out how to get rid of them. As far as I can tell it builds correctly. The errors look like: ... t/op/pack.# Failed at op/pack.t line 631 # Failed at op/pack.t line 631 FAILED at test 514 ...

Re: Perl error with Spam Assassin?

2006-12-30 Thread Ted Mittelstaedt
deinstall SA and all dependent programs, including all perl modules as well as perl itself. Then cvsup ports, and make install SA Good luck with it. Ted - Original Message - From: David Kelly [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Thursday, December 28, 2006 7:40 PM

Perl error with Spam Assassin?

2006-12-29 Thread David Kelly
I *think* the following is coming from Spam Assassin, which is launched by procmail, which is launched by fetchmail (so any of those could be the guilty party if they use perl). [31161] warn: (?:(?=[\s,]))* matches null string many times in regex; marked by -- HERE in m/\G(?:(?=[\s

Re: can I use perl substitution to handle hex chars?

2006-12-12 Thread John Levine
Seems like lots of files I get off the net use \x80\x98 or the like to denote various non-ascii characters. Is there a way to use perl (or any other unix tool) to replace \xwhatever\xwhatever with, say whatever ASCII or ISO-8859-1 character or characters? perl

can I use perl substitution to handle hex chars?

2006-12-11 Thread Gary Kline
To the tool wizards out there, Seems like lots of files I get off the net use \x80\x98 or the like to denote various non-ascii characters. Is there a way to use perl (or any other unix tool) to replace \xwhatever\xwhatever with, say whatever ASCII or ISO

Re: mimedefang, perl, and amd64 trouble

2006-10-19 Thread Wes Peters
, just because it might possibly be his headache.) I have a brand-new, freshly-cvsupped 7.0 amd64 box as a mail server. Perl seems to be having troubles; when I fire up mimedefang, it can't load some dependencies. Oct 17 21:47:39 bewilderbeast mimedefang-multiplexor[1730]: Starting slave 0 (pid 1747

Re: Segfaulting perl

2006-10-18 Thread David King
, which causes perl to segfault. In fetchyahoo 2.10.6, it is on line 1435 of 2117, which reads: $main_page = $ua-request($request); $ua is a LWP::UserAgent object, and what's happening is that the request is redirecting to an SSL page, so even if you have SSL turned off it will end

mimedefang, perl, and amd64 trouble

2006-10-17 Thread Michael W. Lucas
Hi, (copying wes@, the mimedefang maintainer, just because it might possibly be his headache.) I have a brand-new, freshly-cvsupped 7.0 amd64 box as a mail server. Perl seems to be having troubles; when I fire up mimedefang, it can't load some dependencies. Oct 17 21:47:39 bewilderbeast

Re: Segfaulting perl

2006-10-15 Thread David King
Just to make sure that no bad library dependancies were at work, I did a 'make buildworld installworld', and a 'portupgrade -frR fetchyahoo perl openssl', to no avail (and with the same backtrace generated by gdb as below). Any ideas? On 10 Oct 2006, at 11:05, David King wrote: When

Running Perl from a C program

2006-10-12 Thread Olivier Nicole
Hi, I am facing a problem when running a Perl script from a C program. My C calls 2 different Perl scripts. The way to call them is completely similar. One script does a 'require timelocal.pl;' and is working. The other try to do a 'use Email::MIME::Creator;' and is not working (whatever

Segfaulting perl

2006-10-10 Thread David King
When trying to run fetchyahoo (from ports), perl dumps core. It appears to be dumping core in OpenSSL. I've tried recompiling/ reinstalling all ports related to fetchyahoo, perl, and openssl. This happens whether or not I enable SSL in fetchyahoo's configuration. It gets as far

W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
($replyto); I tried replacing the Net::SMTP module from Perl, thinking that maybe it was corrupted, but still it gives the same error. Any ideas where I should look/check next? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
($replyto); I tried replacing the Net::SMTP module from Perl, thinking that maybe it was corrupted, but still it gives the same error. Any ideas where I should look/check next? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
($replyto); I tried replacing the Net::SMTP module from Perl, thinking that maybe it was corrupted, but still it gives the same error. Any ideas where I should look/check next? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: W3Mail/Perl Mail Module

2006-10-05 Thread Karol Kwiatkowski
: Thursday, October 05, 2006 11:05 AM To: Don O'Neil Cc: freebsd-questions@freebsd.org Subject: Re: W3Mail/Perl Mail Module On 05/10/2006 19:29, Don O'Neil wrote: Hi all... I know this isn't necessarily the right group to be asking, but I thought I'd start here I have been using

Thread libraries and Perl

2006-09-28 Thread Kevin Oberman
I use a Perl program that uses GTK2 for its display. This means that it uses the p5-Gtk2 port. Many GTK2 routines are threaded, and when they are called, the rtld fails to resolve the symbol pthread_getschedparam and the program exists. I know that normally the inclusion of the threading

When to use SUID Perl (5.8.x)?

2006-09-25 Thread B. Cook
Hello, Just wondering what do you need suid perl for? I run a webserver for staff users, and have had no real need for it, and considering removing it. I think it goes to back the days when SA (possibly?) needed it and I just cp'd the make.conf across boxes over the years

Re: When to use SUID Perl (5.8.x)?

2006-09-25 Thread Olivier Nicole
Hi, Just wondering what do you need suid perl for? To run a Perl script that needs to get root privileges. it is a security risk having it? It is always a risk to have a powerfull tool installed when you don't need it. If a security bug is discovered in Perl, one could be able to become

Re: portmanager and perl handling

2006-08-21 Thread Gerard Seibert
On Sunday 20 August 2006 19:31, Noah wrote: Okay I am looking at these files.  I am looking for something that automatically executes a 'use.perl port' after upgrading or reinstalling perl.  It is most probable that I will always want the latest perl port active. I cant figure out how to do

portmanager ignoring update perl

2006-08-20 Thread Noah
Hi there, I am running portmanager and updating all dependencies along the way. I am finding that perl gets updated to the system version. I want to keep it to version 5.8. . FreeBSD4-11 is my OS. so in order to get portmanager to stop updating perl do I add the following to /usr/local

Re: portmanager ignoring update perl

2006-08-20 Thread Gerard Seibert
Noah wrote: I am running portmanager and updating all dependencies along the way. I am finding that perl gets updated to the system version. I want to keep it to version 5.8. . FreeBSD4-11 is my OS. so in order to get portmanager to stop updating perl do I add the following to /usr

Re: portmanager ignoring update perl

2006-08-20 Thread Noah
Gerard Seibert wrote: Noah wrote: I am running portmanager and updating all dependencies along the way. I am finding that perl gets updated to the system version. I want to keep it to version 5.8. . FreeBSD4-11 is my OS. so in order to get portmanager to stop updating perl do I add

portmanager and perl handling

2006-08-20 Thread Noah
I am running portmanager with the following switches portmanager -u -f -l -y which is building all the dependencies. I find that perl is set to the system version of 5.003 . I do not want this behavior. I want to keep updating Perl to the newer version and I want perl to always be set

Re: portmanager and perl handling

2006-08-20 Thread Gerard Seibert
On Sunday 20 August 2006 17:40, Noah wrote: am running portmanager with the following switches portmanager -u -f -l -y  which is building all the dependencies.  I find that perl is set to the system version of 5.003 .   I do not want this behavior. I want to keep updating Perl to the newer

Re: portmanager and perl handling

2006-08-20 Thread Noah
Gerard Seibert wrote: On Sunday 20 August 2006 17:40, Noah wrote: am running portmanager with the following switches portmanager -u -f -l -y which is building all the dependencies. I find that perl is set to the system version of 5.003 . I do not want this behavior. I want to keep

Perl question.

2006-08-17 Thread Greg Groth
I'm trying to install bandersnatch in conjunction with Jabber2 and running into some trouble. I'm following the how-to at: http://www.funkypenguin.co.za/bandersnatch_with_jabberd2 I've installed all of the listed sources from the ports, but when I run bandersnatch2.pl, I receive the following

Re: Perl question.

2006-08-17 Thread Dan Nelson
In the last episode (Aug 17), Greg Groth said: I'm trying to install bandersnatch in conjunction with Jabber2 and running into some trouble. I'm following the how-to at: http://www.funkypenguin.co.za/bandersnatch_with_jabberd2 I've installed all of the listed sources from the ports, but

Re: Perl question.

2006-08-17 Thread Greg Groth
Dan Nelson wrote: A quick web search shows that POE::Preprocessor was removed from POE in March. http://search.cpan.org/src/RCAPUTO/POE-0.3601/CHANGES : 2006-03-11 23:11:39 (r1887) by rcaputo poe/lib/POE/Preprocessor.pm D; poe/lib/POE/Macro D; poe/tests/10_units/01_preprocessor D;

Re: perl problem

2006-08-07 Thread Giorgos Keramidas
On 2006-08-03 10:50, RJ45 [EMAIL PROTECTED] wrote: Hello using imapsync to make a transition from imapuw to a cyrus server make the imapsync perl process to die on FreeBSD 6.1 because it uses more than 512MB of memory. this does not happen using imapsync with the same transfer operations

perl problem

2006-08-03 Thread RJ45
Hello using imapsync to make a transition from imapuw to a cyrus server make the imapsync perl process to die on FreeBSD 6.1 because it uses more than 512MB of memory. this does not happen using imapsync with the same transfer operations on hte same mailboxes on a Linux fedora box the memory

Re: Port for Perl modules

2006-07-16 Thread Gerard Seibert
Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all

Re: Port for Perl modules

2006-07-15 Thread Nikolas Britton
On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all -- BSD Podcasts @: http://bsdtalk.blogspot.com

Re: Port for Perl modules

2006-07-15 Thread Gerard Seibert
Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all

Re: Port for Perl modules

2006-07-15 Thread Nikolas Britton
On 7/15/06, Gerard Seibert [EMAIL PROTECTED] wrote: Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http

Re: Port for Perl modules

2006-07-15 Thread Warren Block
On Sat, 15 Jul 2006, Gerard Seibert wrote: Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi

Port for Perl modules

2006-07-14 Thread Gerard Seibert
Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet Thanks! -- Gerard Seibert [EMAIL PROTECTED] My parents saw the president they loved get shot in the head. I saw my president get head. Elon Gold

Perl in 6.1

2006-06-13 Thread forrie
I've just installed a fresh 6.1 system and I noted perl wasn't included in the core build. I also see it mentioned in the ObsoleteFiles area in /usr/src. Where is the announcement about perl being removed, etc. What's the scoop. Thanks

Re: Perl in 6.1

2006-06-13 Thread Lowell Gilbert
[EMAIL PROTECTED] writes: I've just installed a fresh 6.1 system and I noted perl wasn't included in the core build. I also see it mentioned in the ObsoleteFiles area in /usr/src. Where is the announcement about perl being removed, etc. What's the scoop. It was in the release announcement

Re: Perl in 6.1

2006-06-13 Thread forrie
[EMAIL PROTECTED] writes: I've just installed a fresh 6.1 system and I noted perl wasn't included in the core build. I also see it mentioned in the ObsoleteFiles area in /usr/src. Where is the announcement about perl being removed, etc. What's the scoop. It was in the release

Re: Perl in 6.1

2006-06-13 Thread Erik Trulsson
On Tue, Jun 13, 2006 at 04:05:03PM -0400, [EMAIL PROTECTED] wrote: I've just installed a fresh 6.1 system and I noted perl wasn't included in the core build. I also see it mentioned in the ObsoleteFiles area in /usr/src. Where is the announcement about perl being removed, etc. What's

ldconfig -m for libs... how about upgrading @INC for perl modules??

2006-06-04 Thread Mark Jayson Alvarez
Hi, After upgrading perl, a lot of applications broke, primarily because the new perl looks into site_perl/5.8.8 however my application modules are still in site_perl/5.8.7 Question: Is there an ldconfig -m sort of thing for this job? My new perl package installation process didn't bother about

Re: ldconfig -m for libs... how about upgrading @INC for perl modules??

2006-06-04 Thread Kris Kennaway
On Sun, Jun 04, 2006 at 08:16:41PM -0700, Mark Jayson Alvarez wrote: Hi, After upgrading perl, a lot of applications broke, primarily because the new perl looks into site_perl/5.8.8 however my application modules are still in site_perl/5.8.7 Question: Is there an ldconfig -m sort

can't build perl-5.8.8 in a jail

2006-05-22 Thread Andy Greenwood
I'm trying to build perl 5.8.8 inside a jail and it won't build. I always error at the same spot. Below is the last 100 lines out of make. Anyone have any ideas? Finding dependencies for pp_ctl.o. Finding dependencies for pp_sys.o. Finding dependencies for regcomp.o. Finding dependencies

Re: can't build perl-5.8.8 in a jail

2006-05-22 Thread Andy Greenwood
Not sure what I did, but It's compiled now. Sorry for the noise On 5/22/06, Andy Greenwood [EMAIL PROTECTED] wrote: I'm trying to build perl 5.8.8 inside a jail and it won't build. I always error at the same spot. Below is the last 100 lines out of make. Anyone have any ideas? Finding

setuid perl scripts ?

2006-05-11 Thread John Levine
It is my distinct impression that setuid perl scripts are supposed to work. That is, if you have an executable perl script with the setuid bit, perl will start itself up and run suidperl or something and do the necessary backflips to get itself running with the script's owner as the effective UID

Re: setuid perl scripts ?

2006-05-11 Thread John Levine
It is my distinct impression that setuid perl scripts are supposed to work. Never mind, I figured it out. You have to rebuild perl with ENABLE_SUIDPERL=yes R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Inappropriate file type or format error when accessing berkely DB file via perl

2006-05-04 Thread Parv
in message [EMAIL PROTECTED], wrote mark thusly... I am trying to access my squidguard berkely db files via perl and DB_File (as per the SquidGuard docs) ... #!/usr/bin/perl use DB_File; my (%url,%domain); $DB_BTREE-{compare} = \domainmatch

Re: Inappropriate file type or format error when accessing berkely DB file via perl

2006-05-04 Thread mark
P5-BerkeleyDB proved to be a functional solution for me at any rate, many thanks for the pointer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Inappropriate file type or format error when accessing berkely DB file via perl

2006-05-03 Thread mark
I am trying to access my squidguard berkely db files via perl and DB_File (as per the SquidGuard docs) When I run the following perl snippet #!/usr/bin/perl use DB_File; my (%url,%domain); $DB_BTREE-{compare} = \domainmatch; my $domain_db = tie(%domain, DB_File, /var

REINPLACE_CMD (perl-5.8.8)

2006-04-29 Thread Marc Hunter
as follows: make install === Vulnerability check disabled, database not found You may use the following build options: WITH_DEBUGGING=yesBuild perl with debugging support. WITH_GDBM=yes Build GDBM_File extension. WITHOUT_PERL_MALLOC=yes Use FreeBSD

Re: REINPLACE_CMD (perl-5.8.8)

2006-04-29 Thread Marc
and went to install /usr/ports/www/apache22. This in turn triggered an install of perm-5.8.8 which failed as follows: make install === Vulnerability check disabled, database not found You may use the following build options: WITH_DEBUGGING=yesBuild perl with debugging support

Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-27 Thread Andrew Reitz
/[$solvedletters1]//g; my @chars = split(, $string); $string = ; @chars = sort (@chars); foreach (@chars) { $string .= $_; } $string =~ tr///cs; print $string; } Hi Nikolas, Most likely, your input has '\n' characters at the end of every line, and you aren't doing anything in perl

Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-27 Thread Nikolas Britton
'\n' characters at the end of every line, and you aren't doing anything in perl to strip those away. Try adding a 'chomp($string);' line before you print. Hey thanks, I think I did try that already... anyways... it doesn't matter now because I reworked the code block, this is what I have so far

Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-26 Thread Nikolas Britton
On 4/25/06, Parv [EMAIL PROTECTED] wrote: in message [EMAIL PROTECTED], wrote Nikolas Britton thusly... This works... but it's clunky: my $string = letter; my @chars = split(, $string); $string = ; @chars = sort (@chars); foreach (@chars) { $string .= $_; } $string =~

Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Nikolas Britton
basically what I want to do: my @wordlist = (letter, remember, alphabetically); ## some whizbang code that changes words like ## letter to eelrtt, remember to beeemmrr, ## and alphabetically to aaabcehilllpty. @foobar =~ tr///cs; #hmm, doesn't work. print @wordlist\n; Hmm, that's broke, how

Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Nikolas Britton
On 4/25/06, Nikolas Britton [EMAIL PROTECTED] wrote: basically what I want to do: my @wordlist = (letter, remember, alphabetically); ## some whizbang code that changes words like ## letter to eelrtt, remember to beeemmrr, ## and alphabetically to aaabcehilllpty. @foobar =~ tr///cs; #hmm,

Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Parv
in message [EMAIL PROTECTED], wrote Nikolas Britton thusly... On 4/25/06, Nikolas Britton [EMAIL PROTECTED] wrote: basically what I want to do: ... my $wordlist = letter; ## some whizbang regex that removes dupe chars ## from words like alphabetically -- alphbeticy. print $wordlist\n;

How to link CPAN to FreeBSD ports perl modules?

2006-04-19 Thread David Robillard
Hello everyone, I'm looking for a way to link perl modules found in CPAN and the ones found in the FreeBSD ports repository. For example, let's say I need to install the following CPAN module: http://search.cpan.org/dist/libwww-perl/lib/HTTP/Request/Common.pm A search in the ports for ^p5

Re: How to link CPAN to FreeBSD ports perl modules?

2006-04-19 Thread Alex Zbyslaw
David Robillard wrote: Hello everyone, I'm looking for a way to link perl modules found in CPAN and the ones found in the FreeBSD ports repository. For example, let's say I need to install the following CPAN module: http://search.cpan.org/dist/libwww-perl/lib/HTTP/Request/Common.pm A search

ports and a new version of perl

2006-03-31 Thread Michael Grant
I installed perl in /usr/local to have a later version of perl. Certain ports require the new version. How can I set the default version of perl that make uses in /usr/ports? I tried make.conf, that didn't work. I also tried editing /usr/ports/Mk/bsd.port.mk but the change goes away when I

Re: ports and a new version of perl

2006-03-31 Thread Kris Kennaway
On Fri, Mar 31, 2006 at 05:22:17PM +0200, Michael Grant wrote: I installed perl in /usr/local to have a later version of perl. Certain ports require the new version. How can I set the default version of perl that make uses in /usr/ports? I tried make.conf, that didn't work. I also tried

help: fetchyahoo crash in perl on upgrading to 6.1-PRERELEASE #0

2006-03-23 Thread Rajarajan Rajamani
(0x3,0x28284303,0x1) = 1 (0x1) close(3) = 0 (0x0) getpid() = 72949 (0x11cf5) SIGNAL 11 (SIGSEGV) SIGNAL 11 (SIGSEGV) Process stopped because of: 16 process exit, rval = 139 Segmentation fault I have recompiled perl and all the ports that fetchyahoo uses

Re: help: fetchyahoo crash in perl on upgrading to 6.1-PRERELEASE #0

2006-03-23 Thread Greg Barniskis
have recompiled perl and all the ports that fetchyahoo uses but to no avail. [snip] re: perl, did you perform the required perl-after-upgrade tasks (see /usr/ports/UPDATING)? Perl going funky after a major upgrade is often due to overlooking this. I've no idea if that is related to your

Re: help: fetchyahoo crash in perl on upgrading to 6.1-PRERELEASE #0

2006-03-23 Thread Rajarajan Rajamani
. Now I am having the following problem [snip] I have recompiled perl and all the ports that fetchyahoo uses but to no avail. [snip] re: perl, did you perform the required perl-after-upgrade tasks (see /usr/ports/UPDATING)? Perl going funky after a major upgrade is often due

perl regex help request... .

2006-03-22 Thread Gary Kline
clue me in on the perl regex for matching NN plus any/every character following until \n I can't find my regex book, and am not exactly clear if this will work, but if I go back over my files and insert braces around each note (at the page bottom) like: {14

Re: perl regex help request... .

2006-03-22 Thread Andrew Pantyukhin
/A anchor by hand. Maybe not, if somebody can clue me in on the perl regex for matching NN plus any/every character following until \n I can't find my regex book, and am not exactly clear if this will work, but if I go back over my files and insert braces

Re: using perl to sub sect; for \xa7.

2006-03-17 Thread Parv
in message [EMAIL PROTECTED], wrote Gary Kline thusly... I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte

Re: using perl to sub sect; for \xa7.

2006-03-17 Thread Gary Kline
On Fri, Mar 17, 2006 at 06:14:17PM -0500, Parv wrote: in message [EMAIL PROTECTED], wrote Gary Kline thusly... I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't

Re: using perl to sub sect; for \xa7.

2006-03-17 Thread Parv
; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte. Can anybody clue me in? Use '-i' option for in place editing, '-p' to print the results to the file, '-e' to specify the code to run ... perl -pi -e 's/\xa7

using perl to sub sect; for \xa7.

2006-03-16 Thread Gary Kline
HTML wizards, I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte. Can

Re: perl core dump with spamassassin via procmail

2006-03-02 Thread Brian
Jonathan Chen wrote: On Wed, Mar 01, 2006 at 08:55:23PM -0800, Brian wrote: I've been battling these for a couple weeks, I was running 5.4 stable with perl 5.8.7, now stable has gotten me to 5.5 prerelease and the perl version is 5.8.8. At any rate, my procmail log does

perl core dump with spamassassin via procmail

2006-03-01 Thread Brian
I've been battling these for a couple weeks, I was running 5.4 stable with perl 5.8.7, now stable has gotten me to 5.5 prerelease and the perl version is 5.8.8. At any rate, my procmail log does this intermittently, not for every message. procmail: Program failure (-11) of /usr/local/bin

Re: perl core dump with spamassassin via procmail

2006-03-01 Thread Jonathan Chen
On Wed, Mar 01, 2006 at 08:55:23PM -0800, Brian wrote: I've been battling these for a couple weeks, I was running 5.4 stable with perl 5.8.7, now stable has gotten me to 5.5 prerelease and the perl version is 5.8.8. At any rate, my procmail log does this intermittently, not for every

pork missing a perl library

2006-02-25 Thread Anthony Philipp
Hello everyone, When I try to run pork, I get this error: $ pork /libexec/ld-elf.so.1: Shared object libperl.so not found, required by pork It used to work, and I certainly didn't manually remove the library, so I'm not quite sure what to do. This might help: $ uname -a FreeBSD

Re: pork missing a perl library

2006-02-25 Thread Jonathan Chen
On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote: Hello everyone, When I try to run pork, I get this error: $ pork /libexec/ld-elf.so.1: Shared object libperl.so not found, required by pork It used to work, and I certainly didn't manually remove the library, so I'm not

Re: pork missing a perl library

2006-02-25 Thread Anthony Philipp
On Sun, Feb 26, 2006 at 04:49:42PM +1300, Jonathan Chen [EMAIL PROTECTED] wrote: On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote: Hello everyone, When I try to run pork, I get this error: $ pork /libexec/ld-elf.so.1: Shared object libperl.so not found, required

<    2   3   4   5   6   7   8   9   10   11   >