Erlang, CouchDB on Slackware 12.1
18/09/2008 // No comment // Category: My Everything // Thẻ: erlang, My Everything, slackware.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+0×118): undefined reference to `INIT’
hipe_x86_signal.c:(.text+0×148): undefined reference to `INIT’
hipe_x86_signal.c:(.text+0×163): undefined reference to
`__next_sigaction’ hipe_x86_signal.c:(.text+0×190): undefined reference
to `INIT’ hipe_x86_signal.c:(.text+0×1d9): 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 !!!
Leave a Reply
Recent Posts
Recent Comments
- car on Google App Engine & cron jobs
- Rodrigo Marangon on Mod_python + Apache 2 + Slackware Error
- gabriel on Install packages for PEAR in XAMPP (Ubuntu Linux)
- mod_python on Apache 2 | Miscellaneous musings in beta on Mod_python + Apache 2 + Slackware Error
- Gilberto Ramos on Get back your Alt+Ctrl+Backspace in Karmic
Blogroll
car: nice engine, i'll try to pimp my ride
Rodrigo Marangon: Thanks for sharing! It was very helpful. Another way to make mod_python work is replacing the ...
gabriel: just the info that I was looking for... tnx ...
Gilberto Ramos: very useful! i was looking for this..!
Venkat Mantirraju: This is an excellent guide. Thanks a lot for your effort and time in making ...
How to clear DNS cache in Mac (Tiger, Leopard, Snow Leopard)
31/07/2010
Validation with Jquery
26/07/2010
Add your Google Apps email to Palm Pre
19/07/2010
Install packages for PEAR in XAMPP (Ubuntu Linux)
17/03/2010
Skype on Ubuntu Lucid Lynx 10.04
17/03/2010
Eclipse 3.5 Galileo on Ubuntu Jaunty 9.04
| 12 comments
Google App Engine & cron jobs
| 4 comments
vmware-tools on Slackware 12.1
| 3 comments
Django, Mod-Python & CouchDB
| 2 comments
Mapnik installation on Slackware 12.1
| 2 comments
- © 2009 Tech Mix. All rights reserved.
- WPLine 1.0 designed by Hutek - A member of Vietnam Wordpress Commnunity.
- Powered by Wordpress. Work fine on almost popular browsers.


