Perl error running lint on spamassassin?

2008-02-04 Thread Drew
provides a clue, perhaps: /libexec/ld-elf.so.1: /usr/local/bin/perl5.8.8: Undefined symbol PL_exit_flags I've removed and reinstalled perl5.8 from ports, double checked everything with the perl-after-upgrade script, ensured that I've handled the use.perlports thing, etc. After all that failed to solve

Re: Perl-5.10.0 in FBSD-7.0

2008-01-25 Thread Josh Paetzel
On Thursday 24 January 2008 06:02:25 am Gerard wrote: On Wed, 23 Jan 2008 20:19:29 +0100 Kris Kennaway [EMAIL PROTECTED] wrote: Gerard wrote: I have not been able to find any information in regards to the latest version of Perl, version 5.10.0, released in December. 1) When

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Jonathan McKeown
On Wednesday 23 January 2008 21:19, Kris Kennaway wrote: Historically, new versions of perl are a recipe for large amounts of pain because of all the old perl code that stops working. I haven't used perl 5.10 yet, but looking at the changes (available at http://search.cpan.org/~rgarcia/perl

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Kris Kennaway
Jonathan McKeown wrote: On Wednesday 23 January 2008 21:19, Kris Kennaway wrote: Historically, new versions of perl are a recipe for large amounts of pain because of all the old perl code that stops working. I haven't used perl 5.10 yet, but looking at the changes (available at http

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Gerard
On Wed, 23 Jan 2008 20:19:29 +0100 Kris Kennaway [EMAIL PROTECTED] wrote: Gerard wrote: I have not been able to find any information in regards to the latest version of Perl, version 5.10.0, released in December. 1) When will this version be available in the ports system? After 7.0

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Kris Kennaway
Gerard wrote: On Wed, 23 Jan 2008 20:19:29 +0100 Kris Kennaway [EMAIL PROTECTED] wrote: Gerard wrote: I have not been able to find any information in regards to the latest version of Perl, version 5.10.0, released in December. 1) When will this version be available in the ports system

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Philip M. Gollucci
Kris Kennaway wrote: It's not going to happen. I completely agree -- but I'm talking about it being the default perl version. There shouldn't be much of anything stopping lang/perl5.10 from appearing. I'm not saying it needs to be shipped with 7.0-release

Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Kris Kennaway
Philip M. Gollucci wrote: Kris Kennaway wrote: It's not going to happen. I completely agree -- but I'm talking about it being the default perl version. There shouldn't be much of anything stopping lang/perl5.10 from appearing. I'm not saying it needs to be shipped with 7.0-release

Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Gerard
I have not been able to find any information in regards to the latest version of Perl, version 5.10.0, released in December. 1) When will this version be available in the ports system? 2) Will FreeBSD-7.0 use this as the default Perl version? It seems rather silly to use the older version

Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Robert Huff
Gerard writes: 2) Will FreeBSD-7.0 use this as the default Perl version? It seems rather silly to use the older version as the default in FBSD-7.0 since a newer version is available. I don't speak for the Release Engineering team, but: almost certainly not. Perl is used

Re: Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Kris Kennaway
Gerard wrote: I have not been able to find any information in regards to the latest version of Perl, version 5.10.0, released in December. 1) When will this version be available in the ports system? After 7.0 is released. 2) Will FreeBSD-7.0 use this as the default Perl version

Re: Strange perl script

2007-10-19 Thread Alex Zbyslaw
by changing the C equivalent of ARGV[0} which in perl is $0. Run the following and ps shows rubbish (perl) and not foo.prl (perl) foo.prl --- #!/usr/bin/env perl $0=rubbish; sleep 120; $ chmod +x foo.prl $ ./foo.prl $ ps 7274 p1 S 0:00.00 rubbish (perl) bar.prl --- #!/usr/bin/env

Re: Strange perl script

2007-10-18 Thread Joshua Isom
- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What is sploger? Looks sort of like a Perl

Re: Strange perl script

2007-10-18 Thread Chad Perrin
On Thu, Oct 18, 2007 at 01:04:38AM -0500, Joshua Isom wrote: If a simple 'locate sploger' shows nothing(run `periodic weekly` which will update your locate database assuming you're keeping things relatively stock), then in all likelihood you've got an intruder. If some of the other tips

Re: Strange perl script

2007-10-17 Thread Peter Boosten
Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What is sploger? Sploger: someone with little

Re: Strange perl script

2007-10-17 Thread Beech Rintoul
On Tuesday 16 October 2007, Jack Raats said: HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What

Re: Strange perl script

2007-10-17 Thread Peter Boosten
On Wed, October 17, 2007 08:44, Beech Rintoul wrote: On Tuesday 16 October 2007, Jack Raats said: What is sploger? Jack I believe that's part of qmail. No, that's splogger. Peter -- http://www.boosten.org ___

Re: Strange perl script

2007-10-17 Thread Steve Bertrand
Jack Raats wrote: HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What is sploger? # locate

Re: Strange perl script

2007-10-17 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/17/07, Jack Raats wrote: What is sploger? IIRC, you can also do something like: # pkg_info -p `which sploger` That'll tell you what port owns that file at least. - -- Andy Harrison public key: 0x67518262 -BEGIN PGP SIGNATURE-

Re: Strange perl script

2007-10-17 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 07:14:07AM +0200, Jack Raats wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger

Re: Strange perl script

2007-10-17 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What

Re: Strange perl script

2007-10-17 Thread Josh Carroll
The stangest thing is that I cann't find sploger on my system. After a reboot sploger doesn't appear anymore, which makes it more stranger. So you have done a: find / -name sploger -type f And nothing comes up? If that's the case, it sounds like it was a perl script that was run

Re: Strange perl script

2007-10-17 Thread James
On Wed, 2007-10-17 at 22:05 +0200, Jack Raats wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger

Re: Strange perl script

2007-10-17 Thread DAve
Jack Raats wrote: HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What is sploger? Looks sort

Re: Strange perl script

2007-10-17 Thread Paul Schmehl
comes up? If that's the case, it sounds like it was a perl script that was run, then subsequently removed from the file system. Which sounds rather nefarious to me. You might want to check for rootkits, etc. If you google for sploger+perl, all you get is stuff that looks like hacked websites being

Re: Strange perl script

2007-10-17 Thread Peo Nilsson
you have done a: find / -name sploger -type f And nothing comes up? If that's the case, it sounds like it was a perl script that was run, then subsequently removed from the file system. Which sounds rather nefarious to me. You might want to check for rootkits, etc. If you google

Re: Strange perl script

2007-10-17 Thread Paul Schmehl
--On Wednesday, October 17, 2007 23:51:39 +0200 Peo Nilsson [EMAIL PROTECTED] wrote: I scanned my FreeBSD 6.2-Release (ports up to date) with Avira Antivir personal ed, some days ago. The scanner returned this: ...snap checking drive/path (cwd): /

Re: Strange perl script

2007-10-17 Thread Steve Bertrand
Looks sort of like a Perl script running. That, of course, doesn't say what it is doing. The stangest thing is that I cann't find sploger on my system. After a reboot sploger doesn't appear anymore, which makes it more stranger. Post output of: # last # cat /root/.history # ls -la /root

Strange perl script

2007-10-16 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Can anyone explain this after ps -ax | grep perl 21893 ?? I 1:02.37 sploger (perl5.8.8) 29536 ?? R184:14.94 sploger (perl5.8.8) 29538 ?? R184:36.44 sploger (perl5.8.8) 30668 ?? R168:56.54 sploger (perl5.8.8) What

Re: Where do I find the PERL compatible functions for php

2007-10-03 Thread Andrew Falanga
, and Perl-compatible regular expressions (or at least whatever you enabled). One of the irritating things, but also very practical, about Google mail is that messages I send to this list do not show up in my inbox until someone responds. I was actually able to figure this out last night by going

Re: Where do I find the PERL compatible functions for php

2007-10-03 Thread Kevin Kinsey
will suddenly grok things like XML, SQL, and Perl-compatible regular expressions (or at least whatever you enabled). One of the irritating things, but also very practical, about Google mail is that messages I send to this list do not show up in my inbox until someone responds. I was actually able

Re: Where do I find the PERL compatible functions for php

2007-10-03 Thread Mel
On Wednesday 03 October 2007 16:49:04 Andrew Falanga wrote: One question I have for the maintainers of these ports and the ports infrastructure, why are these all listed in different places? /usr/ports/devel/php5-pcre/ /usr/ports/textproc/php5-xml/ /usr/ports/www/php5-session/ Not that

Where do I find the PERL compatible functions for php

2007-10-02 Thread Andrew Falanga
/index.php* on line *136 *. I've found from the php.net web site that this is the PERL compatible regular expression stuff. Since it's not there, how would I get it? Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Where do I find the PERL compatible functions for php

2007-10-02 Thread Bill Campbell
/www/apache22/data/phpwebsite_1_3_1/setup/index.php* on line *136 *. I've found from the php.net web site that this is the PERL compatible regular expression stuff. Since it's not there, how would I get it? This is a build-time option with php, and requires the pcre libraries. Bill -- INTERNET

Re: Where do I find the PERL compatible functions for php

2007-10-02 Thread RW
function preg_match() in * /usr/local/www/apache22/data/phpwebsite_1_3_1/setup/index.php* on line *136 *. I've found from the php.net web site that this is the PERL compatible regular expression stuff. Since it's not there, how would I get it? cd /usr/ports make search name=pcre

Re: Where do I find the PERL compatible functions for php

2007-10-02 Thread Kevin Kinsey
preg_match() in * /usr/local/www/apache22/data/phpwebsite_1_3_1/setup/index.php* on line *136 *. I've found from the php.net web site that this is the PERL compatible regular expression stuff. Since it's not there, how would I get it? This is a build-time option with php, and requires the pcre

Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread [EMAIL PROTECTED]
* snowcrash+freebsd [2007-09-02 19:11]: It is not supported to mix FreeBSD ports collection perl modules with modules installed from CPAN. http://www.freebsd.org/cgi/query-pr.cgi?pr=115885 I'm not mixing anything. I have *NO* FreeBSD ports collection perl modules installed, at all

Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread snowcrash+freebsd
hi, You have perl modules installed, that have no corresponding installed FreeBSD port. i do not use BSDPAN -- it's sloppy about its dependency mgmt. as i do on every other os/platform, i use ONLY native cpan/cpanp. i have dozens of cpan-installed perl-modules. cpan/cpanp manage

Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread Mel
On Sunday 02 September 2007 20:12:03 snowcrash+freebsd wrote: hi, You have perl modules installed, that have no corresponding installed FreeBSD port. i do not use BSDPAN -- it's sloppy about its dependency mgmt. as i do on every other os/platform, i use ONLY native cpan/cpanp. i have

Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread Anton Berezin
On Sun, Sep 02, 2007 at 11:12:03AM -0700, snowcrash+freebsd wrote: as i do on every other os/platform, i use ONLY native cpan/cpanp. i have dozens of cpan-installed perl-modules. cpan/cpanp manage the dependencies just fine. the problem is in the case of 'help2man'. the port-install

Re: Quick perl ports question

2007-08-30 Thread Kurt Buff
the port is called p5-perl-ldap instead of p5-Net-LDAP though. Possibly it pre-dates the current naming conventions. Cheers, Matthew Ah, thanks so very much. It's option D) - the comfy chair! :) Kurt ___ freebsd-questions@freebsd.org

Quick perl ports question

2007-08-29 Thread Kurt Buff
I'm trying to implement a script that I found, and it's referencing Net::LDAP, Net::LDAP::Control::Paged and Net::LDAP::Constant I'm not finding p5-net-ldap in ports, though I do see p5-ResourcePool-Resource-Net-LDAP and p5-perl-ldap. Can I: A) leave the script as-is, and simply install one

Re: Quick perl ports question

2007-08-29 Thread Nikola Lecic
and p5-perl-ldap. Can I: A) leave the script as-is, and simply install one or the other of these ports, and have it work? If so, which one? Or, must I B) commit minor surgery on the script wherever I see references to those packages, and if so, what might that look like? The script

Re: Quick perl ports question

2007-08-29 Thread Matthew Seaman
-perl-ldap. p5-perl-ldap is what you want for the Net::LDAP modules. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate

Re: Quick perl ports question

2007-08-29 Thread Matthew Seaman
is called p5-perl-ldap instead of p5-Net-LDAP though. Possibly it pre-dates the current naming conventions. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http

Re: perl configuration question

2007-08-24 Thread Nikola Lecic
On Thu, 23 Aug 2007 20:40:32 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: Hi, I'm trying to install WebGUI on a FreeBSD system for my church. WebGUI uses PERL for its operation. The program has a test environment perl script that it tries to run to make sure the environment can run

Re: perl configuration question

2007-08-24 Thread Andrew Falanga
On 8/23/07, Foo JH [EMAIL PROTECTED] wrote: Have you tried simply installed Perl from the packages in the FreeBSD install CD? Yes, I installed perl from ports. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: perl configuration question

2007-08-24 Thread Andrew Falanga
On 8/24/07, Nikola Lecic [EMAIL PROTECTED] wrote: On Thu, 23 Aug 2007 20:40:32 -0600 (3) Maybe you should consider using another CMS software, there is a lot of choice, including Perl-based if you prefer that. The most important thing is that they are truly ported, so you have just

Re: perl configuration question

2007-08-24 Thread Nikola Lecic
On Fri, 24 Aug 2007 07:10:15 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: On 8/24/07, Nikola Lecic [EMAIL PROTECTED] wrote: On Thu, 23 Aug 2007 20:40:32 -0600 (3) Maybe you should consider using another CMS software, there is a lot of choice, including Perl-based if you prefer

perl configuration question

2007-08-23 Thread Andrew Falanga
Hi, I'm trying to install WebGUI on a FreeBSD system for my church. WebGUI uses PERL for its operation. The program has a test environment perl script that it tries to run to make sure the environment can run WebGUI. On a couple of the perl modules it tries to install, it bails saying that make

Re: perl configuration question

2007-08-23 Thread Foo JH
Have you tried simply installed Perl from the packages in the FreeBSD install CD? Andrew Falanga wrote: Hi, I'm trying to install WebGUI on a FreeBSD system for my church. WebGUI uses PERL for its operation. The program has a test environment perl script that it tries to run to make sure

Openwebmail / Perl / SpeedyCGI ERROR (HELP !!)

2007-06-19 Thread Robert Davison
KERNEL, PUT C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP speedy_backend[32940]: perl_parse error speedy[32940]: Cannot spawn backend process Premature end of script headers: openwebmail.pl Can anyone explain what is going on. I've tried recompiling perl (with suidperl enabled and disabled

How to replace perl-threaded with perl?

2007-05-18 Thread Tuc at T-B-O-H.NET
Hi, I installed lang/perl5.8 and set it to be threaded. I'm having problems getting mod_perl working, and I know at one time atleast that it was because of using threaded perl. How do I portupgrade and tell it to : 1) Uninstall perl-threaded-5.8.8 2) Install perl 5.8 3) Make sure

Fresh OS/Perl{Threaded}/Apache 1.3.37/modperl segfault

2007-05-14 Thread Tuc at T-B-O-H.NET
Hi, Installed a fresh 5.5-R-p12 (I *NEED* to run 5.5, sorry) with apache+mod_ssl+mod_deflate-1.3.37+2.8.28 perl-threaded-5.8.8 mod_perl-1.30 When I try to start it I get a segfault. The backtrace is : (gdb) bt #0 0x286e9350 in Perl_newSVpvn () from /usr/local/lib/perl5

Re: Missing perl module is messing everything up

2007-05-12 Thread David LeCount
--- Warren Block [EMAIL PROTECTED] wrote: Maybe it's in the wrong place. There's a port for XML::Parser: /usr/ports/textproc/p5-XML-Parser Install that and see if it solves the problem. -Warren Block * Rapid City, South Dakota USA I looked for such a port and couldn't find one. Maybe

Re: Missing perl module is messing everything up

2007-05-11 Thread David LeCount
--- Craig Russell [EMAIL PROTECTED] wrote: Try running perl -MCPAN -e shell as root. That should take you to a cpan prompt from there type install XML::Parser If that completes succesfully hit exit and try to install what you were looking for. Hope this helps Craig Russell I

Re: Missing perl module is messing everything up

2007-05-11 Thread Paul Schmehl
--On May 11, 2007 6:59:57 PM -0700 David LeCount [EMAIL PROTECTED] wrote: --- Craig Russell [EMAIL PROTECTED] wrote: Try running perl -MCPAN -e shell as root. That should take you to a cpan prompt from there type install XML::Parser If that completes succesfully hit exit and try to install

Re: Missing perl module is messing everything up

2007-05-11 Thread Warren Block
On Fri, 11 May 2007, David LeCount wrote: --- Craig Russell [EMAIL PROTECTED] wrote: Try running perl -MCPAN -e shell as root. That should take you to a cpan prompt from there type install XML::Parser If that completes succesfully hit exit and try to install what you were looking for. Hope

Missing perl module is messing everything up

2007-05-10 Thread David LeCount
Ahoy. Every time I try to upgrade a program that depends on Perl, I get this error: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool I've tried a portupgrade -fRra to no avail. I'm not sure if I'm missing a package (pkgdb -F doesn't show anything

Re: Missing perl module is messing everything up

2007-05-10 Thread Craig Russell
Try running perl -MCPAN -e shell as root. That should take you to a cpan prompt from there type install XML::Parser If that completes succesfully hit exit and try to install what you were looking for. Hope this helps Craig Russell --- David LeCount [EMAIL PROTECTED] wrote: Ahoy. Every time I

Re: Missing perl module is messing everything up

2007-05-10 Thread youshi10
On Thu, 10 May 2007, Craig Russell wrote: Try running perl -MCPAN -e shell as root. That should take you to a cpan prompt from there type install XML::Parser If that completes succesfully hit exit and try to install what you were looking for. Hope this helps Craig Russell --- David LeCount

how could I add perl to my FreeNAS install?

2007-05-08 Thread Justin Muir
Hi, Does anyone have any idea how I could do this? I see that some people are building custom binaries...are there pre-fabbed ones? Thx, J __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

RE: Perl Script in Apache

2007-05-07 Thread Jack Stone
From: White Hat [EMAIL PROTECTED] To: FreeBSD Users Questions freebsd-questions@freebsd.org Subject: Perl Script in Apache Date: Sat, 5 May 2007 12:17:39 -0700 (PDT) I tried to get an answer to this on the Apache forum, but unfortunately, I was not successful. Running Apache on a FreeBSD-6.2

Re: OT - Perl Script in Apache

2007-05-07 Thread Parv
in message [EMAIL PROTECTED], wrote White Hat thusly... Running Apache on a FreeBSD-6.2 machine, I am attempting to set up a web page that changes a specific image on a daily basis. I found a Perl script that is supposed to do this, but it seems to fail. All that is displayed is a red [X

sending email with perl

2007-05-06 Thread Olivier Regnier
Hello, I written a small script in perl to send email. Here is the code: #!/usr/bin/perl -w use strict; use warnings; use MIME::Lite; my $msg = new MIME::Lite From ='[EMAIL PROTECTED]', To ='[EMAIL PROTECTED]', Subject ='test', Type ='TEXT', Data ='Hello this is a test'; $msg - send; I have

Re: sending email with perl

2007-05-06 Thread Jeffrey Goldberg
On May 6, 2007, at 10:48 AM, Olivier Regnier wrote: Hello, I written a small script in perl to send email. Here is the code: #!/usr/bin/perl -w use strict; use warnings; use MIME::Lite; my $msg = new MIME::Lite From ='[EMAIL PROTECTED]', To ='[EMAIL PROTECTED]', Subject ='test', Type ='TEXT

Re: sending email with perl

2007-05-06 Thread Garrett Cooper
Jeffrey Goldberg wrote: On May 6, 2007, at 10:48 AM, Olivier Regnier wrote: Hello, I written a small script in perl to send email. Here is the code: #!/usr/bin/perl -w use strict; use warnings; use MIME::Lite; my $msg = new MIME::Lite From ='[EMAIL PROTECTED]', To ='[EMAIL PROTECTED

Perl Script in Apache

2007-05-05 Thread White Hat
I tried to get an answer to this on the Apache forum, but unfortunately, I was not successful. Running Apache on a FreeBSD-6.2 machine, I am attempting to set up a web page that changes a specific image on a daily basis. I found a Perl script that is supposed to do this, but it seems to fail. All

Re: send error with perl and unix domain sockets

2007-05-01 Thread Andy Greenwood
Sent this a while back and never got a response. Any ideas would be very appreciated! Thanks! I'm working on getting a script to work (see below). It is a perl daemon associated with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php

Re: send error with perl and unix domain sockets

2007-05-01 Thread Theorem
Andy Greenwood wrote: Sent this a while back and never got a response. Any ideas would be very appreciated! Because it's too long, I don't know what you're asking and it's also perl/php, not FreeBSD. I'm working on getting a script to work (see below). It is a perl daemon associated

send error with perl and unix domain sockets

2007-04-12 Thread Andy Greenwood
I'm working on getting a script to work (see below). It is a perl daemon associated with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php pages. However, anytime a message is sent via php, the script dies with send: Cannot determine

Re: script perl with sed command

2007-04-08 Thread Giorgos Keramidas
On 2007-04-07 17:31, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: Don't use system(sed ...) in Perl. It's considered poor style, since Perl can do the same without having to fork a shell/sed process

Re: script perl with sed command

2007-04-08 Thread Garrett Cooper
Giorgos Keramidas wrote: On 2007-04-07 17:31, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: Don't use system(sed ...) in Perl. It's considered poor style, since Perl can do the same without having

Re: script perl with sed command

2007-04-08 Thread Josh Carroll
Interesting. Is that old perl syntax (v4, etc)? Just curious because most of the documentation and examples switched to: No, he's using a function prototype. In this particular case, he's saying the supfile_set_default_host function will take two scalars as arguments. For more info: perldoc

Re: script perl with sed command

2007-04-08 Thread Olivier Regnier
Giorgos Keramidas a écrit : On 2007-04-07 17:31, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: Don't use system(sed ...) in Perl. It's considered poor style, since Perl can do the same without

perl/script and retval

2007-04-08 Thread Olivier Regnier
Hello, I written a small script in sh : # Downloading doc files echo === Downloading doc files /usr/bin/csup $doc_supfile RETVAL=$? if [ $RETVAL != 0 ]; then echo abort exit 0 fi I want to rewritte this code in perl script. my $retval=0; my $doc_supfile=/etc/doc-supfile; # Downloading

Re: script perl with sed command

2007-04-08 Thread Garrett Cooper
Olivier Regnier wrote: Giorgos Keramidas a écrit : On 2007-04-07 17:31, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: Don't use system(sed ...) in Perl. It's considered poor style, since

Re: perl/script and retval

2007-04-08 Thread Garrett Cooper
Olivier Regnier wrote: Hello, I written a small script in sh : # Downloading doc files echo === Downloading doc files /usr/bin/csup $doc_supfile RETVAL=$? if [ $RETVAL != 0 ]; then echo abort exit 0 fi I want to rewritte this code in perl script. my $retval=0; my

Re: script perl with sed command

2007-04-08 Thread Giorgos Keramidas
On 2007-04-08 11:40, Olivier Regnier [EMAIL PROTECTED] wrote: Giorgos Keramidas a ?crit : Try using Perl only, instead of forking sed(1), like this: ,--- | | #!/usr/bin/perl -Tw | | use strict

Re: script perl with sed command

2007-04-08 Thread Giorgos Keramidas
On 2007-04-08 09:28, Garrett Cooper [EMAIL PROTECTED] wrote: Olivier Regnier wrote: The file has to exist that you're trying to modify, otherwise it'll give up :). Permissions issue? Better to do that section may be: my $tmpsupfile; my $supfile = /etc/standard-supfile; my

Re: script perl with sed command

2007-04-08 Thread Giorgos Keramidas
On 2007-04-08 00:26, Garrett Cooper [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Try using Perl only, instead of forking sed(1), like this: [...] | sub supfile_set_default_host($$); | sub supfile_set_default_host($$) | { [...] Interesting. Is that old perl syntax (v4, etc)? Just

Re: perl/script and retval

2007-04-08 Thread Giorgos Keramidas
. There is no != test for numeric values in sh(1) scripts. See below for a slightly larger shell script with some reusable parts, which works probably better. I want to rewritte this code in perl script. my $retval=0; my $doc_supfile=/etc/doc-supfile; # Downloading doc files print === Downloading doc

Re: perl/script and retval

2007-04-08 Thread Warren Block
On Sun, 8 Apr 2007, Olivier Regnier wrote: my $retval=0; my $doc_supfile=/etc/doc-supfile; # Downloading doc files print === Downloading doc files\n; system(/usr/bin/csup $doc_supfile if (! $retval) { print abort; exit; } I don't know what happened with retval but that doesn't work correctly.

script perl with sed command

2007-04-07 Thread Olivier Regnier
Hello, I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' $standard_supfile $standard_supfile.copy`); system

Re: script perl with sed command

2007-04-07 Thread Warren Block
On Sat, 7 Apr 2007, Olivier Regnier wrote: I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' $standard_supfile

Re: script perl with sed command

2007-04-07 Thread Olivier Regnier
Warren Block a écrit : On Sat, 7 Apr 2007, Olivier Regnier wrote: I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server

Re: script perl with sed command

2007-04-07 Thread Garrett Cooper
Olivier Regnier wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' $standard_supfile

problems installing perl-5.8.8

2007-04-03 Thread Don Munyak
I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2. After running... web# cd /usr/ports/lang/perl5.8 web# make scripts install perl... web# make test (8) tests fail with the following message ...something about you may need to set dynamic library search path, LD_LIBRARY_PATH

Re: problems installing perl-5.8.8

2007-04-03 Thread Glenn Sieb
Don Munyak wrote: I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2. After running... web# cd /usr/ports/lang/perl5.8 web# make scripts install perl... web# make test (8) tests fail with the following message Hmm.. 'make' by itself only prepares the source to be installed

Re: problems installing perl-5.8.8

2007-04-03 Thread Parv
in message [EMAIL PROTECTED], wrote Glenn Sieb thusly... Don Munyak wrote: I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2. After running... web# cd /usr/ports/lang/perl5.8 web# make scripts install perl... web# make test (8) tests fail with the following

Re: problems installing perl-5.8.8

2007-04-03 Thread Glenn Sieb
Parv wrote: I do not think that test would run on perl install unless things have changes since May 2006 (from build log on May 16 2006) ... Ah.. good catch :) Sorry about that, Don... Best, --G. ___ freebsd-questions@freebsd.org mailing list http

Re: problems installing perl-5.8.8

2007-04-03 Thread Don Munyak
Don Munyak wrote: I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2. After running... web# cd /usr/ports/lang/perl5.8 web# make scripts install perl... web# make test (8) tests fail with the following message I can't explain why, but I was able to get perl

Adding paths to @INC in perl

2007-03-26 Thread Ian A. Tegebo
I've found several methods for adding directories to @INC in perl: www.ncode.ch/papers/Perl-Library-Mechanics.pdf I was hoping to find a KNOB, or something I could put in pkgtools.conf so that my custom library path gets included in perl's @INC. I was hoping -Dusesitecustomize would have

Re: Adding paths to @INC in perl

2007-03-26 Thread Philip M. Gollucci
Ian A. Tegebo wrote: I've found several methods for adding directories to @INC in perl: The general solution to this is that 'admin's put appropriate lines in ~/. startup files for users that need this or in the /etc/ system-wide startup files as needed. That said, I don't see anything wrong

What happened to my Perl installation???

2007-03-25 Thread Peter Matulis
I did an upgrade of my ports and I got some errors regarding Perl modules. The system asked my to remove BSDPAN which I did. Later I discovered I had other problems updating certain ports because of missing Perl parts. This is part of the problem: $ perldoc BSDPAN Can't locate File/Spec.pm

Re: What happened to my Perl installation???

2007-03-25 Thread Garrett Cooper
Peter Matulis wrote: I did an upgrade of my ports and I got some errors regarding Perl modules. The system asked my to remove BSDPAN which I did. Later I discovered I had other problems updating certain ports because of missing Perl parts. This is part of the problem: $ perldoc BSDPAN

Re: What happened to my Perl installation???

2007-03-25 Thread Garrett Cooper
Garrett Cooper wrote: Peter Matulis wrote: I did an upgrade of my ports and I got some errors regarding Perl modules. The system asked my to remove BSDPAN which I did. Later I discovered I had other problems updating certain ports because of missing Perl parts. This is part

Re: What happened to my Perl installation???

2007-03-25 Thread Peter Matulis
From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: What happened to my Perl installation??? Date: Mon, 26 Mar 2007 21:28:28 + Peter Matulis wrote: I did an upgrade of my ports and I got some errors regarding Perl modules. The system asked my

Re: Problems with perl script on 6.1/5.8.8

2007-02-07 Thread Jonathan McKeown
On Tuesday 06 February 2007 22:24, Don O'Neil wrote: 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

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

2007-02-06 Thread Justin Meyer
Hi Gerard! On Mon, 05 Feb 2007, Gerard Seibert wrote: 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

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