perennial beacon problem
I have just been trying (again) to install Beacon 1.3 and (again) I
been having trouble with the Beacon.pm file. I don't understand why this
package cannot be made part of the total installation; I have to fight this
literally every time I try and install this on Fedora Core.
The web site says (note that the INSTALL file is slightly different)
------
If the make install doesn't put Beacon.pm into your Perl path, you'll need to add a "use lib"
instruction to ../src/beacon.in, immediately after the line:
use lib ("@prefix@/lib/perl5"); If you're running RedHat, you can do a -locate Beacon.pm- to find
out where your copy of Beacon.pm is. In my case, it was:
/usr/local/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Net/Multicast/Beacon.pm
The "use lib" command you want is everything *except* the /Net/Multicast/Beacon.pm part, so it
looked like this for me:
use lib ("/usr/local/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi");
----
OK, I can find the file - in fact I can find 2
[root@tippytoe src]# find ../ | grep Beacon.pm
../Net-Multicast-Beacon/Beacon.pm
../Net-Multicast-Beacon/blib/lib/Net/Multicast/Beacon.pm
../Net-Multicast-Beacon/pm_to_blib
but they are the same, so presumably it's OK
[root@tippytoe src]# diff ../Net-Multicast-Beacon/Beacon.pm
../Net-Multicast-Beacon/blib/lib/Net/Multicast/Beacon.pm
[root@tippytoe src]#
OK, so I can change beacon.in
use lib "/usr/lib/perl5/5.8.1/i386-linux-thread-multi";
use lib "/usr/local/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi";
use lib "/usr/local/beacon-1.3/Net-Multicast-Beacon/blib/lib";
Can't locate loadable object for module Net::Multicast::Beacon in @INC (@INC contains:
/usr/local/beacon-1.3/Net-Multicast-Beacon/blib/lib /usr/lib/perl5/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at /usr/local/beacon-1.3/Net-Multicast-Beacon/blib/lib/Net/Multicast/Beacon.pm
line 7
Compilation failed in require at ./beacon line 35.
BEGIN failed--compilation aborted at ./beacon line 35.
I can remove the middle line above
use lib "/usr/lib/perl5/5.8.1/i386-linux-thread-multi";
use lib "/usr/local/beacon-1.3//Net-Multicast-Beacon/blib/lib";
but I get a different line number for the same error. (This is after a re-make and make install.)
So, I am stuck. How can I add this to my perl ? Or, how can I change beacon.in to make
this work ?
And, doesn't anyone else run this in Linux / Fedora ? Am I the only one with this troubles ?
Regards
Marshall Eubanks