Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to resolve the error "uuid.h: No such file or directory"

Neel
1423 days ago

Question: How to resolve the error "uuid.h: No such file or directory"

I receive following error while compiling kent

../inc/uuid.h:8:10: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
^~~~~~~~~~~~~
compilation terminated.
../inc/common.mk:420: recipe for target 'uuid.o' failed
make[1]: *** [uuid.o] Error 1
make[1]: Leaving directory '/home/simuG/ancestral/GenomeAlignmentTools/kent/src/lib'
makefile:7: recipe for target 'topLibs' failed
make: *** [topLibs] Error 2

Best Answer
0

You might need to install the libuuid-devel package to obtain the /usr/include/uuid/ directory of files. This appears to be a new dependency with this recent addition of uuid code. 

Try following with Ubuntu

sudo apt-get install uuid-dev

The following packages will be upgraded:
libuuid1
1 upgraded, 1 newly installed, 0 to remove and 315 not upgraded.
Need to get 53,3 kB of archives.
After this operation, 166 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.7 [20,1 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 uuid-dev amd64 2.31.1-0.4ubuntu3.7 [33,2 kB]
Fetched 53,3 kB in 0s (131 kB/s)
(Reading database ... 521055 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.7_amd64.deb ...
Unpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3.6) ...
Setting up libuuid1:amd64 (2.31.1-0.4ubuntu3.7) ...
Selecting previously unselected