Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Installing CPAN module that has no PPM package

Reply
Thread Tools

Installing CPAN module that has no PPM package

 
 
tbone
Guest
Posts: n/a
 
      01-09-2009
I want to install the podcast aggregator modules MP3:odcastFetch

I have ActiveState Perl 5.10, and I would like to use some CPAN
modules that are not (yet) supported via PPM.

I've fiddled with things for a while and have arrived at what seems to
be an impasse. I got a compatible version of nmake from MS, and I have
Visual Studio 6 and 8 installed on this machine. But for some reason,
I can't get the compiles to run properly.


Using vcvars32.at from VS6, I get this compilerok.log file:

Command line warning D4002 : ignoring unknown option '-nodefaultlib'
Command line warning D4002 : ignoring unknown option '-debug'
Command line warning D4002 : ignoring unknown option
'-libpath\:"C\:\\Perl\\lib\\CORE"'
Command line warning D4002 : ignoring unknown option '-machine\86'
compilerok.c
LINK : LNK4073: cannot create map for .ILK file; linking
nonincrementally
LINK : fatal error LNK1104: cannot open file "pt\:ref\,icf.exe"

Using vcvarsall.bat from VS8, I get this compilerok.log file:

cl : Command line warning D9035 : option 'o' has been deprecated and
will be removed in a future release
cl : Command line warning D9002 : ignoring unknown option
'-nodefaultlib'
cl : Command line warning D9002 : ignoring unknown option '-debug'
cl : Command line warning D9002 : ignoring unknown option
'-libpath\:"C\:\\Perl\\lib\\CORE"'
cl : Command line warning D9002 : ignoring unknown option
'-machine\86'
compilerok.c
LINK : cannot create map for .ILK file; linking nonincrementally
LINK : fatal error LNK1104: cannot open file 'pt\:ref\,icf.exe'

Any pointers?

Thx
tbone
 
Reply With Quote
 
 
 
 
George
Guest
Posts: n/a
 
      01-10-2009
On Fri, 09 Jan 2009 10:18:29 -0500, tbone wrote:

> I want to install the podcast aggregator modules MP3:odcastFetch
>
> I have ActiveState Perl 5.10, and I would like to use some CPAN
> modules that are not (yet) supported via PPM.
>
> I've fiddled with things for a while and have arrived at what seems to
> be an impasse. I got a compatible version of nmake from MS, and I have
> Visual Studio 6 and 8 installed on this machine. But for some reason,
> I can't get the compiles to run properly.
>
>
> Using vcvars32.at from VS6, I get this compilerok.log file:
>
> Command line warning D4002 : ignoring unknown option '-nodefaultlib'
> Command line warning D4002 : ignoring unknown option '-debug'
> Command line warning D4002 : ignoring unknown option
> '-libpath\:"C\:\\Perl\\lib\\CORE"'
> Command line warning D4002 : ignoring unknown option '-machine\86'
> compilerok.c
> LINK : LNK4073: cannot create map for .ILK file; linking
> nonincrementally
> LINK : fatal error LNK1104: cannot open file "pt\:ref\,icf.exe"
>
> Using vcvarsall.bat from VS8, I get this compilerok.log file:
>
> cl : Command line warning D9035 : option 'o' has been deprecated and
> will be removed in a future release
> cl : Command line warning D9002 : ignoring unknown option
> '-nodefaultlib'
> cl : Command line warning D9002 : ignoring unknown option '-debug'
> cl : Command line warning D9002 : ignoring unknown option
> '-libpath\:"C\:\\Perl\\lib\\CORE"'
> cl : Command line warning D9002 : ignoring unknown option
> '-machine\86'
> compilerok.c
> LINK : cannot create map for .ILK file; linking nonincrementally
> LINK : fatal error LNK1104: cannot open file 'pt\:ref\,icf.exe'
>
> Any pointers?
>
> Thx
> tbone


Are you on windows?
--
George

Any government that supports, protects or harbours terrorists is complicit
in the murder of the innocent and equally guilty of terrorist crimes.
George W. Bush

Picture of the Day http://apod.nasa.gov/apod/
 
Reply With Quote
 
 
 
 
Tim Greer
Guest
Posts: n/a
 
      01-10-2009
George wrote:

> On Fri, 09 Jan 2009 10:18:29 -0500, tbone wrote:
>
>> I want to install the podcast aggregator modules MP3:odcastFetch
>>
>> I have ActiveState Perl 5.10, and I would like to use some CPAN
>> modules that are not (yet) supported via PPM.
>>
>> I've fiddled with things for a while and have arrived at what seems
>> to be an impasse. I got a compatible version of nmake from MS, and I
>> have Visual Studio 6 and 8 installed on this machine. But for some
>> reason, I can't get the compiles to run properly.
>>
>>
>> Using vcvars32.at from VS6, I get this compilerok.log file:
>>
>> Command line warning D4002 : ignoring unknown option '-nodefaultlib'
>> Command line warning D4002 : ignoring unknown option '-debug'
>> Command line warning D4002 : ignoring unknown option
>> '-libpath\:"C\:\\Perl\\lib\\CORE"'
>> Command line warning D4002 : ignoring unknown option '-machine\86'
>> compilerok.c
>> LINK : LNK4073: cannot create map for .ILK file; linking
>> nonincrementally
>> LINK : fatal error LNK1104: cannot open file "pt\:ref\,icf.exe"
>>
>> Using vcvarsall.bat from VS8, I get this compilerok.log file:
>>
>> cl : Command line warning D9035 : option 'o' has been deprecated and
>> will be removed in a future release
>> cl : Command line warning D9002 : ignoring unknown option
>> '-nodefaultlib'
>> cl : Command line warning D9002 : ignoring unknown option '-debug'
>> cl : Command line warning D9002 : ignoring unknown option
>> '-libpath\:"C\:\\Perl\\lib\\CORE"'
>> cl : Command line warning D9002 : ignoring unknown option
>> '-machine\86'
>> compilerok.c
>> LINK : cannot create map for .ILK file; linking nonincrementally
>> LINK : fatal error LNK1104: cannot open file 'pt\:ref\,icf.exe'
>>
>> Any pointers?
>>
>> Thx
>> tbone

>
> Are you on windows?


The OP said:

"I have ActiveState Perl 5.10"

"I got a compatible version of nmake from MS"

"I have Visual Studio 6 and 8 installed on this machine"

"Using vcvars32.at from VS6"

"-libpath\:"C\:\\Perl\\lib\\CORE""

"Using vcvarsall.bat from VS8"

So, these very likely are an answer that they are on a Windows system,
for future reference.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
 
Reply With Quote
 
Tim Greer
Guest
Posts: n/a
 
      01-10-2009
tbone wrote:

> I want to install the podcast aggregator modules MP3:odcastFetch
>
> I have ActiveState Perl 5.10, and I would like to use some CPAN
> modules that are not (yet) supported via PPM.
>
> I've fiddled with things for a while and have arrived at what seems to
> be an impasse. I got a compatible version of nmake from MS, and I have
> Visual Studio 6 and 8 installed on this machine. But for some reason,
> I can't get the compiles to run properly.
>
>
> Using vcvars32.at from VS6, I get this compilerok.log file:
>
> Command line warning D4002 : ignoring unknown option '-nodefaultlib'
> Command line warning D4002 : ignoring unknown option '-debug'
> Command line warning D4002 : ignoring unknown option
> '-libpath\:"C\:\\Perl\\lib\\CORE"'
> Command line warning D4002 : ignoring unknown option '-machine\86'
> compilerok.c
> LINK : LNK4073: cannot create map for .ILK file; linking
> nonincrementally
> LINK : fatal error LNK1104: cannot open file "pt\:ref\,icf.exe"
>
> Using vcvarsall.bat from VS8, I get this compilerok.log file:
>
> cl : Command line warning D9035 : option 'o' has been deprecated and
> will be removed in a future release
> cl : Command line warning D9002 : ignoring unknown option
> '-nodefaultlib'
> cl : Command line warning D9002 : ignoring unknown option '-debug'
> cl : Command line warning D9002 : ignoring unknown option
> '-libpath\:"C\:\\Perl\\lib\\CORE"'
> cl : Command line warning D9002 : ignoring unknown option
> '-machine\86'
> compilerok.c
> LINK : cannot create map for .ILK file; linking nonincrementally
> LINK : fatal error LNK1104: cannot open file 'pt\:ref\,icf.exe'
>
> Any pointers?
>
> Thx
> tbone


Are you able to compile/build other modules okay? It is interesting to
note that it's showing it can't open 'pt\:ref\,icf.exe'. That should
be '\opt\:ref\,icf.exe' (opt, rather than pt). Can you remove those
switches from the CL (CL.EXE) command line, maybe to LINK(.EXE)?
Sorry, I've not used Windows for over a decade now, so my suggestion
might not help.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
 
Reply With Quote
 
George
Guest
Posts: n/a
 
      01-11-2009
On Fri, 09 Jan 2009 19:17:15 -0800, Tim Greer wrote:

> George wrote:


>> Are you on windows?

>
> The OP said:
>
> "I have ActiveState Perl 5.10"
>
> "I got a compatible version of nmake from MS"
>
> "I have Visual Studio 6 and 8 installed on this machine"
>
> "Using vcvars32.at from VS6"
>
> "-libpath\:"C\:\\Perl\\lib\\CORE""
>
> "Using vcvarsall.bat from VS8"
>
> So, these very likely are an answer that they are on a Windows system,
> for future reference.


It certainly would seem so. Rightly or not, I associate perl folks more
with the linux crowd.

When I started in with activestate, figuring out the modules was a huge
part of it. One difficulty is that the names aren't specified uniquely and
unambigously. Many times, you have to use cpan to figure out exactly which
module you are looking for.

When you find the right one, it has to go in a certain folder in your
activestate install, the name of which corresponds somewhat to the module
name. I think it's in the lib subfolder of the site folder.

I'm obviously rusty with this information, but I hope my recollections
help.

Cheers,
--
George

I believe in the transformational power of liberty. I believe that the free
Iraq is in this nation's interests. I believe a free Afghanistan is in this
nation's interest.
George W. Bush

Picture of the Day http://apod.nasa.gov/apod/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
PPM vs CPAN cartercc Perl Misc 0 02-10-2009 02:19 AM
ppm and cpan a Perl Misc 1 08-01-2008 06:52 AM
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails carl d. Perl Misc 1 05-10-2005 09:35 PM
ppm: ppm install Spreadsheet::ParseExcel Marko Faldix Perl Misc 3 01-27-2004 05:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57