JavaDX used to compile with other makes. To build, we need to set or append to the CLASSPATH for make to find various javadx classes. I found user's CLASSPATHs to be problematic and chose to discard it, yet I appreciate that others want to use their CLASSPATH and have the build prepend to it. The present problem is gnu-make syntax where the colon on CLASSPATH:= $(CLASSPATH)... stops the infinite recursion make would ordinarily engage in. If we adopt the CLASSPATH at configure-time CLASSPATH= can be written into the Makefiles without any recursive references, hence no requirement for gnu-make syntax. This will serve perhaps 99% of prospective builders. It also allows configure to use logic to put the appropriate number of colons in the CLASSPATH itself, something I do not know how to make "make" do (and something most Javas seem to require).
So my vote is to support other (not necessarily ALL!) makes, by adopting the builder's CLASSPATH at configure time. Regards, Pete "David L. Thompson" wrote: > My feeling is that in order to use JavaDX, gnumake is a requirement. > There are a few pieces of the compile process for the Java code that > will not work unless there is a way to export symbols. I don't know > what others feelings are. > > David > > > What is the policy on generated makefiles working with the system > >make? Should they, or should GNU make be used? The DX README indicates > >the former. > > > > Building on Solaris 2.6, the build runs well with Sun make until it > >dips into dx-4.1.0/src/uipp/java. This Makefile fails with Sun make and > >succeeds with GNU make. > > > >Randall > > > > > >------------------------------------------------------------------------------ > >CAUSE OF ERROR: src/uipp/java/Makefile:446 > >------------------------------------------------------------------------------ > > > >export CLASSPATH > > > >------------------------------------------------------------------------------ > >BUILD OUTPUT - SUN MAKE > >------------------------------------------------------------------------------ > > > >> make > >Making all in src > >Making all in exec > >Making all in libdx > >Making all in dxmods > >Making all in hwrender > >... > >Making all in java > >make: Fatal error in reader: Makefile, line 446: Unexpected end of line seen > >Current working directory /home/rhh/t/dx-4.1.0/src/uipp/java > >*** Error code 1 > >make: Fatal error: Command failed for target `all-recursive' > >Current working directory /home/rhh/t/dx-4.1.0/src/uipp > >*** Error code 1 > >make: Fatal error: Command failed for target `all-recursive' > >Current working directory /home/rhh/t/dx-4.1.0/src > >*** Error code 1 > >make: Fatal error: Command failed for target `all-recursive' > > -- > ............................................................................. > David L. Thompson The University of Montana > mailto:[EMAIL PROTECTED] Computer Science Department > http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812 > Work Phone : (406)257-8530
