what did configure say beforehand? note the prereqs: javac in path, javac
handles --verbose option . if linux
and you have e.g. jdk1.1.8 you should set JAVA_ARCH to linux.
Tobias Weissbach wrote:
> I am trying to compile OpenDX version 4.1.3 including java support
>
> But I get the following message from configure:
>
> configure: warning: JavaDX will be skipped during compilation due to
> limitations.
>
> (attached you will find the full configure output)
>
> Any help, what could be wrong in my configuration ??
>
> Thanks a lot in advance...
>
> Alex
>
> ------------------------------------------------------------------------
> loading cache ./config.cache
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for rsh... (cached) /usr/bin/rsh
> checking for sh... (cached) /bin/sh
> checking whether large file support needs explicit enabling... yes
> checking architecture type... (cached) linux
> checking architecture specific stuff... done
> checking for csh... (cached) yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking for ranlib... (cached) ranlib
> checking for c++... (cached) c++
> checking whether the C++ compiler (c++ ) works... yes
> checking whether the C++ compiler (c++ ) is a cross-compiler... no
> checking whether we are using GNU C++... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking how to run the C++ preprocessor... (cached)
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for Cygwin environment... (cached) no
> checking for executable suffix... (cached) no
> checking for object file suffix... (cached) o
> checking for java compiler
> checking for javac... (cached) javac
> checking if javac works...... yes
> checking for jar
> checking for jar... (cached) jar
> checking for javah
> checking for javah... (cached) javah
> checking for java... (cached) /usr/lib/java/bin/java
> (cached) checking for jni headers path...
> /usr/lib/java/bin/../include:/usr/lib/java/bin/../include/genunix
> checking for valid jni headers path... no
> checking for dirent.h that defines DIR... (cached) yes
> checking for opendir in -ldir... (cached) no
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
> checking for mode_t... (cached) yes
> checking for pid_t... (cached) yes
> checking for size_t... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking whether struct tm is in sys/time.h or time.h... (cached) time.h
> checking if intelnt on cygwin... no
> checking for regex in -lgen... (cached) no
> checking for regcomp in -lREXP... (cached) no
> checking for pthread_getspecific in -lpthread... (cached) yes
> checking for X... (cached) libraries /usr/X11R6/lib, headers
> /usr/X11R6/include
> checking for IceConnectionNumber in -lICE... (cached) yes
> checking for SmcSetProperties in -lSM... (cached) yes
> checking for printf in -lxlibcon... (cached) no
> checking for XCreateWindow in -lxlib... (cached) no
> checking for XtVaGetValues in -lxt... (cached) no
> checking for XtVaGetValues in -lxmstatxt... (cached) no
> checking for XmStringFree in -lxmstatic... (cached) no
> checking for XmStringFree in -lxm... (cached) no
> checking for glXGetConfig in -lhclglx... (cached) no
> checking for XCreateGC in -lX11... (cached) yes
> checking for XtMalloc in -lXt... (cached) yes
> checking for XextAddDisplay in -lXext... (cached) yes
> checking for sqrt in -lm... (cached) yes
> checking for glXGetConfig in -lGL... (cached) yes
> checking for XpSetImageResolution in -lXp... (cached) yes
> checking for XmGetDestination in -lXm... (cached) yes
> checking for IceConnectionNumber in -lICE... (cached) yes
> checking for SmcSetProperties in -lSM... (cached) yes
> checking for regcomp in -lREXP... (cached) no
> checking whether we are using GNU glibc math... (cached) -D_GNU_SOURCE
> checking for sqrt in -lm... (cached) yes
> checking for main in -lg++... (cached) yes
> checking for main in -ldl... (cached) yes
> checking for TIFF support ...
> checking for tiff.h... (cached) yes
> checking for tiffio.h... (cached) yes
> checking for TIFFOpen in -ltiff... (cached) yes
> checking if TIFF package is complete... yes
> checking for XPM support ...
> checking for xpm.h... (cached) no
> checking for X11/xpm.h... (cached) yes
> checking for XpmReadFileToPixmap in -lXpm... (cached) yes
> checking if XPM package is complete... yes
> checking for HDF components ...
> checking for dfsd.h... (cached) no
> checking for hdf/dfsd.h... (cached) no
> checking for Hopen in -ldf... (cached) no
> checking if HDF package is complete... no
> checking for CDF support ...
> checking for cdf.h... (cached) no
> checking for CDFlib in -lcdf... (cached) no
> checking if CDF package is complete... no
> checking for NETCDF support ...
> checking for netcdf.h... (cached) no
> checking for nc_copy_att in -lnetcdf... (cached) no
> checking if NETCDF package is complete... no
> checking for ImageMagick support ...
> checking for Magick-config... (cached) no
> checking for magick/magick.h... (cached) no
> no - Magick-config not found
> checking for getdtablesize... (cached) yes
> checking for getcwd... (cached) yes
> checking for gethostname... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for mkdir... (cached) yes
> checking for mkfifo... (cached) yes
> checking for mktime... (cached) yes
> checking for putenv... (cached) yes
> checking for re_comp... (cached) yes
> checking for regcmp... (cached) no
> checking for select... (cached) yes
> checking for socket... (cached) yes
> checking for strcspn... (cached) yes
> checking for strdup... (cached) yes
> checking for strerror... (cached) yes
> checking for strspn... (cached) yes
> checking for strstr... (cached) yes
> checking for strtod... (cached) yes
> checking for strtol... (cached) yes
> checking for strtoul... (cached) yes
> checking for uname... (cached) yes
> checking for popen... (cached) yes
> checking for vfork... (cached) yes
> checking for trunc... (cached) yes
> checking for _Errno... (cached) no
> checking for _popen... (cached) no
> checking for spawnvp... (cached) no
> checking for _spawnvp... (cached) no
> checking for regcomp... (cached) yes
> checking for sysmp... (cached) no
> checking for sysconf... (cached) yes
> checking for pipe... (cached) yes
> checking for _pipe... (cached) no
> checking for _popen... (cached) no
> checking for popen... (cached) yes
> checking for _pclose... (cached) no
> checking for pclose... (cached) yes
> checking for random... (cached) yes
> checking for rand... (cached) yes
> checking for srandom... (cached) yes
> checking for shmat... (cached) yes
> checking for getopt... (cached) yes
> checking for srand... (cached) yes
> checking for opendir... (cached) yes
> checking for fork... (cached) yes
> checking for _findfirst... (cached) no
> checking for strrstr... (cached) no
> checking for strcasecmp... (cached) yes
> checking for stricmp... (cached) no
> checking for getpid... (cached) yes
> checking for _getpid... (cached) no
> checking for unlink... (cached) yes
> checking for _unlink... (cached) no
> checking for getlogin... (cached) yes
> checking for isatty... (cached) yes
> checking for _isatty... (cached) no
> checking for flex... (cached) flex
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking lex output file root... (cached) lex.yy
> checking whether yytext is a pointer... (cached) yes
> checking for bison... (cached) bison
> checking for DPS/XDPSlib.h... (cached) yes
> checking for DPS/dpsXclient.h... (cached) yes
> checking for DPS/psops.h... (cached) yes
> checking for GL/gl.h... (cached) yes
> checking for GL/glx.h... (cached) yes
> checking for Mrm/MrmPubli.h... (cached) no
> checking for X11/Composite.h... (cached) yes
> checking for X11/CompositeP.h... (cached) yes
> checking for X11/Constraint.h... (cached) yes
> checking for X11/CoreP.h... (cached) yes
> checking for X11/Intrinsic.h... (cached) yes
> checking for X11/IntrinsicI.h... (cached) no
> checking for X11/IntrinsicP.h... (cached) yes
> checking for X11/Protocols.h... (cached) no
> checking for X11/Shell.h... (cached) yes
> checking for X11/StringDefs.h... (cached) yes
> checking for X11/X.h... (cached) yes
> checking for X11/XHPlib.h... (cached) no
> checking for X11/Xatom.h... (cached) yes
> checking for X11/Xlib.h... (cached) yes
> checking for X11/XlibXtra.h... (cached) no
> checking for X11/Xmu/Editres.h... (cached) yes
> checking for X11/Xos.h... (cached) yes
> checking for X11/Xutil.h... (cached) yes
> checking for X11/cursorfont.h... (cached) yes
> checking for X11/keysym.h... (cached) yes
> checking for X11/keysymdef.h... (cached) yes
> checking for Xm/ArrowB.h... (cached) yes
> checking for Xm/ArrowBG.h... (cached) yes
> checking for Xm/AtomMgr.h... (cached) yes
> checking for Xm/BulletinB.h... (cached) yes
> checking for Xm/BulletinBP.h... (cached) yes
> checking for Xm/CascadeB.h... (cached) yes
> checking for Xm/CascadeBG.h... (cached) yes
> checking for Xm/Command.h... (cached) yes
> checking for Xm/CutPaste.h... (cached) yes
> checking for Xm/DialogS.h... (cached) yes
> checking for Xm/DragC.h... (cached) yes
> checking for Xm/DragDrop.h... (cached) yes
> checking for Xm/DrawingA.h... (cached) yes
> checking for Xm/DrawingAP.h... (cached) yes
> checking for Xm/DrawnB.h... (cached) yes
> checking for Xm/FileSB.h... (cached) yes
> checking for Xm/Form.h... (cached) yes
> checking for Xm/FormP.h... (cached) yes
> checking for Xm/Frame.h... (cached) yes
> checking for Xm/FrameP.h... (cached) yes
> checking for Xm/GadgetP.h... (cached) yes
> checking for Xm/Label.h... (cached) yes
> checking for Xm/LabelG.h... (cached) yes
> checking for Xm/LabelGP.h... (cached) yes
> checking for Xm/LabelP.h... (cached) yes
> checking for Xm/List.h... (cached) yes
> checking for Xm/MainW.h... (cached) yes
> checking for Xm/ManagerP.h... (cached) yes
> checking for Xm/MenuShell.h... (cached) yes
> checking for Xm/MessageB.h... (cached) yes
> checking for Xm/MwmUtil.h... (cached) yes
> checking for Xm/PanedW.h... (cached) yes
> checking for Xm/PrimitiveP.h... (cached) yes
> checking for Xm/Protocols.h... (cached) yes
> checking for Xm/PushB.h... (cached) yes
> checking for Xm/PushBG.h... (cached) yes
> checking for Xm/PushBP.h... (cached) yes
> checking for Xm/RepType.h... (cached) yes
> checking for Xm/RowColumn.h... (cached) yes
> checking for Xm/Scale.h... (cached) yes
> checking for Xm/ScrollBar.h... (cached) yes
> checking for Xm/ScrolledW.h... (cached) yes
> checking for Xm/ScrolledWP.h... (cached) yes
> checking for Xm/SelectioB.h... (cached) yes
> checking for Xm/SeparatoG.h... (cached) yes
> checking for Xm/SeparatoGP.h... (cached) yes
> checking for Xm/Separator.h... (cached) yes
> checking for Xm/Text.h... (cached) yes
> checking for Xm/TextF.h... (cached) yes
> checking for Xm/ToggleB.h... (cached) yes
> checking for Xm/ToggleBG.h... (cached) yes
> checking for Xm/Xm.h... (cached) yes
> checking for Xm/XmP.h... (cached) yes
> checking for Xm/XmStrDefs.h... (cached) yes
> checking for alloca.h... (cached) yes
> checking for arpa/inet.h... (cached) yes
> checking for bstring.h... (cached) no
> checking for cdf.h... (cached) no
> checking for conio.h... (cached) no
> checking for crypt.h... (cached) yes
> checking for ctype.h... (cached) yes
> checking for cygwin/socket.h... (cached) no
> checking for dfsd.h... (cached) no
> checking for direct.h... (cached) no
> checking for dirent.h... (cached) yes
> checking for dl.h... (cached) no
> checking for dlfcn.h... (cached) yes
> checking for errno.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for float.h... (cached) yes
> checking for fstream.h... (cached) no
> checking for get.h... (cached) no
> checking for gl.h... (cached) no
> checking for gl/device.h... (cached) no
> checking for gl/gl.h... (cached) no
> checking for invent.h... (cached) no
> checking for io.h... (cached) no
> checking for iop/afb.h... (cached) no
> checking for iop/mov.h... (cached) no
> checking for iop/pfs.h... (cached) no
> checking for iostream.h... (cached) no
> checking for license.h... (cached) no
> checking for limits.h... (cached) yes
> checking for malloc.h... (cached) yes
> checking for math.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for mingw32/dir.h... (cached) no
> checking for mon.h... (cached) no
> checking for net/if.h... (cached) yes
> checking for net/if_arp.h... (cached) yes
> checking for net/route.h... (cached) yes
> checking for netcdf.h... (cached) no
> checking for netdb.h... (cached) yes
> checking for netinet/in.h... (cached) yes
> checking for os2.h... (cached) no
> checking for process.h... (cached) no
> checking for pwd.h... (cached) yes
> checking for regexp.h... (cached) yes
> checking for regex.h... (cached) yes
> checking for setjmp.h... (cached) yes
> checking for signal.h... (cached) yes
> checking for starbase.c.h... (cached) no
> checking for stdarg.h... (cached) yes
> checking for stddef.h... (cached) yes
> checking for stdio.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for stream.h... (cached) no
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for synch.h... (cached) no
> checking for sys/access.h... (cached) no
> checking for sys/bsd_types.h... (cached) no
> checking for sys/file.h... (cached) yes
> checking for sys/filio.h... (cached) no
> checking for sys/ioctl.h... (cached) yes
> checking for sys/ipc.h... (cached) yes
> checking for sys/ldr.h... (cached) no
> checking for sys/m88kbcs.h... (cached) no
> checking for sys/m_wait.h... (cached) no
> checking for sys/mman.h... (cached) yes
> checking for sys/mode.h... (cached) no
> checking for sys/param.h... (cached) yes
> checking for sys/pstat.h... (cached) no
> checking for sys/resource.h... (cached) yes
> checking for sys/select.h... (cached) yes
> checking for sys/shm.h... (cached) yes
> checking for sys/signal.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for sys/svs.h... (cached) no
> checking for sys/syslimits.h... (cached) no
> checking for sys/sysmacros.h... (cached) yes
> checking for sys/sysmp.h... (cached) no
> checking for sys/sysconfig.h... (cached) no
> checking for sys/errno.h... (cached) yes
> checking for sys/systemcfg.h... (cached) no
> checking for sys/shm.h... (cached) yes
> checking for sys/systeminfo.h... (cached) no
> checking for sys/time.h... (cached) yes
> checking for sys/timeb.h... (cached) yes
> checking for sys/times.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/un.h... (cached) yes
> checking for sys/utsname.h... (cached) yes
> checking for sys/wait.h... (cached) yes
> checking for sysent.h... (cached) no
> checking for time.h... (cached) yes
> checking for types.h... (cached) no
> checking for ulocks.h... (cached) no
> checking for unistd.h... (cached) yes
> checking for values.h... (cached) yes
> checking for wait.h... (cached) yes
> checking for x11/xlibxtra.h... (cached) no
> checking for xgl/xgl.h... (cached) no
> checking for linux/kernel.h... (cached) yes
> checking for linux/sys.h... (cached) yes
> O_RDONLY IS defined by default
> checking for windows.h... (cached) no
> checking for unistd.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> stat function is: stat
> stat structure is: stat
> checking for CC/libc.h... (cached) no
> checking for CC/osfcn.h... (cached) no
> checking for strstrea.h... (cached) no
> checking for strstream.h... (cached) yes
> checking for socket in -lsocket... (cached) no
> checking for inet_addr in -lnsl... (cached) yes
> checking whether -O2 interferes with fstream in C++... no
> checking whether header file math.h contains symbol M_PI... yes
> checking whether header file math.h contains symbol M_SQRT2... yes
> checking whether header file sys/stat.h contains symbol S_ISDIR... yes
> checking whether header file sys/mode.h contains symbol S_ISDIR... no
> checking whether header file sys/sysmp.h contains symbol sysmp... no
> checking for 8-bit clean memcmp... (cached) yes
> checking whether setvbuf arguments are reversed... (cached) no
> checking return type of signal handlers... (cached) void
> checking for vfork.h... (cached) no
> checking for working vfork... (cached) no
> checking for vprintf... (cached) no
> checking for _doprnt... (cached) no
> checking for uint... (cached) yes
> checking for byte... (cached) no
> checking for ubyte... (cached) no
> checking for short... (cached) yes
> checking for ushort... (cached) yes
> checking for ulong... (cached) yes
> checking for int8... (cached) no
> checking for uint8... (cached) no
> checking for int16... (cached) no
> checking for uint16... (cached) no
> checking for int32... (cached) no
> checking for uint32... (cached) no
> checking for int64... (cached) no
> checking for float64... (cached) no
> checking for __int64... (cached) no
> checking for uint64... (cached) no
> checking for float32... (cached) no
> checking whether byte ordering is bigendian... (cached) no
> Using standard signal argument list in C++
> checking for windows.h... (cached) no
> checking for unistd.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for select.h... (cached) no
> checking for sys/select.h... (cached) yes
> the second third and fourth args to select are pointers to fd_set
> checking for unistd.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> the third arg to getsockname is pointer to socklen_t
> checking whether -lstdc++ is needed... (cached) no
> creating ./config.status
> creating Makefile
> creating bin/Makefile
> creating bin/dx
> creating bin/dxworker
> creating bin/mdf2c
> creating doc/Makefile
> creating fonts/Makefile
> creating help/Makefile
> creating html/Makefile
> creating include/Makefile
> creating include/dx/Makefile
> creating lib/Makefile
> creating man/Makefile
> creating man/catl/Makefile
> creating man/manl/Makefile
> creating src/Makefile
> creating src/exec/Makefile
> creating src/exec/dpexec/Makefile
> creating src/exec/dpexec/local.mk
> creating src/exec/dxexec/Makefile
> creating src/exec/dxmods/Makefile
> creating src/exec/dxmods/local.mk
> creating src/exec/hwrender/Makefile
> creating src/exec/hwrender/gl/Makefile
> creating src/exec/hwrender/opengl/Makefile
> creating src/exec/hwrender/starbase/Makefile
> creating src/exec/hwrender/xgl/Makefile
> creating src/exec/libdx/Makefile
> creating src/exec/libdx/local.mk
> creating src/misc/Makefile
> creating src/misc/arch.mak
> creating src/uipp/Makefile
> creating src/uipp/base/Makefile
> creating src/uipp/dxl/Makefile
> creating src/uipp/dxui/Makefile
> creating src/uipp/dxuilib/Makefile
> creating src/uipp/dxuilib/local.mk
> creating src/uipp/java/Makefile
> creating src/uipp/java/dx/Makefile
> creating src/uipp/java/dx/protocol/Makefile
> creating src/uipp/java/dx/protocol/server/Makefile
> creating src/uipp/java/dx/runtime/Makefile
> creating src/uipp/java/server/Makefile
> creating src/uipp/java/server/macros/Makefile
> creating src/uipp/java/server/dxserver.paths
> creating src/uipp/java/server/startserver
> creating src/uipp/java/dx/client/Makefile
> creating src/uipp/java/dx/net/Makefile
> creating src/uipp/mb/Makefile
> creating src/uipp/prompter/Makefile
> creating src/uipp/startup/Makefile
> creating src/uipp/tutor/Makefile
> creating src/uipp/ui/Makefile
> creating src/uipp/ui/Makefile
> creating src/uipp/widgets/Makefile
> creating windows/Makefile
> creating include/dxconfig.h
> include/dxconfig.h is unchanged