Building Windows client from source

586 views
Skip to first unread message

Fred Nicolson

unread,
Aug 17, 2016, 4:53:54 AM8/17/16
to bareos-devel
Hi,

How should I go about building the Bareos Windows client from source? I've looked around but only found mentions of Linux, thanks.

Jörg Steffens

unread,
Aug 17, 2016, 5:43:50 AM8/17/16
to bareos...@googlegroups.com
Am 17.08.2016 um 10:53 schrieb Fred Nicolson:
> Hi,
>
> How should I go about building the Bareos Windows client from source? I've looked around but only found mentions of Linux, thanks.

well, that is a bit complicated. The Bareos project generates the
Windows binaries by cross compiling it from Linux (SLES) using mingw on
a openbuildservice.org instance.

The compile instruction are all in github, see the various spec files in
https://github.com/bareos/bareos/tree/master/platforms/win32.
Basically, it is "cd src/win32; make <VARIOUSOPTIONS>

There are also some Microsoft and others SDKs, that to allow compiling
against, but not to distribute. For you have to get them on your own.

Feel free to give it a try. However, it will require some (a lot of)
effort.

Jörg
--
Jörg Steffens joerg.s...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg Steffens, P. Storz, M. v. Wieringen

jing

unread,
Nov 21, 2017, 11:01:26 PM11/21/17
to bareos-devel
may i have details of building windows client on opensuse? thx a lot!

Jörg Steffens

unread,
Nov 22, 2017, 7:16:40 AM11/22/17
to bareos...@googlegroups.com
As I said, we build using a private instance of
https://openbuildservice.org, on SLES.

The SPEC files we are using are available at
https://github.com/bareos/bareos/tree/master/platforms/win32/*.spec

jing

unread,
Nov 24, 2017, 3:46:26 AM11/24/17
to bareos-devel
thx!
i've tried in opensuse42.3, mingw64-toolchain has been installed,but the flowing rpm still can be found

bareos-addons is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-lzo is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-lzo-devel is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-libfastlz is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-libfastlz-devel is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-libjansson is needed by mingw64-winbareos-0.0.0-0.noarch
mingw64-libjansson-devel is needed by mingw64-winbareos-0.0.0-0.noarch


could u give me some tips? thank you

Jörg Steffens

unread,
Nov 25, 2017, 8:00:33 AM11/25/17
to bareos...@googlegroups.com
On 24.11.2017 at 09:46 wrote jing:
[...]
> thx!
> i've tried in opensuse42.3, mingw64-toolchain has been installed,but the flowing rpm still can be found
>
> bareos-addons is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-lzo is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-lzo-devel is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-libfastlz is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-libfastlz-devel is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-libjansson is needed by mingw64-winbareos-0.0.0-0.noarch
> mingw64-libjansson-devel is needed by mingw64-winbareos-0.0.0-0.noarch
>
>
> could u give me some tips? thank you

Well, fastlzlib is optional. The source can be found here:
https://github.com/bareos/fastlzlib
The remaining mingw64 packages are or at least have been available as
minge64 dependency. If there are not you i doubt have to create them
yourself.

bareos-addons is more tricky, as it contains MS header files. Its
license don't allow redistribution, so you have to collect them yourself
from MS.

jing

unread,
Nov 27, 2017, 1:44:18 AM11/27/17
to bareos-devel
thanks for your reply ! it's very helpful to us !
Reply all
Reply to author
Forward
0 new messages