[quote=“barbet”]Hello, Thanks for the answer,
About building RPMs, I have to reproduce and keep a log of the problems to be
more precise. I will give more info later.
[/quote]
Hello,
I gave a new try and here is what I have found :
Only the packages libtool-static and root-system were built and the later had only
the file /usr/share/doc/root-5.22.00/README in it. It seems this is because the
.configure in the script build/package/lib/makerpmspec.sh failed silently because
the mysql librairies were not available. IMHO it should stop the process and return
an error.
The parameters passed to the .configure in this script build/package/lib/makerpmspec.sh
are not the ones used with the .configure at the top level, so we build a spec file that
will build almost all the packages.
Event if I try to pass minimal parameters to the .configure called in the script
build/package/lib/makerpmspec.sh, the package list is very long. Could we only
build a few if not one package ?
BTW, enabling mathmore result in a BuildRequire dependency to gsl-devel which
is not available in Scientific-Linux. I had to get it from the ATRPMS repository.
Also, I do not know how to get rid of the BuildRequire dependency to libungif-devel.
And finally, when trying rpmbuild -ba root.spec, the process fails with many messages
like the one below and I suspect that this is because links for the libraries are not
correctly build by the portion of code below from root.spec :
Messages :
[...]
File not found: /tmp/rootrpm/usr/lib/root/5.22/libProofx.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libProofx.so.5.22
File not found: /tmp/rootrpm/usr/lib/root/5.22/libXrdProofd.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libXrdProofd.so.5.22
File not found: /tmp/rootrpm/usr/lib/root/5.22/libTreeViewer.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libTreeViewer.so.5.22
File not found: /tmp/rootrpm/usr/bin/cint
File not found: /tmp/rootrpm/usr/bin/makecint
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCint.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCint.so.5.22
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCintex.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCintex.so.5.22
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCore.so.5
File not found: /tmp/rootrpm/usr/lib/root/5.22/libCore.so.5.22
[...]
Code :
# Make links from version specific directory to `normal' libary dir
(cd ${RPM_BUILD_ROOT}%{_prefix}/lib/root && \
for i in %{sovers}/*.so.%{sovers} %{sovers}/libXrd*.so ; do \
ln -sf $i . ; \
ln -sf $i `basename $i .%{sovers}` ; done; \
ln -sf %{sovers}/cint .)
I can provide more info if needed or perform more tests. This is not urgent.
Tanks
JM