public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* build error on new pandoc pull
@ 2015-03-18 15:11 Cesar Romani
  2015-03-18 18:39 ` John MacFarlane
  0 siblings, 1 reply; 3+ messages in thread
From: Cesar Romani @ 2015-03-18 15:11 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On building the new pull of pandoc I get:

--------------------
[...]
Linking dist\build\pandoc\pandoc.exe ...
C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x1c): 
undefined reference to `getnameinfo'
C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x28): 
undefined reference to `getaddrinfo'
C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x34): 
undefined reference to `freeaddrinfo'
collect2: ld returned 1 exit status
Failed to install pandoc-1.13.3
cabal.exe: Error: some packages failed to install:
pandoc-1.13.3 failed during the building phase. The exception was:
ExitFailure 1
--------------------

I did:

cabal update
git submodule update
cabal install

cabal version is 1.22.0.0 on Windows 7

-- 
Cesar


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build error on new pandoc pull
  2015-03-18 15:11 build error on new pandoc pull Cesar Romani
@ 2015-03-18 18:39 ` John MacFarlane
       [not found]   ` <20150318183924.GE30982-0VdLhd/A9Pm0ooXD8Eul3TpoUNQFg/XNTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2015-03-18 18:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

If you're on Windows, then I recommend you use the released package,
unless you really know what you're doing with cabal.

I know that the network library tends to be an issue of Windows,
and that is one reason the Haskell Platform is where you should
always start.  It looks like you updated the network library
via cabal to a version other than the one in the HP, and that's
why you're getting this error.

My advice would be to get rid of all your Haskell stuff and
start afresh, starting with the most recent version of the Haskell
Platform.

+++ Cesar Romani [Mar 18 15 10:11 ]:
>On building the new pull of pandoc I get:
>
>--------------------
>[...]
>Linking dist\build\pandoc\pandoc.exe ...
>C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x1c): 
>undefined reference to `getnameinfo'
>C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x28): 
>undefined reference to `getaddrinfo'
>C:\Users\caesar\AppData\Roaming\cabal\i386-windows-ghc-7.6.3\network-2.6.0.2/libHSnetwork-2.6.0.2.a(HsNet.o):HsNet.c:(.text+0x34): 
>undefined reference to `freeaddrinfo'
>collect2: ld returned 1 exit status
>Failed to install pandoc-1.13.3
>cabal.exe: Error: some packages failed to install:
>pandoc-1.13.3 failed during the building phase. The exception was:
>ExitFailure 1
>--------------------
>
>I did:
>
>cabal update
>git submodule update
>cabal install
>
>cabal version is 1.22.0.0 on Windows 7
>
>-- 
>Cesar
>
>-- 
>You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/mec4in%24thj%241%40ger.gmane.org.
>For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build error on new pandoc pull
       [not found]   ` <20150318183924.GE30982-0VdLhd/A9Pm0ooXD8Eul3TpoUNQFg/XNTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
@ 2015-03-18 23:52     ` Cesar Romani
  0 siblings, 0 replies; 3+ messages in thread
From: Cesar Romani @ 2015-03-18 23:52 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw; +Cc: John MacFarlane

On 18/03/2015 01:39 p.m., John MacFarlane wrote:
 > If you're on Windows, then I recommend you use the released package,
 > unless you really know what you're doing with cabal.
 >
 > I know that the network library tends to be an issue of Windows,
 > and that is one reason the Haskell Platform is where you should
 > always start. It looks like you updated the network library
 > via cabal to a version other than the one in the HP, and that's
 > why you're getting this error.
 >
 > My advice would be to get rid of all your Haskell stuff and
 > start afresh, starting with the most recent version of the Haskell
 > Platform.

I did it and it works. Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-18 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 15:11 build error on new pandoc pull Cesar Romani
2015-03-18 18:39 ` John MacFarlane
     [not found]   ` <20150318183924.GE30982-0VdLhd/A9Pm0ooXD8Eul3TpoUNQFg/XNTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2015-03-18 23:52     ` Cesar Romani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).