[Agda] Fwd: Re: problems installing agda master using stack

Martin Stone Davis martin.stone.davis at gmail.com
Tue Dec 5 01:15:15 CET 2017


My email program messes me up by defaulting to reply instead of 
reply-to-list. Here's the solution I sent to Andrés.



-------- Forwarded Message --------
Subject: 	Re: [Agda] problems installing agda master using stack
Date: 	Mon, 4 Dec 2017 07:10:51 -0800
From: 	Martin Stone Davis <martin.stone.davis at gmail.com>
To: 	Andrés Sicard-Ramírez <asr at eafit.edu.co>



Thanks Andrés,

Indeed, it looks like a problem specific to arch and stack. I followed
your search-text suggestion and eventually found the following solution:
I copied `stack-8.0.2.yaml` to `stack-8.0.2-arch.yaml` and added a line
`ghc-build: tinfo6`. Then the following command builds w/o error: `stack
--stack-yaml stack-8.0.2-arch.yaml install`.

For sake of completeness, the full file, `stack-8.0.2-arch.yaml` is here:

```
resolver: lts-9.12
ghc-build: tinfo6

# Local packages, usually specified by relative directory name
packages:
- '.'
```



On 12/04/2017 04:10 AM, Andrés Sicard-Ramírez wrote:
> On 4 December 2017 at 06:23, Andrés Sicard-Ramírez <asr at eafit.edu.co> wrote:
>> On 3 December 2017 at 21:02, Martin Stone Davis
>> <martin.stone.davis at gmail.com> wrote:
>>> I'm using stack Version 1.6.0.20171022 x86_64
>>>
>>> Here's the command I am using for stack:
>>>
>>> stack --stack-yaml stack-8.0.2.yaml install
>>>
>> I'm not familiar with stack, but Travis and I couldn't reproduce using
>>
>>    $ stack --version
>>    Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e
>> (4861 commits) x86_64 hpack-0.17.1
>>
>> Could you reproduce the problem using this version of stack?
>>
>> I'm using my local installed version of GHC with stack, that is, I ran
>> the following command:
>>
>>    $ stack --stack-yaml stack-8.0.2.yaml --system-ghc install
>>
> I couldn't reproduce the problem using your version of stack. Googling by
>
>    old-time-1.1.0.3: configure: error: cannot run C compiled programs.
>
> I found the same problem on Windows and Arch (Travis and I use Ubuntu).
>
>
> --
> Andrés
> La información contenida en este correo electrónico estádirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida porderecho de autor. Está prohibida cualquier copia, utilización,indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente porlo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chalmers.se/pipermail/agda/attachments/20171204/b9e7cab4/attachment.html>


More information about the Agda mailing list