Windows – Linux – Mac OSX Guides

Erlang, CouchDB on Slackware 12.1

Time to play with CouchDB, but wait …
I need to compile Erlang and it came out unsuccessful with error

obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function

sigaction': hipe_x86_signal.c:(.text+0xa9): undefined reference to

INIT’ hipe_x86_signal.c:(.text+0xff): undefined reference to

__next_sigaction' obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In

function hipe_signal_init’:

hipe_x86_signal.c:(.text+0x118): undefined reference to INIT'

hipe_x86_signal.c:(.text+0x148): undefined reference to INIT’

hipe_x86_signal.c:(.text+0x163): undefined reference to

__next_sigaction' hipe_x86_signal.c:(.text+0x190): undefined reference

to INIT’ hipe_x86_signal.c:(.text+0x1d9): undefined reference to

`__next_sigaction’ collect2: ld returned 1 exit status

After looking at erts/emulator/hipe/hipe_x86_signal.c , it turned out to be the check for glibc version which should be >=3 && <=6, and my current glibc is 2.7. So just for it working, I modified the code to check for my glibc version and yaaa… it worked!!!

CouchDB require ICU to work, so i hooked up linuxpackages and get ICU package, now is the time to build CouchDB package, well I used src2pkg to build my Slackware package.

Running CouchDB with couchdb user

As root, do:

adduser couchdb
chown -R couchdb /usr/var/lib/couchdb /usr/var/log/couchdb
ln -s /usr/etc/rc.d/couchdb /etc/rc.d/rc.couchdb
/etc/rc.d/rc.couchdb start

Everything went smoothly … time to relaxxxx !!!

Tagged with:     , ,

Related Articles

Loading Facebook Comments ...

Post your comments

Your email address will not be published. Required fields are marked *