[yaala] starting yaala

Florian Forster yaala@verplant.org
Mon, 9 Feb 2004 18:40:49 +0100

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 09, 2004 at 02:55:57PM -0300, Ceva wrote:
> Hi everybody,
> I downloaded Yaala, change the conf file but when I want to start I
> receive the follow message:
> Can't locate warnings.pm in @INC (@INC contains: lib
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503) at ./yaala line 32.
> BEGIN failed--compilation aborted at ./yaala line 32.

Oh, that's not good.. The warnings-pragma apparently was introduced with
perl 5.6 which I didn't expect.. I though the warnings-pragma has been
around forever.. Your version of perl (5.005 that is) misses this pragma
and therefore doesn't feel like running yaala.

> What can I do?

Actually fixing this problem is easy (but it isn't fun to do). The
warnings pragma is thought to catch programming-errors early. Since I
guess you're more interested in using yaala than do development on it it
doesn't hurt to simply remove it. However, that means to delete the line
reading ``use warnings;'' in every *.pm-File as well as the ``yaala''
file itself.

The other solution would be to upgrade to perl 5.6 which is available
for FreeBSD AFAIK..

Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (GNU/Linux)