Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] _CoqProject

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] _CoqProject


Chronological Thread 
  • From: Jeremy Dawson <Jeremy.Dawson AT anu.edu.au>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] _CoqProject
  • Date: Tue, 28 Apr 2020 00:49:51 +1000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=anu.edu.au; dmarc=pass action=none header.from=anu.edu.au; dkim=pass header.d=anu.edu.au; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eg902iN1ZqKsusQSElkgAEUBr18ZHMAnBVbr0mkxYqw=; b=EPlx1pFkliFB1MqanP9EoEgEwYYFNj6irxe+QIJwyzDt9IBwlaiq8p7IIiEhlKSLlzQm1caR2BO2QK1Hkb9P44s/Hre4jzx1/yS3snZJnjdL4QxRyAdoYFylQzNm1a0vcP2qqUw3xfC+SSe4ZXMXBIkYlR9k4SnemteNpgFnVzfxyW9wJSQhmMcGpM2PDiRMn87PLobyFuioBMYgpufQWeKn41khFA6hbzgXAAM+Znm22Q2d+/PsAzfevNREIoh11o05b1DtGvzhsVSpGPqeEjKkCw3hdlvbRJdYj+WMUuMrwlbQCtFOBeBsrXQxm2p4foesNdKam9HgFnfY5MJX8w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CU08Z/iDBfZM3TfiN+n5Y9agwbbmxRoKZePsgCEmJZ1l/hLQekXuXLs0yntB4jcQPhiwhZBsfNy4/JJD1jilbDt0J/RgYaWV427SBtMIWA8OA3K0zWPL2o+A1Nmc/pdi0bSEinWSD54sumftQSDP/sIT00W0ojpANE1rIQxJS3pKJmRiEAyfNqJCZDkgW+NqLhifyfkozLl1DpUvN53iNJwXpp0K32VOa+Alrh68XG3H2JfuBgYvPS2jsql/KPVW3e9MNqs6H2h3rBA3fhpx4hliMoB7c5aRB2nnV1TVHXAxnuc3VPuHRexc+OvsCWN0KUWZrdpgK3oJJHb23NMh8w==
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.mailfrom=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.helo=postmaster AT AUS01-SY3-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:eWyrBRybAWY2xwPXCy+O+j09IxM/srCxBDY+r6Qd2+oTIJqq85mqBkHD//Il1AaPAdyGra8VwLWJ+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhIiTanYb5/KBq6oAfTu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406HzZhNJ+jKxboxyvqRJwzIzIb4+aO/V+f7jQfc8ZSGdbQspdSyJMD4G6YoASD+QBJ+FYr4zlqlUKsxS+HxejBObvyzRViHH5x6M70/8mEQHAwQctGNYAv2rOrNrrMacTUfq5wqfSwjTNdPNW3jH95ZPSfRAnvPGAR6x/ftfMyUU1DQzFk0ydpIr4ND2WzuQAq2eW4/Z6We6yl2IqqRt9riWhy8oukIXFm4wYx1Pc+Sh2xIs5P8C0RU1nbdK+DpdcrTyWOol3T84kXmpmojw1yqcctp6+ZCUKyIooxxrYa/Gfb4WH7A/tWPqMLTthmXxqeryyiw+18Ue71OLwTM600EtWriVeldnMq3YN2AHJ5sifUPt9+Vuh1iiT2ADP6+FEJkY0mbDcK5483r4wkp0TsUPAHiPshEr2i6qWel0l+uiu9evnfq3rq5CAO4Nulw3yLqYjltaiDek2MAUCRXWX9Oq/2bH7+E32WrRKjvk4kqnDt5DaINwWqKqnDA9PzIkj7ha+Ay2o3tsCk3gHN1VFeBScgofzPVHOPer0AumijFSxijtk3e3GMqX7AprRNnjDjKvhfbFl5kFAzwoz1MlT6I5QCrEcO/3+QVTxtdzdDh8hKQO42efnCNNn1oMfQ22DGKGZMLmB+WOPs+koOqyHYJIfkDf7MfksofD03lEjnlpIX6Sz0J4GIFyxAe9hJQ3NQ3f2j9IQV0sDoRE5SsTjjkDEXDJOIX+vCfFvrgonAZ6rWN+QDrumh6aMiX/iQ89mI1teA1XJKk/GMoWJX/BQN3C7H/Q5y3k/ZOPkTIUskxazqAX91rxraPLO/TEVvo7i094z4PDPkRY19np/CMHPijjcHVExpXsBQnoN5I46pEV8zlmZ1q0h2a5RE8EV6v9UFA4nZ8eFk75KTuvqUweERe+nDU68S4z8Uzg3U5Q8z8JIalsvQ9g=

Sorry, I don't understand what you are getting at. What do you mean by
make *and make install* tense-logic-in-Coq
ie what do I type and in what directory?
What is "make install" meant to do?

Thanks

Jeremy


On 4/28/20 12:01 AM, Pierre Courtieu wrote:
Hi

These warnings mean that your current configuration does not allow to do "make install" due to the lack of a main root directory. coq_makefile does not support to install several libraries at once. However I think you should be able to built your project without problems.

That said if you make *and make install* tense-logic-in-Coq you could just remove it completely from you _CoqProject file, use it in your development and have a working "make install".

Hope this helps,
P


Le lun. 27 avr. 2020 à 13:39, Jeremy Dawson <Jeremy.Dawson AT anu.edu.au <mailto:Jeremy.Dawson AT anu.edu.au>> a écrit :

Hi,

Thanks - but this won't work because it would mean changing dd_fc.v
and all the files in that directory, which is part of other people's
work as well

So I tried some alternatives like
-Q ../lnt/tense-logic-in-Coq/
or
-Q ../lnt/tense-logic-in-Coq/ .

All of these, including your suggested
-Q ../lnt/tense-logic-in-Coq/ TL

gave a bunch or warnings, eg

-Q ../lnt/tense-logic-in-Coq/ TL
gives
Warning: ../lnt/tense-logic-in-Coq/ (used in -R or -Q) is not a
subdirectory of the current directory

Warning: no common logical root
Warning: in such case INSTALLDEFAULTROOT must be defined
Warning: the install-doc target is going to install files
Warning: in orphan_TL_Top

I don't understand any of these, except the first (and I don't know
what
I should do about that), and I can't find any explanation of these in
the documentation.

What do they all mean?

Thanks

Jeremy


On 27/4/20 12:26 am, Gaëtan Gilbert wrote:
> Indeed -I is for ocaml files (for plugins)
>
> Gaëtan Gilbert
>
> On 26/04/2020 16:23, Dan Frumin wrote:
>> Hi Jeremy,
>>
>> I don't know why -I doesn't work, but I think using -Q does the
trick
>> (at least with my version of Coq): I replaced
>>
>>      -I ../lnt/tense-logic-in-Coq/
>>
>> with
>>      -Q ../lnt/tense-logic-in-Coq/ TL
>>
>> and then in dd_fc.v used `Require Import TL.genT`
>>
>>
>>
>> Best,
>> Dan
>>
>>
>> On 26-04-2020 16:09, Jeremy Dawson wrote:
>>>
>>> Hi,
>>>
>>> I've constructed a _CoqProject file as follows
>>>
>>> -I ../lnt/tense-logic-in-Coq/
>>> -I ../gen/
>>> ../lnt/tense-logic-in-Coq/gen.v
>>> ../lnt/tense-logic-in-Coq/genT.v
>>> ../lnt/tense-logic-in-Coq/List_lemmasT.v
>>> ../lnt/tense-logic-in-Coq/lntT.v
>>> ../lnt/tense-logic-in-Coq/swappedT.v
>>> ../lnt/tense-logic-in-Coq/ddT.v
>>> ../lnt/tense-logic-in-Coq/dd_fc.v
>>> ../lnt/tense-logic-in-Coq/lntacsT.v
>>> ../gen/rtcT.v
>>> ../gen/gstep.v
>>> ../gen/gentree.v
>>> gen_ext.v
>>> k4.v
>>> k4_exch.v
>>> k4_inv.v
>>> k4_ctr.v
>>> k4_ca.v
>>>
>>> I then run
>>>   make -f Makefile
>>> and get the following messages
>>> COQC ../lnt/tense-logic-in-Coq/dd_fc.v
>>> File "../lnt/tense-logic-in-Coq/dd_fc.v", line 12, characters
15-19:
>>> Error: Unable to locate library genT.
>>>
>>> (in fact the file
>>> ../lnt/tense-logic-in-Coq/genT.v
>>> exists)
>>>
>>> What do I need to put in the _CoqProject file to make this work?
>>>
>>> Thanks
>>>
>>> Jeremy




Archive powered by MHonArc 2.6.18.

Top of Page