At 08:02 25/01/2001 -0500, you wrote:
Tom Peck wrote:
>
> Chris (et All)
Moi? Hey, I'm just a SysAdmin type of guy ... however, so far, all
these problems tend to fall under that category ... =]
Well your definitely teaching me a thing or twelve...
> [root@localhost Obs]# /usr/local/obs/tools/AddFiles.pl -t
> Can't locate Obs/ID3v1.pm in @INC (@INC contains:
>
> I've done a locate - and the file : ID3v1.pm doesn't exist on my
> machine. What am I missing?
This could be very bad or very simple. First, as root, type
'updatedb'. This should run nightly from cron, though, so try 'locate
ID3v1' again first as it'll take some time to run. This is like the
'fastfind.exe' process that's always running under Windows (which method
is more intelligent I'll leave as an exercise for the reader, but
realize that when updatedb is run from cron, not all distributions
renice it...)
The next error is a perl error. It shows you where it's looking for
this file. You have two options, again: one is to add the correct path
to perl's include path via some config file I know nothing about, and
which you can man 'perl' until your fingers bleed and give up in
desperation until your ltrace the $#@! thing to see wtf it's doing; or,
you can pick any one of the paths and start symlinking. Personally, I'm
not a big fan of symlinks (to files) all over the place, but sometimes
it's worth it (like, when it's someone else's system <g>).
Now, the other problem may be that it still does not show up. This
shouldn't happen. So let's assume that updatedb has the file's location
saved in it's exclude list - 'find / -name "ID3*.pm"'. This will also
take a while, but will find it if it's there.
Did you do a 'make install'?
If it's still broken, I'm not sure. Is this a module that obs depends
on or one that it provides? I guess I should ask that first. You may
have to do some CPAN stuff to get the module if obs doesn't come with
it. There are instructions at CPAN.org (if not,
http://www.google.com/search?q=cpan) as well as http://obs.freeamp.org/
installation documentation. If you're running Debian, just 'apt-get
install perl-module-???' (capt [apt-find] for it).
OK, this is what I had to do..
The Only ID3v1.pm file existing on my system is in the extracted obs-0.3.0.tar file. This is the Obs version which wouldn't configure (at the beginning). So - the CVS version which I downloaded via cvs didn't include the ID3v1 stuff.. just empty dirs.. Ok - In the perl directory of the untared obs-0.3.0 file, there was an install.pl file - so I ran that :-) That did some stuff, and installed the ID3v1 file into the correct place!! NOW the AddFiles.pl did this:
SO did an internet search for Tag.pm - and discovered that it was part of the Tag::MP3 package.. so, I proceded to install this - which required a few other packages to be downloaded...
Anyway, that fixed up my tag problems - and added my 4000 mp3s to the database :-)
Now - to get it streaming to IceCast is my next project, but it should be straight forward from here.
Thanks to all for the help especially to Chris for his patience and knowledge in this area...
Off to listen to music now.
Tom
Chris_______________________________________________ Obs-dev mailing list [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/obs-dev
_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev
