SVN source compilation - problems with MySQL and hamlib

2 posts / 0 new
Last post
sq6owh
SVN source compilation - problems with MySQL and hamlib

Hi!
I'm using cqrlog mainly on x86-64 architecture and one thing that was missing to me was the hamlib support (32 static binary cqrlog vs. 64bit system with hamlib).
So I want to compile cqrlog as 64bit application and don't have any free pascal/lazarus experience (but write some code in C/C++) ;)

Version 0.9.6 doesn't compile (uses unit libc - as I found not available for my architecture), 0.9.9 compiles pretty easy, but...

First problem - already solved:
On one machine cqrlog didn't start because mysql start failed (on another - nearly identical - cqrlog started without any problems).
Indeed - manual startup of database using command provided in messages on console failed.
After some investigations I've found why - there is "apparmour" and full installation of MySQL creates profile limiting mysqld to use specified directories. Be warned :)

Second problem:
Newly compiled cqrlog nan read/set frequency but not mode. For fldigi both works fine. Tested with direct use of serial port and via rigctld.
I'm using Yaesu FT-897D TRX (hamlib ID 123).

Thank you for great logger.

73 de SQ6OWH, Wojtek

ok2cqr
ok2cqr's picture
Re: SVN source compilation - problems with MySQL and hamlib

Hi Wojtek,

yes, there is a problem with apparmor. You have to add this line to /etc/apparmor.d/usr.sbin.mysqld:
@{HOME}/.config/cqrlog/database/** rwk,

add it before } at the end of file.

Could you send me please what cqrlog writes to console when you are trying to set mode? Thank you.

73 Petr, OK2CQR