Comment on Building in umurmur

91 views
Skip to first unread message

umu...@googlecode.com

unread,
Feb 12, 2011, 5:07:28 AM2/12/11
to umurmur...@googlegroups.com
Comment by pierre.l...@gmail.com:

HI

I'am not very good with "compilation"...
I try to compile the v0.2.6 and i got an error (with V=99 debug
level) "conf.c:35:23: error: libconfig.h: No such file or directory"

I apply this "workaround"
cp ./OpenWrt-SDK-brcm47xx-for-Linux-i686/staging_dir/mipsel/usr/include/libconfig/libconfig.h ./OpenWrt-SDK-brcm47xx-for-Linux-i686/staging_dir/mipsel/usr/include

And the compilation runs.

For more information:
http://code.google.com/p/umurmur/wiki/Building

umu...@googlecode.com

unread,
Feb 12, 2011, 5:49:38 AM2/12/11
to umurmur...@googlegroups.com
Comment by mar...@fatbob.nu:

Yes the location of libconfig.h changed in trunk OpenWRT so I changed it
for 0.2.6. If you get a recent SDK from the snapshots dir it will work
without changes.

umu...@googlecode.com

unread,
Mar 9, 2011, 11:57:27 AM3/9/11
to umurmur...@googlegroups.com
Comment by Jedmas...@gmail.com:

Build for SheevaPlug

Make sure you have the build-essential package.
{{{sudo apt-get install build-essential}}}
You can start in whatever fold you like, but I started at home, for
simplicity.
{{{mkdir ~/murmur
cd murmur}}}
Next we get the source for umurmur, and untar it. (make sure to grab the
most recent version. 0.2.6 is the most recent as of writing this.
{{{wget http://umurmur.googlecode.com/files/umurmur-0.2.6.tar.gz && tar xfz
umurmur-0.2.6.tar.gz}}}
Next we need to get the most recent libconfig from hyperrealm.com. I'm not
sure if this is the most efficient way, but it works.
{{{wget http://www.hyperrealm.com/libconfig/libconfig-1.4.6.tar.gz && tar
xfz libconfig-1.4.6.tar.gz}}}
{{{cd libconfig-1.4.6}}}
I had to use sudo because of a permission denied error in /tmp.
{{{sudo ./configure}}}
Then we make it to get our libconfig.h
{{{sudo make}}}
Then we install, so the lconfig library gets where it needs to be. (sorta)
{{{sudo make install}}
Then copy the lib/libconfig.h to the umurmur/src directory.
{{{cp lib/libconfig.h ../umurmur-0.2.6/src/}}}
On my little plug, it decided to put lconfig in /usr/local/lib, so I needed
to move it so the umurmur make could find it.
{{{sudo cp /usr/local/lib/libcon* /usr/lib/}}}
Now, we make sure we are in the umurmur source directory.
{{{cd ~/murmur/umurmur-0.2.6/src}}
then, just make. (or sudo make, if you have any problems.)
{{{make}}}
After it finishes, list your directory, and you should see umurmurd.
*yay!*

umu...@googlecode.com

unread,
Mar 9, 2011, 12:01:28 PM3/9/11
to umurmur...@googlegroups.com
Comment by Jedmas...@gmail.com:

Well, that didn't format nearly as nicely as I'd like. Can someone set me
up so I can add to the real wiki? Thanks!

umu...@googlecode.com

unread,
Mar 10, 2011, 5:01:47 PM3/10/11
to umurmur...@googlegroups.com
Comment by mar...@fatbob.nu:

Thanks for the SheevaPlug instruction! I added it to the page as you can
see above.

umu...@googlecode.com

unread,
Jun 15, 2011, 10:13:02 AM6/15/11
to umurmur...@googlegroups.com
Comment by h.nie...@gmail.com:

I created an ebuild for easy installation Gentoo, which I filed at
http://bugs.gentoo.org/show_bug.cgi?id=371773 which includes init.d scripts
and the example config (you'll also need an ebuild for protobuf-c, filed at
http://bugs.gentoo.org/show_bug.cgi?id=371775)

umu...@googlecode.com

unread,
Dec 22, 2011, 5:00:44 AM12/22/11
to umurmur...@googlegroups.com
Comment by pierre.h...@gmail.com:

For those who have problem to get protobuf-c compiled, use the
--disable-protoc flag when executing configure:
"configure --disable-protoc".
That way you don't need protobuf library anymore. Thanks Martin for the
advice.

umu...@googlecode.com

unread,
Jun 8, 2013, 4:08:06 AM6/8/13
to umurmur...@googlegroups.com
Comment by Cros...@gmail.com:

I am new to compiling. Do I use the 0.2.6 instructions for the new 0.2.12
version?

umu...@googlecode.com

unread,
Jan 24, 2015, 1:09:59 AM1/24/15
to umurmur...@googlegroups.com
Comment by felicio...@gmail.com:

Unrecognized syntax --disable-protoc .. Why?

After running ./configure . Running make fails. protobuf-c/protobuf-c.h: No
such file or directory

For more information:
https://code.google.com/p/umurmur/wiki/Building

umu...@googlecode.com

unread,
Jan 26, 2015, 12:14:32 PM1/26/15
to umurmur...@googlegroups.com
Comment by felix.morgner:

This may be related to umurmur using Protobuf-C 1.0 in newer releases. You
might want to install libprotobuf-c1 instead of libprotobuf-c0. On Debian
AFAIK the new Protobuf-C version is only available when running sid or
jessie.
Reply all
Reply to author
Forward
0 new messages