On Fri, 2017-09-29 at 15:50 +0530, Dristi Butola wrote:
Hello :) I facing an issue while building it locally, although `yum
install
389-ds-base` worked fine but when I try to build the server locally by
referencing
http://www.port389.org/docs/389ds/contributing.html , this command
`$ sudo dnf builddep --setopt=strict=False 389-ds-base/rpm/
389-ds-base.spec.in` , gives me an ERROR
"no package matched: 389-ds-base/rpm/389-ds-base.spec.in".
I think there is a mistake on the page, there is a $$2 where it should
be $2
sudo dnf install --setopt=strict=False `grep -E "^(Build)?Requires"
ds/rpm/389-ds-base.spec.in lib389/python-lib389.spec | grep -v -E
'(name|MODULE)' | awk '{ print $$2 }' | sed
's/%{python3_pkgversion}/3/g' | grep -v "^/" | grep -v pkgversion |
sort
| uniq | tr '\n' ' '`
^ Has the error, see the awk command? Should be:
awk '{ print $2 }'
I think as well perhaps:
ds/rpm/389-ds-base.spec.in
Should be:
389-ds-base/rpm/389-ds-base.spec.in
Try changing those and see how it goes,
--
Sincerely,
William Brown
Software Engineer
Red Hat, Australia/Brisbane