[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Release-critical Bugreport for June 9, 2000

On Thu, 22 Jun 2000, Raul Miller wrote:

> The changes between 2.005-2 and 2.005-4 are trivial, and 2.005-4 was
> intended for both potato and woody.
> Here's the changes:
> [1] in perldl.conf, get rid of -lMesaGL and -lMesaGLU

Yes, this was part of my patch to get it to compile.

> That's it.
> So, really, the only problem with 2.005-2 is that autobuilders won't
> deal with it.  And, I suppose, if someone can manually build a copy of
> pdl for m68k, I'll be content releasing the slightly more warty 2.005-2
> for potato.  [Personally, I think -4 is more suitable for potato, but
> I very much understand paranoia about accepting changes at this point.]

Actually, I'm surprised if that was it.  I also had to change some
#includes to remove the #include <float.h> and <nan.h> to #include
<math.h> instead (which is more proper on alpha).  Neither float.h nor
nan.h exist in /usr/include, fyi, under glibc 2.1.x and only really exist
on Digital UNIX/Tru64 systems.  Frankly, I'm a bit stunned that it
built at all without that correction (unless it was generated by a 
part of that perl-generated Makefile).  Here's that portion of my patch
(and it only affects alpha, fyi):

diff -ruN pdl-2.005/Basic/Math/mconf.h pdl-patched/Basic/Math/mconf.h
--- pdl-2.005/Basic/Math/mconf.h	Sat Jun 10 19:23:18 2000
+++ pdl-patched/Basic/Math/mconf.h	Sat Jun 10 19:21:26 2000
@@ -79,9 +79,13 @@
 #include <float.h>
 #define NANARG 1L
-#if defined __alpha && ! defined DEBIAN
-#include <float.h>
-#include <nan.h>
+#if defined(__alpha)
+# if !defined(__GLIBC__)
+#  include <float.h>
+#  include <nan.h>
+#  else
+#  include <math.h>
+# endif
 #ifndef NANARG
 #define NANARG

Aside from the removal of the Mesa libs, that's my entire patch for pdl to
work on Alpha....

I'd really like to see this in potato and, as it stands, it just isn't
proper to include a binary package on Alpha that won't compile with the
supplied source that we have in potato.  If that's the case, though, I'd
rather see pdl not make it into potato for Alpha at all...


Reply to: