[Debian-med-packaging] Bug#702882: igraph & debian (revived)

Mathieu Malaterre malat at debian.org
Wed Mar 13 11:38:47 UTC 2013


On Wed, Mar 13, 2013 at 12:30 PM, Gábor Csárdi <csardi.gabor at gmail.com> wrote:
> On Wed, Mar 13, 2013 at 4:47 AM, Mathieu Malaterre <malat at debian.org> wrote:
>>
>> As explained before, the problem is here:
>>
>> ...
>> checking for f77_alloc_ in -lf2c... no
>> checking for f77_alloc in -lf2c... no
>> checking for F77_ALLOC_ in -lf2c... no
>> checking for F77_ALLOC in -lf2c... no
>> not found
>> ...
>>
>> however libf2c is clearly installed on that system.
>
>
> This does not really matter, because even if these are not found, igraph
> still uses -lf2c, here is part of configure.ac:
>
> if test "$internal_f2c" = "no"; then
>   AC_CHECK_LIB([f2c], [f77_alloc_], [],
>      AC_CHECK_LIB([f2c], [f77_alloc], [],
>         AC_CHECK_LIB([f2c], [F77_ALLOC_], [],
>            AC_CHECK_LIB([f2c], [F77_ALLOC], [],
>               [AC_MSG_RESULT(not found, trying to use -lf2c anyway.)]))))
>   LDFLAGS="${LDFLAGS}"
> else  AC_DEFINE([INTERNAL_F2C], [1], [Define to 1 if you use the internal
> F2C library])
> fi

That's just wrong. You should use the F77* macros instead. That fact
that is work is just pure coincidence.

>>
>> From your comment, I guess the behavior in debian is unexpected and
>> should have worked.
>
>
> It does work, at least the library and both packages are built, according to
> the log file you have sent me. Whether it is functional I don't know.

Does not. As said above. -lf2c is missing from the compilation line.



More information about the Debian-med-packaging mailing list