Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default Installing HTML::Tidy

    I'm trying to install the HTML::Tidy perl module from cpan. It requires libtidy to be installed first. I tried installing libtidy but I get errors when I do "make install" because it is trying to write to directories that it says I do not have access to. How can I install this? Thanks,

    Eric

  2. #2
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    Well, in short, by installing to directories that you *do* have access to. When you do the configure stage of the build, you can usually specify a prefix to install into, you may want to try installing into /usr/local for instance.

    e.g.:
    $ ./configure --prefix=/usr/local
    $ make
    $ make install

    HTH
    8)

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default

    Thanks, when I try

    $ ./configure --prefix=/usr/local

    I get the error

    sh: ./configure: No such file or directory

    Any ideas? Thanks,

    Eric

  4. #4
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    Ah...

    Well, many applications install by using the 'autotools three step', which is the three steps that I outlined above. Some apps don't though, and libtidy looks to be one of those. Here is what you can try:

    1. Look for a file called INSTALL which may give you instructions on installing to a different directory.
    2. Look for a file called README which... ditto.
    3. Look for a file called Makefile. Open it in an editor, find the installation paths and change them to point somewhere else.

    If 3. doesn't make sense to you, then don't attempt it!

    cheers

  5. #5
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default

    The installation instructions say to install using "gmake" but when I type "gmake" it says "command not found." Could this be a problem?

    Thanks,
    Eric

  6. #6
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    No. On WH systems 'make' and 'gmake' are the same.

Similar Threads

  1. HowTo Guide: Installing Subversion
    By Pachango in forum General Discussion
    Replies: 25
    Last Post: 12-17-2008, 10:08 AM
  2. HowTo Tutorial: Using and Installing SSH
    By sunzon in forum E-mail / FTP Management
    Replies: 6
    Last Post: 05-10-2008, 07:07 AM
  3. Howto guide: Installing Mailman
    By nsc in forum CGI Scripts / Perl
    Replies: 6
    Last Post: 02-05-2007, 11:57 PM
  4. Installing Perl modules with CPAN
    By jalal in forum CGI Scripts / Perl
    Replies: 19
    Last Post: 11-03-2005, 10:02 AM
  5. Upgrade SpamAssassin using CPAN?
    By j103c in forum E-mail / FTP Management
    Replies: 54
    Last Post: 06-10-2004, 03:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •