[Engine-devel] Unable to Run 'make install-tools'

Schoenbrun, Dustin Dustin.Schoenbrun at netapp.com
Tue Apr 10 17:57:51 UTC 2012


Will do.  I’ll submit a patch here shortly.  Thanks for the help, Ofer!

-- Dustin

From: Ofer Schreiber [mailto:oschreib at redhat.com]
Sent: Tuesday, April 10, 2012 1:51 PM
To: Schoenbrun, Dustin
Cc: engine-devel at ovirt.org
Subject: Re: [Engine-devel] Unable to Run 'make install-tools'

In order to send the patch, please follow instructions at http://www.ovirt.org/wiki/Working_with_oVirt_Gerrit and put me as a reviewer I'll be glad to review it.

Since I don't know exactly what you're doing, its a bit hard for me to help you or tell you the right way to do it.

Ofer

On 10 Apr 2012, at 20:21, "Schoenbrun, Dustin" <Dustin.Schoenbrun at netapp.com<mailto:Dustin.Schoenbrun at netapp.com>> wrote:
Hey Ofer,

The ‘make pre_copy’ didn’t work either, but adding the line ‘mkdir –p $(SOURCE_DIR)’ after the ‘echo $(SOURCE_DIR)’ in the Makefile made it work!  Is there a way that I can contribute this back to the community?  Or, since the Makefile isn’t used often, is there something I should be using in its stead?  Thanks, Ofer!

-- Dustin

From: Ofer Schreiber [mailto:oschreib at redhat.com]<mailto:[mailto:oschreib at redhat.com]>
Sent: Tuesday, April 10, 2012 9:48 AM
To: Schoenbrun, Dustin
Cc: engine-devel at ovirt.org<mailto:engine-devel at ovirt.org>
Subject: Re: [Engine-devel] Unable to Run 'make install-tools'

As the Makefile isn't used very often, it need some changes.
it seems that you need to run 'make pre_copy' before the `make install-x'


________________________________
Greetings,

I’m running into an issue at the “Deploying engine-config and engine-manage-domains” section of the “Building oVirt Engine” article on the wiki.  Building from the source using maven2 has completed successfully and I’m stuck on the series of commands listed below:

# cd $OVIRT_HOME
# make create_dirs
# make install_tools
# make install_config

My build fails on the ‘make install-tools’ command.  The output of the command is below:

[root at ovirt ovirt-engine]# make install_tools
*** Installing Common Tools
cp -f /root/ovirt-engine/rpmbuild/SOURCES/engine-tools-common-3.1.0-0001.jar /usr/share/java/
cp: cannot stat `/root/ovirt-engine/rpmbuild/SOURCES/engine-tools-common-3.1.0-0001.jar': No such file or directory
make: *** [install_tools] Error 1
[root at ovirt ovirt-engine]# pwd
/root/ovirt-engine
[root at ovirt ovirt-engine]# ls
backend    build-tools  deployment  frontend  Makefile   pom.xml
build_mvn  config       ear         LICENSE   packaging
[root at ovirt ovirt-engine]#

Any insight into how to proceed would be greatly appreciated.  Thanks!

--
Dustin Schoenbrun
Software Engineer
NetApp – Data Center Platforms
919-476-5919 (office)
dustin.schoenbrun at netapp.com<mailto:dustin.schoenbrun at netapp.com>


_______________________________________________
Engine-devel mailing list
Engine-devel at ovirt.org<mailto:Engine-devel at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/engine-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20120410/9ef0f581/attachment-0002.html>


More information about the Devel mailing list