On 10/ 7/14 02:57 PM, A. Podstawka wrote:
Hi,
>
> since i have the crashing bareos-sd from 13.2.3, i wanted to try the
> beta 14.2 (and it has some interesting features too ;)
>
Keep in mind however that a newer SD is not compatible with an old DIR
so you might
run into some unknown errors in that respect. Also given your crash
seems to be
related to the fact that it encounters a state that is not expected by
the original programmer
I wonder what will be fixed by moving on.
my ./configure line: ./configure --with-mysql --with-zlib
> --disable-conio --prefix=/opt/bareos --enable-ndmp --with-lzo
> --with-fastlz --disable-tls --with-pic
> --enable-dynamic-storage-backends --enable-lockmgr --enable-includes
> --enable-dynamic-cats-backends
>
>
> make runs through, but make install not, following output i get:
>
Don't know what FreeBSD version but on 9.3 the following compiles and
installs for me:
#!/bin/sh
CFLAGS="-O3"
CXXFLAGS="-O3"
export CFLAGS CXXFLAGS
./configure \
--prefix=/opt/bareos \
--with-plugindir=/opt/bareos/lib/plugins \
--sysconfdir=/etc/opt/bareos \
--with-scriptdir=/etc/opt/bareos \
--with-working-dir=/var/opt/bareos/run/bareos \
--with-sbin-perm=0555 \
--enable-lockmgr \
--enable-includes \
--enable-ipv6 \
--enable-dynamic-storage-backends \
--enable-dynamic-cats-backends \
--disable-bat \
--with-sqlite3=/usr/local \
--with-lzo=/usr/local \
--with-readline=/usr/local \
--with-python=/usr/local \
--disable-conio \
--enable-ndmp \
--enable-scsi-crypto
/usr/bin/install -c -m 640 bareos-sd.conf
>> /opt/bareos/etc/bareos-sd.conf.new ==== Make of sd-backends is
>> good ====
>>
>> ../../../autoconf/mkinstalldirs /opt/bareos/lib libtool: install:
>> warning: relinking `libbareossd-tape.la'
>> ../../../autoconf/mkinstalldirs /opt/bareos/etc/bareos-sd.d/
>> /root/bareos/autoconf/mkinstalldirs /opt/bareos/lib /bin/cp *.py
>> *.py.template /opt/bareos/lib libtool: install: warning: relinking
>> `autoxflate-sd.la' /usr/bin/ld:
>> ../../lib/libbareos.a(compression.o): relocation R_X86_64_32
>> against `a local symbol' can not be used when making a shared
>> object; recompile with -fPIC ../../lib/libbareos.a: could not read
>> symbols: Bad value c++: error: linker command failed with exit
>> code 1 (use -v to see invocation) libtool: install: error: relink
>> `autoxflate-sd.la' with the above command before installing it ***
>> Error code 1
>>
>> Stop. make[1]: stopped in /root/bareos/src/plugins/stored ***
>> Error code 1
>>
>> Stop. make: stopped in /root/bareos
>
> can someone help ? i'm no developer and don't know where to put
> -fPIC but maybe i could exclude the plugin building/installing for
> the SD ?! but how?
>
I would loose the --with-pic as libtool should do its work. What looks a
bit fishy is in the above
it tries to use libbares.a which seems to indicate is using static
linkage and not shared libs.
If you really don't want to install some plugins you could tamper the
Makefile generated
after configure and look for the BUILD_PLUGINS make variable which has
the plugins that
are build and installed.
--
Marco van Wieringen [email protected]
Bareos GmbH & Co. KG Phone: +49-221-63069389
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
P. Storz, M. v. Wieringen
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.