couchDB RHEL4 Install Error - installation

I'm currently trying to install couchDB on a Red Hat 4 machine
Linux version 2.6.32-220.el6.x86_64 (mockbuild#c6b18n3.bsys.dev.centos.org) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Tue Dec 6 19:48:22 GMT 2011
following the instructions on the Apache Wiki: http://wiki.apache.org/couchdb/Installing_on_RHEL4. The install runs fine right up until the line
make && sudo make install
when i get the following error:
/usr/local/bin/erlc couch_key_tree.erl;
./couch_key_tree.erl:78: type boolean() undefined
./couch_key_tree.erl:79: type boolean() undefined
./couch_key_tree.erl:93: type boolean() undefined
./couch_key_tree.erl:136: type boolean() undefined
make[4]: *** [couch_key_tree.beam] Error 1
make[4]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acarter/couchdb/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acarter/couchdb'
make: *** [all] Error 2
I've looked around online and seen the problem mentioned once or twice but never a solution. Does anyone know a solution or a good place to start looking?
Thanks

I ran into this same issue. The problem is that the version of Erlang is outdated(12B in my case). The solution was to upgrade to a newer version.
Source:
https://github.com/cloudant/bigcouch/issues/13

Related

Cant Make Prepare in Kernel-LT on Centos 7.9

I am trying to merge code with the kernel and then compile, but when I run make prepare, I get the following error:
[root#localhost 5.4.231-1.el7.elrepo.x86_64]# make prepare
/usr/src/kernels/5.4.231-1.el7.elrepo.x86_64/Makefile:678: include/config/auto.conf.cmd: No such file or directory
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:34: can't open file "Documentation/Kconfig"
make[3]: *** [syncconfig] Error 1
make[2]: *** [syncconfig] Error 2
make[1]: *** [include/config/auto.conf.cmd] Error 2
make: *** [sub-make] Error 2
[root#localhost 5.4.231-1.el7.elrepo.x86_64]#
I installed Kernel-LT-Devel and headers, and do not know what package I need to complete this requirement, and so I am stuck. Has anyone seen this error before?
Thanks

Error Compiling GCC on Ubuntu 14.04

While installing gcc-3.4.6 (I really need only this version) I get this error
$ make 1>/dev/null
./unwind-dw2.c: In function `uw_frame_state_for':
./unwind-dw2.c:1031: error: field `info' has incomplete type
make[2]: *** [libgcc/32/unwind-dw2.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
I found this question, but it does not solve the problem?
I am using Ubuntu 14.04 in VirtualBox.

Make error when compiling GMP on Windows

I'm attempting to compile GMP 5.1.3 with MinGW on a 64 bit Windows 7 machine as a prerequisite to setting up pycrypto. To configure GMP I used ./configure --prefix=C:/Python27/Lib/site-packages/gmp-5.1.3. When I enter the make command, I get the error:
../libtool: line 1109: lib: command not found
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving director '/c/Python27/Lib/site-packages/gmp-5.1.3/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/Python27/Lib/site-packages/gmp-5.1.3'
make: *** [all] Error 2
I've been fishing around Google and reviewing the instructions for GMP to no avail. Found lots of maybe similar problems, but nothing that directly relates. Though I have the sneaking suspicion that the problem is right in front of me and I've just been staring at the screen too long.

Debian "make" error

I'm trying to install ufasoft miner on my Debian machine, but after entering make it shows this message:
make[1]: Entering directory `/root/ufasoft_coin-0.75'
CXX el/libext/bignum.o
In file included from el/libext/bignum.cpp:18:0:
./el/bignum.h: In member function ?void Ext::BigInteger::swap(Ext::BigInteger&)?:
./el/bignum.h:310:8: error: ?mpz_class? has no member named ?swap?
make[1]: *** [el/libext/bignum.o] Error 1
make[1]: Leaving directory `/root/ufasoft_coin-0.75'
make: *** [all] Error 2
Check your installed GMP version.
For me, ufasoft_coin-0.75 compiles fine against the latest gmp-5.1.3 (With --enable-cxx)

Error installing glib

I am trying to install the glib-2.38.0 and upon executing the MAKE file and getting the following error:
make[5]: Leaving directory `/root/glib-2.38.0/glib/update-pcre'
make[4]: Leaving directory `/root/glib-2.38.0/glib/update-pcre'
Making install in .
make[4]: Entering directory `/root/glib-2.38.0/glib'
CCLD libglib-2.0.la
libtool: link: `glib_probes.lo' is not a valid libtool object
make[4]: *** [libglib-2.0.la] Error 1
make[4]: Leaving directory `/root/glib-2.38.0/glib'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/root/glib-2.38.0/glib'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/glib-2.38.0/glib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/glib-2.38.0'
make: *** [install] Error 2
How can I troubleshoot this? How can I overcome this issue?
After hitting this same error on Solaris 10 01/13 and not needing dtrace support, I solved this in configure by adding --disable-dtrace.
I had the exact same problem, and located your posting after
giving the error message to a search engine. Alas, no one
had answered you, so I had no choice but to troubleshoot the
problem myself.
In my case, the problem was an old version of dtrace. I updated
the package containing /usr/bin/dtrace (which, in my case, was
systemtap-sdt-devel) and then dtrace created a proper glib_probes.lo
file.
Having solved the problem for myself, it then became my duty to
tell you how I had done so, and answer your unanswered question.
This I have now done.

Resources