Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Posts
    688

    perl modules not found?

    I need to install these two but whm did not find them

    html2ps
    ps2pdf

    Only found this,
    Meta::Tool:s2Pdf



    not sure if that is the proper one anyway.

    Using perl 5.8.8 / centos 4.5

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    Did you try

    /scripts/perlinstaller html2ps
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  3. #3
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,849
    They're not in CPAN and it looks like they aren't even perl modules, they're scripts. A quick google finds them though: html2ps ps2pdf

    I think you'll need to install them manually according to the instructions for each.
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  4. #4
    Join Date
    Jan 2007
    Posts
    688
    Same thing as done via whm, so yes - and not found

  5. #5
    Join Date
    Jan 2007
    Posts
    688
    First, where is the download for ps2pdf??? This is crazy

    Secondly, still getting this error after installing html2ps manually

    HTML_ToPDF Error: html2ps [/usr/bin/html2ps] not executable



    Code:
    root@server [~/html2ps-1.0b5]# ./install
    
    This is the installation script for html2ps. To get full functionality, some
    external program packages need to be installed. You may wish to install these
    first (see the enclosed documentation for addresses):
    
     * For conversion on inline images, any of the packages ImageMagick, pbmplus
       or netpbm.
    
     * To retrieve remote documents you must have libwww-perl. Alternatively,
       some program like wget or lynx.
    
     * To be able to generate cross references and DSC PostScript, you must
       have Ghostscript installed.
    
     * To be able to convert documents using the MATH element from HTML 3.0,
       you need both TeX and dvips.
    
    This script creates a file describing the local configuration. To make this
    accurate, you should have your search PATH set to include the directories
    where the abovementioned packages are. You must also have write access to
    the directories where the files should be placed.
    
    Do you want to proceed with the installation? [y]: y
    
    Searching for Image/Magick.pm: found (/usr/lib/perl5/site_perl/5.8.7/i686-linux/Image/Magick.pm)
    Searching for LWP/UserAgent.pm: found (/usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm)
    Searching for ImageMagick: found (/usr/bin/mogrify)
    Searching for djpeg: found (/usr/bin/djpeg)
    Searching for TeX: not found
    Searching for dvips: not found
    Searching for Ghostscript: found (/usr/bin/gs)
    Searching for weblint: not found
    
    By default all files will be installed in subdirectories 'bin', 'lib',
    and 'man' in a common directory. Is this OK? [y]: y
    
    Enter the name of this directory (full path) [/usr/local]: 
    Created directory /usr/local/lib/html2ps
    Created directory /usr/local/man/man5
    
    Enter the default paper type, possible choices are:
    A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10,
    B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10,
    letter, legal, arche, archd, archc, archb, archa,
    flsa, flse, halfletter, 11x17, ledger, other [A4]: 
    
    Installing html2ps in /usr/local/bin
    Installing html2psrc in /usr/local/lib/html2ps
    Installing html2ps.1 in /usr/local/man/man1
    Installing html2psrc.5 in /usr/local/man/man5
    Installing hyphen.tex in /usr/local/lib/html2ps
    Installing html2ps.html in /usr/local/lib/html2ps
    
    Testing the installation.
    Converting the documentation file 'html2ps.html', using the configuration
    file 'sample'. The output will be written to 'html2ps.ps'.
    
    Installation completed.
    You may now try to print the file 'html2ps.ps' (a users guide on about
    30 pages) in the current directory.

  6. #6
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,849
    Quote Originally Posted by Calibaba View Post
    HTML_ToPDF Error: html2ps [/usr/bin/html2ps] not executable
    <snip>
    Installing html2ps in /usr/local/bin
    Looks like you installed it in /usr/local/bin but you also have something called html2ps (non-executable) in /usr/bin.

    Edit: or maybe an application set up to look for it in /usr/bin
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  7. #7
    Join Date
    Jan 2007
    Posts
    688
    Code:
    root@server [/usr/bin]# ls -lh *html*
    -r-xr-xr-x  1 root root 6.6K Sep 16 19:50 dtd2html.pl*
    -r-xr-xr-x  1 root root 1.3K Sep 16 19:47 html2xhtml*
    -r-xr-xr-x  1 root root 3.3K Aug 13  2006 htmlclean*
    -r-xr-xr-x  1 root root 3.4K Sep 16 19:51 html_form.pl*
    -rwxr-xr-x  1 root root 5.2K Feb 21  2005 htmlview*
    -rwxr-xr-x  1 root root  47K Sep 14  2006 man2html*
    -rwxr-xr-x  1 root root 2.3K Jul 14 13:28 pod2html*
    -rwxr-xr-x  1 root root 119K Apr  6  2006 post-grohtml*
    -rwxr-xr-x  1 root root  63K Apr  6  2006 pre-grohtml*
    -r-xr-xr-x  1 root root 4.2K Sep 16 19:51 xml_html_to_xml.pl*
    Code:
    root@server [/usr/local/bin]# ls -lh
    total 26M
    drwxr-xr-x   2 root root 4.0K Sep 17 06:21 ./
    drwxr-xr-x  38 root root 4.0K Sep 15 23:24 ../
    lrwxrwxrwx   1 root root   21 Aug 13  2006 els -> /usr/local/els/els.sh*
    lrwxrwxrwx   1 root root   19 Aug 13  2006 freshclam -> ../../bin/freshclam*
    -rwxr-xr-x   1 root root 130K Sep 17 06:21 html2ps*
    -rwxr-xr-x   1 root root   96 Aug 13  2006 idle*
    -rwxr-xr-x   1 root root  979 Oct  5  2006 libart2-config*
    -rwxr-xr-x   1 root root  799 Sep 15 17:34 pear*
    -rwxr-xr-x   1 root root  820 Sep 15 17:34 peardev*
    -rwxr-xr-x   1 root root  736 Sep 15 17:34 pecl*
    lrwxrwxrwx   1 root root   13 Aug 13  2006 perl -> /usr/bin/perl*
    -rwxr-xr-x   1 root root  19M Sep 15 23:28 php*
    -rwxr-xr-x   1 root root 3.3K Sep 15 23:29 php-config*
    -rwxr-xr-x   1 root root 4.1K Sep 15 23:29 phpize*
    -rwxr-xr-x   1 root root   81 Aug 13  2006 pydoc*
    -rwxr-xr-x   2 root root 3.3M Aug 13  2006 python*
    -rwxr-xr-x   2 root root 3.3M Aug 13  2006 python2.4*
    -rwxr-x---   1 root root 148K Feb 22  2007 rkhunter*
    -rwxr-xr-x   1 root root  18K Aug 13  2006 smtpd.py*

Posting Permissions

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