Re: uuid/uuid.h: No such file or directory

Stephen Gornick <[email protected]> Tue, 07 Nov 2006 08:42:33 -0800
Newsgroups gmane.comp.db.mysql.mycc
Message-ID <[email protected]>
Hi Carl,

 > I am trying to build mysql-gui-common
 >
 > myx_grt.c:41:23: error: uuid/uuid.h: No such file or directory

My first time attempting to do the build resulted with the same error.

The "extra requirements"  for mysql-gui-common (when you want support 
for the Generic Canvas and the GRT) include uuid-dev package and several 
others, as described here:
  http://forge.mysql.com/wiki/Building_MySQL_GUI_Tools_on_Linux

I then came across this post which depressed me at first:
  http://www.monkeyhelper.com/2006/07/mysql_workbench_and_ubuntu_dap.html

However, I was able to get completed builds on everything using the SVN 
trunk
revisions for my Ubuntu 6.06 LTS (Dapper) (on both my i386 and also on 
my AMD64/x86_64 host) by doing as follows:

$ sudo apt-get install autoconf
$ sudo apt-get install automake1.9
$ sudo apt-get install libtool
$ sudo apt-get install subversion
$ sudo apt-get install libglade2-dev
$ sudo apt-get install libgtkmm-2.4-dev
$ sudo apt-get install libgtkhtml3.8-dev  
$ sudo apt-get install liblua50-dev
$ sudo apt-get install liblualib50-dev
$ sudo apt-get install libglu1-mesa-dev
$ sudo apt-get install libmysqlclient15-dev
$ sudo apt-get install libpcre3-dev
$ sudo apt-get install uuid-dev
$ sudo apt-get install libxml-parser-perl

$ svn co http://svn.mysql.com/svnpublic/mysql-gui-common/trunk 
mysql-gui-common
$ cd mysql-gui-common
$ sh ./autogen.sh --enable-grt --enable-canvas
$ make
$ sudo make install
$ cd ..

$ svn co http://svn.mysql.com/svnpublic/mysql-administrator/trunk 
mysql-administrator
$ cd mysql-administrator
$ sh ./autogen.sh
$ make
$ sudo make install
$ cd ..

Determine which revision of libgtkhtml ...
$ ls /usr/lib/pkgconfig/libgtk*
  Then include that revision in the --with-gtkthml clause below.

$ svn co http://svn.mysql.com/svnpublic/mysql-query-browser/trunk 
mysql-query-browser
$ cd mysql-query-browser
$ sh ./autogen.sh --with-gtkhtml=libgtkhtml-3.8
$ make
$ sudo make install
$ cd ..

$ svn co http://svn.mysql.com/svnpublic/mysql-workbench/trunk 
mysql-workbench
$ cd mysql-workbench
$ sh ./autogen.sh
$ make
$ sudo make install
$ cd ..


Cheers,

- Stephen

-- 
MySQL GUI Tools Mailing List
For list archives: http://lists.mysql.com/gui-tools
To unsubscribe:    http://lists.mysql.com/[email protected]