[Haskell-cafe] cabal install oddities

Brandon Allbery allbery.b at gmail.com
Tue Mar 12 20:28:08 CET 2013


On Tue, Mar 12, 2013 at 3:21 PM, Tycho Andersen <tycho at tycho.ws> wrote:

> Below is some sample output from a failing package:
>
> ps168825:~/playground$ cabal install network
> Resolving dependencies...
> Configuring network-2.4.1.2...
> configure: WARNING: unrecognized options: --with-compiler, --with-gcc
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/tmp/network-2.4.1.2-28534/network-2.4.1.2':
> configure: error: cannot run C compiled programs.
>

"cabal install" unpacks a package into /tmp in order to build it. My guess
is your OS has /tmp mounted noexec. I don't know offhand how you override
this in cabal.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130312/a93508fc/attachment.htm>


More information about the Haskell-Cafe mailing list