Japanese RGL doesn't compile

10 views
Skip to first unread message

John J. Camilleri

unread,
May 29, 2012, 9:48:28 AM5/29/12
to gf-...@googlegroups.com
Just updated from darcs this minute and get the following when trying to recompile:

Compiling [Present] lib/src/japanese/AllJap.gf
File ExtraJapAbs.gf does not exist.
searched in: lib/src/japanese/
             /home/john/repositories/GF/lib/src/japanese
             /home/john/repositories/GF/lib/src
             /home/john/repositories/GF/lib/src/abstract
             /home/john/repositories/GF/lib/src/common
             /home/john/repositories/GF/lib/src/prelude
             /home/john/repositories/GF/lib/prelude

Aarne Ranta

unread,
May 29, 2012, 9:56:19 AM5/29/12
to gf-...@googlegroups.com
Sorry, my mistake - added.

  Aarne.

Kaarel Kaljurand

unread,
May 29, 2012, 11:17:13 AM5/29/12
to gf-...@googlegroups.com
Hi,

On Tue, May 29, 2012 at 3:56 PM, Aarne Ranta <aa...@chalmers.se> wrote:
> Sorry, my mistake - added.
>
I'm still getting this error. I've updated to the latest darcs (Tue
May 29 16:47:59 CEST 2012) and done:

- rm -r dist
- cabal install

Btw, how can I find out which version of GF am I running. "gf
--version" shows "3.3.3-darcs", but I'd like ideally to know the exact
commit ID. Also, is there a version number for the resource grammar
library that could be obtained somehow via the GF commandline client.

Best regards,
Kaarel

Aarne Ranta

unread,
May 29, 2012, 11:46:40 AM5/29/12
to gf-...@googlegroups.com
A new try. I did something wrong in darcs last time.

You are right that we should add accurate build ID's to GF and the RGL. The RGL version number is simply the same as the version number in the GF release - but both change all the time, of course.

To obtain the exact source version, I use

  darcs changes | head

which however doesn't tell when the binary was built...

  Aarne.

Thomas Hallgren

unread,
May 30, 2012, 5:04:07 PM5/30/12
to gf-...@googlegroups.com
Hi,

I added some code to the Setup.hs script to query darcs for some version info. Now you will see something like this when you start GF:
$ gf
                              
         *  *  *              
      *           *           
    *               *         
   *                          
   *                          
   *        * * * * * *       
   *        *         *       
    *       * * * *  *        
      *     *      *          
         *  *  *              
                              
This is GF version 3.3.3-darcs. 
192 recorded changes since RELEASE-3.3.3
Last recorded change: Wed May 30 18:15:59 CEST 2012  hall...@chalmers.se
Built on darwin/i386 with ghc-7.0, flags: interrupt server
License: see help -license.   
Bug reports: http://code.google.com/p/grammatical-framework/issues/list
Note though that this is not enough to uniquely identify a version of GF, but it gives you a much better idea than the version number that we only increment manually when we make a release. There is probably room for improvement, suggestions are welcome.

Also, this is only interesting if you get the GF sources from the darcs repository. Official releases have version numbers that uniquely identify them. They do not have the "-darcs" suffix.

Thomas H

John J. Camilleri

unread,
May 31, 2012, 5:58:37 AM5/31/12
to gf-...@googlegroups.com
A minor note, maybe this information should be included when running gf --version too?

Thomas Hallgren

unread,
Jun 8, 2012, 7:37:27 AM6/8/12
to gf-...@googlegroups.com
Good idea, I made this change.

If someone depends on the format of the version output, this change introduces a backward incompatibility. But the first line remains the same as before, so it should be easy to adapt.

Thomas H
Reply all
Reply to author
Forward
0 new messages