octave-maintainers
[Top][All Lists]
Advanced

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

[MXE Octave] build transfig on Debian wheezy, ac_cv_func_malloc_0_nonnul


From: Andreas Weber
Subject: [MXE Octave] build transfig on Debian wheezy, ac_cv_func_malloc_0_nonnull=yes
Date: Wed, 21 Jan 2015 11:30:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

If I try to build Octave on Debian 7.8 wheezy it fails on transfig with
"undefined reference to `rpl_malloc'"

I had to patch transfig.mk to built it:

diff -r 078b47125239 src/transfig.mk
--- a/src/transfig.mk   Thu Jan 15 10:10:06 2015 -0500
+++ b/src/transfig.mk   Wed Jan 21 11:26:37 2015 +0100
@@ -16,6 +16,7 @@
 endef

 define $(PKG)_BUILD
+    cd '$(1)' && export ac_cv_func_malloc_0_nonnull=yes
     cd '$(1)' && chmod 755 configure && aclocal && automake
--add-missing && autoconf \
         && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
         BITMAPDIR="/share/$(PKG)/bitmaps" \

But verly likely there is a better way to fix this.

-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]