in reply to Event::Lib fails install test (cpan -t)

This is just a follow-up to explain how I got the Event::Lib module installed for Ray Smith (who is a coworker of mine).

I noticed on his machine that he had installed libevent-1.3d into /usr/local/lib instead of /usr/lib, so I looked at the README file in /root/.cpan/build/Event-Lib-1.03, and found what looked to be a way to point to the /usr/local/lib directory instead:

In case you have several libevents installed and you'd like to use the one in /usr/local/(lib|include): + perl Makefile.PL INC=-I/usr/local/include LIBS="-L/usr/local/lib -l +event" make make test make install

Unfortunately, using the extra switches to Perl didn't seem to have any effect, the errors were the same as before.

So I simply remade libevent, forcing the installation into /usr/lib, and that solved the problem -- his machine now successfully has Event::Lib installed.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Replies are listed 'Best First'.
Re^2: Event::Lib fails install test (cpan -t)
by Ray Smith (Beadle) on Aug 31, 2007 at 00:01 UTC
    Thanks for the help. Anybody know this manual change was necessary?