[MacPorts] #42082: [pandoc]: configure step fails with "missing dependencies..."
MacPorts
noreply at macports.org
Tue Jan 13 10:14:07 PST 2015
#42082: [pandoc]: configure step fails with "missing dependencies..."
-----------------------------+----------------------
Reporter: kurt.pfeifle@… | Owner: cal@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: pandoc |
-----------------------------+----------------------
Comment (by and.damore@…):
Replying to [comment:24 jowens@…]:
> Unfortunately, I'm in the same sort of boat as J.Gilbey ... both pandoc
and haskell-platform installs fail because the set of hs-* packages
appears to be collectively incompatible. With no hs-* packages installed,
but using the latest ghc:
I stumbled in this very same issue while upgrading pandoc, I eventually
was able to install pandoc by removing all the installed hs- packages,
deactivating the ghc port that was installed and active, removing ghc's
packages.conf.d directory and then reactivating ghc. This should reinstall
the correct package cache.
Here's what I did, if you want to try this as well be sure to understand
the commands, you're the sole responsible for the commands your run:
* upgrade ghc
* uninstall pandoc and all hs-* ports using '''port uninstall pandoc
name:hs-''' (if you have other ports depending on hs-* port you'll have to
uninstall/deactivate those as well)
* deactivate ghc '''port deactivate ghc'''
* locate and delete ghc's '''package.conf.d''', should be at
'''$prefix/lib/ghc-7.8.3/package.conf.d''', I deleted a stray ghc-7.6.3
folder there as well
* activate ghc '''port activate ghc'''
* install pandoc that should now install all required hs-* ports and
upgraded pandoc
I ended up with a working '''pandoc @1.12.4.2_0''' and all its
dependencies, before this hs-sha and hs-zip-archive were choking on bad
packages in cache.
YMMV.
--
Ticket URL: <https://trac.macports.org/ticket/42082#comment:25>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list