g0orx / linhpsdr

Linux HPSDR
GNU General Public License v3.0
74 stars 45 forks source link

linhpsdr creates FFTW3 wisdom file very time it is started #9

Open g0hww opened 6 years ago

g0hww commented 6 years ago

On my Ubuntu 16.04LTS x96_64 box, linhpsdr claims that it is creating the FFTW3 wisdom file every time it starts. I get the impression that the wisdom file should end up in the ~/.local/share/linhpsdr directory, which does exist, but there are no files in there.

g0orx commented 6 years ago

That sounds like a permissions problem. Did you do "sudo make install"? The README.md states to use "make install".

g0hww commented 6 years ago

Yes. I did "sudo make install" and had been launching linhpsdr via its icon without elevated privileges. However, I did spot a post on a mailing list which suggested that running linhpsdr as root worked around this issue. I then ran "sudo linhpsdr" and let it crunch the wisdom, then exited. I then used chown to change the ownership of the content of ~/.local/share/linhpsdr to my normal user account and relaunched linhpsdr. Now it no longer crunches the wisdom every time it starts. Furthermore, bookmarks seem to work now, I had no success creating bookmarks before this, but that could have just been finger trouble.

g0orx commented 6 years ago

You should not have done "sudo make install" that was the initial problem.

g0hww commented 6 years ago

OK. Now I've had a gander at the Makefile it all becomes clear, although it is a little unconventional ;)