ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> visualperl-discuss
visualperl-discuss
[Visualperl-discuss] newbie problem with Visual Perl Tutorial
by Chris Newman other posts by this author
Jul 28 2005 9:20AM messages near this date
view in the new Beta List Site
Re: [Visualperl-discuss] devenv and .perlproj | [Visualperl-discuss] Unable to start debugging: The project contains no runnable Perl files.
Hi,

I ran into a couple of problems when trying to work through the Visual Perl
Tutorial: http://aspn.activestate.com/ASPN/docs/VisualPerl/demo.html
<http://aspn.activestate.com/ASPN/docs/VisualPerl/demo.html>  
The problems may be related.

The first problem was that Visual Studio failed to compile the sample code
because it couldn't find C:\Perl\bin\pcl.exe. I poked around and found all
of the Visual Perl stuff under...
C:\Program Files\ActiveState Perl Dev Kit 6.0\. So, I copied the pcl.exe
file to C:\Perl\bin. I also had to copy the contents of the C:\Program
Files\ActiveState Perl Dev Kit 6.0\lib dir to C:\Perl\bin\lib. After that,
the code started compiling.

Now, I'm getting a runtime error when trying to run the "Associate Perl DLL"
demo. It says it "Can't locate perl5db.pl in @INC (@INC contains: .)."

I'm confused. When I do a perl -V from a cmd prompt, it says...

@INC:
   C:\Program Files\ActiveState Perl Dev Kit 6.0\lib   C:/Perl/lib
   C:/Perl/site/lib
   .

Why is @INC empty (except for current working dir, i.e. "." ) when my
compiled app runs? Is my ActiveState install broken? Why didn't the
installer put the new ActiveState stuff under C:\Perl?

FYI - 
I purchased the ActivePerl Pro Studio and installed it after already having
the free version of ActiveState Perl installed in C:\Perl. And Microsoft
Visual Studio.NET was also already installed.

Thanks in advance,

cn
Attachments:
unknown1
unknown2
unknown3
unknown4


Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved