CDash documentation suggestions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

CDash documentation suggestions

CMake mailing list

I had a difficult time getting CDash to work even though I am familiar with MySQL.

Here are some suggestions for the documentation:

1) CDash requires these Python modules (

  • bcmath
  • cURL (for site statistics)
  • GD (for regression tests)
  • mbstring
  • pdo-mysql or pdo-postgresql
  • XSL
). One of the distros I found installed these modules by default. I did not know this until I ran php -m which displays what modules are installed.

2) For security reasons, MySQL no longer allows you to set the initial password from a regular (non-sudo) command line unless you ssh in.  Entering

sudo mysql -u root -p

and then typing the root password works. You can also do it like this:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourPassword';

3) The easiest way to do the initial MySQL configuration is to edit (or create) /etc/mysql/my.cnf, add these lines,


and then restart MySQL.

sudo mysqld restart 

4) This ( is an example of how to change DocumentRoot to point to the CDash directory. Remember to restart Apache2 afterwards:

sudo  /etc/init.d/apache2 restart

5) Finally, the docs say you should initially go to


This will not work until you first do the install from here:


If you get a database connection refused while doing the install, your MySQL password is probably not set correctly.

Hope this helps,

Donald [|]
A bad day in [] is better than a good day in {}.



Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: