schneerunzel
Goto Top

UR Backup Linux Client

Hallo,

Vorab möchte ich mich für die Länge des Beitrages entschuldigen, aber ich wollte keine Infos vorenthalten.
ich setzte seit einiger Zeit UR Backup ein.
Und ich muss sagen im Bereich Windows bin ich, mit dem was UR Backup kann, sehr zufrieden. Mir fehlen zwar gewisse Funktionen wie run-befor-script aber das ist in meinem Fall zu verkraften.
Unsere Landschaft sieht so aus das wir ein paar Windows Server (2008 und 2012 R2) im Einsatz haben (sowohl VMs als auch Physische). Zu diesen Server gesellen sich noch 8 Linux Server. Die Linux Server haben im Moment zwar kritische Aufgaben, aber durch Tricks ist es zu verkraften das die Server nicht einzeln mit gesichert werden. Der Grund warum die Linux Server nicht richtig gesichert werden ist ganz einfach: Ich bekomme den UR Backup Client für Linux nicht zum Laufen!
Ich hoffe ihr könnt mir helfen.

Ich bin ganz stur nach der Anleitung http://www.urbackup.org/client_debian_ubuntu_install.html gegangen. Zum testen habe ich mir mal eine VM mitLubuntu 14.04 aufgesetzt.

Als erstes
apt-get install build-essential "g++" libwxgtk2.8-dev "libcrypto++-dev"  

Dann habe ich den Client heruntergeladen:
wget http://sourceforge.net/projects/urbackup/files/Client/1.4/urbackup-client-1.4.tar.gz

Dann das ganze entpackt (/home/"user"/)
tar xzf urbackup-client-1.4.tar.gz

Darnach bin ich in den neuen Ordner gewechselt und habe die config gestartet
cd urbackup-client-1.4
./configure
Das Ergebniss sieht so aus:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
...

checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

anschließend ein
make
mit diesem Ergebniss:
make  all-recursive
make[1]: Betrete Verzeichnis '/home/rschmidt/urbackup-client-1.4'  
Making all in .
make[2]: Betrete Verzeichnis '/home/rschmidt/urbackup-client-1.4'  
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT AcceptThread.o -MD -MP -MF .deps/AcceptThread.Tpo -c -o AcceptThread.o AcceptThread.cpp
mv -f .deps/AcceptThread.Tpo .deps/AcceptThread.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Client.o -MD -MP -MF .deps/Client.Tpo -c -o Client.o Client.cpp
mv -f .deps/Client.Tpo .deps/Client.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Database.o -MD -MP -MF .deps/Database.Tpo -c -o Database.o Database.cpp
mv -f .deps/Database.Tpo .deps/Database.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Query.o -MD -MP -MF .deps/Query.Tpo -c -o Query.o Query.cpp
mv -f .deps/Query.Tpo .deps/Query.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT SelectThread.o -MD -MP -MF .deps/SelectThread.Tpo -c -o SelectThread.o SelectThread.cpp
mv -f .deps/SelectThread.Tpo .deps/SelectThread.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Server.o -MD -MP -MF .deps/Server.Tpo -c -o Server.o Server.cpp
Server.cpp: In member function ‘virtual void CServer::setLogFile(const string&, std::string)’:
Server.cpp:470:47: warning: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
     chown(plf.c_str(), pw->pw_uid, pw->pw_gid);
                                               ^
mv -f .deps/Server.Tpo .deps/Server.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT ServerLinux.o -MD -MP -MF .deps/ServerLinux.Tpo -c -o ServerLinux.o ServerLinux.cpp
mv -f .deps/ServerLinux.Tpo .deps/ServerLinux.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT ServiceAcceptor.o -MD -MP -MF .deps/ServiceAcceptor.Tpo -c -o ServiceAcceptor.o ServiceAcceptor.cpp
ServiceAcceptor.cpp: In constructor ‘CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int)’:
ServiceAcceptor.cpp:42:13: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result [-Wunused-result]
  pipe(xpipe);
             ^
ServiceAcceptor.cpp: In destructor ‘CServiceAcceptor::~CServiceAcceptor()’:
ServiceAcceptor.cpp:97:25: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  write(xpipe[1], &ch, 1);
                         ^
mv -f .deps/ServiceAcceptor.Tpo .deps/ServiceAcceptor.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT ServiceWorker.o -MD -MP -MF .deps/ServiceWorker.Tpo -c -o ServiceWorker.o ServiceWorker.cpp
mv -f .deps/ServiceWorker.Tpo .deps/ServiceWorker.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT SessionMgr.o -MD -MP -MF .deps/SessionMgr.Tpo -c -o SessionMgr.o SessionMgr.cpp
mv -f .deps/SessionMgr.Tpo .deps/SessionMgr.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT StreamPipe.o -MD -MP -MF .deps/StreamPipe.Tpo -c -o StreamPipe.o StreamPipe.cpp
mv -f .deps/StreamPipe.Tpo .deps/StreamPipe.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Template.o -MD -MP -MF .deps/Template.Tpo -c -o Template.o Template.cpp
mv -f .deps/Template.Tpo .deps/Template.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT WorkerThread.o -MD -MP -MF .deps/WorkerThread.Tpo -c -o WorkerThread.o WorkerThread.cpp
mv -f .deps/WorkerThread.Tpo .deps/WorkerThread.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function ‘int main_fkt(int, char**)’:
main.cpp:316:11: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result [-Wunused-result]
     dup(i);
           ^
main.cpp:317:11: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result [-Wunused-result]
     dup(i);
           ^
main.cpp:331:70: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
   chdir(Server->ConvertToUTF8(Server->getServerWorkingDir()).c_str());
                                                                      ^
main.cpp:389:22: warning: ignoring return value of ‘int setgid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
    setgid(pw->pw_gid);
                      ^
main.cpp:390:22: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
    setuid(pw->pw_uid);
                      ^
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp
mv -f .deps/md5.Tpo .deps/md5.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT stringtools.o -MD -MP -MF .deps/stringtools.Tpo -c -o stringtools.o stringtools.cpp
mv -f .deps/stringtools.Tpo .deps/stringtools.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT fastcgi.o -MD -MP -MF .deps/fastcgi.Tpo -c -o fastcgi.o `test -f 'libfastcgi/fastcgi.cpp' || echo './'`libfastcgi/fastcgi.cpp  
mv -f .deps/fastcgi.Tpo .deps/fastcgi.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Mutex_lin.o -MD -MP -MF .deps/Mutex_lin.Tpo -c -o Mutex_lin.o Mutex_lin.cpp
mv -f .deps/Mutex_lin.Tpo .deps/Mutex_lin.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT LoadbalancerClient.o -MD -MP -MF .deps/LoadbalancerClient.Tpo -c -o LoadbalancerClient.o LoadbalancerClient.cpp
mv -f .deps/LoadbalancerClient.Tpo .deps/LoadbalancerClient.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT DBSettingsReader.o -MD -MP -MF .deps/DBSettingsReader.Tpo -c -o DBSettingsReader.o DBSettingsReader.cpp
mv -f .deps/DBSettingsReader.Tpo .deps/DBSettingsReader.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT file_common.o -MD -MP -MF .deps/file_common.Tpo -c -o file_common.o file_common.cpp
mv -f .deps/file_common.Tpo .deps/file_common.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT file_fstream.o -MD -MP -MF .deps/file_fstream.Tpo -c -o file_fstream.o file_fstream.cpp
mv -f .deps/file_fstream.Tpo .deps/file_fstream.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT file_linux.o -MD -MP -MF .deps/file_linux.Tpo -c -o file_linux.o file_linux.cpp
mv -f .deps/file_linux.Tpo .deps/file_linux.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT FileSettingsReader.o -MD -MP -MF .deps/FileSettingsReader.Tpo -c -o FileSettingsReader.o FileSettingsReader.cpp
mv -f .deps/FileSettingsReader.Tpo .deps/FileSettingsReader.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT LookupService.o -MD -MP -MF .deps/LookupService.Tpo -c -o LookupService.o LookupService.cpp
mv -f .deps/LookupService.Tpo .deps/LookupService.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT SettingsReader.o -MD -MP -MF .deps/SettingsReader.Tpo -c -o SettingsReader.o SettingsReader.cpp
mv -f .deps/SettingsReader.Tpo .deps/SettingsReader.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Table.o -MD -MP -MF .deps/Table.Tpo -c -o Table.o Table.cpp
mv -f .deps/Table.Tpo .deps/Table.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT OutputStream.o -MD -MP -MF .deps/OutputStream.Tpo -c -o OutputStream.o OutputStream.cpp
mv -f .deps/OutputStream.Tpo .deps/OutputStream.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT ThreadPool.o -MD -MP -MF .deps/ThreadPool.Tpo -c -o ThreadPool.o ThreadPool.cpp
mv -f .deps/ThreadPool.Tpo .deps/ThreadPool.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT MemoryPipe.o -MD -MP -MF .deps/MemoryPipe.Tpo -c -o MemoryPipe.o MemoryPipe.cpp
mv -f .deps/MemoryPipe.Tpo .deps/MemoryPipe.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT Condition_lin.o -MD -MP -MF .deps/Condition_lin.Tpo -c -o Condition_lin.o Condition_lin.cpp
mv -f .deps/Condition_lin.Tpo .deps/Condition_lin.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT MemorySettingsReader.o -MD -MP -MF .deps/MemorySettingsReader.Tpo -c -o MemorySettingsReader.o MemorySettingsReader.cpp
mv -f .deps/MemorySettingsReader.Tpo .deps/MemorySettingsReader.Po
gcc -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -DSQLITE_ENABLE_UNLOCK_NOTIFY -g -O2 -MT sqlite3.o -MD -MP -MF .deps/sqlite3.Tpo -c -o sqlite3.o `test -f 'sqlite/sqlite3.c' || echo './'`sqlite/sqlite3.c  
mv -f .deps/sqlite3.Tpo .deps/sqlite3.Po
gcc -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -DSQLITE_ENABLE_UNLOCK_NOTIFY -g -O2 -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o `test -f 'sqlite/shell.c' || echo './'`sqlite/shell.c  
mv -f .deps/shell.Tpo .deps/shell.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT SQLiteFactory.o -MD -MP -MF .deps/SQLiteFactory.Tpo -c -o SQLiteFactory.o SQLiteFactory.cpp
mv -f .deps/SQLiteFactory.Tpo .deps/SQLiteFactory.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT PipeThrottler.o -MD -MP -MF .deps/PipeThrottler.Tpo -c -o PipeThrottler.o PipeThrottler.cpp
mv -f .deps/PipeThrottler.Tpo .deps/PipeThrottler.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT mt19937ar.o -MD -MP -MF .deps/mt19937ar.Tpo -c -o mt19937ar.o mt19937ar.cpp
mv -f .deps/mt19937ar.Tpo .deps/mt19937ar.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -DLINUX -g -O2 -MT DatabaseCursor.o -MD -MP -MF .deps/DatabaseCursor.Tpo -c -o DatabaseCursor.o DatabaseCursor.cpp
mv -f .deps/DatabaseCursor.Tpo .deps/DatabaseCursor.Po
g++ -pthread -DLINUX -g -O2   -o urbackup_client AcceptThread.o Client.o Database.o Query.o SelectThread.o Server.o ServerLinux.o ServiceAcceptor.o ServiceWorker.o SessionMgr.o StreamPipe.o Template.o WorkerThread.o main.o md5.o stringtools.o fastcgi.o Mutex_lin.o LoadbalancerClient.o DBSettingsReader.o file_common.o file_fstream.o file_linux.o FileSettingsReader.o LookupService.o SettingsReader.o Table.o OutputStream.o ThreadPool.o MemoryPipe.o Condition_lin.o MemorySettingsReader.o sqlite3.o shell.o SQLiteFactory.o PipeThrottler.o mt19937ar.o DatabaseCursor.o -ldl
make[2]: Verlasse Verzeichnis '/home/rschmidt/urbackup-client-1.4'  
Making all in client
make[2]: Betrete Verzeichnis '/home/rschmidt/urbackup-client-1.4/client'  
make  all-am
make[3]: Betrete Verzeichnis '/home/rschmidt/urbackup-client-1.4/client'  
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DLINUX -g -O2  -MT GUI.o -MD -MP -MF .deps/GUI.Tpo -c -o GUI.o `test -f 'gui/GUI.cpp' || echo './'`gui/GUI.cpp  
mv -f .deps/GUI.Tpo .deps/GUI.Po
g++ -DHAVE_CONFIG_H -I.  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DLINUX -g -O2  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from /usr/include/wx-2.8/wx/version.h:17:0,
                 from /usr/include/wx-2.8/wx/defs.h:134,
                 from /usr/include/wx-2.8/wx/wx.h:15,
                 from TrayIcon.h:19,
                 from main.cpp:19:
main.cpp: In function ‘wxString {anonymous}::getPercentDoneText(wxString)’:
/usr/include/wx-2.8/wx/wxchar.h:235:36: error: invalid operands of types ‘const wxChar* {aka const wchar_t*}’ and ‘const wchar_t [2]’ to binary ‘operator+’
     #define wxT(x) wxCONCAT_HELPER(L, x)
                                    ^
/usr/include/wx-2.8/wx/cpp.h:17:37: note: in definition of macro ‘wxCONCAT_HELPER’
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
main.cpp:112:40: note: in expansion of macro ‘wxT’
   wxString pcdone=_("_percent_ done.")+wxT(" ");  
                                        ^
main.cpp: In member function ‘virtual bool MyApp::OnInit()’:
main.cpp:261:13: error: invalid conversion from ‘wxChar* {aka wchar_t*}’ to ‘char’ [-fpermissive]
   cmd=argv[1];
             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/wx-2.8/wx/string.h:176,
                 from /usr/include/wx-2.8/wx/memory.h:16,
                 from /usr/include/wx-2.8/wx/object.h:20,
                 from /usr/include/wx-2.8/wx/wx.h:16,
                 from TrayIcon.h:19,
                 from main.cpp:19:
/usr/include/c++/4.8/bits/basic_string.h:565:7: error:   initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ [-fpermissive]
       operator=(_CharT __c)
       ^
main.cpp:282:13: error: no match for ‘operator==’ (operand types are ‘std::string {aka std::basic_string<char>}’ and ‘const wchar_t [9]’)
  else if(cmd==wxT("settings"))  
             ^
main.cpp:282:13: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
                 from /usr/include/wx-2.8/wx/object.h:20,
                 from /usr/include/wx-2.8/wx/wx.h:16,
                 from TrayIcon.h:19,
                 from main.cpp:19:
/usr/include/wx-2.8/wx/string.h:1560:13: note: bool operator==(const wxString&, const wxString&)
 inline bool operator==(const wxString& s1, const wxString& s2)
             ^
/usr/include/wx-2.8/wx/string.h:1560:13: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const wxString&’
/usr/include/wx-2.8/wx/string.h:1562:13: note: bool operator==(const wxString&, const wxChar*)
 inline bool operator==(const wxString& s1, const wxChar  * s2)

...


main.cpp: In member function ‘virtual void MyTimer::Notify()’:
/usr/include/wx-2.8/wx/wxchar.h:235:36: error: invalid operands of types ‘const wxChar* {aka const wchar_t*}’ and ‘const wchar_t [2]’ to binary ‘operator+’
     #define wxT(x) wxCONCAT_HELPER(L, x)
                                    ^
/usr/include/wx-2.8/wx/cpp.h:17:37: note: in definition of macro ‘wxCONCAT_HELPER’
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
main.cpp:506:42: note: in expansion of macro ‘wxT’
   status_text+=_("No current backup.") + wxT(" ");  
                                          ^
make[1]: *** [main.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/rschmidt/urbackup-client-1.4/client'  
make: *** [install-recursive] Fehler 1

Wenn ich nun
sudo start_urbackup_client --loglevel info --no_daemon

Ergibt es das:
/usr/local/sbin/start_urbackup_client: 108: cd: can't cd to /usr/var  
2014-09-07 12:09:38: ERROR: DLL not found: /usr/local/lib/liburbackupclient_fileservplugin.so: cannot open shared object file: No such file or directory
2014-09-07 12:09:38: ERROR: Loading /usr/local/lib/liburbackupclient_fileservplugin.so failed
2014-09-07 12:09:38: ERROR: DLL not found: /usr/local/lib/liburbackupclient_fsimageplugin.so: cannot open shared object file: No such file or directory
2014-09-07 12:09:38: ERROR: Loading /usr/local/lib/liburbackupclient_fsimageplugin.so failed
2014-09-07 12:09:38: ERROR: DLL not found: /usr/local/lib/liburbackupclient_cryptoplugin.so: cannot open shared object file: No such file or directory
2014-09-07 12:09:38: ERROR: Loading /usr/local/lib/liburbackupclient_cryptoplugin.so failed
2014-09-07 12:09:38: ERROR: DLL not found: /usr/local/lib/liburbackupclient.so: cannot open shared object file: No such file or directory
2014-09-07 12:09:38: ERROR: Loading /usr/local/lib/liburbackupclient.so failed
2014-09-07 12:09:38: Looking for old Sessions... 0 sessions

Dies breche ich mit STRG+C ab

Dann noch die Rechte auf die rc.local setzten
sudo chmod +x /etc/rc.local

und die rc.local bearbeiten

dann wie beschrieben urbackup_client_gui eingeben um den Client zustarten bei mir leider (bzw. wie erwartet) mit dem Ergebnis
urbackup_client_gui: Befehl nicht gefunden.

Was mache ich falsch? Wodran liegt es? Kennt evt jemand eine bessere Anleitung als die offizielle oder sogar ein Video Tutorial

Vielen Dank für eure Hilfe!

Content-Key: 248552

Url: https://administrator.de/contentid/248552

Printed on: April 25, 2024 at 00:04 o'clock

Mitglied: 108012
108012 Sep 07, 2014 at 11:21:56 (UTC)
Goto Top
Hallo,

kann es sein das Du nach dem /make Befehl noch ein /make install hättest
absetzen müssen damit dann auch alles dort zu finden ist wo es erwartet wird?

Ist ja nur so eine Vermutung, also in den Release Notes solcher Pakete steht
es meist drin, welche Schritte man genau "gehen" muss, nur in der Regel sieht
es doch so aus;
- Verzeichnis erstellen und darin Entpacken
- /make absetzen und übersetzen
- /make install um dann zu installieren
- eventuell .conf Datei Anpassungen vornehmen
- Eventuell noch benötigte Dienste starten
- /start xyz (Programm starten)

Gruß
Dobby
Member: aqui
aqui Sep 07, 2014 updated at 12:20:52 (UTC)
Goto Top
Finde raus was die Fehler sind !
Das Übersetzen ist ja nicht fehlerfrei passiert und die Fehler sorgan dafür das es nicht klappt bzw. diese angemeckerten relevanten DLL fehlen.
Vielleicht solltes du die Übersetzung generell mir Root User rechten machen also bevor du startest ein su- oder sudo su.
Member: Gersen
Solution Gersen Sep 07, 2014 updated at 16:21:43 (UTC)
Goto Top
Hallo,

sieht so aus, als würde für Version 1.4.0 eine aktuellere Version der libwxgtk-Libraries benötigt. Nachdem der Fehler bei mir auch aufgetreten ist, habe ich die Version 3.0 nachinstalliert:
apt-get install libwxgtk3.0-dev

Danach lief der Build
./configure && make clean && make && sudo make install
ohne Abbrüche durch.

Gruß,
Gersen
Member: schneerunzel
schneerunzel Sep 07, 2014 at 16:22:32 (UTC)
Goto Top
Danke für den super Tipp hat funktioniert!
alle Daumen hoch :D
Member: spacecadet
spacecadet Jan 17, 2016 at 13:06:43 (UTC)
Goto Top
Ich wünschte mir solche Einträge von Dir würden gelöscht.. was willst Du damit beweisen? Ein Forum ist für den Austausch wichtig nicht für solche nutzlosen Bemerkungen!