Dear all:
After "fink selfupdate" and "fink update-all", I want to install
grads using "fink install grads". But It failed.
My mac is "Mac OS 10.4.11". Could anyone help me?
Thanks.
Guangshan
The following are the error:
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-grads-1.9-1005 /sw/
src/fink.build
dpkg-deb: building package `fink-buildlock-grads-1.9-1005' in `/sw/
src/fink.build/fink-buildlock-
grads-1.9-1005_2009.10.29-10.57.10_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
grads-1.9-1005_2009.10.29-10.57.10_darwin-i386.deb
Selecting previously deselected package fink-buildlock-grads-1.9-1005.
(Reading database ... 79550 files and directories currently installed.)
Unpacking fink-buildlock-grads-1.9-1005 (from .../fink-buildlock-
grads-1.9-1005_2009.10.29-10.57.10_darwin-i386.deb) ...
Setting up fink-buildlock-grads-1.9-1005 (2009.10.29-10.57.10) ...
gzip -dc /sw/src/grads-1.9b3-src.tar.gz | /sw/bin/tar -xf - --no-
same-owner --no-same-permissions
[ -r /sw/fink/dists/unstable/crypto/finkinfo/grads.patch ]
sed 's|@PREFIX@|/sw|g' < /sw/fink/dists/unstable/crypto/finkinfo/
grads.patch | patch -p1
patching file configure
patching file src/Makefile.in
patching file src/gx.h
/var/tmp/tmp.1.E8079H
#!/bin/sh -ev
export DODSDIR=/sw/lib/dods
export SUPPLIBS=/sw
./configure --prefix=/sw --with-hdf --with-dods --with-lats --with-
nc --with-readline --with-printim --without-gui
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
Checking for programs
------------------
checking for mawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
Setting host specific options
-------------------------
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking for supplibs directory... /sw
Checking for essential libraries and headers
-----------------------------------------
checking for cos in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ANSI C header files... yes
checking for malloc.h... no
checking for sys/file.h... yes
checking for unistd.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for strtod... yes
Checking for optional feature support
------------------------------------
checking whether to use dynamic linking... no
Check GrADS command line editing support...
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for library containing tgetent... -ltermcap
checking for libreadline.a in supplibs... yes
+ Command line editing enabled
- GUI disabled
Check GrADS printim support...
checking for gd.h... yes
checking for library containing tgetstr... none required
checking for libz.a in supplibs... yes
checking for libpng.a in supplibs... yes
checking for libgd.a in supplibs... yes
+ printim enabled
checking if wi command has been enabled... no
- wi disabled
+ LATS enabled
Checking which GrADS binaries can be built
------------------------------------
checking for udunits.h... yes
checking for netcdf.h... yes
checking for libudunits.a in supplibs... yes
checking for libnetcdf.a in supplibs... no
- gradsnc (plain netCDF) build disabled
checking for udunits.h... (cached) yes
checking for netcdf.h... (cached) yes
checking for libz.a in supplibs... yes
checking for libudunits.a in supplibs... yes
checking for libjpeg.a in supplibs... yes
checking for libdf.a in supplibs... yes
checking for libmfhdf.a in supplibs... yes
+ gradshdf (HDF-SDS/netCDF) build enabled
checking for udunits.h... (cached) yes
checking for netcdf.h... (cached) yes
checking for libz.a in supplibs... yes
checking for libudunits.a in supplibs... yes
checking for librx.a in supplibs... yes
checking for libcurl.a in supplibs... yes
checking for libdap++.a in supplibs... yes
checking for libnc-dods.a in supplibs... yes
checking for libgadods.a in supplibs... no
+ gradsdods (OPeNDAP/netCDF) build enabled - gridded interface only
+=======================================================================
==+
GrADS 1.9b3 : Built Thu Oct 29 10:57:30 CDT 2009 for i386-apple-
darwin8.11.1
+=======================================================================
==+
+----------------------------------+
| |
| Configuration Summary |
| |
| + readline enabled |
| + printim enabled |
| - GUI disabled |
| + LATS enabled |
| - wi disabled (default) |
| |
| Build Summary |
| |
| + gradsc (classic) enabled |
| - gradsnc (netCDF) disabled |
| + gradshdf (HDF-SDS) enabled |
| + gradsdods (OPeNDAP) enabled |
| (grid interface only) |
| |
| - Dynamic linking disabled |
| |
+----------------------------------+
configure: creating src/VERSION
configure: creating src/buildinfo.h
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
Run 'make && make install' to build GrADS.
Executables will be installed to bin/ in current dir, unless prefix
was specified.
make
Making all in src
make all-am
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'grads.c' || echo './'`grads.c
grads.c: In function 'main':
grads.c:106: warning: incompatible implicit declaration of built-in
function 'strlen'
grads.c:110: warning: incompatible implicit declaration of built-in
function 'strcpy'
grads.c:111: warning: incompatible implicit declaration of built-in
function 'strcat'
grads.c:298: warning: incompatible implicit declaration of built-in
function 'strcpy'
grads.c: In function 'gainit':
grads.c:491: warning: incompatible implicit declaration of built-in
function 'strcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxsubs.c' || echo './'`gxsubs.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxmeta.c' || echo './'`gxmeta.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxchpl.c' || echo './'`gxchpl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxcntr.c' || echo './'`gxcntr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxstrm.c' || echo './'`gxstrm.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxwmap.c' || echo './'`gxwmap.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxshad.c' || echo './'`gxshad.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gaexpr.c' || echo './'`gaexpr.c
gaexpr.c: In function 'gaexpr':
gaexpr.c:84: warning: incompatible implicit declaration of built-in
function 'strlen'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gafunc.c' || echo './'`gafunc.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gautil.c' || echo './'`gautil.c
gautil.c: In function 'nxrdln':
gautil.c:109: warning: incompatible implicit declaration of built-in
function 'strcpy'
gautil.c:113: warning: incompatible implicit declaration of built-in
function 'strlen'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gagx.c' || echo './'`gagx.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gscrpt.c' || echo './'`gscrpt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gamach.c' || echo './'`gamach.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'bufrstn.c' || echo './'`bufrstn.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gabufr.c' || echo './'`gabufr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gabufrtbl.c' || echo './'`gabufrtbl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxX.c' || echo './'`gxX.c
gxX.c: In function 'gxdbgn':
gxX.c:272: warning: pointer targets in passing argument 3 of
'XCreateBitmapFromData' differ in signedness
gxX.c:403:67: warning: trigraph ??- ignored, use -trigraphs to enable
gxX.c:419:67: warning: trigraph ??- ignored, use -trigraphs to enable
gxX.c: In function 'gxdptn':
gxX.c:3269: warning: pointer targets in passing argument 3 of
'XCreateBitmapFromData' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gxdxwd.c' || echo './'`gxdxwd.c
gxdxwd.c:25: warning: conflicting types for built-in function 'calloc'
gxdxwd.c: In function 'Window_Dump':
gxdxwd.c:102: warning: incompatible implicit declaration of built-in
function 'exit'
gxdxwd.c:110: warning: incompatible implicit declaration of built-in
function 'exit'
gxdxwd.c:161: warning: incompatible implicit declaration of built-in
function 'exit'
gxdxwd.c: In function 'Usage':
gxdxwd.c:296: warning: incompatible implicit declaration of built-in
function 'exit'
gxdxwd.c: In function 'Error':
gxdxwd.c:314: warning: incompatible implicit declaration of built-in
function 'exit'
gxdxwd.c: In function 'Get_XColors':
gxdxwd.c:357: warning: incompatible implicit declaration of built-in
function 'malloc'
gxdxwd.c:358: warning: incompatible implicit declaration of built-in
function 'exit'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gd13gif.c' || echo './'`gd13gif.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latsnc.c' || echo './'`latsnc.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'galats.c' || echo './'`galats.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'lats.c' || echo './'`lats.c
lats.c: In function 'lats_basetime':
lats.c:238: warning: incompatible implicit declaration of built-in
function 'strncpy'
lats.c: In function 'lats_create':
lats.c:368: warning: incompatible implicit declaration of built-in
function 'strlen'
lats.c:369: warning: incompatible implicit declaration of built-in
function 'strcat'
lats.c:409: warning: incompatible implicit declaration of built-in
function 'strncpy'
lats.c: In function 'lats_grid':
lats.c:478: warning: incompatible implicit declaration of built-in
function 'memcpy'
lats.c: In function 'lats_var':
lats.c:701: warning: incompatible implicit declaration of built-in
function 'strncpy'
lats.c: In function 'lats_vert_dim':
lats.c:923: warning: incompatible implicit declaration of built-in
function 'memcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latsint.c' || echo './'`latsint.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latsgrib.c' || echo './'`latsgrib.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latstime.c' || echo './'`latstime.c
latstime.c: In function 'latsParseRelunits':
latstime.c:729: warning: incompatible implicit declaration of built-
in function 'strcpy'
latstime.c:737: warning: incompatible implicit declaration of built-
in function 'strcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latsstat.c' || echo './'`latsstat.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'fgbds.c' || echo './'`fgbds.c
fgbds.c: In function 'bds_set':
fgbds.c:224: warning: incompatible implicit declaration of built-in
function 'strncpy'
fgbds.c:224: warning: pointer targets in passing argument 1 of
'strncpy' differ in signedness
fgbds.c:224: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'fgutil.c' || echo './'`fgutil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'latsgribmap.c' || echo
'./'`latsgribmap.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -c `test -f 'gagmap.c' || echo './'`gagmap.c
gagmap.c: In function 'wtgmap':
gagmap.c:1328: warning: incompatible implicit declaration of built-in
function 'strncpy'
gagmap.c:1328: warning: pointer targets in passing argument 1 of
'strncpy' differ in signedness
gagmap.c:1328: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
gagmap.c:1339: warning: incompatible implicit declaration of built-in
function 'strncpy'
gagmap.c:1339: warning: pointer targets in passing argument 1 of
'strncpy' differ in signedness
gagmap.c:1339: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -
o gaddes-c.o -c ./gaddes.c
./gaddes.c: In function 'gaddes':
./gaddes.c:116: warning: incompatible implicit declaration of built-
in function 'strlen'
./gaddes.c:122: warning: incompatible implicit declaration of built-
in function 'strcat'
./gaddes.c:148: warning: incompatible implicit declaration of built-
in function 'strcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -
o gacfg-c.o -c ./gacfg.c
./gacfg.c: In function 'gacfg':
./gacfg.c:51: warning: incompatible implicit declaration of built-in
function 'strcat'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -
o gaio-c.o -c ./gaio.c
./gaio.c: In function 'gagstn':
./gaio.c:1007: warning: incompatible implicit declaration of built-in
function 'memcpy'
./gaio.c: In function 'cvhdr':
./gaio.c:1841: warning: incompatible implicit declaration of built-in
function 'memcpy'
./gaio.c: In function 'cvflt':
./gaio.c:1858: warning: incompatible implicit declaration of built-in
function 'memcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -I/usr/X11R6/include -
I/sw/include -g -O -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -
o gauser-c.o -c ./gauser.c
gcc -g -O -L/sw/lib -o gradsc grads.o gxsubs.o gxmeta.o gxchpl.o
gxcntr.o gxstrm.o gxwmap.o gxshad.o gaexpr.o gafunc.o gautil.o gagx.o
gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o
gd13gif.o latsnc.o galats.o lats.o latsint.o latsgrib.o latstime.o
latsstat.o fgbds.o fgutil.o latsgribmap.o gagmap.o gaddes-c.o gacfg-
c.o gaio-c.o gauser-c.o -L/sw/lib -L/usr/X11R6/lib /sw/lib/libgd.a /
sw/lib/libpng.a -lz /sw/lib/libreadline.a -lX11 -ltermcap -lm
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_gdCompareInt
collect2: ld returned 1 exit status
make[2]: *** [gradsc] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
### execution of /var/tmp/tmp.1.E8079H failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-grads-1.9-1005
(Reading database ... 79551 files and directories currently installed.)
Removing fink-buildlock-grads-1.9-1005 ...
Failed: phase compiling: grads-1.9-1005 failed
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners