Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 12:50:45 +0900
From:      "R. Lahaye" <lahaye@users.sourceforge.net>
To:        ports@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: opendx-4.1.3_1
Message-ID:  <3CB3B695.E71D4E73@users.sourceforge.net>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CB3B695.E71D4E73>