On 10 January 2012 16:25, marco atzeri <marco.atz...@gmail.com> wrote:
> On 1/10/2012 4:28 PM, Carnė Draug wrote:
>>
>> On 31 December 2011 18:36, marco atzeri<marco.atz...@gmail.com>  wrote:
>>>
>>> to build octcdf on cygwin with octave-3.9.51+ I noticed that LDFLAGS
>>> is incorrectly passed as LIBS to mkoctfile.
>>>
>>> Attached patch solve the issue and I presume it works also for the other
>>> platforms.
>>>
>>> In addition the package is using a future obsolete command and
>>> it should updated
>>>
>>> warning: dispatch is obsolete and will be removed from a future version
>>> of
>>> Octave; please use classes instead
>>>
>>> Regards
>>> Marco
>>
>>
>> Hi Marco
>>
>> apologies for the very late reply. I think someone has already fixed
>> this on the development version 4 days ago (and in a different way
>> from your patch). Could you please check if the problem is also solved
>> for you?
>>
>> Carnė
>
>
> The main issue was here:
> --------------------------------------------------------------
> --- octcdf_old/src/configure.base       2009-10-06 11:21:04.000000000 +0200
> +++ octcdf/src/configure.base   2011-12-31 18:40:18.085050400 +0100
> @@ -302,7 +302,7 @@
>  AC_SUBST(OCTCDF_LIBS)
>  AC_SUBST(OCTCDF_CFLAGS)
>
> -OCTCDF_LIBS="$LDFLAGS"
> +OCTCDF_LIBS=""
>  OCTCDF_CFLAGS="$CPPFLAGS"
>
>  dnl first checking for nc-config, then nc-dap
> ------------------------------------------------
> and of course configure need to be rebuilt.
>
> Is it not clear why on some platform should be needed :
>
> OCTCDF_LIBS="$LDFLAGS
>
> Regards
> Marco

I'm sending this e-mail to the package author and maintainer, Barth Alexander.

Carnë

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to