PDA

View Full Version : SLES 11 SP4 looking for libvirt-daemon-config-network for SLES 11 SP4



berndgsflinux
25-Oct-2016, 17:55
Hi,

i have a SLES 11 SP4 host with libvirt 1.2.5-15.3 (out of the box). I'm looking for a matching libvirt-daemon-config-network package.
It is not included in the standard repositories.
I've been searching here: http://software.opensuse.org/search and here: http://libvirt.org/sources/
But all packages i tested need glibc 2.14 or more recent. SLES 11 SP4 has 2.11. Of course i don't want to update my glibc.
Does anyone know where i can find this package ?

Thanks.


Bernd

malcolmlewis
25-Oct-2016, 18:27
On Tue 25 Oct 2016 05:04:01 PM CDT, berndgsflinux wrote:

Hi,

i have a SLES 11 SP4 host with libvirt 1.2.5-15.3 (out of the box). I'm
looking for a matching libvirt-daemon-config-network package.
It is not included in the standard repositories.
I've been searching here: http://software.opensuse.org/search and here:
http://libvirt.org/sources/
But all packages i tested need glibc 2.14 or more recent. SLES 11 SP4
has 2.11. Of course i don't want to update my glibc.
Does anyone know where i can find this package ?

Thanks.


Bernd




Hi
AFAIK, they are not built for SLE 11 SP4.

Grab the src rpm from;
https://download.novell.com/Download?buildid=PW1Y4wSY37o~

Tweak the spec file to build with the missing tools based on this spec
file;
https://build.opensuse.org/package/view_file/home:nocheck/libvirt/libvirt.spec?expand=1

If you have an OBS account, link to that package and rebuild to the SLE
11 SP4 target.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

berndgsflinux
25-Oct-2016, 18:54
Hi Malcom,

i never build a rpm before. But ok. Just for the sake of clarification:
I download libvirt-1.2.5-15.3.src.rpm and by manipulating the mentioned spec file i can create the ibvirt-daemon-config-network package ?
Do i have to tweak the spec file included in the src rpm or the one you linked to ?
OBS means Open Build Service ?

Bernd

malcolmlewis
26-Oct-2016, 04:56
On Tue 25 Oct 2016 06:04:02 PM CDT, berndgsflinux wrote:

Hi Malcom,

i never build a rpm before. But ok. Just for the sake of clarification:
I download libvirt-1.2.5-15.3.src.rpm and by manipulating the mentioned
spec file i can create the ibvirt-daemon-config-network package ?
Do i have to tweak the spec file included in the src rpm or the one you
linked to ?
OBS means Open Build Service ?

Bernd




Hi
Yes you need to look at the one on OBS and add the missing bits to the
src rpm spec file. If you get really stuck, I can try and build on OBS
for you.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

jmozdzen
01-Nov-2016, 17:36
Hi Bernd,

once you installed the SRPM, you'll find the spec file in /usr/src/packages/SPECS/ . After you've edited the file to your liking, you can build the RPMs (including a new source RPM with the modified spec file, for archival) by running "rpmbuild -ba <spec file>". You'll likely have to install various packages form the SDK to complete this task.

Regards,
J