Problems while installing win32::api
Problems while installing win32::api
am 15.05.2007 22:34:34 von jis
Eventhough I have installed win32::api.when i say
use Win32::API in my code.i l always get an error
"Can't locate Win32/API.pm in @INC (@INC contains: C:/Perl/site/lib C:/
Perl/lib .)"
I did ccehck the perl folders.The API.pm sits at the right place.
Any idea why this happens.
Re: Problems while installing win32::api
am 16.05.2007 05:55:48 von Sisyphus
"jis" wrote in message
news:1179261274.362280.264340@u30g2000hsc.googlegroups.com.. .
> Eventhough I have installed win32::api.when i say
> use Win32::API in my code.i l always get an error
>
> "Can't locate Win32/API.pm in @INC (@INC contains: C:/Perl/site/lib C:/
> Perl/lib .)"
> I did ccehck the perl folders.The API.pm sits at the right place.
>
> Any idea why this happens.
How did you install Win32::API ? (Running 'ppm install Win32-API' while
connected to the internet usually does the job fine.)
If API.pm "sits at the right place" (namely C:/Perl/site/lib/Win32/API.pm)
there is no way that you will get that error message unless perl itself is
severely broken in some weird, unimaginable way.
When I see that error message I immediately think that Win32::API has simply
not been installed properly (if at all).
Cheers,
Rob
Re: Problems while installing win32::api
am 16.05.2007 15:37:40 von jis
On May 15, 10:55 pm, "Sisyphus" wrote:
> "jis" wrote in message
>
> news:1179261274.362280.264340@u30g2000hsc.googlegroups.com.. .
>
> > Eventhough I have installed win32::api.when i say
> > use Win32::API in my code.i l always get an error
>
> > "Can't locate Win32/API.pm in @INC (@INC contains: C:/Perl/site/lib C:/
> > Perl/lib .)"
> > I did ccehck the perl folders.The API.pm sits at the right place.
>
> > Any idea why this happens.
>
> How did you install Win32::API ? (Running 'ppm install Win32-API' while
> connected to the internet usually does the job fine.)
>
> If API.pm "sits at the right place" (namely C:/Perl/site/lib/Win32/API.pm)
> there is no way that you will get that error message unless perl itself is
> severely broken in some weird, unimaginable way.
>
> When I see that error message I immediately think that Win32::API has simply
> not been installed properly (if at all).
>
> Cheers,
> Rob
For some unknown reason I could not install win32::api by using the
command ppm install in my desktop system as it comes up with an error
"could not connect" .I could go to the internet address through
Internet explorer. Therefore, I put API.pm manually to the folder
WIn32. For some reason this never works.
regards,
jis
Re: Problems while installing win32::api
am 16.05.2007 16:17:36 von Sisyphus
"jis" wrote in message
news:1179322660.007356.149680@u30g2000hsc.googlegroups.com.. .
..
..
>
> For some unknown reason I could not install win32::api by using the
> command ppm install in my desktop system as it comes up with an error
> "could not connect" .I could go to the internet address through
> Internet explorer. Therefore, I put API.pm manually to the folder
> WIn32. For some reason this never works.
>
There's much more to Win32::API than just API.pm. Best if you can sort out
the problem you've got with ppm and get it working properly.
See your perl\html\faq\ActivePerl-faq2.html for some help wrt that. (Perhaps
the section that deals with proxy servers is pertinent ?) Also ActiveState
host a ppm mailing list for additional help if you need it:
http://listserv.ActiveState.com/mailman/mysubs .
As a quick(?) fix, download
http://ppm.activestate.com/PPMPackages/5.8-windows/MSWin32-x 86-multi-thread-5.8/Win32-API-0.46.tar.gz
to some (any) folder - preferably a folder that doesn't contain any
significant files - ie don't put it in a system folder or somewhere within
your perl installation. Maybe create a separate folder "C:\my_ppms" and put
it in there. In the same folder, create a file called Win32-API.ppd that
contains the following:
Perl Win32 API Import Facility
Cosimo Streppone (cosimo@cpan.org)
Win32-API
Then cd to that folder and run:
ppm install Win32-API.ppd
If I've got it right (and I *think* I have) that will properly install
Win32-API-0.46 for you.
If it fails to install, or still won't function properly, then let us know.
Cheers,
Rob
Re: Problems while installing win32::api
am 16.05.2007 18:12:29 von jis
On May 16, 9:17 am, "Sisyphus" wrote:
> "jis" wrote in message
>
> news:1179322660.007356.149680@u30g2000hsc.googlegroups.com.. .
> .
> .
>
>
>
> > For some unknown reason I could not install win32::api by using the
> > command ppm install in my desktop system as it comes up with an error
> > "could not connect" .I could go to the internet address through
> > Internet explorer. Therefore, I put API.pm manually to the folder
> > WIn32. For some reason this never works.
>
> There's much more to Win32::API than just API.pm. Best if you can sort out
> the problem you've got with ppm and get it working properly.
> See your perl\html\faq\ActivePerl-faq2.html for some help wrt that. (Perhaps
> the section that deals with proxy servers is pertinent ?) Also ActiveState
> host a ppm mailing list for additional help if you need it:http://listserv.ActiveState.com/mailman/mysubs.
>
> As a quick(?) fix, downloadhttp://ppm.activestate.com/PPMPackages/5.8-windows/M SWin32-x86-multi-...
> to some (any) folder - preferably a folder that doesn't contain any
> significant files - ie don't put it in a system folder or somewhere within
> your perl installation. Maybe create a separate folder "C:\my_ppms" and put
> it in there. In the same folder, create a file called Win32-API.ppd that
> contains the following:
>
>
>
> Perl Win32 API Import Facility
> Cosimo Streppone (cos...@cpan.org)
>
>
>
>
>
>
>
>
>
>
>
> Win32-API
>
>
> Then cd to that folder and run:
>
> ppm install Win32-API.ppd
>
> If I've got it right (and I *think* I have) that will properly install
> Win32-API-0.46 for you.
> If it fails to install, or still won't function properly, then let us know.
>
> Cheers,
> Rob
Thats so nice of you.It worked perfect.Thanks a lot.
Why dont you reply for the question I posted for win32::ctrlgui
issue.
regards,
jis
Re: Problems while installing win32::api
am 17.05.2007 01:46:36 von rvtol+news
jis schreef:
> Eventhough I have installed win32::api.
I guess you mean Win32::API. Casing matters.
--
Affijn, Ruud
"Gewoon is een tijger."
Re: Problems while installing win32::api
am 17.05.2007 02:09:31 von Sisyphus
"jis" wrote in message
news:1179331949.080603.45940@w5g2000hsg.googlegroups.com...
..
..
> Thats so nice of you.It worked perfect.Thanks a lot.
You're welcome.
> Why dont you reply for the question I posted for win32::ctrlgui
> issue.
I don't use either Win32::OLE or Win32::ctrlGUI - and that question sounds
difficult.
However, it may fall within the domain of general Win32 GUI issues - for
which there is a mailing list.
From the Win32::GUI source distro's Readme:
"For further support join the users mailing
list("perl-win32-gui-users@lists.sourceforge.net") from the website at
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-u sers .
There is a searchable list archive at
http://sourceforge.net/mail/?group_id=16572 ."
Cheers,
Rob