From owner-freebsd-ports Tue Apr 9 20:52:41 2002 Delivered-To: freebsd-ports@freebsd.org Received: from sis1.snu.ac.kr (sis1.snu.ac.kr [147.46.10.36]) by hub.freebsd.org (Postfix) with ESMTP id 3701437B416 for ; Tue, 9 Apr 2002 20:52:34 -0700 (PDT) Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (v3smtp 8.11.6.4/8.11.1) with ESMTP id g3A3obe662476 for ; Wed, 10 Apr 2002 12:50:37 +0900 Message-ID: <3CB3B695.E71D4E73@users.sourceforge.net> Date: Wed, 10 Apr 2002 12:50:45 +0900 From: "R. Lahaye" Organization: Seoul National University X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: ports@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: opendx-4.1.3_1 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, For over a year I was never able to successfully install opendx via the ports. It always failed one or the other way. So, last week I installed FreeBSD 4.5 on my PC and today I checked out the opendx port. Alas, again the build ends with an error: ----------------------------------------------------------------------------- [...] Making all in misc gmake[2]: Entering directory `/usr/ports/graphics/opendx/work/dx-4.1.3/src/misc' cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include -I/usr/X11R6/include -O -pipe -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -D_GNU_SOURCE -c dx.c cc -O -pipe -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -D_GNU_SOURCE -L/usr/local/lib -pthread -o dxlocal dx.o -lnetcdf -ldf -lXpm -ltiff -lm -lSM -lICE -lXm -lXp -lGL -lm -lXext -lXt -lX11 -lSM -lICE -L/usr/X11R6/lib /usr/lib/libg2c.so.1: warning: tempnam() possibly used unsafely; consider using mkstemp() gmake[2]: Leaving directory `/usr/ports/graphics/opendx/work/dx-4.1.3/src/misc' gmake[2]: Entering directory `/usr/ports/graphics/opendx/work/dx-4.1.3/src' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/ports/graphics/opendx/work/dx-4.1.3/src' gmake[1]: Leaving directory `/usr/ports/graphics/opendx/work/dx-4.1.3/src' Making all in include gmake[1]: Entering directory `/usr/ports/graphics/opendx/work/dx-4.1.3/include' cd .. && autoheader ./aclocal.m4:17: error: m4_defn: undefined macro: _m4_divert_diversion acspecific.m4:907: AC_CYGWIN is expanded from... ./aclocal.m4:17: the top level autoconf: tracing failed gmake[1]: *** [stamp-h.in] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/opendx/work/dx-4.1.3/include' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/graphics/opendx. *** Error code 1 Stop in /usr/ports/graphics/opendx. *** Error code 1 Stop in /usr/ports/graphics/opendx. ----------------------------------------------------------------------------- I don't know much about the port system as such, apart from "cd" into the appropriate directory and type "make". As a next try, I downloaded OpenDX CVS and did the following: $ setenv CFLAGS "-I/usr/X11R6/include -I/usr/local/include" $ setenv CPPFLAGS "-I/usr/X11R6/include -I/usr/local/include" $ setenv CXXFLAGS "-I/usr/X11R6/include -I/usr/local/include" $ setenv LDFLAGS "-L/usr/X11R6/lib -L/usr/local/lib -pthread" $ ./CVSMake $ ./configure --prefix=/opt $ gmake # gmake install-strip to install opendx in /opt directory. The compilation and install goes all well, but the execution ends with core dump. When I type "dx", the general "Data Explorer" dialog pops up, but when I click here on "New Visual Program..." I get: timeout waiting for response from DX Segmentation fault (core dumped) and it creates startupui.core. Any ideas why it's such a pain to get opendx ran on a FreeBSD system? Regards, Rob. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message