Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
How to install a module in local linux machine

Posted by Pawan_Sangal (Pawan_Sangal), 13 April 2007
Iam new to Perl....

I've the "Win32-GUI-1.05.tar" file & extracted "Win32-GUI-1.05" folder in my home dir.

~/mime/Win32-GUI-1.05.tar
~/mime/Win32-GUI-1.05

When Iam trying to use this module, Iam getting below error message. Iam using Win32 module in msgbox.pl ( like, use Win32;)

[pawan@localgfmd pawan]$ perl msgbox.pl
Can't locate Win32.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)  at msgbox.pl line 1.
BEGIN failed--compilation aborted at msgbox.pl line 1.


kindly tell me the steps to install the module, as other modules already installed in the above mentioned dir. path, what @INC is carrying.

I looked into /usr/lib/perl5/5.8.0 , There are several other .pm files.

Whether I've to (copy/move) that module to /usr/lib/perl5/5.8.0 , or create a directory like this /usr/lib/perl5/Win32-GUI-1.05
Or have to do something else....so that @INC should contain the Path of this module with it...

Is there any compulsion.....to always store a module in a specified directory...so that all the modules are placed and accessed from one place.

If this happens.....I'll try to use msgbox utility in perl program...to check the output value of any variable or something.....It's just a try....

Kindly advise....should I go for this or not....

Thanks & Regards,
Pawan Sangal

Posted by admin (Graham Ellis), 13 April 2007
I may be out of date on this one / it may be something I have not come across, but I've only every used the "Win32" modules on Windows 32 (i.e NT, Xp, etc) systems.   The main reason for them, after all, is to talk to the Microsoft operating system, and in places that use the built in .dll files supplied with that OS.  Perhaps you could desrcibe a little bit more about what you're trying to do?



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho