← Back to team overview

maria-developers team mailing list archive

Re: Error compiling MariaDB 10.1.13

 

Hi, Alexey!

On Apr 13, Alexey Strokach wrote:
> I am having trouble compiling MariaDB as a conda package on Ubuntu 14.04.
> 
> I pushed the conda recipe that I am using as well as the the stdout and
> stderr output to a github repo
> <https://github.com/ostrokach/conda-recipes-extra/tree/master/mariadb-10>.
... <cut>...

first, everything above the cut are warnings. The error is here:

> In function ‘int com_status(String*, char*)’:
> /home/user/anaconda3/conda-bld/work/server-mariadb-10.1.13/client/mysql.cc:4738:13:
> error: ‘A_BOLD’ was not declared in this scope
>      vidattr(A_BOLD);
>              ^
> Any help would be much appreciated,
> Alexey

A_BOLD is defined in curses.h
But so is vidattr, and you don't get an error for that.

still, check whether curses is correctly installed in your build
environment.

also, you can try to check the preprocessed sources:

  cd client/
  make mysql.i

That will run the preprocessor, but not the compiler, and you will be
able to see (in mysql.i file) what files are included and why curses.h
does not define A_BOLD for you.

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


References