Package Details: zygrib 8.0.1-3

Git Clone URL: https://aur.archlinux.org/zygrib.git (read-only)
Package Base: zygrib
Description: Weather data visualization, GRIB file viewer
Upstream URL: http://www.zygrib.org/
Keywords: data GRIB visualization weather
Licenses: GPL3
Submitter: None
Maintainer: SydMax (Dwaddle)
Last Packager: Dwaddle
Votes: 13
Popularity: 0.007037
First Submitted: 2009-09-22 20:49
Last Updated: 2017-06-06 12:23

Dependencies (8)

Required by (1)

Sources (4)

Latest Comments

Dwaddle commented on 2017-06-06 10:40

I will make today a new .srconfo file

martynjy commented on 2017-06-06 09:00

The PKGBUILD is 'pkgrel=3' The .SRCINFO is 'pkgrel=2'.

Dwaddle commented on 2017-05-04 14:06

With a few adjustments, builds without any problem, as it should on 686.
thanks to yrreiht for the hint to remove the -m64 and -D__64BIT__

https://github.com/dwaddle/zyGrib-pkgbuild

yrreiht commented on 2017-01-12 17:42

cd src/g2clib; make

gcc -c -O3 -g -m64 -I/nwprod/lib/include/ -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ gridtemplates.c

make[1]: *** [makefile:89: libg2c.a(gridtemplates.o)] Error 1

maybe need to patch makefile in src/g2clib
CFLAGS= -O3 -g -m64 $(INC) $(DEFS) -D__64BIT__
CFLAGS= -O3 $(INC) $(DEFS)

Thanks for your attention

SydMax commented on 2017-01-12 12:16

yrreiht, can not reproduce. Successfully built working i686 package.

yrreiht commented on 2017-01-11 19:06

PKGBUILD should be arch=('x86_64') only.
Doesn't build for i686 architecture.

SydMax commented on 2017-01-06 10:15

Updated package with biondilbiondo's patch. Now it builds and works.

biondilbiondo commented on 2017-01-05 13:19

olivierlm commented on 2016-12-12 13:25

Build is failing for me on last version (8.0.1-1):
'''
enc_jpeg2000.c:124:10: erreur : ‘jas_image_t {alias struct <anonymous>}’ has no member named ‘inmem_’
image.inmem_=1;
^
make[1]: *** [makefile:89: libg2c.a(enc_jpeg2000.o)] Error 1
'''
Any idea ?
_____________________________
I got this error too. I solved adding in PKGBUILD the following lines:

prepare() {
cd "$srcdir/$_upname-$pkgver"
sed 's/\(^.*image.inmem_=1.*$\)/\/\/\1/' src/g2clib/enc_jpeg2000.c > src/g2clib/enc_jpeg2000.c.tmp; mv src/g2clib/enc_jpeg2000.c.tmp src/g2clib/enc_jpeg2000.c
}

It worked for me.

biondilbiondo commented on 2017-01-05 13:19

olivierlm commented on 2016-12-12 13:25

Build is failing for me on last version (8.0.1-1):
'''
enc_jpeg2000.c:124:10: erreur : ‘jas_image_t {alias struct <anonymous>}’ has no member named ‘inmem_’
image.inmem_=1;
^
make[1]: *** [makefile:89: libg2c.a(enc_jpeg2000.o)] Error 1
'''
Any idea ?
_____________________________
I got this error too. I solved adding in PKGBUILD the following lines:

prepare() {
cd "$srcdir/$_upname-$pkgver"
sed 's/\(^.*image.inmem_=1.*$\)/\/\/\1/' src/g2clib/enc_jpeg2000.c > src/g2clib/enc_jpeg2000.c.tmp; mv src/g2clib/enc_jpeg2000.c.tmp src/g2clib/enc_jpeg2000.c
}

It worked for me.

martynjy commented on 2016-12-20 15:55

I get this with both jasper 1.900.5-1 and 1.900.31-1:

make[1]: *** [makefile:89: libg2c.a(gridtemplates.o)] Error 1
make[1]: Leaving directory '/home/arch/builds/zygrib/src/zyGrib-8.0.1/src/g2clib'
make: *** [Makefile:46: zyGrib] Error 2

All comments