Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  How to "cabal install" on current Arch/Manjaro ?
      (lis...@freea2a.de)


----------------------------------------------------------------------

Message: 1
Date: Sun, 13 Aug 2017 21:32:56 +0200
From: <lis...@freea2a.de>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] How to "cabal install" on current
        Arch/Manjaro ?
Message-ID: <20170813213256.4f9457b2@duin>
Content-Type: text/plain; charset=UTF-8

Hi all,

update:
 compilition was possible with the undocumented flag:
--ghc-options -dynamic

so: 
cabal install cpphs --ghc-options -dynamic

I found it in a reddit-post
(https://www.reddit.com/r/archlinux/comments/6nlglg/arch_haskell/)

But I'm still not sure, what I have done with ghc and cabal :-(

Greetings Jürgen


Op Fri, 11 Aug 2017 22:11:54 +0200
lis...@freea2a.de schreef:

> Helle dear readers,
> 
> at the moment I'm not able to compile the most things with cabal/ghc.
> 
> For example:
> cabal install cpphs
> 
> gives
> 
> Linking dist/build/cpphs/cpphs ...
> /usr/bin/ld: cannot find -lHStext-1.2.2.2-3ENqlljngKa6xj1Go2fVWq
> 
> I have read that Arch linux has changed haskell to use dynamic
> linking, and I have installed the new packet "ghc-static" with static
> libraries.
> 
> How can I switch between static and dynamic linking in cabal and what
> are the preconditions?
> Where can I give the directories for searching for haskell-libraries?
> 
> Thank you in advance for help.
> 
> Jürgen
> 
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners




------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 110, Issue 15
******************************************

Reply via email to