Install UrBackup on Freenas

Status
Not open for further replies.

svno

Cadet
Joined
Sep 13, 2013
Messages
4
Hey,

i tried to install UrBackup on Freenas like this:
http://forums.freenas.org/threads/u...ws-baremetal-restore-fantastic-solution.9823/

After i entered ./configure i get this error message:

root@...] ~/urbackup-server-1.3.0.327# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/root/urbackup-server-1.3.0.327':
configure: error: C++ compiler cannot create executables
See `config.log' for more details



config.log:
[root@ba-backup01] ~/urbackup-server-1.3.0.327# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by urbackup-server configure 1.3.0.327, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure

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

hostname = ba-backup01.spsdocsba.local
uname -m = i386
uname -r = 9.1-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 9.1-STABLE #0 r+16f6355: Tue Aug 27 04:05:43 PDT 2013 roo t@build.ixsystems.com:/tank/home/jkh/src/freenas/os-base/i386/i386.i386/tank/hom e/jkh/src/freenas/FreeBSD/src/sys/FREENAS.i386

/usr/bin/uname -p = i386
/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: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /root/bin
PATH: /usr/local/fusion-io


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

configure:2313: checking for a BSD-compatible install
configure:2381: result: /usr/bin/install -c
configure:2392: checking whether build environment is sane
configure:2442: result: yes
configure:2583: checking for a thread-safe mkdir -p
configure:2622: result: ./install-sh -c -d
configure:2635: checking for gawk
configure:2665: result: no
configure:2635: checking for mawk
configure:2665: result: no
configure:2635: checking for nawk
configure:2651: found /usr/bin/nawk
configure:2662: result: nawk
configure:2673: checking whether make sets $(MAKE)
configure:2695: result: yes
configure:2865: checking for g++
configure:2881: found /usr/bin/g++
configure:2892: result: g++
configure:2919: checking for C++ compiler version
configure:2928: g++ --version >&5
g++ (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2939: $? = 0
configure:2928: g++ -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
configure:2939: $? = 0
configure:2928: g++ -V >&5
g++: '-V' option must have argument
configure:2939: $? = 1
configure:2928: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: No input files specified
configure:2939: $? = 1
configure:2959: checking whether the C++ compiler works
configure:2981: g++ conftest.cpp >&5
/usr/bin/ld: cannot find -lgcc
configure:2985: $? = 1
configure:3023: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "urbackup-server"
| #define PACKAGE_TARNAME "urbackup-server"
| #define PACKAGE_VERSION "1.3.0.327"
| #define PACKAGE_STRING "urbackup-server 1.3.0.327"
| #define PACKAGE_BUGREPORT "martin@urbackup.org"
| #define PACKAGE_URL ""
| #define PACKAGE "urbackup-server"
| #define VERSION "1.3.0.327"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3028: error: in `/root/urbackup-server-1.3.0.327':
configure:3031: error: C++ compiler cannot create executables
See `config.log' for more details

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

ac_cv_env_CCC_set=''
ac_cv_env_CCC_value=''
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_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_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=nawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /root/urbackup-server-1.3.0.327/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /root/urbackup-server-1.3.0.327/missing --run tar'
AUTOCONF='${SHELL} /root/urbackup-server-1.3.0.327/missing --run autoconf'
AUTOHEADER='${SHELL} /root/urbackup-server-1.3.0.327/missing --run autoheader'
AUTOMAKE='${SHELL} /root/urbackup-server-1.3.0.327/missing --run automake-1.11'
AWK='nawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLOPEN_LIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INITD_FALSE=''
INSTALL_INITD_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/urbackup-server-1.3.0.327/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
OBJEXT=''
PACKAGE='urbackup-server'
PACKAGE_BUGREPORT='martin@urbackup.org'
PACKAGE_NAME='urbackup-server'
PACKAGE_STRING='urbackup-server 1.3.0.327'
PACKAGE_TARNAME='urbackup-server'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.0.327'
PACKAGING_FALSE=''
PACKAGING_TRUE=''
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
P_SUBDIRS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.3.0.327'
ac_ct_CC=''
ac_ct_CXX='g++'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
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'
install_sh='${SHELL} /root/urbackup-server-1.3.0.327/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "urbackup-server"
#define PACKAGE_TARNAME "urbackup-server"
#define PACKAGE_VERSION "1.3.0.327"
#define PACKAGE_STRING "urbackup-server 1.3.0.327"
#define PACKAGE_BUGREPORT "martin@urbackup.org"
#define PACKAGE_URL ""
#define PACKAGE "urbackup-server"
#define VERSION "1.3.0.327"

configure: exit 77

Any idea why i get this error message?
 

svno

Cadet
Joined
Sep 13, 2013
Messages
4
I found the mistake. I had to install it into jail.. :rolleyes:

But i have another Problem now:

i started the urbackup server but i cant open the webinterface on ip_of_my_Nas:55414.

I get this message:

[root@freenas] ~# jexec 1 /bin/tcsh
root@bit_1:/ # /usr/local/sbin/urbackup_srv --plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /usr/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbackupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --user urbackup --http_port 55414
2013-09-23 13:05:14: done.
2013-09-23 13:05:14: Loaded -url- plugin
2013-09-23 13:05:14: Loaded -cryptoplugin- plugin
2013-09-23 13:05:14: Loaded -download- plugin
2013-09-23 13:05:14: Loaded -fsimageplugin- plugin
2013-09-23 13:05:14: Starting HTTP-Server on port 55414
2013-09-23 13:05:14: HTTP: Server started up sucessfully!
2013-09-23 13:05:14: Generating Server identity...
2013-09-23 13:05:14: Generating Server token...
2013-09-23 13:05:14: Could not open db [urbackup/backup_server.db]
2013-09-23 13:05:14: ERROR: Database "urbackup/backup_server.db" couldn't be opened
Segmentation fault
root@bit_1:/ #

Whats the problem? ;)
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
A jail gets its own IP address. You need to use that IP

Sent from my Galaxy Nexus
 
Status
Not open for further replies.
Top