Re: Problem running ubh

"northeastpaguy" <[email protected]> Tue, 15 Apr 2003 22:27:58 -0000
Newsgroups gmane.network.ubh
Message-ID <[email protected]>
Ok.. one more problem.  I successfully got UBH working on my RedHat 
7.2 test machine by installing 
ftp://rpmfind.net/linux/ASPLinux/i386/RPMS.7.3/perl-String-CRC32-1.2-
15.i386.rpm  

However, I'm now attempting to install UBH on my production RedHat 
8.0 machine, and I've encountered the same problem.  Except that 
this time, the RPM file isn't doing the trick since I believe it's 
for Perl 5.6.x

I have all the perl modules installed as mentioned in previous posts 
and according to the docs, but here's what I'm getting when I 
attempt to run ubh:

==========================================
v-string in use/require non-portable 
at /usr/lib/perl5/site_perl/5.8.0/News/Newsrc.pm line 1.
Can't locate String/CRC32.pm in @INC (@INC 
contains: /usr/lib/perl5/5.8.0/i386-linux-thread-
multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-
thread-
multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /
usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-
thread-
multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) 
at ./ubh line 1429.
BEGIN failed--compilation aborted at ./ubh line 1429.
==========================================

This is basically the same error I got the first time around until I 
installed the perl-String-CRC32-1.2-15.i386.rpm --- except that I 
can't seem to locate this same RPM for RedHat 8.0/Perl 5.8.0

Is there a perl module that I can install to get the needed files?

Thanks very much once again,

Kevin G.



--- In [email protected], "northeastpaguy" <northeastpaguy@y...> 
wrote:
> Hello Doug,
> 
> Thanks for the quick response.  Here's what I've found so far:
> 
> 1. There's no such perl module as "String::CRC32".  There IS 
> a "String::CRC", which I installed -- but still getting the same 
> errors.
> 
> 2. And yes, I am a little "chmod 777 happy" as you say, only 
because 
> nowhere in the docs does it tell you which file permissions are 
> supposed to be set.  Of course the script needs at least 755, and 
> I'm guessing the data directory does need 777 since files will be 
> written there.
> 
> 3. According to the docs, the only perl modules needed are as 
> follows:
> 
> Net::NNTP  
> News::Newsrc
> Set::IntSpan 
> MIME::Parser
> MIME::Base64
> IO::Stringy
> The MailTools distribution
> 
> I have each and every one of the top modules, along with 
MIME:Tools 
> installed -- and was still getting the same error.
> 
> So I located the perl-string-CRC32 RPM at 
> ftp://rpmfind.net/linux/ASPLinux/i386/RPMS.7.3/perl-String-CRC32-
1.2-
> 15.i386.rpm  Once I installed it, the program does seem to run now.
> 
> However, I'm getting some weird output - telling me it couldn't 
> open /root/.ubhrc   I'm guessing that it's looking in /root for 
the 
> two config files for some reason, so I copied them over to /root 
and 
> sure enough the program is working now.  And luckily, it's 
> downloading binaries to the /data subdirectory of my ubh 
directory.  
> I was afraid it might download a whole bunch of stray stuff 
to /root 
> since that's where it's looking for the configs.
> 
> So now that the program IS working, is there some configuration I 
> need to do in order for it NOT to look at /root for the two config 
> files?  And also, what are the proper file permissions so I'm not 
> so "chmod 777 happy"  ;-)
> 
> Many thanks again,
> 
> Kevin G.
> 
> 
> --- In [email protected], Doug McLaren <dougmc+egroups@a...> 
wrote:
> > On Tue, Apr 15, 2003 at 05:25:33PM -0000, northeastpaguy wrote:
> > 
> > | - Made sure ALL perl modules were installed - which they are.
> > 
> > Apparantly not :)
> > 
> > | - Created a directory for ubh (chmod'd to 777), and within the 
> ubh 
> > 
> > You seem `chmod 777' happy.  It's not going to hurt this, but 
it'll
> > cause you problems later.  Explaining how is outside the scope 
of 
> this
> > email, however.
> > 
> > | Can't locate String/CRC32.pm in @INC (@INC 
> > | contains: /usr/lib/perl5/5.6.1/i386-
> > | linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-
> > | 
> 
linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i
> > | 386-
> linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) 
> > | at ubh line 1429.
> > | BEGIN failed--compilation aborted at ubh line 1429.
> > 
> > You don't have the String::CRC32 perl module installed.
> > (`Can't locate X/Y' == `you're missing X::Y', if it wasn't 
> obvious.)
> > 
> > You can install it with CPAN by running this command as root --
> > 
> >    perl -MCPAN -e 'install String::CRC32'
> > 
> > Once you resolve that, you'll probably find some other missing
> > packages, which you'll install in the same way.
> > 
> > String::CRC32 is probably part of some package (perhaps the Mime-
> Tools
> > package?) and you could install it that way, but you don't need 
to
> > know what package it's part of to just keep installing things 
like
> > this.
> > 
> > -- 
> > Doug McLaren, dougmc@f...         Where do you think you're 
going 
> today?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/W7NydA/hdqFAA/VygGAA/IHFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/