Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Mucke on September 02, 2020, 06:06:59 AM

Title: [Solved] FFTW library
Post by: Mucke on September 02, 2020, 06:06:59 AM
Now I stuble into my next problem. The FFTW extension does not exist.
Thus I have downloaded the package from http://www.fftw.org/download.html.
The usual steps are
Code: [Select]
./configure
make
make install
This works like a charm, resulting without error.

But now I miss e.g. /usr/local/lib/libfftw.so whereas libfftw.a exists in this folder.
As FFTW is a huge package I don't know where to search.

So two questions come up:
1. how to get the missed .so-files?
2. how to get FFTW (or other software) permanently installed? Is it necessary to create a tcz and how to do this? The wiki seems to be down.

Title: Re: FFTW library
Post by: Rich on September 02, 2020, 06:17:40 AM
Hi Mucke
... 2. how to get FFTW (or other software) permanently installed? Is it necessary to create a tcz and how to do this? The wiki seems to be down.
Here is a mirror of the Wiki:
http://wiki.tinycorelinux.net/doku.php?id=wiki:start
Title: Re: FFTW library
Post by: Mucke on September 02, 2020, 07:12:40 AM
Hi Rich,

thanks.
So the main question remains left open: how to properly compile and install FFTW on PiCore?
Unfortunately it is beyond my Linux skills.
Title: Re: FFTW library
Post by: Rich on September 02, 2020, 07:26:50 AM
Hi Mucke
... But now I miss e.g. /usr/local/lib/libfftw.so whereas libfftw.a exists in this folder. ...
I believe that is a static library. Try this:
Code: [Select]
./configure --enable-shared
Based on this:
Quote
configure supports all the standard flags defined by the GNU Coding Standards; see the INSTALL file in FFTW or the GNU web page. Note especially --help to list all flags and --enable-shared to create shared, rather than static, libraries. configure also accepts a few FFTW-specific flags, particularly:
Found here:
http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix
Title: Re: FFTW library [solved]
Post by: Mucke on September 03, 2020, 01:51:51 AM
Thanks Rich,

Code: [Select]
./configure --enable-shared is the proper solution.

As Brutefir also expects a float number version beside the default double-float it is necessary to compile a second time with first using

Code: [Select]
./configure --enable-shared --enable-float