Date: Tue, 16 Mar 2004 07:17:13 +0100 From: Lars =?iso-8859-1?Q?K=F6ller?= <lars.koeller@uni-bielefeld.de> To: Rob Lahaye <lahaye@snu.ac.kr> Cc: lars.koeller@uni-bielefeld.de Subject: Re: FreeBSD Port: grace-5.1.14_1 Message-ID: <200403160617.i2G6HD628290@rayadm.hrz.uni-bielefeld.de> In-Reply-To: Message from Rob Lahaye <lahaye@snu.ac.kr> "of Tue, 16 Mar 2004 10:58:21 %2B0900." <40565F3D.6010603@snu.ac.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
---------- Hi, if I remember right an other user was able to fix this by deinstall t= h=20 netcdf port and reinstall it. After this the errors vanishes. It is surely not an option to globally disable netcdf. If the error is still there, please make a bug report to the grace= =20 developers.=20 Thanks and regards Lars In reply to Rob Lahaye who wrote: =20 >=20 >=20 > Hi, >=20 > I'm running 4.9-STABLE. >=20 > My 'make' in Grace port ends with the output below. > A temporary, and thus incorrect, fix is following patch, > which disables netcdf support in grace: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile Tue Mar 16 10:20:39 2004 > +++ Makefile Tue Mar 16 10:20:05 2004 > @@ -42,7 +42,7 @@ > CONFIGURE_ARGS=3D -prefix=3D${X11BASE} \ > --with-extra-incpath=3D${X11BASE}/include/X11:${LOCALBASE}= /include \ > --with-extra-ldpath=3D${LOCALBASE}/lib --without-bundled_x= bae \ > - --enable-grace-home=3D${X11BASE}/lib/X11/grace > + --enable-grace-home=3D${X11BASE}/lib/X11/grace --enable-net= cdf=3Dno >=20 > ALL_TARGET=3D > INSTALL_TARGET=3D install links > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > The Grace port has a dependency on netcdf and I have netcdf install= ed. > So somehow the link to the netcdf library seems to break the build. >=20 > Any suggestion to a better fix for this port? >=20 > Regards, > Rob. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > # cd /usr/ports/math/grace > # make > [...] > cc -O -pipe -I.. -I. -I/usr/X11R6/include/X11 -I/usr/local/inclu= de -I/usr/X11R6/include main.o plotone.o files.o ssdata.o utils.o dra= wticks.o nonlfit.o lmdif.o as274c.o fit.o fourier.o graphs.o graphuti= ls.o setutils.o regionutils.o objutils.o computils.o defaults.o param= s.o draw.o dlmodule.o pars.o missing.o iofilters.o dates.o t1fonts.o= device.o dummydrv.o mfdrv.o mifdrv.o psdrv.o pdfdrv.o svgdrv.o gd.o = rstdrv.o mathstuff.o Tab.o motifutils.o compwin.o comwin.o eblockwin.= o editpwin.o events.o featext.o fileswin.o plotwin.o graphappwin.o he= lpwin.o hotwin.o locatewin.o miscwin.o monwin.o nonlwin.o printwin.o = ptswin.o regionwin.o setwin.o strwin.o setappwin.o tickwin.o worldwin= .o fontwin.o xutil.o x11drv.o xmgrace.o -o xmgrace -L/usr/local/lib = -L/usr/X11R6/lib -lXmHTML -lXbae -lXm -lXpm -lXp -lXmu -lXt -lXext -= lX11 -lSM -lICE ../cephes/libcephes.a -lnetcdf -lfftw -lt1 -lpdf -l= tiff -ljpeg -lpng -lz -lm > plotone.o: In function `do_hardcopy': > plotone.o(.text+0x1b7): warning: tmpnam() possibly used unsafely; c= onsider using mkstemp() > files.o: In function `readnetcdf': > files.o(.text+0x1864): undefined reference to `sd_ncopen' > files.o(.text+0x1893): undefined reference to `sd_ncvarid' > files.o(.text+0x18e6): undefined reference to `sd_ncvarinq' > files.o(.text+0x18fe): undefined reference to `sd_ncdiminq' > [...snip...] > fileswin.o(.text+0x1639): undefined reference to `sd_ncattget' > fileswin.o(.text+0x1671): undefined reference to `sd_ncattget' > fileswin.o(.text+0x1699): undefined reference to `sd_ncattget' > fileswin.o(.text+0x16ea): undefined reference to `sd_ncclose' > gmake[1]: *** [xmgrace] Error 1 > gmake[1]: Leaving directory `/usr/ports/math/grace/work/grace-5.1.1= 4/src' > gmake: *** [subdirs] Error 1 > *** Error code 2 >=20 > Stop in /usr/ports/math/grace. >=20 --=20 E-Mail: Lars.Koeller@Uni-Bielefeld.DE \ Lars K=F6ller lkoeller@FreeBSD.org \ CC University of PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \ Bielefeld, Germany= =20 Key-ID: A430D499 \ Tel: +49 521 106 4= 964 ----------- FreeBSD, what else? ---- http://www.freebsd.org ---------= ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403160617.i2G6HD628290>