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

Alfredo Kojima <[email protected]> Tue, 07 Nov 2006 17:27:12 -0300
Newsgroups gmane.comp.db.mysql.mycc
Message-ID <[email protected]>
Hi Carl,

uuid.h is in "uuid-dev", so you need to install that too.
There is more info about building over at
http://forge.mysql.com/wiki/Building_MySQL_GUI_Tools_on_Linux

Regards,
--
Alfredo

Carl Karsten wrote:
> I am trying to build mysql-gui-common
> 
> myx_grt.c:41:23: error: uuid/uuid.h: No such file or directory
> 
> On a new Ubuntu-edgy install:
> 
> sudo apt-get install build-esential liblualib50-dev libglade2-dev 
> libxml++2.6-dev libgtkmm-2.4-dev libpcre3-dev libmysqlclient15-dev
> 
>  wget 
> http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-gui-tools-5.0r5.tar.gz/from/http://mysql.mirrors.hoobly.com/ 
> 
> 
> tar xzvf mysql-gui-tools-5.0r5.tar.gz
> 
> cd  mysql-gui-tools-5.0r5/mysql-gui-common
> ./configure --enable-grt --enable-canvas
> make
> 
> (snip)
> 
> if /bin/bash ../../../libtool --tag=CC --mode=compile gcc 
> -DHAVE_CONFIG_H -I. -I. -I../../.. 
> -I../../../library/generic-runtime/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -I../../../library/utilities/include 
> -I../../../library/utilities/shared_include 
> -I../../../library/generic-runtime/newt -I/usr/include/mysql 
> -DBIG_JOINS=1 -I/usr/include/lua50 -DDLOAD_JVM -I/usr/include/lua50    
> -DENABLE_LUA_MODULES     -MT myx_grt.lo -MD -MP -MF ".deps/myx_grt.Tpo" 
> -c -o myx_grt.lo myx_grt.c; \
>         then mv -f ".deps/myx_grt.Tpo" ".deps/myx_grt.Plo"; else rm -f 
> ".deps/myx_grt.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. 
> -I../../../library/generic-runtime/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -I../../../library/utilities/include 
> -I../../../library/utilities/shared_include 
> -I../../../library/generic-runtime/newt -I/usr/include/mysql 
> -DBIG_JOINS=1 -I/usr/include/lua50 -DDLOAD_JVM -I/usr/include/lua50 
> -DENABLE_LUA_MODULES -MT myx_grt.lo -MD -MP -MF .deps/myx_grt.Tpo -c 
> myx_grt.c  -fPIC -DPIC -o .libs/myx_grt.o
> myx_grt.c:41:23: error: uuid/uuid.h: No such file or directory
> myx_grt.c: In function 'myx_grt_get_guid':
> myx_grt.c:1810: error: 'uuid_t' undeclared (first use in this function)
> myx_grt.c:1810: error: (Each undeclared identifier is reported only once
> myx_grt.c:1810: error: for each function it appears in.)
> myx_grt.c:1810: error: expected ';' before 'gid'
> myx_grt.c:1812: error: 'gid' undeclared (first use in this function)
> make[4]: *** [myx_grt.lo] Error 1
> make[4]: Leaving directory 
> `/home/juser/mysql-gui-tools-5.0r5/mysql-gui-common/library/generic-runtime/source' 
> 
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/juser/mysql-gui-tools-5.0r5/mysql-gui-common/library/generic-runtime' 
> 
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/juser/mysql-gui-tools-5.0r5/mysql-gui-common/library'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home/juser/mysql-gui-tools-5.0r5/mysql-gui-common'
> make: *** [all] Error 2
> 
> Is there an svn repo I can hit to get the cutting edge?
> 
> also, is anyone working on packaging a .deb?
> 
> Carl K
> 


-- 
Alfredo Kojima, GUI Developer
MySQL AB, www.mysql.com
Buenos Aires, Argentina

Are you MySQL certified?  www.mysql.com/certification

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