NSO-developer / tme-demo

TME NSO overview demo with a custom UI
10 stars 5 forks source link

The build process of this demo will fail due to cisco-etsi-nfvo #3

Closed dmontagner closed 2 years ago

dmontagner commented 4 years ago

The Makefile of this project will try to compile the dependency package cisco-etsi-nfvo.

Since the source code of this package is not shipped together like the other packages, the make all will fail when it enters packages/cisco-etsi-nfvo/src and looks for the .mk file.

maddn commented 4 years ago

Hi. Unfortunately there's no easy work around for this. One of the puposes of this demo is to show NFVO features, so cisco-etsi-nfvo is a required dependency.

If you are part of the NSO development team and have access to the internal git repos, the package will be cloned automatically, but for everyone else, the package must be manually copied to the packages directory before compiling. The process is described in the README in the Dependencies section.

dmontagner commented 4 years ago

Hi @maddn

that's what I did. I manually copied the cisco-etsi-nfvo there.

The main issue is because I am building the demo, the Makefile for the dependencies will always look for the .mk file for cisco-etsi-nfvo. Hence, it breaks the build process.

The Makefile should be updated with a toggle to bypass the .mk file if the dependency is manually copied there.

maddn commented 2 years ago

This has been fixed in commit c25aabbcf9ccd273913ec5f9ef116f4526554ef0

The latest version no longer compiles the dependent packages (see the Makefile comments for details).