Oops, forgot the attachment... Phil Cheeseman wrote:
> Mark Beall wrote: > > > > >Hi George, > > >Since you have the native Sun compilers, I'd suggest you use > > >them rather than gcc (if config isn't checking for this, it > > >probably should). It looks like gcc isn't really happy with > > >Sun's headers. You should be able to force configure to > > >use the compiler you want by seting the environment variable > > >CXX (someone correct me if I'm wrong and DX's configure > > >wants something else) to the right one (e.g. setenv CXX CC) and > > >then cleaning and reconfiguring. > > > > > > > My experience under Solaris 2.6 (SonOS5.6) with OpenDX 4.1.0 has > been that you need to use (at least) gmake to get beyond compilation in > uipp/java as has been mentioned in this forum before. I've used gcc > V2.8.1 to install and did so because I ran into trouble early on with > the native C compiler and would have seen more trouble since I don't > have Solaris C++ available. > > Anyway, before configuring, I only had to make sure my SHELL > environment variable was set to something besides /bin/csh. On my > platform, however, gcc is in my default path *and* c++ is a link to g++ > so you may want to set CC and CXX for safety's sake. Other environment > variables may need work including CFLAGS, CPPFLAGS, LDFLAGS, etc. as has > been mentioned over this forum before. In any case, the Solaris build > condensed to the following steps for me ... > > setenv SHELL /bin/csh > ./configure --prefix=whereiwantedopendxinstalled > gmake >& make.log & > . > . (Do something else while I 'tail make.log' occasionally) > . > gmake install > setenv DXROOT whereiwantopendxinstalled/dx > . > . (Installed samples in whereiwantopendxinstalled/dx/samples) > . (i.e. repeat the above up to 'gmake install' from the top of > . the dx-samples-4.0 directory) > . > setenv DXDATA $DXROOT/samples/data > . > . (Set up your path and try it out ...) > . > > My version of Solaris C is 4.2. As I said before, I didn't give it > a serious try. Once you have the basic routine down for gmake/gcc/g++, > however, things seem to run very smoothly, at least if you're on my > platform :-). > > Hope this helps, > Hope it wasn't overkill, > Phil > > P. A. Cheeseman > [EMAIL PROTECTED]
Script started on Thu May 11 14:53:07 2000 /etc/aliases: Permission denied. (sun26) </amd/gbuzzell/dx/dx-4.1.0>: gmake Making all in src gmake[1]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src' Making all in exec gmake[2]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec' Making all in libdx gmake[3]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/libdx' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/libdx' Making all in dxmods gmake[3]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/dxmods' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/dxmods' Making all in hwrender gmake[3]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender' Making all in opengl gmake[4]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/opengl' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/opengl' Making all in gl gmake[4]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/gl' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/gl' Making all in xgl gmake[4]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/xgl' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/xgl' Making all in starbase gmake[4]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/starbase' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender/starbase' gmake[4]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender' gmake[3]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/hwrender' Making all in dpexec gmake[3]: Entering directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/dpexec' Makefile:1357: warning: overriding commands for target `.y.c' Makefile:200: warning: ignoring old commands for target `.y.c' gmake[3]: Circular yuiif.y <- yuiif.c dependency dropped. gmake[3]: Circular yuiif.h <- yuiif.y dependency dropped. gmake[3]: Circular yuiif.h <- yuiif.c dependency dropped. cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../libdx -Dsolaris -I/usr/openwin/include -I/usr/openwin/include/X11 -g -I/usr/openwin/include -c optarg.c "optarg.c", line 168: #ifdef on line 70 has no matching #endif "optarg.c", line 168: warning: newline not last character in file "optarg.c", line 168: #if-less #endif "optarg.c", line 168: warning: empty translation unit cc: acomp failed for optarg.c gmake[3]: *** [optarg.o] Error 2 gmake[3]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec/dpexec' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src/exec' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/remote0/gin/m1/users/gbuzzell/dx/dx-4.1.0/src' gmake: *** [all-recursive] Error 1 (sun26) </amd/gbuzzell/dx/dx-4.1.0>: ^Dexit script done on Thu May 11 14:53:27 2000
