Dnia czwartek 21 czerwiec 2007, Dave Howorth napisaĆ:
> Patrick Shanahan wrote:
> > * Dave Howorth <[EMAIL PROTECTED]> [06-20-07 17:11]:
> >> I would install any Perl modules from CPAN.
> >
> > ....
> >
> >> This link already tells you to use CPAN and gives direct links! But I'd
> >> use the cpan shell (man cpan for info) rather than install them manually
> >> or individually from the command line (follow 3.1.1.1.2 if you insist)
> >
> > the *usual* warnings should be applied here.
> >
> > openSUSE *is* and rpm-based system. Installation via cpan will
> > *not* be recognized by the rpm system and may cause conflicts and
> > breakage of installed items. Updates via yast, smart or ??? will
> > not recognize the cpan installed items and may cause conflicts and
> > breakage of installed items.
Ok but I have a problem
++++++++++++++++/GPRS_Easy_Connect_301 # perl -MCPAN -e 'install Gtk2-1.081'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 23 Jun 2007 04:08:51 GMT
Warning: Cannot install -1.081, don't know what it is.
Try the command
i /-1.081/
to find objects with matching identifiers.
and:
++++++++++++++++/GPRS_Easy_Connect_301 #perl -MCPAN -e 'install Gtk2'
*
*
*
CPAN.pm: Going to build T/TS/TSCH/Gtk2-1.144.tar.gz
*** can not find package gtk+-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
at Makefile.PL line 67
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
but i have gtk2
++++++++++++++++/GPRS_Easy_Connect_301 #rpm -q gtk2
gtk2-2.10.6-13
> >
> > YOU have been WARNED!
>
> Have you ever encountered such a problem? This is another urban myth.
>
> I use Perl extensively, install all my modules from CPAN and have never
> seen this problem. The actual problems I do hear of mainly come from
> broken Perl packages shipped by some other distributions (not Suse :)
>
> Sure, on a production server, it's good practice to be very sure of
> versions, but in that environment the installation mechanism will follow
> whatever house policy is used for configuration management.
>
> Perl has an installation layout, which Suse and other distros follow,
> that is designed to prevent conflicts between modules installed from
> CPAN and modules installed via the distros' own mechanisms. YaST updates
> do not affect modules installed from CPAN and vice versa.
>
> Applications installed via YaST that use Perl modules can and should be
> configured in their packages such that they will not see Perl modules
> installed from CPAN if that would cause them a problem.
>
> Also, Perl programs run a large fraction of the web's infrastructure.
> The maintainers of important Perl modules take great care not to break
> backwards compatibility in the same way as for the C libraries etc.
>
> Cheers, Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]