[Home]Troubleshooting Module Dependency And Installation Problems In Perl CPAN When Installing Kwiki

Contents | (Visit Preferences to set your user name.) | Related To Troubleshooting Module Dependency And Installation Problems In Perl CPAN When Installing Kwiki | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

Radiation | Fertility
Google
Chat11.com Web Bible11.com MyBibleCenter.com
Search For Books About:
AppConfig, Computers, Garnet, Internet, Kwiki, More About This Book, MySQL, SomeModule, Tech Tips, Tech, Tips, Web
Search The Net:
More About This Book
Garnet
Computers
Internet
Web
Tips
Kwiki
Tech Tips
Tech
MySQL
SomeModule
AppConfig
Cover of ISBN 020171499XThe Wiki Way

More About This Book

Best MySQL books:
Cover of ISBN 1590591445The Definitive Guide to Mysql Second Edition
Cover of ISBN 0672326736Mysql 3rd Edition Developers Library
Cover of ISBN 0596001452Mysql Cookbook

Best Perl books:
Cover of ISBN 159059018XWriting Perl Modules for Cpan
Cover of ISBN 0596000278Programming Perl
Cover of ISBN 0596001320Learning Perl
Cover of ISBN 0596003137Perl Cookbook

From Troubleshooting Module Dependency And Installation Problems In Perl CPAN When Installing Kwiki

Problems Installing Kwiki

Troubleshooting Module Dependency Installation Problems

CPAN sometimes doesn't make it easy to find and fix install problems in prerequisites.

Subjects > Computers > Internet > Web > Tech Tips

Tech Tips By Garnet

The Kwiki requires very many other modules to be installed. While this lets Kwiki leverage off of other functionality, it creates a very high chance that it might not install on a fresh system. It is very possible that build problems in other modules will cause Kwiki install to fail.

When Cpan fails to install a module, often because the tests failed, it will talk about needing a forced install. Unfortunately, the cpan program when run with -e 'force install SomeModule?Create' will still often refuse to install the program.

If there is a failure in an early prerequisite, it may require a lot of detective work to find the failing prerequisite, and work through the failures one by one.

If the perl -MCPAN -e 'install Kwiki' command doesn't work at first try, you may need to go through it's prerequisites one by one.

Here is a list of manual commands to try running:

Perl -MCPAN -e 'install AppConfig?Create'

Perl -MCPAN -e 'install Spiffy'

(On Aug 30, 20045, one of it's tests, export4 fails because :XXX is not exported by Spiffy)

If this one failes, it must be forced:

This should work, but doesn't: Perl -MCPAN -e 'force install Spiffy'

If it doesn't work, you'll need to go to the .cpan directory to manually install. For example, if /.cpan/ is your cpan directory, then

  cd /.cpan/build
  ls -al
  (look for the version number of Spiffy, for example 0.24)
  cd Spiffy-0.24
  make install

Perl -MCPAN -e 'install IO::All'

Note: Template would like to work with all these, but you don't have to install them:

 Perl -MCPAN -e 'install Text::Autoformat'
 Perl -MCPAN -e 'install GD'
 Perl -MCPAN -e 'install GD::Text'
 Perl -MCPAN -e 'install GD::Graph'
 Perl -MCPAN -e 'install GD::Graph3d'
 Perl -MCPAN -e 'install Image::Info'
 Perl -MCPAN -e 'install Image::Size'
 Perl -MCPAN -e 'install Date::Calc'
 Perl -MCPAN -e 'install Pod::POM'
 Perl -MCPAN -e 'install Tie::DBI'
 Perl -MCPAN -e 'install XML::DOM'
 Perl -MCPAN -e 'install XML::RSS'
 Perl -MCPAN -e 'install XML::XPath'

Before installing the template module, you might want to setup a test MySQL database, and a test user to access it. Be sure to grant the new test user rights on the test database, and then reload the MySQL database so that the rights changes take effect.

Be sure to test the access of the test user to the database, because if it fails, it will block installation of the Template module. When template setup asks you to specify a database name for use with the mysql driver, just specifying test will not work for the database name. You must fully qualify the database and host in the database connection string (DSN).

Here is a sample database string for a database named test on the local machine:

    DBI:mysql:database=test;host=localhost

Perl -MCPAN -e 'install Template'

My first attempt to install Spoon failed, because CPAN wasn't told that DB_File was one of it's prerequisites.

Unfortunately Spoon doesn't list DB_File as one of it's prerequisites, so Spoon may die when testing compile with 'Can't locate DB_File.pm in @INC

If it does this you must:

    Perl -MCPAN -e 'install DB_File'

Then you need to install the Spoon module:

    Perl -MCPAN -e 'install Spoon'

After all the above steps complete successfully, (which took about 90 minutes to discover and work through) you'll finally be ready to:

    Perl -MCPAN -e 'install Kwiki'

Now you are ready to go back to the documentation that promises installing Kwiki will be quick and painless.


NOTE: Sadly the www.kwiki.org site prevented me from posting the following text on their [Kwiki installation page]

How To Deal With Kwiki Module Dependency Problems

The above problem sounds similar to the problems I had today installing Kwiki. With it needing to use do many other CPAN modules, odds are good that there will be a failure somewhere along the line.

I made a wiki page about my struggle with installing Kwiki:

http://www.chat11.com/Troubleshooting_Module_Dependency_And_Installation_Problems_In_Perl_CPAN_When_Installing_Kwiki

They claimed: "You were blocked from editing because your ip address exists in one or more DNS blackhole lists. These lists contains ip addresses that are known to have open proxies or relay spam."


[payday loans]



See more of Garnet's Tech Tips ...

Did This Page Solve A Difficult Problem For You?

Tech Tips By Garnet ...

If so, I'd like to hear from you.

I spend a lot of time tracking down solutions to many problems and questions, and it takes a lot of time to write about the answers so you can benefit from them. But I hope this page helped you solve your problem, or answered your question, clearly and quickly. You can also contact me about your tech problems. If you can afford some donation to cover my time to look into your problem, please mention the amount you can contribute, and that will help me give proper priority to your request.

Please also consider making a link to this page from your website.

You can also reach me privately with your questions at [my contact page]!

- Garnet

From Tech Tips

Contents | (Visit Preferences to set your user name.) | Related To Troubleshooting Module Dependency And Installation Problems In Perl CPAN When Installing Kwiki | RecentChanges | Preferences | Index | Login | Logout
Edit this www.mysleepcenter.com page | View other versions
Last edited April 8, 2007 3:16 am (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in Station?
3609 total hits since 3/2007
Recently accessed pages: About Rita Adobe Acrobat 6.0 Professional License Agreement Calcified Lump In Woman Is Remains Of Pregnancy From Almost 50 Years Earlier Cicada News Cicada Wasp Cicada Year Dogs - Bedlington Terrier Dogs - Norwich Terrier Doris Day Elaine's Book Collection HSI BIOL 2957470Independent Study In Biology Imp/Proj AC Operating Systems Roma Plastilina For Modelling Clay Seventh-Day Adventist Elder Guide To Format For Visitation Stations Of The Cross Stretching FAQ 1.2 - Muscle Composition Tool To Compare Yahoo And Google Rankings Toshiba Libretto U105 And U100 Trap Treatments For Sleep Apnea Tulip Streaming 3d System What Did Jesus Say About Earthquakes And Endtimes

Elapsed:0