Re: Problem intalling Pandoc

2012-09-28 Thread Sean Farley
On Fri, Sep 28, 2012 at 8:41 AM, Ryan Schmidt  wrote:
>
> On Sep 28, 2012, at 06:27, Trémouilles David  wrote:
>
>> --->  Fetching archive for hs-pandoc-types
>> --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 from 
>> http://lil.fr.packages.macports.org/hs-pandoc-types
>> --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 
>> from http://lil.fr.packages.macports.org/hs-pandoc-types
>> --->  Installing hs-pandoc-types @1.8_0
>> --->  Activating hs-pandoc-types @1.8_0
>> Error: org.macports.activate for port hs-pandoc-types returned: command 
>> execution failed
>> Error: Failed to install hs-pandoc-types
>
> Ok, so hs-pandoc-types failed to activate.

Ryan,

This is a deep rabbit hole, fyi. The gap between cabal and macports is
non-trivial. I was able to get pandoc (and add a pandoc-devel port)
that both work but since there are *so* many ports that are required
to get pandoc to work, I've been lazy with filing the tickets for each
one. I'll leave it to a macports dev to incorporate them [^1] :-)

David,

I don't know how comfortable you feel with using a local repository
[^2] but feel free to try my repo [^3] out to get pandoc working for
yourself.

[^1]: https://bitbucket.org/seanfarley/scienceports
[^2]: http://guide.macports.org/chunked/development.local-repositories.html
[^3]: https://bitbucket.org/seanfarley/scienceports/wiki/Installation
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem intalling Pandoc

2012-09-28 Thread Ryan Schmidt

On Sep 28, 2012, at 06:27, Trémouilles David  wrote:

> --->  Fetching archive for hs-pandoc-types
> --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 from 
> http://lil.fr.packages.macports.org/hs-pandoc-types
> --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 
> from http://lil.fr.packages.macports.org/hs-pandoc-types
> --->  Installing hs-pandoc-types @1.8_0
> --->  Activating hs-pandoc-types @1.8_0
> Error: org.macports.activate for port hs-pandoc-types returned: command 
> execution failed
> Error: Failed to install hs-pandoc-types

Ok, so hs-pandoc-types failed to activate. You should file a bug report in the 
issue tracker about that.

http://guide.macports.org/chunked/project.html


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Problem intalling Pandoc

2012-09-28 Thread Trémouilles David

Hello,

I did not succeed in installing Pandoc with macport 2.1.2 on MacOS 10.7.5
I would really like to get it as it a dependence to use "nbconvert",
a tool to transform an ipython notebook into pdf or html pages.

The prompt output is right below and the main.log is in attachment.

Any help would be welcome,

David

$ sudo port install pandoc
--->  Computing dependencies for pandoc
--->  Dependencies to be installed: hs-citeproc ghc hs-json hs-mtl 
hs-transformers hs-pandoc-types hs-utf8-string hs-xml hs-dlist 
hs-haddock hs-http hs-network hs-parsec hs-text hs-tagsoup hs-texmath 
hs-zip-archive hs-binary hs-digest hs-zlib

--->  Fetching archive for ghc
--->  Attempting to fetch ghc-7.4.2_1+gcc47.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/ghc
--->  Attempting to fetch ghc-7.4.2_1+gcc47.darwin_11.x86_64.tbz2.rmd160 
from http://lil.fr.packages.macports.org/ghc

--->  Installing ghc @7.4.2_1+gcc47
--->  Activating ghc @7.4.2_1+gcc47
--->  Cleaning ghc
--->  Fetching archive for hs-transformers
--->  Attempting to fetch 
hs-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-transformers
--->  Attempting to fetch 
hs-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2.rmd160 from 
http://lil.fr.packages.macports.org/hs-transformers

--->  Installing hs-transformers @0.3.0.0_0
--->  Activating hs-transformers @0.3.0.0_0
--->  Cleaning hs-transformers
--->  Fetching archive for hs-mtl
--->  Attempting to fetch hs-mtl-2.1.2_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-mtl
--->  Attempting to fetch hs-mtl-2.1.2_0.darwin_11.x86_64.tbz2.rmd160 
from http://lil.fr.packages.macports.org/hs-mtl

--->  Installing hs-mtl @2.1.2_0
--->  Activating hs-mtl @2.1.2_0
--->  Cleaning hs-mtl
--->  Fetching archive for hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://mse.uk.packages.macports.org/sites/packages.macports.org/hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://packages.macports.org/hs-json

--->  Fetching distfiles for hs-json
--->  Verifying checksum(s) for hs-json
--->  Extracting hs-json
--->  Configuring hs-json
--->  Building hs-json
--->  Staging hs-json into destroot
--->  Installing hs-json @0.5_0
--->  Activating hs-json @0.5_0
--->  Cleaning hs-json
--->  Fetching archive for hs-pandoc-types
--->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 
from http://lil.fr.packages.macports.org/hs-pandoc-types
--->  Attempting to fetch 
hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 from 
http://lil.fr.packages.macports.org/hs-pandoc-types

--->  Installing hs-pandoc-types @1.8_0
--->  Activating hs-pandoc-types @1.8_0
Error: org.macports.activate for port hs-pandoc-types returned: command 
execution failed

Error: Failed to install hs-pandoc-types
Please see the log file for port hs-pandoc-types for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/main.log
Error: The following dependencies were not installed: hs-citeproc 
hs-pandoc-types hs-utf8-string hs-xml hs-dlist hs-haddock hs-http 
hs-network hs-parsec hs-text hs-tagsoup hs-texmath hs-zip-archive 
hs-binary hs-digest hs-zlib

To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port pandoc failed
version:1
:debug:clean Attempting ln -sf 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work
 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/hs-pandoc-types/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (hs-pandoc-types)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Fri Sep 28 13:06:53 CEST 2012
:msg:archivefetch --->  Fetching archive for hs-pandoc-types
:debug:archivefetch Executing org.macports.archivefetch (hs-pandoc-types)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 doesn't 
seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch 
hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-pandoc-types
:msg:archivefetch --->  Attempting to fetch 
hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 from 
http://lil.fr.packages.macports.org/hs-pandoc-types
:debug:archivefetch Privilege de-escalation not attempted as not ru