Pandoc build package failed (missing dependencies?)

Other talk about Salix
Post Reply
User avatar
icaroperseo
Donor
Posts: 67
Joined: 19. Nov 2014, 01:12
Contact:

Pandoc build package failed (missing dependencies?)

Post by icaroperseo » 28. Jan 2015, 21:23

Well, I am trying to install Pandoc on my system via spi as follows:

Code: Select all

sudo spi --install pandoc
The installation process fails displaying the following message:

Code: Select all

No such package or SlackBuild: haskell-json haskell-pandoc-types haskell-parsec haskell-utf8-string haskell-xml
Once installed the marked packages and their dependencies, I continued again with the installation process:

Code: Select all

sudo spi --install pandoc
displaying the following message:

Code: Select all

No such package or SlackBuild: haskell-base64-bytestring haskell-data-default haskell-random haskell-temporary haskell-zip-archive haskell-tagsoup haskell-citeproc-hs haskell-highlighting-kate haskell-texmath haskell-HTTP
Again I manually install the necessary packages and dependencies listed above, however, the process fails again to try to install the haskell-texmath package as follows:

Code: Select all

sudo spi --install haskell-texmath
No such package or SlackBuild: haskell-parsec haskell-syb haskell-xml
In trying to resolve its dependencies I observe that they are already installed. I update the cache to try to solve but the problem it still persists:

Code: Select all

sudo spi --update
Does anyone could help me on this?

Thanks in advance!!!

User avatar
gapan
Salix Wizard
Posts: 5509
Joined: 6. Jun 2009, 17:40

Re: Pandoc build package failed (missing dependencies?)

Post by gapan » 29. Jan 2015, 10:06

Strange. This looks like it might be a bug in spi, but I cannot test it right now. Try installing with slapt-src instead.

But, what do you want pandoc for?
Image
Image

User avatar
icaroperseo
Donor
Posts: 67
Joined: 19. Nov 2014, 01:12
Contact:

Re: Pandoc build package failed (missing dependencies?)

Post by icaroperseo » 29. Jan 2015, 14:16

gapan wrote:Strange. This looks like it might be a bug in spi, but I cannot test it right now. Try installing with slapt-src instead.
I do not think is a bug in spi because the same thing happens if I do it from slapt-src. I uninstalled and installed the packages listed with both package managers and the problem continues :cry:. I have also tried clearing the cache but nothing changes.
gapan wrote:But, what do you want pandoc for?
I need it to convert some previous articles which are in various markup languages (reST, markdown, html, mediawiki, and so on) for a work that I must to do.

djemos
Salix Warrior
Posts: 1066
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Pandoc build package failed (missing dependencies?)

Post by djemos » 29. Jan 2015, 15:30

On slackel (slackware-current) here it is what i did to install pandoc.

Code: Select all

sudo slapt-get -i ghc

Code: Select all

sudo slapt-src -i pandoc 
The last command also compiled and installed

Code: Select all

haskell-base64-bytestring haskell-dlist haskell-data-default haskell-random 
 haskell-temporary haskell-digest haskell-transformers haskell-mtl 
 haskell-utf8-string haskell-zlib haskell-zip-archive 
 haskell-extensible-exceptions haskell-text haskell-tagsoup haskell-syb 
 haskell-json haskell-pandoc-types haskell-parsec haskell-xml 
 haskell-citeproc-hs haskell-blaze-builder haskell-blaze-markup 
 haskell-blaze-html haskell-regex-base haskell-regex-pcre-builtin 
 haskell-highlighting-kate haskell-texmath haskell-network haskell-HTTP
If for any reason cannot build pandoc all packages are here

User avatar
icaroperseo
Donor
Posts: 67
Joined: 19. Nov 2014, 01:12
Contact:

Re: Pandoc build package failed (missing dependencies?)

Post by icaroperseo » 29. Jan 2015, 20:08

It's too strange I followed the procedure described by djemos and neither was able to make it work! I had to resort to the cited above link to install Pandoc, this is my output:

Code: Select all

┌─ {13:48:18 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spkg -i haskell-texmath-0.6.1.3-x86_64-1_SBo.txz
Password:
Installing package haskell-texmath-0.6.1.3-x86_64-1_SBo...
| haskell-texmath (Conversion of LaTeX math formulas to MathML)
| 
| This is a library for Haskell programs, providing functions to
| convert LaTeX math formulas to presentation MathML. It supports
| basic LaTeX and AMS extensions, but not macros.
| 
| http://hackage.haskell.org/package/texmath
| 
| 
| 
| 
| 
| 
┌─ {13:48:34 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo slapt-src -install pandoc
Slackbuild faltante: pandoc necesita haskell-base64-bytestring haskell-data-default haskell-random haskell-temporary haskell-zip-archive haskell-tagsoup haskell-citeproc-hs haskell-highlighting-kate haskell-texmath haskell-HTTP
Imposible encontrar todos los slackbuilds especificados.
┌─ {13:48:48 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-highlighting-kate
Available packages:
haskell-highlighting-kate [Installed]: haskell-highlighting-kate (Syntax highlighting)

Available SlackBuilds:
haskell-highlighting-kate [Installed]: haskell-highlighting-kate (Syntax highlighting)
┌─ {13:49:27 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-base64-bytestring
Available packages:
haskell-base64-bytestring [Installed]: haskell-base64-bytestring (base64 encoding and decoding)

Available SlackBuilds:
haskell-base64-bytestring [Installed]: haskell-base64-bytestring (base64 encoding and decoding)
┌─ {13:49:39 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-data-default
Available packages:
haskell-data-default [Installed]: haskell-data-default (A class for types with a default value)

Available SlackBuilds:
haskell-data-default [Installed]: haskell-data-default (A class for types with a default value)
┌─ {13:49:49 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-random
Available packages:
haskell-random [Installed]: haskell-random (random number library)

Available SlackBuilds:
haskell-random [Installed]: haskell-random (random number library)
┌─ {13:49:58 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-temporary
Available packages:
haskell-temporary [Installed]: haskell-temporary (portable temporary file and directory support)

Available SlackBuilds:
haskell-temporary [Installed]: haskell-temporary (portable temporary file and directory support)
┌─ {13:50:11 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-zip-archive
Available packages:
haskell-zip-archive [Installed]: haskell-zip-archive (Haskell library for zip archives)

Available SlackBuilds:
haskell-zip-archive [Installed]: haskell-zip-archive (Haskell library for zip archives)
┌─ {13:50:21 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-tagsoup
Available packages:
haskell-tagsoup [Installed]: haskell-tagsoup (HTML/XML parser for Haskell)

Available SlackBuilds:
haskell-tagsoup [Installed]: haskell-tagsoup (HTML/XML parser for Haskell)
┌─ {13:50:33 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-citeproc-hs
Available packages:
haskell-citeproc-hs [Installed]: haskell-citeproc-hs (implementation of the Citation Style Language)

Available SlackBuilds:
haskell-citeproc-hs [Installed]: haskell-citeproc-hs (implementation of the Citation Style Language)
┌─ {13:50:42 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-highlighting-kate
Available packages:
haskell-highlighting-kate [Installed]: haskell-highlighting-kate (Syntax highlighting)

Available SlackBuilds:
haskell-highlighting-kate [Installed]: haskell-highlighting-kate (Syntax highlighting)
┌─ {13:50:55 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search haskell-texmath haskell-HTTP
Available packages:
haskell-texmath [Installed]: haskell-texmath (Conversion of LaTeX math formulas to MathML)
haskell-HTTP [Installed]: haskell-HTTP (A Haskell library for client-side HTTP)

Available SlackBuilds:
haskell-texmath [Installed]: haskell-texmath (Conversion of LaTeX math formulas to MathML)
haskell-HTTP [Installed]: haskell-HTTP (A Haskell library for client-side HTTP)
┌─ {13:51:07 · 29/01/2015} ~/Descargas
└──▶ user@system~> $ sudo spi --search ghc
Available packages:
ghc [Installed]: ghc (the Gasgow Haskell Compiler)
haskell-extensible-exceptions [Installed]: haskell-extensible-exceptions (Extensible exceptions for Haskell)

Available SlackBuilds:
ghc [Installed]: ghc (The Glasgow Haskell Compiler)
haskell-ghc-paths [No instalado]: haskell-ghc-paths (gives knowledge of GHC's installation directories)

I have not had time to try but hope everything normally elapses...

Thanks guys!!!

Post Reply