Compiling g2clib-1.0.5 (for grads-2.0) error

Arlindo da Silva dasilva at ALUM.MIT.EDU
Fri Feb 8 08:21:50 EST 2008


On Feb 8, 2008 6:13 AM, Oliver König <oliver at windfinder.com> wrote:

> Hello,
> I am trying to build g2clib on my AMD64 computer with Debian/GNU Linux
> Lenny
> (64bit). Here is what I did 5 minutes ago:
>

This library is included in the latest supplibs-2.0.1 available from:

http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=241681

You can get get the x86_64 binaries or the sources if you prefer to compile
it yourself.

Some important points:

1) Because 'libg2c' is also an internal gcc library, I have renamed this
library from  libg2c to libgrib2c to eliminate any possibility of conflict.
I also add a configure script that should make it easier to build it in
isolation as well.

2) I also had libgrib2c in supplibs-2.0.0; however that installation was
missing a header file (grib2c.h); the nre version also includes an important
bug fix.

3) Notice that grads-2.0.a0 will *not* build out of the box with
supplibs-2.0.1; future versions probably will. All you need to do at this
point is to extract the *.a and *.h from the supplib distro and place them
in the same layout of the old supplibs, the same way you are doing it now.
(The new supplibs organize the header files in a separate direcory for each
folder, e.g., include/grib2c/ instead of have them flat under include/).

4) The supplibs-2.0.1 also inlcude jasper and the other dependencies, all
compiled statically.

5) Use supplibs-2.0.0 for building grads v1.9; use supplibs-2.0.1 for
building grads v2; they are not interchangeable at this point.

  Let me know if you have any questions,

         Arlindo

-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080208/29ff3b48/attachment.html 


More information about the gradsusr mailing list