[29227] in Perl-Users-Digest
Perl-Users Digest, Issue: 471 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu May 31 03:10:08 2007
Date: Thu, 31 May 2007 00:09:18 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 31 May 2007 Volume: 11 Number: 471
Today's topics:
Re: A simple way to make a code folder available as a m <ilias@lazaridis.com>
Re: A simple way to make a code folder available as a m <ilias@lazaridis.com>
Re: Beyond Inside-Out anno4000@radom.zrz.tu-berlin.de
Can't locate object method "host" via package "URI::_fo vkinger@hotmail.com
Email::Folder->messages returns only one element <Michael.Yxf@gmail.com>
Re: Email::Folder->messages returns only one element <noreply@gunnar.cc>
Re: Email::Folder->messages returns only one element <Michael.Yxf@gmail.com>
Re: Email::Folder->messages returns only one element <paduille.4061.mumia.w+nospam@earthlink.net>
Re: I need a subdomain service like kickme.to krakle@visto.com
Re: most active perl discussion forum <BLOCKSPAMfishfry@your-mailbox.com>
Multiple Line Pattern Match problem <samuelzhng@gmail.com>
new CPAN modules on Thu May 31 2007 (Randal Schwartz)
Re: Problem when using NMAKE to build Perl on Windows <eishbut@googlemail.com>
Re: Problem when using NMAKE to build Perl on Windows <eishbut@googlemail.com>
Re: Problem when using NMAKE to build Perl on Windows <sisyphus1@nomail.afraid.org>
Using CPAN to install Mail::Box module <Michael.Yxf@gmail.com>
Re: Using CPAN to install Mail::Box module <sisyphus1@nomail.afraid.org>
Re: WWW::Search produces no output krakle@visto.com
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 30 May 2007 19:03:43 -0700
From: Ilias Lazaridis <ilias@lazaridis.com>
Subject: Re: A simple way to make a code folder available as a module
Message-Id: <1180577022.960126.289580@w5g2000hsg.googlegroups.com>
On May 24, 6:29 pm, xhos...@gmail.com wrote:
> Ilias Lazaridis <i...@lazaridis.com> wrote:
> > I have a folder with several perl code modules, organized in several
> > sub-folders.
>
> > I've checked out the code via svn on several machines and things run
> > fine.
>
> > Now I have to make the code (under development) available system-wide.
>
> What does "system" mean in this context? You said you have already done it
> on several machines, so the "system" you are talking about seems be larger
> than a single machine. This sound less like a Perl question and more
> like a question for your system administrator. How do they roll out
> new/upgraded tools to all the machines under their control? Do they have
> one shared NSF drive or something?
(this is basicly my 2nd reply, google groups has 'eaten' my 1st one)
you are right in asking me.
with "system" I meant "machine".
Thus, your suggestions below seems to do the work.
> > My questions are basicly:
>
> > a) How can I make a=CE=BD svn checked out folder available as a
> > system-wide importable module (e.g. a command which adds the folder to
> > the "perl module search path").
>
> run:
> perl -le 'print "@INC"'
>
> And see if any of those directories look like good places to install it.
ok, but theres is a tiny problem.
if I place my folder "mycode" into
C:/Perl/site/lib
C:/Perl/site/lib/mycode
the "use" statements have to be corrected to start with "mycode::"
How can I avoid this?
(this is basicly my 2nd reply, google groups has 'eaten' my 1st one)
.
--
http://dev.lazaridis.com/lang/wiki/Perl
------------------------------
Date: 30 May 2007 19:29:02 -0700
From: Ilias Lazaridis <ilias@lazaridis.com>
Subject: Re: A simple way to make a code folder available as a module
Message-Id: <1180578542.522008.224930@q75g2000hsh.googlegroups.com>
testing reply, google
------------------------------
Date: 31 May 2007 06:33:41 GMT
From: anno4000@radom.zrz.tu-berlin.de
Subject: Re: Beyond Inside-Out
Message-Id: <5c78i5F3052ihU1@mid.dfncis.de>
Abigail <abigail@abigail.be> wrote in comp.lang.perl.misc:
> anno4000@radom.zrz.tu-berlin.de (anno4000@radom.zrz.tu-berlin.de) wrote
> on M September MCMXCIII in <URL:news:5c5sc7F2vb6ucU1@mid.dfncis.de>:
> `' Abigail <abigail@abigail.be> wrote in comp.lang.perl.misc:
> `' > anno4000@radom.zrz.tu-berlin.de (anno4000@radom.zrz.tu-berlin.de) wrote
> `'
>
> `' > `' Essentially, a general-purpose dumper needs to look
> `' > `' at an object (that's all it has) and know about all data that is
> `' > `' associated with the object. That is still hard to achieve with
> `' > `' inside-out objects.
> `' >
> `' >
> `' > That is hard to archieve. Period. A general purpose dumper method cannot
> `' > make any assumptions on how a class is implemented - or it wouldn't be
> `' > a general purpose dumper.
> `'
> `' True, an entirely general-purpose dumper would be impossible. Make
> `' that a dumper general enough to dump/restore any object that uses the
> `' Alter technique (plus, of course, the object body proper). That is
> `' possible, while I don't see a dumper general enough to dump all
> `' inside-out objects, not without some additional registry.
>
>
> An object using the Alter technique (or any other technique) could have
> as one of its attributes another object, which could be an inside-out
> object (or something else that uses strong encapsulation, like an object
> based on closures). At that point the dumper would break down.
Yes. It shows again that a truly universal dumper is impossible.
However, the type of dumper I have in mind would at least know about
the attribute and have a chance to complain when it can't deal with
it. Relying on the inheritance tree may bypass attributes altogether.
Anno
------------------------------
Date: 30 May 2007 21:08:48 -0700
From: vkinger@hotmail.com
Subject: Can't locate object method "host" via package "URI::_foreign"
Message-Id: <1180584528.262181.149090@u30g2000hsc.googlegroups.com>
Hi,
Here is the complete error message:
Can't locate object method "host" via package "URI::_foreign" at
PERL2EXE_STORAG
E/Net/SDEE/Session.pm line 108.
I get this error when I run ssss.exe file. My ssss.pl file works fine,
this error pops up after I convert ssss.pl file to ssss.exe file using
perl2exe utility. I am not sure what is wrong here. Any help will be
greatly appreciated.
Thanks.
------------------------------
Date: 30 May 2007 21:11:19 -0700
From: Michael Yang <Michael.Yxf@gmail.com>
Subject: Email::Folder->messages returns only one element
Message-Id: <1180584679.749411.325690@a26g2000pre.googlegroups.com>
I'm working on parsing multiple messages out of one msf file(mbox
folder type).
I took the module of Email::Folder to construct with msf file, and
then get the list of all messages contained in the msf file.
But, the msf file is considered as a wholly one message, not multiple
messages (actually I have multiple messages within the msf file)
Here is my code snippet:
my $folder = Email::Folder->new($file); //$file is a valid mbox
folder type
foreach ($folder->messages){
print $_->header("Subject"), "\n";
print $_->as_string(), "\n";
//$imapserver->append($box, $_->as_string()); // i want to import
this message to my $imapserver, you can comment this one.
}
The result is:
The first print prints only the first message's subject.
The second print prints all the messages(all of the other messages) in
the msf file as a whole one.
The Email::Folder parses this file as one mail message.
Doesn't $folder->messages return a list of messages?
Is there any where I missed to set the preference of parsing rule?
Thanks.
------------------------------
Date: Thu, 31 May 2007 07:44:05 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Email::Folder->messages returns only one element
Message-Id: <5c75q4F2u0hqkU1@mid.individual.net>
Michael Yang wrote:
> I'm working on parsing multiple messages out of one msf file(mbox
> folder type).
> I took the module of Email::Folder to construct with msf file, and
> then get the list of all messages contained in the msf file.
> But, the msf file is considered as a wholly one message, not multiple
> messages (actually I have multiple messages within the msf file)
Does the file have proper message separators?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: 30 May 2007 22:56:38 -0700
From: Michael Yang <Michael.Yxf@gmail.com>
Subject: Re: Email::Folder->messages returns only one element
Message-Id: <1180590998.510483.297530@i13g2000prf.googlegroups.com>
On May 31, 1:44 pm, Gunnar Hjalmarsson <nore...@gunnar.cc> wrote:
> Michael Yang wrote:
> > I'm working on parsing multiple messages out of one msf file(mbox
> > folder type).
> > I took the module of Email::Folder to construct with msf file, and
> > then get the list of all messages contained in the msf file.
> > But, the msf file is considered as a wholly one message, not multiple
> > messages (actually I have multiple messages within the msf file)
>
> Does the file have proper message separators?
Actually I am not sure about what is the message separators the parser
uses. The msf file and its mail content is generated by Thunderbird
mail client locally.
Where can I get the rules on valid format of MBox file, so that I can
check if the file generated by Thunderbird is a valid one for
Email::Folder to parse.
Thanks.
>
> --
> Gunnar Hjalmarsson
> Email:http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Thu, 31 May 2007 06:33:08 GMT
From: "Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net>
Subject: Re: Email::Folder->messages returns only one element
Message-Id: <E_t7i.16699$j63.4130@newsread2.news.pas.earthlink.net>
On 05/30/2007 11:11 PM, Michael Yang wrote:
> I'm working on parsing multiple messages out of one msf file(mbox
> folder type).
> I took the module of Email::Folder to construct with msf file, and
> then get the list of all messages contained in the msf file.
> But, the msf file is considered as a wholly one message, not multiple
> messages (actually I have multiple messages within the msf file)
>
> Here is my code snippet:
> my $folder = Email::Folder->new($file); //$file is a valid mbox
> folder type
> foreach ($folder->messages){
> print $_->header("Subject"), "\n";
> print $_->as_string(), "\n";
> //$imapserver->append($box, $_->as_string()); // i want to import
> this message to my $imapserver, you can comment this one.
> }
> The result is:
> The first print prints only the first message's subject.
> The second print prints all the messages(all of the other messages) in
> the msf file as a whole one.
> The Email::Folder parses this file as one mail message.
>
> Doesn't $folder->messages return a list of messages?
> Is there any where I missed to set the preference of parsing rule?
>
> Thanks.
>
Your code, with minor modifications, works for me. Hint: C++ comments
are not Perl comments ;-)
This is obviously not your real code, and you typed it in by hand
without using cut-and-paste.
http://www.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
When I read the POD for Email::Folder, I see this helpful message:
> messages
>
> Returns a list containing all of the messages in the folder. Can only
> be called once as it drains the iterator.
Maybe in your real code, you're doing a while or something rather than a
foreach.
Anyway, a code snippet is inadequate. You should create the smallest
program that demonstrates your problem and ask for help with that.
------------------------------
Date: 31 May 2007 00:07:14 -0700
From: krakle@visto.com
Subject: Re: I need a subdomain service like kickme.to
Message-Id: <1180595234.418840.159930@w5g2000hsg.googlegroups.com>
On May 30, 2:19 am, stiv <post....@gmail.com> wrote:
> I want to give users of my site the option to register for a subdomain
> redirection service. I scanned the Internet for some script, but
> didn't really find anything that works. Tried the PHP script fromhttp://opendomains.vnn.bz/and many others. So now I want to ask you
> if you know of any script in PHP, Perl, Phyton that can accomplish
> this task?
It's actually very easy to write.
I use Apache mod_rewrite to 'rewrite' all URLs "subliminally" from (.*)
\.Domain\.Etc to /path/to/some/mod_perl.pl?subdomain=$1 then in side
of that mod_perl.pl script use the subdomain name as a KEY to look up
the forwarding URL in a mySQL database then with CGI.pm or even a
Location header forward the user to the new URL. It's simple.
Just write a script that allows your users to choose a subdomain and
forwarding URL. Throw up some .htaccess config, mySQL database and the
above mod_perl script and wahlah you're in business.
------------------------------
Date: Wed, 30 May 2007 21:35:06 -0700
From: fishfry <BLOCKSPAMfishfry@your-mailbox.com>
Subject: Re: most active perl discussion forum
Message-Id: <BLOCKSPAMfishfry-9D2667.21345630052007@news.giganews.com>
In article <glvn53589oe3fog9v7405pr7mer7jl7ivt@4ax.com>,
Michele Dondi <bik.mido@tiscalinet.it> wrote:
> On Tue, 29 May 2007 01:49:16 GMT, "Greg Benjamin"
> <gregben_drop@yahoo.com> wrote:
>
> >This newsgroup only has a few posts per day.
> >where is the liveliest perl talk these days?
> >I'm a long-time (since about '92) perl user
> >and need some help here and there...
>
> I don't thing that traffic activity is the most relevant parameter you
> should take into account. It's more a matter of the "philosophy" of
> the media. For example, this is *not* a forum at all, it's a
> newsgroup. Now, ng's *are* a kind of forum in the widest sense of the
> word, but with the latter term people generally mean web-based fora.
> By contrast USENET even predates the web itself. So, even if thing
> change over time, the respective cultures tend to differ. For example
> the typical mentality here is one that occasionally hits on n00bz
> nerves, since they perceive it to be overly "elitist" and aimed at
> bashing people or boasting rather than actually helping.
The generally snotty tone of this forum is not because it's a newsgroup.
It's because people on this forum like to feel superior to others and
just don't like to be helpful to people asking innocent but somewhat
off-topic questions.
It's a real turnoff. That's why the message volume is plummeting here,
and to some extent, it's why Perl is dying as a viable commercial
language.
I've been coding in Perl since 1992 and reading these newsgroups since
1995; so flame away if it makes you feel better.
------------------------------
Date: 30 May 2007 23:27:06 -0700
From: samuel <samuelzhng@gmail.com>
Subject: Multiple Line Pattern Match problem
Message-Id: <1180592826.484926.220440@d30g2000prg.googlegroups.com>
Hi All,
Now I need to analyze a file which is composed of several blocks ,
which is defined as below :
Start
<content>
<content>
......
<content>
End
And I need to capture all the blocks which contains several
specific keywords "dma" in the content part.
The perl script used as below :
undef $/; # each read is whole file
while (<>) {
# $mycmd ='^START(.*?)dma(.*?)^End/sgm){
print $&;
}
}
However, for below blocks :
Start
cpu
End
Start
dma
End
The RegExp of perl will take these two blocks as one match and print
out. This is not what I want.
I just need the second block print out and don't the first one not.
Does anyone know how to handle this in perl script ?
Many thanks in advance .
Samuel
------------------------------
Date: Thu, 31 May 2007 04:42:10 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Thu May 31 2007
Message-Id: <JIw2EB.1vL9@zorch.sf-bay.org>
The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN). You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.
Acme-Note-0.3
http://search.cpan.org/~ferreira/Acme-Note-0.3/
Make a mental note for programming style
----
Apache2-ASP-0.09
http://search.cpan.org/~johnd/Apache2-ASP-0.09/
ASP for a mod_perl2 environment.
----
Apache2-ASP-0.1
http://search.cpan.org/~johnd/Apache2-ASP-0.1/
ASP for a mod_perl2 environment.
----
Apache2-ASP-0.11
http://search.cpan.org/~johnd/Apache2-ASP-0.11/
ASP for a mod_perl2 environment.
----
AppConfig-1.65
http://search.cpan.org/~abw/AppConfig-1.65/
Perl5 module for reading configuration files and parsing command line arguments.
----
Audio-MPD-0.18.0
http://search.cpan.org/~jquelin/Audio-MPD-0.18.0/
class to talk to MPD (Music Player Daemon) servers
----
Biblio-Thesaurus-0.28
http://search.cpan.org/~ambs/Biblio-Thesaurus-0.28/
Perl extension for managing ISO thesaurus
----
Business-OnlinePayment-TransactionCentral-0.04
http://search.cpan.org/~ivan/Business-OnlinePayment-TransactionCentral-0.04/
Transaction Central backend module for Business::OnlinePayment
----
CGI-Application-Plugin-Authentication-Driver-DBIC-0.02
http://search.cpan.org/~jaldhar/CGI-Application-Plugin-Authentication-Driver-DBIC-0.02/
DBIx::Class Authentication Driver
----
Catalyst-Log-Log4perl-1.00
http://search.cpan.org/~holoway/Catalyst-Log-Log4perl-1.00/
Log::Log4perl logging for Catalyst
----
DBIx-DataModel-0.31
http://search.cpan.org/~dami/DBIx-DataModel-0.31/
Classes and UML-style Associations on top of DBI
----
DBIx-TextIndex-0.27
http://search.cpan.org/~dkoch/DBIx-TextIndex-0.27/
Perl extension for full-text searching in SQL databases
----
Data-LazyACL-0.05
http://search.cpan.org/~tomyhero/Data-LazyACL-0.05/
Simple and Easy Access Control List
----
Devel-Hide-0.0005
http://search.cpan.org/~ferreira/Devel-Hide-0.0005/
Forces the unavailability of specified Perl modules (for testing)
----
HTML-SearchPage-0.01
http://search.cpan.org/~pcanaran/HTML-SearchPage-0.01/
Generic framework for web-based search pages
----
HTML-Simple-v0.1
http://search.cpan.org/~andya/HTML-Simple-v0.1/
Simple HTML generation utilities
----
HTML-Simple-v0.2
http://search.cpan.org/~andya/HTML-Simple-v0.2/
Simple HTML generation utilities
----
HTML-WebDAO-0.77
http://search.cpan.org/~zag/HTML-WebDAO-0.77/
Perl extension for create complex web application
----
Integer-Partition-0.01
http://search.cpan.org/~dland/Integer-Partition-0.01/
Generate all integer partitions of an integer
----
Lemonldap-Federation-1.0.0
http://search.cpan.org/~egerman/Lemonldap-Federation-1.0.0/
----
Mail-SPF-Test-v1.001
http://search.cpan.org/~jmehnle/Mail-SPF-Test-v1.001/
SPF test-suite class
----
Mail-SPF-v2.005
http://search.cpan.org/~jmehnle/Mail-SPF-v2.005/
An object-oriented implementation of Sender Policy Framework
----
Mango-0.01000_05
http://search.cpan.org/~claco/Mango-0.01000_05/
An ecommerce solution using Catalyst, Handel and DBIx::Class
----
Math-Vec-1.01
http://search.cpan.org/~ewilhelm/Math-Vec-1.01/
Object-Oriented Vector Math Methods in Perl
----
Net-DNS-Resolver-Programmable-v0.003
http://search.cpan.org/~jmehnle/Net-DNS-Resolver-Programmable-v0.003/
programmable DNS resolver class for offline emulation of DNS
----
Net-eBay-0.42
http://search.cpan.org/~ichudov/Net-eBay-0.42/
Perl Interface to XML based eBay API.
----
Objects-Collection-0.33
http://search.cpan.org/~zag/Objects-Collection-0.33/
Collections of data or objects.
----
Oxford-Calendar-1.8
http://search.cpan.org/~dom/Oxford-Calendar-1.8/
Oxford calendar conversion routines
----
PDF-API2-Simple-1.1.2
http://search.cpan.org/~redtree/PDF-API2-Simple-1.1.2/
Simplistic wrapper for the excellent PDF::API2 modules
----
Personality-Type-MBTI-0.01
http://search.cpan.org/~nferraz/Personality-Type-MBTI-0.01/
Myers-Briggs Type Indicator (MBTI)
----
Personality-Type-MBTI-0.02
http://search.cpan.org/~nferraz/Personality-Type-MBTI-0.02/
Myers-Briggs Type Indicator (MBTI)
----
Personality-Type-MBTI-0.03
http://search.cpan.org/~nferraz/Personality-Type-MBTI-0.03/
Myers-Briggs Type Indicator (MBTI)
----
Pod-POM-Web-1.06
http://search.cpan.org/~dami/Pod-POM-Web-1.06/
HTML Perldoc server
----
RRDTool-Creator-0.4
http://search.cpan.org/~jacquelin/RRDTool-Creator-0.4/
Creators for round robin databases (RRD)
----
Rose-DBx-Object-InternalPager-0.01
http://search.cpan.org/~mschilli/Rose-DBx-Object-InternalPager-0.01/
Throttle Rose DB Iterator Fetching
----
SOAP-WSDL-1.22
http://search.cpan.org/~mkutter/SOAP-WSDL-1.22/
----
Time-Interval-1.22
http://search.cpan.org/~ahicox/Time-Interval-1.22/
Converts time intervals of days, hours, minutes, and seconds
----
WWW-Facebook-API-v0.1.4
http://search.cpan.org/~unobe/WWW-Facebook-API-v0.1.4/
Facebook API implementation
----
Win32-GUIRobot-0.01
http://search.cpan.org/~karasik/Win32-GUIRobot-0.01/
send keyboard and mouse input to win32, analyze graphical output
----
YAML-LibYAML-0.12
http://search.cpan.org/~ingy/YAML-LibYAML-0.12/
LibYAML bindings for Perl
----
YAML-LibYAML-0.14
http://search.cpan.org/~ingy/YAML-LibYAML-0.14/
LibYAML bindings for Perl
----
YAML-Tests-0.05
http://search.cpan.org/~ingy/YAML-Tests-0.05/
Common Test Suite for Perl YAML Implementations
If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.
This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
http://www.stonehenge.com/merlyn/LinuxMag/col82.html
print "Just another Perl hacker," # the original
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: 30 May 2007 20:32:46 -0700
From: "eishbut@googlemail.com" <eishbut@googlemail.com>
Subject: Re: Problem when using NMAKE to build Perl on Windows
Message-Id: <1180582366.107772.74590@u30g2000hsc.googlegroups.com>
On May 30, 10:36 pm, treble54 <trebl...@gmail.com> wrote:
> I am trying to run Perl in a Windows environment.
>
> Here is my setup:
> I have installed Visual Studio C++ Express 2005 as well as the latest
> SDK (non 64-bit version). I am currently running Windows XP SP2. I
> first had problems with the some environment variables but I resolved
> that by adding the correct paths in the LIB and INCLUDE environment
> variables.
>
> Here is the issue I am trying to resolve:
> I load up the Visual Studio 2005 Command prompt and direct my way to
> the correct ..\perl-5.8.8\win32\ directory. From that, I type nmake to
> start the make process. When the build process of nmake gets outputs
> the line:
>
> "Runing Makefile.PL in B
> C:\..\perl-5.8.8\win32\..\miniperl.exe -IC:\..\perl5.8.8\win32\..\lib
> Makefile.PL INSTALLDIRS=perl PERL_CORE=1"
>
> a window outside the command prompt pops up, stating:
> "miniperl.exe has encountered a problem and needs to close. We are
> sorry for the inconvenience." with the only optional button being one
> that says "Close." When I hit the "Close" button, the same window pops
> up again, stating the same information about "miniperl.exe"
> encountering a problem. I press the "Close" button again and the
> resulting output is as follows:
>
> "Making B
> nmake -nologo
> NMAKE : fatal error U1064: MAKEFILE not found and no target specified
> Stop.
> Unsuccessful make(B): code=512 at buildext.pl line 142.
> NMAKE : fatal error U1077: '..\miniperl.exe' : return code '0x2'
> Stop."
>
> After that, I gain control of the prompt again. I am hoping someone on
> here will be able to help me resolve this error. If anyone here has
> some help or suggestions that they can contribute, I would very much
> appreciate it. Thanks for taking your time to look over this.
>
> -- treble54
Try a google search for install perl on windows. If im not mistaken
there is a an issue with using nmake that disappears if you use make.
But to be sure do the search.
Dean
------------------------------
Date: 30 May 2007 20:39:42 -0700
From: "eishbut@googlemail.com" <eishbut@googlemail.com>
Subject: Re: Problem when using NMAKE to build Perl on Windows
Message-Id: <1180582782.228750.119660@h2g2000hsg.googlegroups.com>
On May 31, 4:32 am, "eish...@googlemail.com" <eish...@googlemail.com>
wrote:
> On May 30, 10:36 pm, treble54 <trebl...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I am trying to run Perl in a Windows environment.
>
> > Here is my setup:
> > I have installed Visual Studio C++ Express 2005 as well as the latest
> > SDK (non 64-bit version). I am currently running Windows XP SP2. I
> > first had problems with the some environment variables but I resolved
> > that by adding the correct paths in the LIB and INCLUDE environment
> > variables.
>
> > Here is the issue I am trying to resolve:
> > I load up the Visual Studio 2005 Command prompt and direct my way to
> > the correct ..\perl-5.8.8\win32\ directory. From that, I type nmake to
> > start the make process. When the build process of nmake gets outputs
> > the line:
>
> > "Runing Makefile.PL in B
> > C:\..\perl-5.8.8\win32\..\miniperl.exe -IC:\..\perl5.8.8\win32\..\lib
> > Makefile.PL INSTALLDIRS=perl PERL_CORE=1"
>
> > a window outside the command prompt pops up, stating:
> > "miniperl.exe has encountered a problem and needs to close. We are
> > sorry for the inconvenience." with the only optional button being one
> > that says "Close." When I hit the "Close" button, the same window pops
> > up again, stating the same information about "miniperl.exe"
> > encountering a problem. I press the "Close" button again and the
> > resulting output is as follows:
>
> > "Making B
> > nmake -nologo
> > NMAKE : fatal error U1064: MAKEFILE not found and no target specified
> > Stop.
> > Unsuccessful make(B): code=512 at buildext.pl line 142.
> > NMAKE : fatal error U1077: '..\miniperl.exe' : return code '0x2'
> > Stop."
>
> > After that, I gain control of the prompt again. I am hoping someone on
> > here will be able to help me resolve this error. If anyone here has
> > some help or suggestions that they can contribute, I would very much
> > appreciate it. Thanks for taking your time to look over this.
>
> > -- treble54
>
> Try a google search for install perl on windows. If im not mistaken
> there is a an issue with using nmake that disappears if you use make.
> But to be sure do the search.
>
> Dean
If you're interested you can install the ActivePerl distro
(www.activestate.com).
------------------------------
Date: Thu, 31 May 2007 15:53:52 +1000
From: "Sisyphus" <sisyphus1@nomail.afraid.org>
Subject: Re: Problem when using NMAKE to build Perl on Windows
Message-Id: <465e62f3$0$17388$afc38c87@news.optusnet.com.au>
"treble54" <treble54@gmail.com> wrote in message
news:1180560992.248641.213220@h2g2000hsg.googlegroups.com...
>I am trying to run Perl in a Windows environment.
>
> Here is my setup:
> I have installed Visual Studio C++ Express 2005 as well as the latest
> SDK (non 64-bit version). I am currently running Windows XP SP2.
Others have reported problems with miniperl when attempting to use that
compiler to build perl. I don't think anyone has managed to build perl using
that compiler - I haven't checked for a while, so please let me know if you
discover that's not so.
Building perl is a fairly straightforward procedure using Visual Studio 6.0,
7.0, or 7.1. (Do you have either of them ?)
It's also fairly straightforward using the (freely available) MinGW port of
the gcc compiler and dmake.
For MinGW and dmake:
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721&release_id=158801
and
http://search.cpan.org/dist/dmake/
I know activestate uses the freely available Windows Server 2003 R2 Platform
SDK compiler for their 64-bit build of ActivePerl (as Visual Studio 6.0
won't work in a 64-bit environment). I think there's a good chance that the
32-bit version of Windows Server 2003 R2 Platform SDK compiler would also
build perl on a 32-bit platform (but I don't really know). You can get it
from:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
if you want to give it a try.
One other option worth investigating is Strawberry Perl:
http://vanillaperl.com/ .
It's a precompiled perl but it comes packaged with it's own compiler
(MinGW's gcc) and make (dmake) - so there's nothing else that needs to be
installed if you want to build perl extensions. (For that matter, you could
use the MinGW and dmake that comes with Strawberry perl to build your own
perl if you wanted.)
Then, of course, there's ActivePerl (as Dean mentioned). It doesn't give you
a compiler, but there's a good PPM utility for installing pre-built modules.
And I think you might even have a fair degree of success using Visual Studio
C++ Express 2005 to build perl extensions - though I'm loathe to recommend
using that compiler with ActivePerl.
Cheers,
Rob
------------------------------
Date: 30 May 2007 20:30:47 -0700
From: Michael Yang <Michael.Yxf@gmail.com>
Subject: Using CPAN to install Mail::Box module
Message-Id: <1180582247.735060.325790@d30g2000prg.googlegroups.com>
I am using CPAN to install Mail::Box module. It can be installed on
FC5, but always return errors on RHEL AS4.
Here is the error log info. I only attached the tail part, because
it's very long.
/usr/bin/make -- OK
Running make test
Prepending /root/.cpan/build/TimeDate-1.16/blib/arch /root/.cpan/build/
TimeDate- 1.16/blib/lib /root/.cpan/build/MailTools-1.77/blib/arch /
root/.cpan/build/MailT ools-1.77/blib/lib /root/.cpan/build/Font-
AFM-1.19/blib/arch /root/.cpan/build/F ont-AFM-1.19/blib/lib /
root/.cpan/build/User-Identity-0.91/blib/arch /root/.cpan /build/User-
Identity-0.91/blib/lib /root/.cpan/build/HTML-Format-2.04/blib/arch /
root/.cpan/build/HTML-Format-2.04/blib/lib /root/.cpan/build/HTML-
Tree-3.23/bli b/arch /root/.cpan/build/HTML-Tree-3.23/blib/lib /
root/.cpan/build/Digest-SHA1-2 .11/blib/arch /root/.cpan/build/Digest-
SHA1-2.11/blib/lib /root/.cpan/build/Mail -Box-Parser-C-3.006/blib/
arch /root/.cpan/build/Mail-Box-Parser-C-3.006/blib/lib /root/.cpan/
build/MIME-Types-1.19/blib/arch /root/.cpan/build/MIME-Types-1.19/b
lib/lib /root/.cpan/build/Digest-HMAC-1.01/blib/arch /root/.cpan/build/
Digest-HM AC-1.01/blib/lib /root/.cpan/build/IO-stringy-2.110/blib/
arch /root/.cpan/build/ IO-stringy-2.110/blib/lib /root/.cpan/build/
Object-Realize-Later-0.16/blib/arch /root/.cpan/build/Object-Realize-
Later-0.16/blib/lib /root/.cpan/build/HTML-Pars er-3.56/blib/arch /
root/.cpan/build/HTML-Parser-3.56/blib/lib /root/.cpan/build/ File-
Remove-0.34/blib/arch /root/.cpan/build/File-Remove-0.34/blib/lib /
root/.cp an/build/Mail-Transport-Dbx-0.07/blib/arch /root/.cpan/build/
Mail-Transport-Dbx- 0.07/blib/lib /root/.cpan/build/Time-HiRes-1.9707/
blib/arch /root/.cpan/build/Ti me-HiRes-1.9707/blib/lib to PERL5LIB.
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
"execute_tests" is not exported by the Test::Harness module
Can't continue after import errors at test.pl line 16
BEGIN failed--compilation aborted at test.pl line 16.
# Looks like your test died before it could output anything.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
I checked the Test::Harness module, but didn't find the
"execute_tests" sub.
Also I tried downloading the source code and the same errors as above
are returned during "make" execution.
I don't know where the problem is. There are tons of dependencies to
have this module installed.
Thanks.
------------------------------
Date: Thu, 31 May 2007 16:14:19 +1000
From: "Sisyphus" <sisyphus1@nomail.afraid.org>
Subject: Re: Using CPAN to install Mail::Box module
Message-Id: <465e67bd$0$13763$afc38c87@news.optusnet.com.au>
"Michael Yang" <Michael.Yxf@gmail.com> wrote in message
news:1180582247.735060.325790@d30g2000prg.googlegroups.com...
.
.
> "execute_tests" is not exported by the Test::Harness module
Looking at %prereq in the Mail::Box Makefile.PL you'll see that version 2.62
(or later) of Test::Harness is required.
I suspect you have an earlier version of Test::Harness that doesn't export
"execute_tests" - as is the case with the version (2.56) of Test::Harness
that I have.
Updating Test::Harness should fix the problem.
I would have thought that CPAN.pm would have detected this and first
installed the latest version of Test::Harness before proceeding with
building Mail::Box - but I don't use CPAN, so I don't really know what has
happened there.
Perhaps the latest version of Test::Harness *did* get installed, but into a
different location than the old version, and the old version is still being
found first ? (Dunno ... just speculating.)
Cheers,
Rob
------------------------------
Date: 30 May 2007 22:50:03 -0700
From: krakle@visto.com
Subject: Re: WWW::Search produces no output
Message-Id: <1180590602.944360.3570@u30g2000hsc.googlegroups.com>
On May 28, 7:30 am, MoshiachNow <lev.weiss...@creo.com> wrote:
> > It works for me--both that code and a slightly modified version that
> > goes through my caching proxy. Perhaps you should enable debugging output.
>
> > (And mine *shouldn't* work properly because I have older versions of
> > some modules than what WWW::Search requires, and I had to force CPAN.pm
> > to install.)
>
> Thanks
>
> Still does not worlk for me.Debug did not show anything.
> Possibly anything to do with our firewall settings ?
I can't help you but all I can say is it does NOT work for me. BUT if
I install WWW-Search-MSN and swap the "AltaVista" with "MSN" in your
code it DOES work. Mumia must not of tried it.
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 471
**************************************