From: Arlindo da S. <da...@al...> - 2008-01-26 20:51:04
|
On Jan 26, 2008 11:44 AM, Don Hooper <ho...@co...> wrote: > Arlindo, > > The make check still craps out immediately in pytests, saying: > Traceback (most recent call last): > File "./grads_tests.py", line 5, in ? > from optparse import OptionParser # Command-line args > ImportError: No module named optparse > Yes, a lot of these modules come standard in python 2.3 and later. I should add a test for the python version. Up to now wasn't quite sure where the divide was, but it appears that 2.3 is a hard requirement. (The only reason why I wrote the test suite in python is because I could do it quickly with PyUnit.) > > "gmake check" does nothing in the extensions directory. Unfortunately I am yet to write a test suite for the extensions, although it is badly needed. > The good > news, however, is the 'hello' command works, as well as the queries > on userdefined stuff. Also, the gex and bin tarballs are different > now. This is great! I am using dlopen() to load the .so into GrADS as needed. Since dlopen() was invented at Sun it is not surprising that it works on solaris, but it is always good to know that it actually works. > You can find them at: > ftp://ftp.cdc.noaa.gov/public/dhooper > I am having some trouble connecting to it. I'll try again later. > > And yes, --without-nc4 yielded satisfactory results. There's no > gxyat, of course. When I tried to build cairo, it insisted on > using a package configuration tool, which didn't find the X11 > back-end. I guess the /usr/X11 convention wasn't something it > wanted to try.... It also lost big time on the font stuff. > After this round of builds I'll add cairo to the supplibs. The reason I haven't is because of the additional dependencies it brings. Of these only the font stuff is required by cairo --- kind of unfortunate because GrADS uses none of it. However, cairo could be a good alternative to replace gxX.cin v2: it has a better rendering than X, handles fonts and transparencies and has been ported natively to just about anywhere. And because firefox and gnome uses it we know that it will continue to be maintained. So, the first step to explore it as a backend for grads is to add it to the supplibs. Thank you, Arlindo -- Arlindo da Silva da...@al... |