[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MXE Octave] build transfig on Debian wheezy, ac_cv_func_malloc_0_no
From: |
Andreas Weber |
Subject: |
Re: [MXE Octave] build transfig on Debian wheezy, ac_cv_func_malloc_0_nonnull=yes |
Date: |
Thu, 22 Jan 2015 09:34:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
On 21.01.2015 16:51, John W. Eaton wrote:
> On 01/21/2015 05:30 AM, Andreas Weber wrote:
>> 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.
>
> You are building with mxe-octave, but you don't say what the hg id is
> for it, or what options you used for configuring mxe-octave.
Sorry for missing that.
hg id => 078b47125239+ tip @ (the change is the diff above with &&
export ac_cv_func_malloc_0_nonnull=yes)
I used no options to ./configure
I followed this instructions http://wiki.octave.org/Windows_Installer
for the requirements and all "Steps to create Windows Installer"
-- Andy