[Lunar-commits] <moonbase> octave: An adjustment to fix a gcc/glibc BUILD issue. It compiles fine before this,

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Nov 16 19:08:52 CET 2009


commit c893b842342d55163870b7b4cb990be59cfc8ed7
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon Nov 16 13:08:52 2009 -0500

    octave: An adjustment to fix a gcc/glibc BUILD issue. It compiles fine before this,
    
    but you end up with this when trying to start the app;
    
    octave: symbol lookup error: /usr/lib/octave-3.2.3/liboctave.so:
    undefined symbol: pthread_mutexattr_init
---
 science/octave/BUILD   |    3 ++-
 science/octave/DETAILS |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/science/octave/BUILD b/science/octave/BUILD
index d8ec973..4b2f754 100644
--- a/science/octave/BUILD
+++ b/science/octave/BUILD
@@ -1,12 +1,13 @@
 (
 
-  bad_flags -ffast-math  &&
+  CXXFLAGS="-lpthread" &&
 
   ./configure  --sysconfdir=/etc        \
                --prefix=/usr            \
                --mandir=/usr/share/man  \
                --localstatedir=/var     \
                --enable-shared          \
+               --enable-dl              \
                --with-g77               \
                --enable-rpath           \
                $OPTS                   &&
diff --git a/science/octave/DETAILS b/science/octave/DETAILS
index b28844b..10919a4 100644
--- a/science/octave/DETAILS
+++ b/science/octave/DETAILS
@@ -5,7 +5,7 @@
       SOURCE_VFY=sha1:7a188ffd55ac1efb2f480fa2aed94e66d3596f34
         WEB_SITE=http://www.octave.org
          ENTERED=20030604
-         UPDATED=20090930
+         UPDATED=20091116
       MAINTAINER=jmhodges at lunar-linux.org
            SHORT="Numerical computation suite mostly compatible with MATLAB"
 PSAFE=no


More information about the Lunar-commits mailing list