Thank you.
I now have RPMs built:
CPackRPM: Will use GENERATED spec file:
/rdkit/build/_CPack_Packages/Linux/RPM/SPECS/rdkit-Runtime.spec
CPack: - package:
/rdkit/build/RDKit-2018.03.1.dev1-Linux-Development.rpm generated.
CPack: - package: /rdkit/build/RDKit-2018.03.1.dev1-Linux-Extras.rpm
generated.
CPack: - package: /rdkit/build/RDKit-2018.03.1.dev1-Linux-Python.rpm
generated.
CPack: - package: /rdkit/build/RDKit-2018.03.1.dev1-Linux-Runtime.rpm
generated.
Next, to check if they (and the DEBs) actually work!
Tim
On 15/11/2017 20:18, David Hall wrote:
apt install rpm
should get you rpmbuild
-David
On Nov 15, 2017, at 2:59 PM, Tim Dudgeon <tdudgeon...@gmail.com
<mailto:tdudgeon...@gmail.com>> wrote:
OK, makes sense, but I'm building on a Debian system. So neither 'yum
install rpm-build' nor 'apt-get install rpm-build' doesn't work.
So (sorry for the stupid question) can DEBs only be built on a Debian
based system and RPMs om a Red Hat based system?
On 15/11/2017 19:31, Paolo Tosco wrote:
Hi Tim,
It looks like you are missing the rpmbuild binary on the machine
where you are trying to build the RPM.
Issuing a
yum install rpm-build
as root should get it installed.
Cheers,
p.
On 11/15/17 19:00, Tim Dudgeon wrote:
So this now seems to have been merged to master so I gave it a try:
root@f083c3e3b6a1:/rdkit/build# cmake -DRDK_BUILD_INCHI_SUPPORT=ON
-DRDK_INSTALL_INTREE=OFF -DCMAKE_INSTALL_PREFIX=/usr/ ..
-- Could NOT find InChI in system locations (missing:
INCHI_LIBRARY INCHI_INCLUDE_DIR)
CUSTOM_INCHI_PATH = /rdkit/External/INCHI-API
-- Found InChI software locally
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- python
Python Install directory /usr/lib/python2.7/dist-packages
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR
EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
Eigen3 not found, disabling the Descriptors3D build.
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- serialization
== Using strict rotor definition
== Updating Filters.cpp from pains file
== Done updating pains files
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- regex
-- Configuring done
-- Generating done
-- Build files have been written to: /rdkit/build
root@f083c3e3b6a1:/rdkit/build# cpack -G DEB
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: RDKit
CPack: - Install project: RDKit
CPack: - Install component: runtime
CPack: - Install component: base
CPack: - Install component: data
CPack: - Install component: docs
CPack: - Install component: dev
CPack: - Install component: python
CPack: - Install component: extras
CPack: Create package
CPack: - package:
/rdkit/build/RDKit-2018.03.1.dev1-Linux-Development.deb generated.
CPack: - package:
/rdkit/build/RDKit-2018.03.1.dev1-Linux-Extras.deb generated.
CPack: - package:
/rdkit/build/RDKit-2018.03.1.dev1-Linux-Python.deb generated.
CPack: - package:
/rdkit/build/RDKit-2018.03.1.dev1-Linux-Runtime.deb generated.
root@f083c3e3b6a1:/rdkit/build# cpack -G RPM
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: RDKit
CPack: - Install project: RDKit
CPack: - Install component: runtime
CPack: - Install component: base
CPack: - Install component: data
CPack: - Install component: docs
CPack: - Install component: dev
CPack: - Install component: python
CPack: - Install component: extras
CPack: Create package
CMake Error at /usr/share/cmake-3.7/Modules/CPackRPM.cmake:1573
(message):
RPM package requires rpmbuild executable
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/CPackRPM.cmake:2442
(cpack_rpm_generate_package)
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: RDKit
So it looks like the building the debs works OK (I didn't test
them) but building rpms fails.
I'm probably doing something stupid here as I'm not that familiar
with cmake and cpack.
On 10/11/2017 00:03, Francois BERENGER wrote:
On 11/08/2017 08:47 PM, Tim Dudgeon wrote:
There is mention of RPM distributions of RDKit
(https://copr.fedorainfracloud.org/coprs/giallu/rdkit/).
But on trying these:
1. the distro is based on the 2017_03_1 release
2. it fails due to missing libinchi.so.1 dependency.
In the bugtracker, there is an issue about the .deb:
https://github.com/rdkit/rdkit/issues/911
and there is a pull request by Patrick Avery
to fix them:
https://github.com/rdkit/rdkit/pull/1580
Maybe you can read the pull request, replace DEB by RPM and see
if that produces usable RPMs for your distro.
This is presumably no longer being maintained?
Anything that can be done to help with fixing this?
Tim
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org <http://Slashdot.org>!
http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites,Slashdot.org <http://Slashdot.org>!http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites,Slashdot.org <http://Slashdot.org>!http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org <http://Slashdot.org>!
http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
<mailto:Rdkit-discuss@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss