You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Johannes Schneider <ma...@cedarsoft.com> on 2011/06/15 16:37:09 UTC

Installation on NAS (e.g. QNAP 419+)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

I would love to see CouchDB running on my NAS
http://www.qnap.com/pro_detail_feature.asp?p_id=183

This is an ARM based NAS that has a Linux system running.
Since I don't have any experience compiling CouchDB and there is no
compiler available on the NAS, I don't have an idea how to solve that
issue...

I downloaded the source distribution and executed ./configure. Attached
the output of the log file down here...


Thanks,

Johannes


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Apache CouchDB configure 1.1.0, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = salomo
uname -m = armv5tel
uname -r = 2.6.33.2
uname -s = Linux
uname -v = #1 Fri May 20 00:56:30 CST 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/ucb
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /opt/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2442: checking for a BSD-compatible install
configure:2510: result: /usr/bin/install -c
configure:2521: checking whether build environment is sane
configure:2571: result: yes
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: build-aux/install-sh -c -d
configure:2764: checking for gawk
configure:2794: result: no
configure:2764: checking for mawk
configure:2794: result: no
configure:2764: checking for nawk
configure:2794: result: no
configure:2764: checking for awk
configure:2780: found /bin/awk
configure:2791: result: awk
configure:2802: checking whether make sets $(MAKE)
configure:2828: result: no
configure:2917: checking for style of include used by make
configure:2945: result: none
configure:3015: checking for gcc
configure:3045: result: no
configure:3108: checking for cc
configure:3155: result: no
configure:3211: checking for cl.exe
configure:3241: result: no
configure:3265: error: in `/opt/apache-couchdb-1.1.0':
configure:3267: error: no acceptable C compiler found in $PATH
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_ERLC_FLAGS_set=
ac_cv_env_ERLC_FLAGS_value=
ac_cv_env_ERLC_set=
ac_cv_env_ERLC_value=
ac_cv_env_ERL_set=
ac_cv_env_ERL_value=
ac_cv_env_FLAGS_set=
ac_cv_env_FLAGS_value=
ac_cv_env_HELP2MAN_EXECUTABLE_set=
ac_cv_env_HELP2MAN_EXECUTABLE_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run
aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run tar'
AR=''
AUTOCONF='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run
autoconf'
AUTOHEADER='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run
autoheader'
AUTOMAKE='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run
automake-1.11'
AWK='awk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CURL_CFLAGS=''
CURL_CONFIG=''
CURL_LDFLAGS=''
CURL_LIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ERL=''
ERLC=''
ERLC_FLAGS=''
EXEEXT=''
FGREP=''
FLAGS=''
GREP=''
HELP2MAN_EXECUTABLE=''
HELP2MAN_FALSE=''
HELP2MAN_TRUE=''
ICU_CFLAGS=''
ICU_CONFIG=''
ICU_CXXFLAGS=''
ICU_LIBS=''
ICU_LOCAL_BIN=''
ICU_LOCAL_CFLAGS=''
ICU_LOCAL_LDFLAGS=''
INIT_FALSE=''
INIT_TRUE=''
INNO_COMPILER_EXECUTABLE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JSLIB=''
JS_LIB_BASE=''
JS_LIB_BINARY=''
JS_LIB_DIR=''
LAUNCHD_FALSE=''
LAUNCHD_TRUE=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/missing --run
makeinfo'
MKDIR_P='build-aux/install-sh -c -d'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='apache-couchdb'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='Apache CouchDB'
PACKAGE_STRING='Apache CouchDB 1.1.0'
PACKAGE_TARNAME='apache-couchdb'
PACKAGE_URL=''
PACKAGE_VERSION='1.1.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
VERSION='1.1.0'
WINDOWS_FALSE=''
WINDOWS_TRUE=''
abs_top_builddir=''
abs_top_srcdir=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='#'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
bug_uri=''
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
initdir=''
install_sh='${SHELL} /opt/apache-couchdb-1.1.0/build-aux/install-sh'
launchddir=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localconfdir=''
localdatadir=''
localdocdir=''
localedir='${datarootdir}/locale'
localerlanglibdir=''
locallibbindir=''
locallibdir=''
localstatedir='${prefix}/var'
localstatelibdir=''
localstatelogdir=''
localstaterundir=''
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/build-aux/install-sh -c -d'
msvc_redist_dir=''
msvc_redist_name=''
oldincludedir='/usr/include'
openssl_bin_dir=''
package_author_address=''
package_author_name=''
package_identifier=''
package_name=''
package_tarname=''
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
version=''
version_major=''
version_minor=''
version_release=''
version_revision=''
version_stage=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Apache CouchDB"
#define PACKAGE_TARNAME "apache-couchdb"
#define PACKAGE_VERSION "1.1.0"
#define PACKAGE_STRING "Apache CouchDB 1.1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "apache-couchdb"
#define VERSION "1.1.0"

configure: exit 1


- -- 
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJN+MOSAAoJEAytD9R7Qv6dlC8H/3M51w0b5aFd172gC7818mqW
ZUM/hmvdTsSDHCfSjRZG+cbmiNtvERXvN5CHcFHiYjCdwmxLfiw+6BD1t5GHacD3
gruRTSZuDZ74mnxzyeR4vvW/4OtzJtsYTcwqtLguIUuPysj/btThO2HudGINoZ0u
d/Qi73qi1kSp0DXXvvd7ZuCrXZggPJ58qavUzDaBe3cTzCB+QqnxvwkMGEjjr6Dp
HEEO8EL350rHT4fIYlzYsxG00+Ioyg/zVTCAURSsiljUP0zk0UMGPKFTDMSOJa6m
IdwdwdoLy8OJSm6EvpaVVIqu0S3x9hROisO8bMuHY6656A5FEAOnXI8/6AKPpB4=
=AiFB
-----END PGP SIGNATURE-----

Re: Installation on NAS (e.g. QNAP 419+)

Posted by Dave Cottlehuber <da...@muse.net.nz>.
On 16 June 2011 02:37, Johannes Schneider <ma...@cedarsoft.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi guys,
>
> I would love to see CouchDB running on my NAS
> http://www.qnap.com/pro_detail_feature.asp?p_id=183
>
> This is an ARM based NAS that has a Linux system running.
> Since I don't have any experience compiling CouchDB and there is no
> compiler available on the NAS, I don't have an idea how to solve that
> issue...
>
> I downloaded the source distribution and executed ./configure. Attached
> the output of the log file down here...
>
[snip]
> configure:3265: error: in `/opt/apache-couchdb-1.1.0':
> configure:3267: error: no acceptable C compiler found in $PATH

Hi Johannes

I expect you will spend a fair bit of time fiddling & cajoling this to
work. In my personal experience cross-compiling is not worth the
effort; you are better off getting a native toolchain up & running.
Although this is also not easy, and if you're not careful you could
end up with your NAS not being bootable.

There are a few people who have done this before for qnap -
http://www.tazenda.demon.co.uk/phil/arm-tools.html
http://forum.qnap.com/viewtopic.php?p=129749#p129749

A bit more google-fu should see you right - qnap arm native compiler
or toolchain. This is the same thing I am working through on the
CouchDB Windows build, and while its slow progress some weeks I am
learning a lot & definitely enjoying it.

Good luck!!
Dave