build_dep_ko=[]
for pkg in build_pkg:
if "KO" in build_pkg[pkg]:
- build_dep_ko.append(pkg)
+ build_dep_ko.append(pkg)
if build_dep_ko:
- # the product is not installed : display message and return error status
- msg="Please install them with %s before compiling salome" % check_cmd[0]
- print("\nmissing compile time dependencies : ")
- for md in build_dep_ko:
- print(md)
- print(msg)
- return False
- else:
- return True
+ # the product is not installed : display message and return error status
+ msg="Please install them with %s before compiling salome" % check_cmd[0]
+ print(build_pkg)
+ print("\nmissing compile time dependencies : ")
+ for md in build_dep_ko:
+ print(md)
+ print(msg)
+ return False
+ return True
install_dir = product_info.install_dir
if src.product.product_is_fixed(product_info):
if "rpm_dev" in additional_sysinfo:
for pkg in additional_sysinfo.rpm_dev:
build_dep[pkg]=src.system.check_system_pkg(check_cmd,pkg)
- if check_cmd[0]=="apt":
+ #if check_cmd[0]=="apt" or check_cmd[0]=="dpkg-query":
+ else:
if "apt" in sysinfo:
for pkg in sysinfo.apt:
runtime_dep[pkg]=src.system.check_system_pkg(check_cmd,pkg)