STK compiling problems

128 views
Skip to first unread message

Ana Montalvo

unread,
Jan 15, 2013, 5:17:48 PM1/15/13
to phn...@googlegroups.com
Hi all:

I downloaded http://merlin.fit.vutbr.cz/svn/STK/trunk/ to install STK

When I run ./configure I get the following error:
Containing xerbla_ checking for library ... no
-Lf77blas not present, old Atlas library version on the system
Containing cblas_sgemm checking for library ... no
configure: error: - with-atlas was implicitly Given, but failed test for atlas. Try Specifying the - with-atlas-dir or - with-wings-lib-dir, or disable Atlas with - with-atlas = no.
See `config.log 'for more details.

Then I ran ./configure --with-atlas=no
And I get the following error:
SFeaStack.cc:264:37: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
make[3]: *** [SFeaStack.o] Error 1

any suggestions
best regards


Petr Schwarz

unread,
Jan 20, 2013, 7:12:54 PM1/20/13
to phn...@googlegroups.com
Dear Ana,

Dne 15.1.2013 23:17, Ana Montalvo napsal(a):
> Hi all:
>
> I downloaded http://merlin.fit.vutbr.cz/svn/STK/trunk/ to install STK
>
> When I run ./configure I get the following error:
> Containing xerbla_ checking for library ... no
> -Lf77blas not present, old Atlas library version on the system
> Containing cblas_sgemm checking for library ... no
> configure: error: - with-atlas was implicitly Given, but failed test for
> atlas. Try Specifying the - with-atlas-dir or - with-wings-lib-dir, or
> disable Atlas with - with-atlas = no.
> See `config.log 'for more details.

This is related to the ATLAS library that is not installed in your
system probably. You can install it through a default package
installation system in many Linux distribution or get it from SourceForge.

http://math-atlas.sourceforge.net/

> Then I ran ./configure --with-atlas=no
> And I get the following error:
> SFeaStack.cc:264:37: error: invalid conversion from ‘const char*’ to
> ‘char*’ [-fpermissive]
> make[3]: *** [SFeaStack.o] Error 1

I have another version of STK installed on my computer, therefore I do
not see the exact line. But explicit typecast could be enough.
char *pa = (char *)pb;

Petr


Reply all
Reply to author
Forward
0 new messages