[arch-haskell] Build error with lekash on archlinux when using cabal2arch

Magnus Therning magnus at therning.org
Sat Oct 12 07:39:19 UTC 2013


On Fri, May 13, 2011 at 04:08:49PM +1000, Mathew de Detrich wrote:
> Well I didn't explicitly turn on profiling as an environment variable, but
> in any case filepath ships with GHC so that wouldn't fix anything (unless
> you wanted to use cabal2arch on filepath and have to rebuild the cache for
> GHC)

I may have been unclear (forgive me if I'm mistaken in believing I
haven't quite gotten my point across).  Here's the situation as I see
it:

• GHC ships with static libs, shared libs, and static libs for
  profiling (it's missing shared libs for profiling)
• cabal2arch generates a PKGBUILD that compiles static libs, shared
  libs and static libs for profiling
• Leksah turns on profiling when compiling shared libs

What you need to do is modify Leksah's cabal such that it *doesn't*
turn on profiling when compiling the shared libs.

/M

> On Fri, May 13, 2011 at 4:07 PM, Magnus Therning <magnus at therning.org>wrote:
> 
> > On Fri, May 13, 2011 at 03:49:55PM +1000, Mathew de Detrich wrote:
> > > Also I am not compiling leksah with profiling, I am just using cabal2arch
> > on
> > > the standard leksah package on
> > > http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal
> >
> > cabal2arch will create a PKGBUILD that supports profiling (you turn it
> > on using an environment variable) and it always turns on building of
> > shared libraries.
> >
> > /M
> >
> > --
> > Magnus Therning                      OpenPGP: 0xAB4DFBA4
> > email: magnus at therning.org   jabber: magnus at therning.org
> > twitter: magthe               http://therning.org/magnus
> >
> > I invented the term Object-Oriented, and I can tell you I did not have
> > C++ in mind.
> >     -- Alan Kay
> >

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

I invented the term Object-Oriented, and I can tell you I did not have
C++ in mind.
     -- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20131012/a4cdf538/attachment.sig>


More information about the arch-haskell mailing list