'Getopt::Long' and CPAN belong to the Perl 5 package and are therefore already installed.salix_user wrote: ↑21. May 2020, 22:22 Requires: (all available at www.cpan.org)
Getopt::Long
CPAN
Do I need these ones ?
How to install html2wiki and TeX ?
Re: How to install html2wiki and TeX ?
-
- Posts: 53
- Joined: 23. Jan 2019, 13:15
Re: How to install html2wiki and TeX ?
Failed to find module: HTML-WikiConverter-DokuWiki-0.53.tar.gz
What's my mistake ?
What's my mistake ?
Code: Select all
[work]$ ls
HTML-WikiConverter-DokuWiki-0.53.tar.gz
[work]$ cpan2tgz HTML-WikiConverter-DokuWiki-0.53.tar.gz
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes] yes
<install_help>
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib] sudo
Autoconfiguration complete.
commit: wrote '/home/user/.cpan/CPAN/MyConfig.pm'
You can re-run configuration any time with 'o conf init' in the CPAN shell
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/home/user/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/home/user/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Fri, 22 May 2020 03:41:03 GMT
HTTP::Date not available
.............
New CPAN.pm version (v2.27) available.
[Currently running version is v2.11]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/home/user/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /home/user/.cpan/Metadata
Failed to find module: HTML-WikiConverter-DokuWiki-0.53.tar.gz
[work]$
Re: How to install html2wiki and TeX ?
I think you just calll it with the module name, like this:
Presumably sudo is needed.
EDIT There may be some unmet dependencies but hopefully you can work this out as you go from the output you see.
Code: Select all
cpan2tgz HTML::WikiConverter::DokuWiki
EDIT There may be some unmet dependencies but hopefully you can work this out as you go from the output you see.
-
- Posts: 53
- Joined: 23. Jan 2019, 13:15
Re: How to install html2wiki and TeX ?
Bingo ! It works ! Thanks to all !!mimosa wrote: ↑22. May 2020, 08:40 I think you just calll it with the module name, like this:Presumably sudo is needed.Code: Select all
cpan2tgz HTML::WikiConverter::DokuWiki
EDIT There may be some unmet dependencies but hopefully you can work this out as you go from the output you see.
Code: Select all
sudo cpan2tgz HTML::WikiConverter::DokuWiki
Code: Select all
[DokuWiki_build]$ sudo cpan2tgz HTML::WikiConverter::DokuWiki
Password:
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters. Configuration will be written to
<</root/.cpan/CPAN/MyConfig.pm>>
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes] yes
Autoconfiguration complete.
commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
You can re-run configuration any time with 'o conf init' in the CPAN shell
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Fri, 22 May 2020 09:29:03 GMT
HTTP::Date not available
.............
New CPAN.pm version (v2.27) available.
[Currently running version is v2.11]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/D/DI/DIBERRI/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz ok
'YAML' not installed, will not store persistent state
Processing HTML::WikiConverter::DokuWiki...
DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz
Has already been unwrapped into directory /root/.cpan/build/HTML-WikiConverter-DokuWiki-0.53-fAkSQ9
Configuring D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::WikiConverter::DokuWiki
Writing MYMETA.yml and MYMETA.json
DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz
/usr/bin/perl5.22.2 Makefile.PL -- OK
Running make for D/DI/DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz
cp lib/HTML/WikiConverter/DokuWiki.pm blib/lib/HTML/WikiConverter/DokuWiki.pm
Manifying 1 pod document
DIBERRI/HTML-WikiConverter-DokuWiki-0.53.tar.gz
/usr/bin/make -- OK
Manifying 1 pod document
Installing /tmp/HTML::WikiConverter::DokuWiki/usr/local/share/perl5/HTML/WikiConverter/DokuWiki.pm
Installing /tmp/HTML::WikiConverter::DokuWiki/usr/local/share/man/man3/HTML::WikiConverter::DokuWiki.3
Appending installation info to /tmp//HTML::WikiConverter::DokuWiki/usr/lib/perl5/perllocal.pod
cp: skipped directory './lib/HTML'
cp: skipped directory './blib/arch/auto/HTML'
cp: skipped directory './blib/lib/auto/HTML'
cp: skipped directory './blib/lib/HTML'
Slackware package maker, version 3.141593.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /usr/src/perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz
./
install/
install/slack-required
install/doinst.sh
install/slack-desc
usr/
usr/local/
usr/local/lib/
usr/local/lib/perl5/
usr/local/lib/perl5/auto/
usr/local/lib/perl5/auto/HTML/
usr/local/lib/perl5/auto/HTML/WikiConverter/
usr/local/lib/perl5/auto/HTML/WikiConverter/DokuWiki/
usr/local/lib/perl5/auto/HTML/WikiConverter/DokuWiki/.packlist
usr/local/share/
usr/local/share/man/
usr/local/share/man/man3/
usr/local/share/man/man3/HTML::WikiConverter::DokuWiki.3
usr/local/share/perl5/
usr/local/share/perl5/HTML/
usr/local/share/perl5/HTML/WikiConverter/
usr/local/share/perl5/HTML/WikiConverter/DokuWiki.pm
usr/lib/
usr/lib/perl5/
usr/doc/
usr/doc/perl-html-wikiconverter-dokuwiki-0.53/
usr/doc/perl-html-wikiconverter-dokuwiki-0.53/Changes
usr/doc/perl-html-wikiconverter-dokuwiki-0.53/README
Slackware package /usr/src/perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz created.
Verifying package perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz.
Installing package perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz:
PACKAGE DESCRIPTION:
# perl-html-wikiconverter-dokuwiki 0.53 (Perl module)
#
# Packaged by cpan2tgz
# cpan2tgz by Jason Woodward <woodwardj@jaos.org>
# http://software.jaos.org/
#
Executing install script for perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz.
Package perl-html-wikiconverter-dokuwiki-0.53-noarch-1.txz installed.
But salix's pkg works without problem.New CPAN.pm version (v2.27) available.
[Currently running version is v2.11]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
-------------
For now I want to solve the problem
I have installed texlive from salix' repos$ ./make_manuals.sh en
------- Making PDF manual (en) -------
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
------- Making HTML manual (en) -------
------- Making TXT manual (en) -------
Gapan suggested installing texlive from https://tug.org/texlive/
Can this installation fix my problem '/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.' ?For latex, you can either install the tetex package, if you want a (very) minimal installation that may or not be enough for your purposes, or you can install texlive, for a complete latex system: https://tug.org/texlive/
Use the provided script to install texlive somewhere on your harddrive (I have it under ~/texlive) and add the respective binary directory to your path somewhere in your ~/.profile. I have:
Code: Select all
export PATH=$PATH:~/texlive/bin/x86_64-linux
you'll need to re-login for it to work, or just type that command in your current bash.
Do I need to remove salix's texlive before the installation via script ?
Re: How to install html2wiki and TeX ?
Do you have a pdfetex in your path?
I have texlive installed using the script I told you and I definitely do have it.
Code: Select all
which pdfetex
-
- Posts: 53
- Joined: 23. Jan 2019, 13:15
Re: How to install html2wiki and TeX ?
[~]$ which pdfetexgapan wrote: ↑22. May 2020, 10:04 Do you have a pdfetex in your path?I have texlive installed using the script I told you and I definitely do have it.Code: Select all
which pdfetex
/usr/bin/pdfetex
[~]$
-
- Posts: 53
- Joined: 23. Jan 2019, 13:15
Re: How to install html2wiki and TeX ?
I was going to remove pkgs installed from Salix'repos:
tetex, texinfo, texlive, texlive-exstra, texi2html (installed via Sourcery)
and install TexLive from its site (as gapan suggested).
However, I decided to try another way.
I have removed only texlive and texlive-exstra.
I did not install TexLive from its site.
I don't know 'why' but this idea have solved the problem
tetex, texinfo, texlive, texlive-exstra, texi2html (installed via Sourcery)
and install TexLive from its site (as gapan suggested).
However, I decided to try another way.
I have removed only texlive and texlive-exstra.
I did not install TexLive from its site.
![Smile :)](./images/smilies/icon_e_smile.gif)
So, for now I am not getting '/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.'$ ./make_manuals.sh en
------- Making PDF manual (en) -------
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
------- Making HTML manual (en) -------
------- Making TXT manual (en) -------
Probably, salix's pkgs tetex and texlive are incompatible. (?)[doc]$ ./make_manuals.sh en
------- Making PDF manual (en) -------
------- Making HTML manual (en) -------
------- Making TXT manual (en) -------
cinelerra_cv_manual_en.texi......
Re: How to install html2wiki and TeX ?
Oh, they definitely are. In fact, they should conflict each other as they include a lot of the same binaries. I didn't think you had tetex installed alongside texlive.