in reply to Event::Lib fails install test (cpan -t)
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.
|
|---|
| 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 |