[naemon-dev] Building naemon for SLES11 on the openSUSE OpenBuildService

Sven Nierlein Sven.Nierlein at Consol.de
Tue May 9 11:39:35 CEST 2017


Hi Johannes,

Seems it fails on naemon-livestatus. I wouldn't spend too much time on that right now since
we plan to split up the packages anyway. It doesn't make sense to build all together. In the
near future there would be 3 packages:

 - naemon: meta package depending on naemon-core, livestatus and thruk, maybe containing some glue and default configs
 - naemon-core: contains naemon itself and naemon-dev
 - naemon-livestatus: contains naemons livestatus

So there would be 3 different spec files then instead of one big one. Any help migrating the
spec file is much appreciated.

Cheers,
 Sven


On 09/05/17 11:23, Johannes Kastl wrote:
> Hi everyone, > > I am trying to build the naemon package on the openSUSE OpenBuildService > for SLES12 and SLES11. > >> https://build.opensuse.org/project/monitor/home:ojkastl_buildservice:Naemon_upstream > > I encounter one issue when building for SLES11: > > [  108s] > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > cannot find -lnaemon > [  108s] collect2: ld returned 1 exit status > > Seems like somehow the linker can't find the naemon files. Is something > missing in the configure step? > > The full build log is here: >> https://build.opensuse.org/build/home:ojkastl_buildservice:Naemon_upstream/SLE_11_SP4/x86_64/naemon/_log > > The spec file I use is based on the one from the sources, which I > adapted to allow building on OBS (which works for SLES12). > > For SLES11 I changed the %make call from >     %{__make} %{?_smp_mflags} -j 1 all > to >     %{__make} %{?_smp_mflags} -w all > > (to get rid of the warnings-as-errors thingy). > > Any hints on how to
solve this? I know I could use the upstream RPMs for > SLES11, but I was curious how the got built? > > Thanks in advance. > > Johannes >


-- 
Sven Nierlein             Sven.Nierlein at consol.de
ConSol* GmbH              http://www.consol.de
Franziskanerstrasse 38    Tel.:089/45841-439
81669 Muenchen            Fax.:089/45841-111




More information about the Naemon-dev mailing list