LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-03-2013, 03:30 PM   #16
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,231

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573

cpan2tgz makes things even easier (and provides added accountability).
 
Old 03-03-2013, 04:45 PM   #17
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,853

Original Poster
Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
My experience with Perl is limited to installing things like Bugzilla, well, only Bugzilla truth be known. It's inevitable that something will fail tests, not install and just be a big PITA to deal with. I don't use it for anything, I prefer going in other directions whenever possible -- I started learning it about, oh, 20 years ago (or something like that) and didn't get too far; that was on Solaris boxes, it kinda worked but didn't work more than it did and that experience has repeated itself over and over again just frustrating the heck out me every time I have to do something with Perl to get some application going. Even the automagic "install all the modules" thing that comes with Bugzilla falls down. I suppose that if I'd spend a few days and really dig in that some of that frustration might be alleviated but, well, just haven't gotten to where I really want to do that.

It might be something to do with Slackware (which I kind of doubt) but the sum total of my experience has left a pretty sour taste.

And, yeah, I do know about the autoconfigure and how to use it (well, sorta) to get modules installed (thanks for the little tutorial, by the way), no need for apologies, I'm always grateful for any information -- been at this stuff for a long, long time but every day is an opportunity to learn something new and different and I'm grateful for that.

For example, one of the modules needed is Business::ISBN. It fails:
Code:
<lots and lots of these above here>
DEL(516/519): /root/.cpan/build/Locale-Currency-Format-1.30-ijdep9.yml 
DEL(517/519): /root/.cpan/build/Locale-Currency-Format-1.30-ijdep9 
DEL(518/519): /root/.cpan/build/Locale-PO-0.23-uz72Ku 
DEL(519/519): /root/.cpan/build/Locale-PO-0.23-uz72Ku.yml 

  CPAN.pm: Building B/BD/BDFOY/Business-ISBN-2.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Business::ISBN
Writing MYMETA.yml and MYMETA.json
cp lib/ISBN10.pm blib/lib/Business/ISBN10.pm
cp lib/ISBN13.pm blib/lib/Business/ISBN13.pm
cp lib/ISBN.pm blib/lib/Business/ISBN.pm
Manifying blib/man3/ISBN10.3
Manifying blib/man3/ISBN13.3
Manifying blib/man3/ISBN.3
  BDFOY/Business-ISBN-2.05.tar.gz
  /usr/bin/make -- OK
Running make test
/usr/bin/perl5.16.1 "-MTest::Manifest" "-e" "run_t_manifest(0, 'blib/lib', 'blib/arch',  )"
t/load.t ................. ok   
t/pod.t .................. ok   
t/pod_coverage.t ......... ok   
t/constants.t ............ defined(%hash) is deprecated at t/constants.t line 9.
	(Maybe you should just omit the defined()?)
t/constants.t ............ ok    
t/interface.t ............ ok   
t/albania.t .............. ok     
t/isbn10.t ............... 1/? 
#   Failed test 'Bad group code [9997022576] is invalid'
#   at t/isbn10.t line 101.
#          got: '-1'
#     expected: '-2'
# 
# Checking ISBNs... (this may take a bit)
t/isbn10.t ............... 38/? # 
# Checking bad ISBNs... (this should be fast)
# Looks like you failed 1 test of 39.
t/isbn10.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/39 subtests 
t/isbn13.t ............... 1/? 
#   Failed test 'Bad group code [978-9997022576] is invalid'
#   at t/isbn13.t line 130.
#          got: '-1'
#     expected: '-2'
# 
# Checking ISBN13s... (this may take a bit)
# 
# Checking bad ISBN13s... (this should be fast)
# Looks like you failed 1 test of 41.
t/isbn13.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/41 subtests 
t/valid_isbn_checksum.t .. ok   
t/xisbn10.t .............. ok     
t/png_barcode.t .......... skipped: GD is missing GD::Font->Small. Can't continue.
t/rt/27107.t ............. ok   
t/rt/28843.t ............. ok   
t/rt/29089.t ............. # 
# Checking ISBN13s... (this may take a bit)
t/rt/29089.t ............. ok   
t/rt/29292.t ............. ok   

Test Summary Report
-------------------
t/isbn10.t             (Wstat: 256 Tests: 39 Failed: 1)
  Failed test:  33
  Non-zero exit status: 1
t/isbn13.t             (Wstat: 256 Tests: 41 Failed: 1)
  Failed test:  35
  Non-zero exit status: 1
Files=15, Tests=149, 12 wallclock secs ( 0.05 usr  0.02 sys +  6.84 cusr  0.10 csys =  7.01 CPU)
Result: FAIL
Failed 2/15 test programs. 2/149 subtests failed.
make: *** [test_dynamic] Error 255
  BDFOY/Business-ISBN-2.05.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports BDFOY/Business-ISBN-2.05.tar.gz
Running make install
  make test had returned bad status, won't install without force
This is all to typical, and I don't a clue what to do about it.

Oh, yeah, that missing GD? Like hell it's not there!

That's why I'm so enthusiastic about Perl.

Thanks you for your help and advice (I did learn something!).

Last edited by tronayne; 03-04-2013 at 05:44 AM.
 
Old 03-04-2013, 12:58 AM   #18
lstamm
Member
 
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53

Rep: Reputation: 17
Quote:
An example: the first book I evaluated was from George Washington's personal library at Mount Vernon. There had been a fire there, the book was scorched, and our collector had a slipcase made for it to keep it in as good a condition as possible (it was kinda stinky). The book was a Portuguese to New French dictionary published about 1780-something (he had many slipcases made for delicate volumes, serious guy this fellow). So, where do you look? Dictionary? Nope. Portuguese? Nope. French? Nope. New French? Nope. Editor? Nope. Finally found it in the W's: Washington, George. And they're all pretty much the same, some under author, quite a few under Cruikshank (Edgar Cruikshank, English illustrator, did the illustrations for Charles Dickens and a bunch of other folks) -- quite a few volumes are found under Cruikshank rather than the author.
I think if you don't know how to properly catalogue this sort of item into standard Marc tags, then you need to find some library cataloguing help. Or give up the idea of using either Koha or Evergreen. They are pretty strict in their cataloguing requirements. Searches won't work in either system if the items aren't properly catalogued.

You seem to have two separate problems here: One is how to organize the collection in a coherent manner, and the other is to set up a software system that will allow searches of that organized collection. I'm not a cataloguer, but believe me it is more complicated than it appears on the surface. And most systems set up for libraries expect the data to be entered according to pretty ridgid cataloguing systems, usually some form of MARC or Dublin Core.

It might actually be easier for you to roll your own database backed web application for the amount of items you have, than to install Evergreen and learn all the nuances about library cataloguing.
 
Old 03-04-2013, 03:16 AM   #19
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,314

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Originally Posted by lstamm View Post
I think if you don't know how to properly catalogue this sort of item into standard Marc tags, then you need to find some library cataloguing help.
I think the OP is talking about how the original owner cataloged his library, not how he and his group intends to do it.
 
Old 03-04-2013, 06:09 AM   #20
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,853

Original Poster
Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
I am talking about the owner's, um, system -- it's a 3x5 card, hand written, with what he cared about (title, author(s), illustrator, publisher, printer, binder, subject, seller, price, acquired date, comments, some other stuff). I've thought about using Tellico (a collection manager) for porting what's already recorded plus all the rest of the collection. Tellico does internet search which, in many cases, returns "standard" information about given volumes (at least a LOC number in many cases). Tellico comes in handy for "update from all sources" and I think that will take us a long way down the road to getting these items cataloged in a standard way making them available to researchers and others (there are some pretty interesting and important volumes in the collection). I'm figuring on using a "standard" system for making that happen.

I have looked at rolling my own data base, either MySQL or PostgreSQL, on the LAMP model but, essentially, that would look pretty much like the card files do now, maybe cleaned up, maybe with keywords, maybe with subjects, materials condition and other information -- faster, better, cleaner for sure (and I'm perfectly capable of data base design, got paid for doing that for a long, long time). At least better search capability on multiple fields, methinks.

Either Tellico or roll-your-own may be a good intermediate step: get off the cards and on to something you can actually find something with. Might be better than trying to go to full-boat library system. I dunno, but I'm thinking it might be worth a look-see in any event.

Thanks to all for the thoughts and advice.

Last edited by tronayne; 03-04-2013 at 08:23 AM.
 
Old 03-04-2013, 11:35 AM   #21
lstamm
Member
 
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53

Rep: Reputation: 17
Hi Tronayne,

You might want to check out ICA-Atom. This is archival software, but for your purposes it might work better than a specifically library-oriented software system. It certainly is a lot easier to install than either Evergreen or Koha.
 
1 members found this post helpful.
Old 03-04-2013, 01:05 PM   #22
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,853

Original Poster
Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Quote:
Originally Posted by lstamm View Post
You might want to check out ICA-Atom. This is archival software, but for your purposes it might work better than a specifically library-oriented software system. It certainly is a lot easier to install than either Evergreen or Koha.
Oh, yeah, that was easy to install.

Now all I have to do is get educated on what to do with it and how to do dat. Might just work, might just.

But -- these other things have become a quest: dang it, I'm gonna get the blasted things to work (even if they're never used for anything)!

Thanks for the suggestion.
 
Old 03-04-2013, 01:25 PM   #23
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,853

Original Poster
Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Quote:
Originally Posted by T3slider View Post
cpan2tgz makes things even easier (and provides added accountability).
Seems like a good idea (and maybe I'm not doing it correctly) but...
Code:
cpan2tgz --no-install --pkgdir=${PWD} Data::Dumper
Reading '/root/.cpan/Metadata'
  Database was generated on Sun, 03 Mar 2013 12:17:03 GMT
Checksum for /root/.cpan/sources/authors/id/S/SM/SMUELLER/Data-Dumper-2.143.tar.gz ok


Processing Data::Dumper...

Running make for S/SM/SMUELLER/Data-Dumper-2.143.tar.gz

  CPAN.pm: Building S/SM/SMUELLER/Data-Dumper-2.143.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Data::Dumper
Writing MYMETA.yml and MYMETA.json
cp Dumper.pm blib/lib/Data/Dumper.pm
/usr/bin/perl5.16.1 /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  Dumper.xs > Dumper.xsc && mv Dumper.xsc Dumper.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC   -DVERSION=\"2.143\" -DXS_VERSION=\"2.143\" -fPIC "-I/usr/lib64/perl5/CORE"  -DUSE_PPPORT_H Dumper.c
Running Mkbootstrap for Data::Dumper ()
chmod 644 Dumper.bs
rm -f blib/arch/auto/Data/Dumper/Dumper.so
cc  -shared -O2 -fPIC -fstack-protector Dumper.o  -o blib/arch/auto/Data/Dumper/Dumper.so 	\
     	\
  
chmod 755 blib/arch/auto/Data/Dumper/Dumper.so
cp Dumper.bs blib/arch/auto/Data/Dumper/Dumper.bs
chmod 644 blib/arch/auto/Data/Dumper/Dumper.bs
  SMUELLER/Data-Dumper-2.143.tar.gz
  /usr/bin/make -- OK
make ERROR [Data::Dumper]: Numerical argument out of domain
No package and the "Numerical argument out of domain" shows up with everything I try.

Probably me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open zebra service after installed quagga source file xman2548 Linux - Newbie 2 04-13-2011 09:28 AM
Zebra/quagga and ISIS pm010537 Linux - Networking 0 01-22-2008 05:37 PM
Software rounter using zebra on redhat el4 nikhilatkgp Linux - Networking 4 05-14-2007 12:49 AM
QUAGGA, start zebra daemon problem. ERBRMN Linux - Networking 2 01-23-2007 01:29 PM
Music Library Software & a List of M$ like Software for Linux MultiUser Linux - Software 2 02-27-2004 08:20 PM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration