I'm on win7, and strawberry, to use perl in win7, let me see the cpan shell, because i have problems with the package, of cpan, and i use the package manager komodo. Thanks Regards Ray
On Fri, May 24, 2013 at 12:16 AM, Brandon McCaig <bamcc...@gmail.com> wrote: > On Thu, May 23, 2013 at 08:45:05PM +0100, Rahim Fakir wrote: > > Iam practicing from start and I have a problem with this code: > > This is the comment of the console, i coulnd't give a round to it, pls > > help... > > > > > > Can't locate Glib.pm in @INC <@INC contains: C:/Dwimperl/perl/site/lib > > C:/Dwimperl/perl/vendor/lib > > C:/Dwimperl/perl/lib .> at janelahello.pl line 3. > > BEGIN failed--compilation aborted at janelahello.pl line 3 > > In addition to what others have said (you need to install > Glib.pm) you are probably going to first have to install the > binary dependencies for Glib.pm if you haven't yet since I > believe that is a Perl module that provides bindings to a C > library related to the cross-platform Gnome desktop environment. > You may have to do some guess work to figure out what those > dependencies are (i.e., Gnome). First check the documentation, > but often you'll just have to infer what's missing from the build > errors and figure out how to install those things. > > Don't be deterred if you have trouble or fail at first. It takes > practice and experience and we all go through it. Since you are > on Windows you should first make sure that Glib.pm is supported > on Windows (I haven't used it before so I couldn't tell you). If > it isn't then you can't expect it to "Just Work(tm)", even if you > do get its usual dependencies installed. If it is supported on > Windows then it should "Just(tm)" be a matter of satisfying its > dependencies, installing the Glib module from CPAN, and finally > running your program with a strong sense of accomplishment. > > My advice would be to set yourself up with a GNU/Linux > distribution installation to experiment with these things. You > will generally have a much easier time installing dependences, > especially if you have to build them from source, and often your > Linux distribution's package manager will have them prebuilt > (popular CPAN modules will also be packaged up for you, which > won't necessarily give you the latest version, but will at least > give you an easy button to jump right in, which is ideal for > beginners). If you're new to Linux then you'll have that hurdle > to climb first, but in the long run I think it'll balance out... > > Good luck. :) > > Regards, > > > -- > Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org> > Castopulence Software <https://www.castopulence.org/> > Blog <http://www.bamccaig.com/> > perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }. > q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.}; > tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say' > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQIcBAEBAgAGBQJRnqNUAAoJEN2n1gIi5ZPyxY4QAMN6WD0HUZmqrbjpmES/La5l > I1EuCPaZjcz7/dF6Sa5qUQMAlEvh/5Jmd5cqAdMHS1s0wL4sGgXRD+7crEgGsxF0 > UlxfP0HEaFeDsFIXT0BI6oQ7mo8evLvTO+dnXVVkixiFSaDnEzl0mmxl047B8lyz > OqaZ4o+DdUjOyIs0O0bOpN05jcK38KVjto72wyOwuOL5pLhB0TB6MbeYhteepeKJ > TJPxw0FyotUC1x7ag/DKtI+VZx2mbMhF20VBVWjnXy/i+l+aORXFAlwr6fAgCNV4 > ZtR4DFRxJafXD4T5S7H8DuO6m65ytyWF81eREemPxsLoG/6ojBJ6R4Ss5IMYeqIT > KMrMfhEJGQ6MDRf3DZPSptMMYv9YZ97MSFh6mI0V750QR+62j+pA0Fx06QpQLFtN > ZiKh/8QaRHFaz02gIawxakX3H46JBAy1dvCEIgm0bhmLhK2/MxxZKYwmyeCVmIh6 > 3Q73vUDtiHNnI6p8NkdkYrcMR2JCy6J3r8eARZ6uK88mpk5YnOD6ucg9vQdcu/Vr > ymduSm++lu65mh9BneKNGpdflw2sUdiPIqsH1lC3MtDEmz2anxTZ3Ckljn2h+GVD > kYlSDRmrXROkQ33CcswPnyb51ZvSv4uttorsDW0jxH+hVlJV8JOs+Ng3FNv8zWA6 > SjesJ/YIiDZTHJ26982r > =RycX > -----END PGP SIGNATURE----- > >