[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] Stack and Circle CI
From:       Joel Hermanns <joel.hermanns () gmail ! com>
Date:       2016-08-25 9:17:08
Message-ID: D16ABF31-9877-4B2D-A80A-8F8BC7C7CF3C () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I had some weird linker issues (see \
https://circleci.com/gh/jhedev/todobackend-haskell/48 \
<https://circleci.com/gh/jhedev/todobackend-haskell/48>) when using an older gcc 4.9. \
So switching to gcc-4.6 helped. 

I think you are using the newer ubuntu 14.04 build image which does not include \
gcc-4.6. Maybe you can try removing the update alternatives commands.

For your problem I guess its more important to set `-j 1` for the `stack build` \
command. To avoid getting no output etc.

Regards,
Joel
> On 24 Aug 2016, at 18:36, Nicola Gigante <nicola.gigante@gmail.com> wrote:
> 
> 
> > Il giorno 24 ago 2016, alle ore 18:13, Joel H <joel.hermanns@gmail.com> ha \
> > scritto: 
> > Hi,
> > 
> > I've used this one: \
> > https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml And it \
> > worked great so far.  
> > Maybe this helps.
> > 
> 
> Thanks! 
> 
> It fails on the update-alternatives command.
> 
> 'update-alternatives: error: alternative path /usr/bin/gcc-4.6 doesn't exist'
> 
> What should they do?
> 
> > Regards,
> > Joel
> 
> Greetings,
> Nicola


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;" class="">I had some weird linker issues \
(see&nbsp;<a href="https://circleci.com/gh/jhedev/todobackend-haskell/48" \
class="">https://circleci.com/gh/jhedev/todobackend-haskell/48</a>) when using an \
older gcc 4.9. So switching to gcc-4.6 helped.&nbsp;<div class=""><br \
class=""></div><div class="">I think you are using the newer ubuntu 14.04 build image \
which does not include gcc-4.6. Maybe you can try removing the update alternatives \
commands.</div><div class=""><br class=""></div><div class="">For your problem I \
guess its more important to set `-j 1` for the `stack build` command. To avoid \
getting no output etc.</div><div class=""><br class=""></div><div \
class="">Regards,</div><div class="">Joel</div><div class=""><div><blockquote \
type="cite" class=""><div class="">On 24 Aug 2016, at 18:36, Nicola Gigante &lt;<a \
href="mailto:nicola.gigante@gmail.com" class="">nicola.gigante@gmail.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br \
class=""><blockquote type="cite" class="">Il giorno 24 ago 2016, alle ore 18:13, Joel \
H &lt;<a href="mailto:joel.hermanns@gmail.com" \
class="">joel.hermanns@gmail.com</a>&gt; ha scritto:<br class=""><br class="">Hi,<br \
class=""><br class="">I've used this one: <a \
href="https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml" \
class="">https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml</a> And \
it worked great so far. <br class=""><br class="">Maybe this helps.<br class=""><br \
class=""></blockquote><br class="">Thanks! <br class=""><br class="">It fails on the \
update-alternatives command.<br class=""><br class="">'update-alternatives: error: \
alternative path /usr/bin/gcc-4.6 doesn't exist'<br class=""><br class="">What should \
they do?<br class=""><br class=""><blockquote type="cite" class="">Regards,<br \
class="">Joel<br class=""></blockquote><br class="">Greetings,<br \
class="">Nicola</div></div></blockquote></div><br class=""></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic