<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Arlindo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>OK, udunits did not compile as you suggested. I get
the following error below using make make-3.81-66. Any ideas? I'm not that great
with Makefiles.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Steven</FONT></DIV>
<DIV><FONT face=Arial
size=2><BR>linux-3vnb:/home/wavescape/grads-1.9.0-rc1/supplibs/src # make
install ALLDIRS=<BR>udunits<BR>Building install ...<BR>make[1]: Entering
directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src'<BR>make[1]:
`udunits.config' is up to date.<BR>make[1]: Leaving directory
`/home/wavescape/grads-1.9.0-rc1/supplibs/src'<BR>make[1]: Entering directory
`/home/wavescape/grads-1.9.0-rc1/supplibs/src'<BR>make[2]: Entering directory
`/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunit<BR>s'<BR>Makefile:605: ***
target pattern contains no `%'. Stop.<BR>make[2]: Leaving directory
`/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunits<BR>'<BR>make[1]: ***
[udunits.install] Error 2<BR>make[1]: Leaving directory
`/home/wavescape/grads-1.9.0-rc1/supplibs/src'<BR>make: *** [install] Error
2</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dasilva@ALUM.MIT.EDU href="mailto:dasilva@ALUM.MIT.EDU">Arlindo da
Silva</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=GRADSUSR@LIST.CINECA.IT
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, February 24, 2008 2:48
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Build Grads with dods
1.9.0-rc1 on Suse 10.3</DIV>
<DIV><BR></DIV>
<DIV class=gmail_quote>On Sat, Feb 23, 2008 at 1:08 PM, Steven Weiss <<A
href="mailto:sweiss@iafrica.com">sweiss@iafrica.com</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<BR><BR>I've
been trying to build Grads from Sources and downloaded the sources
for<BR>both Grads 1.9 and the supplibs at sourceforge. </BLOCKQUOTE>
<DIV> </DIV>
<DIV>Even when the grads binaries do not work for you the pre-compiled
supplibs might. If you built your supplibs did you checked whether all the
packages completed succesfully? Do a </DIV>
<DIV> </DIV>
<DIV>% ls *.install</DIV>
<DIV> </DIV>
<DIV>and see if ll packages are accounted for, specially udunits. If not,
enter</DIV>
<DIV> </DIV>
<DIV>make install ALLDIRS=udunits</DIV>
<DIV> </DIV>
<DIV>and see what is going on (specifying ALLDIRS this way avoid tons of
distracting output from other packages.)</DIV>
<DIV> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><SPAN
id=""></SPAN>I've followed the<BR>documentation at opengrads and the build
runs fine but only for gradsc. I<BR>would like to build gradsdods as well
but it seems that the problem is with<BR>udunits.h. This is in my
supplibs/src/udunits/lib directory. See below for<BR>output from the
configure script. I have also tried with the "--with-dods"<BR>option with no
success.<BR></BLOCKQUOTE>
<DIV> </DIV>
<DIV> </DIV>
<DIV>The first unusual thing that I noticed</DIV>
<DIV> </DIV>
<DIV>
<DIV>checking for supplibs directory... ./supplibs/i686-pc-linux-gnu<BR></DIV>
<DIV> </DIV>
<DIV>I usually place the supplibs parallel to the grads directory</DIV>
<DIV> </DIV>
<DIV> ../supplibs/i686-pc-linux-gnu<BR><BR>(I am not
sure if this is a problem...) Here is another clue:</DIV></DIV>
<DIV> </DIV>
<DIV>Checking which GrADS binaries can be
built<BR>------------------------------------------<BR>checking udunits.h
usability... no<BR>checking udunits.h presence... no<BR>checking for
udunits.h... no<BR>- gradsnc (plain netCDF) build disabled</DIV>
<DIV> </DIV>
<DIV>Somehow it cannot locate udunits.h. Can you see if you have this include
file under</DIV>
<DIV> </DIV>
<DIV>
./supplibs/i686-pc-linux-gnu/include/udunits<BR></DIV>
<DIV>My guess is that your udunits build failed. </DIV>
<DIV> </DIV>
<DIV> Arlindo</DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><SPAN
id=""></SPAN><BR>Regards<BR>Steven<BR><BR>checking for a BSD-compatible
install... /usr/bin/install -c<BR>checking whether build environment is
sane... yes<BR>checking for a thread-safe mkdir -p... /bin/mkdir
-p<BR>checking for gawk... gawk<BR>checking whether make sets $(MAKE)...
yes<BR>checking whether to enable maintainer-specific portions of
Makefiles... no<BR><BR>Checking for
programs<BR>------------------<BR>checking for gawk... (cached)
gawk<BR>checking for gcc... gcc<BR>checking for C compiler default output
file name... a.out<BR>checking whether the C compiler works...
yes<BR>checking whether we are cross compiling... no<BR>checking for suffix
of executables...<BR>checking for suffix of object files... o<BR>checking
whether we are using the GNU C compiler... yes<BR>checking whether gcc
accepts -g... yes<BR>checking for gcc option to accept ISO C89... none
needed<BR>checking for g++... g++<BR>checking whether we are using the GNU
C++ compiler... yes<BR>checking whether g++ accepts -g... yes<BR>checking
for a BSD-compatible install... /usr/bin/install -c<BR>checking whether ln
-s works... yes<BR><BR>Setting host specific
options<BR>-------------------------<BR>checking build system type...
i686-pc-linux-gnu<BR>checking host system type...
i686-pc-linux-gnu<BR>checking for supplibs directory...
./supplibs/i686-pc-linux-gnu<BR><BR>Checking system libraries, headers, and
compiler features<BR>-----------------------------------------<BR>checking
for cos in -lm... yes<BR>checking how to run the C preprocessor... gcc
-E<BR>checking for X... libraries , headers<BR>checking for gethostbyname...
yes<BR>checking for connect... yes<BR>checking for remove... yes<BR>checking
for shmat... yes<BR>checking for IceConnectionNumber in -lICE...
yes<BR><BR>checking for grep that handles long lines and -e...
/usr/bin/grep<BR>checking for egrep... /usr/bin/grep -E<BR>checking for ANSI
C header files... yes<BR>checking for sys/types.h... yes<BR>checking for
sys/stat.h... yes<BR>checking for stdlib.h... yes<BR>checking for
string.h... yes<BR>checking for memory.h... yes<BR>checking for strings.h...
yes<BR>checking for inttypes.h... yes<BR>checking for stdint.h...
yes<BR>checking for unistd.h... yes<BR>checking malloc.h usability...
yes<BR>checking malloc.h presence... yes<BR>checking for malloc.h...
yes<BR>checking sys/file.h usability... yes<BR>checking sys/file.h
presence... yes<BR>checking for sys/file.h... yes<BR>checking for
unistd.h... (cached) yes<BR><BR>checking for an ANSI C-conforming const...
yes<BR>checking whether byte ordering is bigendian... no<BR>checking for
strtod... yes<BR>checking for off_t... yes<BR>checking for special C
compiler options needed for large files... no<BR>checking for
_FILE_OFFSET_BITS value needed for large files... 64<BR>checking for
_LARGEFILE_SOURCE value needed for large files... no<BR><BR>Checking for
optional feature support<BR>------------------------------------<BR>checking
whether to use dynamic linking... no<BR><BR>Check GrADS command line editing
support...<BR>checking readline/readline.h usability... yes<BR>checking
readline/readline.h presence... yes<BR>checking for readline/readline.h...
yes<BR>checking readline/history.h usability... yes<BR>checking
readline/history.h presence... yes<BR>checking for readline/history.h...
yes<BR>checking for tgetent in -lncurses... yes<BR>checking for
libreadline.a in supplibs... yes<BR>+ Command line editing
enabled<BR><BR>Check GrADS GUI support...<BR>checking for main in -lXext...
yes<BR>checking for main in -lXt... yes<BR>checking for main in -lXmu...
yes<BR>checking for main in -lXpm... yes<BR>checking for libneXtaw.a in
supplibs... yes<BR>checking for libsx.a in supplibs... yes<BR>+ GUI
enabled<BR><BR>Check GrADS printim support...<BR>checking gd.h usability...
yes<BR>checking gd.h presence... yes<BR>checking for gd.h... yes<BR>checking
for libz.a in supplibs... yes<BR>checking for libpng.a in supplibs...
yes<BR>checking for libgd.a in supplibs... yes<BR>+ printim
enabled<BR><BR>checking if wi command has been enabled... no<BR>- wi
disabled<BR><BR>+ LATS enabled<BR><BR>Checking which GrADS binaries can be
built<BR>------------------------------------------<BR>checking udunits.h
usability... no<BR>checking udunits.h presence... no<BR>checking for
udunits.h... no<BR>- gradsnc (plain netCDF) build disabled<BR><BR>checking
for udunits.h... (cached) no<BR>- gradsnc4 (netCDF-4) build
disabled<BR><BR>checking for udunits.h... (cached) no<BR>- gradshdf
(HDF-SDS/netCDF) build disabled<BR><BR>checking for udunits.h... (cached)
no<BR>- gradsdods (OPeNDAP/netCDF) build
disabled<BR><BR> +=========================================================================+<BR>
GrADS 1.9.0-rc1 : Built Sat Feb 23 19:31:27 SAST 2008 for
i686-pc-linux-gnu<BR> +=========================================================================+<BR><BR> +----------------------------------+<BR> |
|<BR> | Configuration Summary
|<BR> |
|<BR> | + readline enabled
|<BR> | + printim enabled
|<BR> | + GUI
enabled
|<BR> | + LATS enabled
|<BR> | - wi disabled (default)
|<BR> |
|<BR> | Build Summary
|<BR> |
|<BR> | + gradsc (classic) enabled
|<BR> | - gradsnc (netCDF-3) disabled |<BR> | -
gradsnc4 (netCDF-4) disabled |<BR> | - gradshdf
(HDF-SDS) disabled |<BR> | Build Summary
|<BR> |
|<BR> | + gradsc
(classic) enabled |<BR> | - gradsnc
(netCDF-3) disabled |<BR> | - gradsnc4 (netCDF-4) disabled
|<BR> | - gradshdf (HDF-SDS) disabled |<BR> |
- gradsdods (OPeNDAP) disabled |<BR> |
|<BR> | - Dynamic supplibs disabled
|<BR> |
|<BR> +----------------------------------+<BR>configure: creating
src/VERSION<BR>configure: creating src/buildinfo.h<BR>configure: creating
./config.status<BR>config.status: creating Makefile<BR>config.status:
creating src/Makefile<BR>config.status: creating
pytests/Makefile<BR>config.status: creating src/config.h<BR>config.status:
src/config.h is unchanged<BR><BR>Run 'make && make install' to build
GrADS.<BR>Executables will be installed to bin/ in current dir, unless
prefix was specifie<BR>d.<BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR>Arlindo da Silva<BR><A
href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</A>
</BLOCKQUOTE></BODY></HTML>