Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 10:58:21 +0900
From:      Rob Lahaye <lahaye@snu.ac.kr>
To:        Lars.Koeller@Uni-Bielefeld.DE
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: grace-5.1.14_1
Message-ID:  <40565F3D.6010603@snu.ac.kr>

next in thread | raw e-mail | index | archive | help


Hi,

I'm running 4.9-STABLE.

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:

===========================================================
--- Makefile    Tue Mar 16 10:20:39 2004
+++ Makefile    Tue Mar 16 10:20:05 2004
@@ -42,7 +42,7 @@
  CONFIGURE_ARGS=        -prefix=${X11BASE} \
         --with-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
         --with-extra-ldpath=${LOCALBASE}/lib --without-bundled_xbae \
-       --enable-grace-home=${X11BASE}/lib/X11/grace
+       --enable-grace-home=${X11BASE}/lib/X11/grace --enable-netcdf=no

  ALL_TARGET=
  INSTALL_TARGET=        install links
===========================================================


The Grace port has a dependency on netcdf and I have netcdf installed.
So somehow the link to the netcdf library seems to break the build.

Any suggestion to a better fix for this port?

Regards,
Rob.

===========================================================
# cd /usr/ports/math/grace
# make
[...]
cc -O -pipe  -I.. -I.   -I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/X11R6/include main.o plotone.o files.o ssdata.o utils.o drawticks.o nonlfit.o lmdif.o as274c.o fit.o fourier.o graphs.o graphutils.o setutils.o regionutils.o objutils.o computils.o defaults.o params.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 helpwin.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 -ltiff -ljpeg -lpng -lz -lm
plotone.o: In function `do_hardcopy':
plotone.o(.text+0x1b7): warning: tmpnam() possibly used unsafely; consider 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.14/src'
gmake: *** [subdirs] Error 1
*** Error code 2

Stop in /usr/ports/math/grace.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40565F3D.6010603>