Re: [Plib-devel] SUNWspro patch, questions
Brought to you by:
sjbaker
From: Loring H. <ls...@cs...> - 2000-06-28 05:55:08
|
Steve Baker wrote: > > This patch allows PLIB to be built under Solaris w/ the SUNWspro C++ compiler > > on a system without glut in the default place (ie, adds --with-glut and > > --with-glut-includes). > > Er - OK - I've merged this stuff in. > > Wouldn't it just be easier to put GLUT in the right place? Instead of polluting the clean Solaris installs, we use user supported packages not in the "right" places. Although it makes using autoconf a pain, it is a nice way to provide packages publically. For more info see: http://www.cs.brown.edu/system/software/cs/ > > Also - not sure if it is my version of automake or not (1.4), but automake > > creates PLIB Makefile's that assume you are using gcc (uses -Md to create > > dependencies). I didn't know of any easy way to fix this - it gives a > > warning message when compiling with SUNWspro 4.2, but builds fine. > > I have no idea - autoconf/automake is a Black Art as > far as I'm concerned. Touching configure.in is *scarey*! Is "scarey" a british spelling? :-) > Anyway, I've added the new stuff - with fingers crossed :-) > > <time passes> > <*lots* of time passes> > > Well, waddayaknow? It screws up under Linux. > > It seems that with this line in configure.in: > > CPPFLAGS="$CPPFLAGS -I$x_includes" > > ...causes PLIB modules to compile with: > > -I/usr/X11R6/include > > ...which causes the *wierdest* symptoms.... [stuff deleted] > > ...I can't understand why that should possibly be. Compiled without /usr/X11R6/include, everything > works OK?!??! > > However, PLIB doesn't *need* any files from /usr/X11R6/include - so for now I'm committing > your change but with the offending line commented out - until we can figure WTF is going on. Actually, it seems like PLIB builds under Solaris even when that line is commented out. Sorry for the confusion - feel free to remove it. Loring |