Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem installing zmq on amazon linux (unable to find uuid)
    primarykey
    data
    text
    <p>I'm trying to put together an AMI on EC2, and am currently stalled on building 0mq.</p> <p>initially, I got this error while running ./configure </p> <pre><code>checking for uuid_generate in -luuid... no configure: error: cannot link with -luuid, install uuid-dev. </code></pre> <p>I installed e2fsprogs-devel and linux-utils via yum, which I believe contained the required library, but still got the error above. I subsequently installed uuid-devel with yum and got no further.</p> <p>Then, I created a link as below: </p> <pre><code>sudo ln -s /lib64/libuuid.so.1.3.0 /lib64/libuuid.so </code></pre> <p>and now ./configure completes happily, but I get an error when I run make</p> <pre><code>[...] CXX libzmq_la-signaler.lo CXX libzmq_la-socket_base.lo In file included from socket_base.cpp:50: uuid.hpp:31:23: error: uuid/uuid.h: No such file or directory In file included from socket_base.cpp:50: uuid.hpp:92: error: 'uuid_t' in namespace '::' does not name a type make[2]: *** [libzmq_la-socket_base.lo] Error 1 make[2]: Leaving directory `/home/this/infrastructure/zeromq2-2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/this/infrastructure/zeromq2-2/src' make: *** [all-recursive] Error 1 </code></pre> <p>The following is the beginning of /usr/include/uuid.h, if that's useful.</p> <pre><code>#ifndef __UUID_H__ #define __UUID_H__ /* workaround conflicts with system headers */ #define uuid_t __vendor_uuid_t #define uuid_create __vendor_uuid_create #define uuid_compare __vendor_uuid_compare #include &lt;sys/types.h&gt; #include &lt;unistd.h&gt; #undef uuid_t #undef uuid_create #undef uuid_compare </code></pre> <p>I'm pretty well stumped at this point. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload