Re: Problem running ubh

"northeastpaguy" <[email protected]> Tue, 15 Apr 2003 18:30:04 -0000
Newsgroups gmane.network.ubh
Message-ID <[email protected]>
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/