Menu

#3 "Could not write to config file:"

open
nobody
None
5
2003-07-19
2003-07-19
Anonymous
No

It seems that Thokbook 0.4 is distributed with a lib/
subdir containing only Thokbook.pm. However, when
configuring it by running perl Makefile.PL it writes to
lib/Thokbook/:

open(CONFIG, ">lib/Thokbook/Config.pm") or die "Could
not write to config file: $:";

which fails.

Also, after installation, Barcode::Cuecat is required
even though not configured. It's been too long sine
I've done any Perl to remember a work around, if any
(not even wrapping use in eval { } helps) -- the module
is searched for before the script even starts executing.

-erwin@andreasen.org

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I spent some time trying to install this on a RH9 system.
    You can fix this problem by altering the Makefile.PL where
    it tries to find
    "lib/Thokbook/Config.pm" to point to "lib/Thokbook.pm"
    instead. Theres also a problem with the sql insertion for
    asin. You want to find the file "add_asin.al" and in the
    insertion he put to many variable/? to be taken in. You
    just need to delete 2 of them and the asin update should work.

     
  • Nobody/Anonymous

    Logged In: NO

    I spent some time trying to install this on a RH9 system.
    You can fix this problem by altering the Makefile.PL where
    it tries to find
    "lib/Thokbook/Config.pm" to point to "lib/Thokbook.pm"
    instead. Theres also a problem with the sql insertion for
    asin. You want to find the file "add_asin.al" and in the
    insertion he put to many variable/? to be taken in. You
    just need to delete 2 of them and the asin update should work.

     
  • John Chan

    John Chan - 2004-05-14

    Logged In: YES
    user_id=1042308

    I spent some time trying to install this on a RH9 system.
    You can fix this problem by altering the Makefile.PL where
    it tries to find
    "lib/Thokbook/Config.pm" to point to "lib/Thokbook.pm"
    instead. Theres also a problem with the sql insertion for
    asin. You want to find the file "add_asin.al" and in the
    insertion he put to many variable/? to be taken in. You
    just need to delete 2 of them and the asin update should work.

     

Log in to post a comment.

MongoDB Logo MongoDB