[Users] Build RPM packages vdm from source code

Dan Kenigsberg danken at redhat.com
Wed Apr 11 12:30:03 UTC 2012


On Wed, Apr 11, 2012 at 03:25:05PM +0400, ?????? wrote:
>    I build vdsm version with commands:
> 
>    git clone git://gerrit.ovirt.org/vdsm
> 
>    ./autogen.sh --system && ./configure
> 
>    make clean && make rpm
> 
>    make rpm
> 
>    Command "make rpm" ( and make check) return error:
> 
>    make[3]: Entering directory `/root/rpmbuild/BUILD/vdsm-4.9.6/tests'
> 
>    ../tests/run_tests.sh main.py miscTests.py resourceManagerTests.py
>    processPoolTests.py fileUtilTests.py guestIFTests.py
> 
>    Traceback (most recent call last):
> 
>      File "../tests/testrunner.py", line 192, in <module>
> 
>        hackVdsmModule()
> 
>      File "../tests/testrunner.py", line 187, in hackVdsmModule
> 
>        import utils
> 
>      File "/root/rpmbuild/BUILD/vdsm-4.9.6/vdsm/utils.py", line 40, in
>    <module>
> 
>        import ethtool
> 
>    ImportError: No module named ethtool

Do you have it installed?
A recent patch by Ewoud makes a check for this during ./configure ,
after I get a question sorted out about it, I'd like to take it in.



More information about the Users mailing list