[ovirt-users] [Users] Compiling ovirt-guest-agent on FreeBSD

Karli Sjöberg karli.sjoberg at slu.se
Thu Jun 11 14:48:36 UTC 2015


Den 11 jun 2015 4:42 em skrev Vinzenz Feenstra <vfeenstr at redhat.com>:
>
> On 05/27/2015 10:39 AM, Alexandr Krivulya wrote:
> > 02.02.2015 12:57, Karli Sjöberg пишет:
> >> On Sat, 2015-01-31 at 23:54 +0200, Alexandr Krivulya wrote:
> >>> 19.08.2013 13:21, Karli Sjöberg пишет:
> >>>
> >>>> mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra:
> >>>>> On 08/19/2013 10:01 AM, Karli Sjöberg wrote:
> >>>>>
> >>>>>> mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek:
> >>>>>>> On Aug 19, 2013, at 09:41 , Karli Sjöberg <Karli.Sjoberg at slu.se> wrote:
> >>>>>>>
> >>>>>>>> Hi!
> >>>>>>>>
> >>>>>>>> As part of a template I´m preparing, I´m wondering how to compile the agent with just the basics included. I´ve tried running like:
> >>>>>>>>
> >>>>>>>> OPTIONS='
> >>>>>>>> --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin --without-pam-ovirt-cred
> >>>>>>>> --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no --with-pam-ovirt-cred=no
> >>>>>>>> --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin --disable-pam-ovirt-cred
> >>>>>>>> --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no --enablepam-ovirt-cred-=no'
> >>>>>>>>
> >>>>>>>> # ./configure ${OPTIONS}
> >>>>>>>>
> >>>>>>>> Regardless of how I try, it just responds:
> >>>>>>>> configure: WARNING: unrecognized options: ${OPTIONS}
> >>>>>>>>
> >>>>>>>> I took the package from the "official" oVirt.org repo, src file:
> >>>>>>>> ovirt-guest-agent-1.0.6.tar.bz2
> >>>>>>>>
> >>>>>>>> What am I doing wrong?
> >>>>>>> Hi
> >>>>>>> the parameters are gdm, kdm and sso, set them to no
> >>>>>> I don´t get it, it doesn´t seem to care:
> >>>>>>
> >>>>>> # ./configure --without-gdm
> >>>>>> # ./configure --with-gdm=no
> >>>>>> # ./configure --enable-gdm=no
> >>>>>> # ./configure --disable-gdm
> >>>>>> # ./configure --without-gdm --with-gdm=no --enable-gdm=no
> >>>>>> --disable-gdm
> >>>>>> configure: WARNING: unrecognized options: --without-gdm,
> >>>>>> --with-gdm, --enable-gdm, --disable-gdm
> >>>>> this feature of disabling it was introduced to ovirt-guest-agent
> >>>>> in 1.0.8
> >>>>>
> >>>>> Try this one:
> >>>>> http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2
> >>>>>
> >>>>> ./configure --without-sso --prefix=/usr
> >>>> You know what, sorry about the noise, because it seems as if
> >>>> virtio-serial isn´t even available on FreeBSD, so it´s moot
> >>>> anyway... Should probably have looked that up before even getting
> >>>> started;)
> >>>>
> >>>> But besides the fact that it won´t work until that´s sorted, I can
> >>>> at least say that it configured, compiled and installed OK using
> >>>> René´s suggestion, cloning from git and building from there.
> >>> Hello!
> >>> Now when virtio_console(4) driver available in CURRENT does anyone
> >>> works on porting ovirt-guest-agent to FreeBSD?
> >>> plain text document attachment (ATT00001)
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >> I haven´t tested anything since last time but good to know someone doing
> >> something:) I can imagine the guest agent would need some tweeking to
> >> get it running as well:
> >>
> >> http://lists.freebsd.org/pipermail/freebsd-emulation/2013-April/010569.html
> >> "The VirtIO spec is written with mostly Linux in mind and usually takes
> >> varying amounts of extra effort to adapt to FreeBSD."
> >>
> >>
> > I have successfully build and run guest agent on FreeBSD-Current. It
> > provides a few information (for example fqdn and logged users) into
> > admin portal, but all other requires rewriting GuestAgentLinux2.py or
> > implementing it as separate module. I have no experience in python and
> > programming itself, but implementing some simple features may be quiet
> > easy. Can anyone help with it?
> Sorry for the late reply, now I didn't notice that the drivers are now
> available, I will be looking into supporting FreeBSD for the guest agent
> then.

Here's an excellent place to start:)
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

/K

>
> Thanks for the heads up :-)
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Regards,
>
> Vinzenz Feenstra | Senior Software Engineer
> RedHat Engineering Virtualization R & D
> Phone: +420 532 294 625
> IRC: vfeenstr or evilissimo
>
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150611/8d981b6d/attachment-0001.html>


More information about the Users mailing list