Bug#526424: Bug #526424: gerris: missing file 'm4.awk

2009-05-01 Thread Drew Parsons
Stephane Popinet wrote:

 In order to implement the GfsDefine macro
 keyword, the gerris executable calls m4 and awk on the input parameter
 file. It also uses a 'm4.awk' file which is normally installed in
 $prefix/lib/gerris/m4.awk. Is there any reason why this file is not
 part of your current debian package?
 

I've fixed the missing files in git commit 
2ba2f77bf3b2ac8ccc56dab9800120ca7716bdcd.
so that /usr/lib/gerris/m4.awk is now in place. (I took the liberty of
placing it in /usr/share/gerris/lib, symlinked back to /usr/lib/gerris,
since the m4.awk is arch-independent).

I tried testing by simply adding 

GfsDefine CIRCLE (ellipse (-0.5,0.,0.4,0.4))

to my gfs script.

gerris2d continues generating the same macro error:

gerris: file `test.gfs' is not a valid simulation file
test.gfs:20:1: unknown class `GfsDefine'


I'm not sure if the error is because I've misused the macro in my gfs
script, or whether gerris and m4 need to communicate where m4.awk is
exactly.

This should have been done as the awk variable in gerris.c, via
GFS_MODULES_DIR.  GFS_MODULES_DIR is defined in Makefile at build time:
-DGFS_MODULES_DIR=\$(libdir)/gerris\ .  That should be ok.  Needs
deeper digging to check awk was defined appropriately.

Drew





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#526424: Bug #526424: gerris: missing file 'm4.awk

2009-05-01 Thread Stephane Popinet
 I tried testing by simply adding

        GfsDefine CIRCLE (ellipse (-0.5,0.,0.4,0.4))

 to my gfs script.

 gerris2d continues generating the same macro error:

 gerris: file `test.gfs' is not a valid simulation file
 test.gfs:20:1: unknown class `GfsDefine'

Did you use the -m option of gerris2D?

Which version of awk are you using?

Stephane



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#526424: gerris: missing file 'm4.awk

2009-05-01 Thread Drew Parsons
On Fri, 2009-05-01 at 20:51 +1200, Stephane Popinet wrote:
  I tried testing by simply adding
 
 GfsDefine CIRCLE (ellipse (-0.5,0.,0.4,0.4))
 
  to my gfs script.
 
  gerris2d continues generating the same macro error:
 
  gerris: file `test.gfs' is not a valid simulation file
  test.gfs:20:1: unknown class `GfsDefine'
 
 Did you use the -m option of gerris2D?
 


oops *embarrassed*  no I didn't... :)

All working then.  I'll upload the fixed version when I get a spare
moment.

Drew






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#526424: gerris: missing file 'm4.awk

2009-04-30 Thread Stephane Popinet
Package: gerris
Version: 0.9.2+darcs081022-dfsg.1-4
Severity: normal


I have had a look at your debian packaging of Gerris and I believe
there may be a problem. In order to implement the GfsDefine macro
keyword, the gerris executable calls m4 and awk on the input parameter
file. It also uses a 'm4.awk' file which is normally installed in
$prefix/lib/gerris/m4.awk. Is there any reason why this file is not
part of your current debian package?

In order to support this feature, I believe the following steps would
be necessary:

1- package usr/lib/gerris/m4.awk
2- make gerris depend on m4 and awk

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-23-386
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org