From: Alan W. I. <ir...@be...> - 2002-01-21 19:37:08
|
On Mon, 21 Jan 2002, Geoffrey Furnish wrote: > Geoffrey Furnish writes: > > OTOH, I did learn that PLplot's configure support for Solaris leaves a > > lot to be desired. Besides the problem with shell syntax, it also > > somehow dropped -lm from all the link lines, causing every C prog link > > to fail (but notice that the f77 links above all worked). > > I've done about all I can stand to fix various configure bugs for > now. > > Solaris is always a touchy situation. I have one solaris box here > where CC is detected by PLplot configure, but cc doesn't work, and > that causes all kinds of horrific screwups downstream. I dunno, maybe > we should someday think to improve the compiler detection to check for > a "working compiler", not merely a compiler seen in the path. Sheesh, I ran into this solaris problem also (in the 5.0.3, era, I believe), and the solution was to put the directory with the working (!) cc higher in the path than the directory for the non-working one. > I can't imagine how Sun has stayed in business all these years. I can't imagine either. > > Anyway, I have another Solaris box where the cc works, also with KCC > and g77. On this box, I've been able to test SMP builds for C, C++ > and F77 components, and everything seems to work, including we now use > KCC to form .a's as well as .so's. > [...] So, I'd call the current CVS head the most stable, correct PLplot I've > seen in a while. > > Great work, everybody. Seconded! > > BTW, compiling with Sun cc is I suppose, what Alan was really driving > at earlier. Yes, sun/solaris compilation problems were the number one bug report for 5.0.4. It looks like we will avoid that this time (assuming our solaris users can find a working compiler!) Alan |