Re: [Rdkit-discuss] RDKit Linux install error

2015-11-30 Thread Hong Wang
Thank you so much for your help, Paolo! It was PIL that was missing. I
installed it and now all tests passed.
Thanks again,
Hong


On Sun, Nov 29, 2015 at 4:25 PM, Paolo Tosco  wrote:

> Hi Hong,
>
> try re-running the failing test using the -V command line switch - it'll
> most likely be caused by a missing Python module.
>
> Cheers,
> p.
>
>
> On 11/29/2015 09:21 PM, hongwan...@gmail.com wrote:
>
>> Hi Greg,
>>>
>>> Thank you so much for pointing out the problem! I removed the old
>>> directory and re-did the whole process. Now the build worked!
>>> The only thing left is: when I ran ctest, one test failed (please see
>>> below):
>>>
>>> "99% tests passed, 1 tests failed out of 90
>>>
>>> Total Test time (real) = 117.43 sec
>>>
>>> The following tests FAILED:
>>>   90 - pythonTestDirChem (Failed)
>>> Errors while running CTest"
>>>
>>> Could you please tell me how to fix it? Many thanks!
>>>
>>> Best,
>>> Hong
>>>
>>
>>
>> --
>> ___
>> Rdkit-discuss mailing list
>> Rdkit-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>
>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-29 Thread hongwang69

> Hi Greg,
> 
> Thank you so much for pointing out the problem! I removed the old directory 
> and re-did the whole process. Now the build worked!
> The only thing left is: when I ran ctest, one test failed (please see below):
> 
> "99% tests passed, 1 tests failed out of 90
> 
> Total Test time (real) = 117.43 sec
> 
> The following tests FAILED:
>  90 - pythonTestDirChem (Failed)
> Errors while running CTest"
> 
> Could you please tell me how to fix it? Many thanks!
> 
> Best,
> Hong


--
___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-28 Thread Gianluca Sforna
Maybe slightly OT, but if you just need the binaries I compiled RPMs
for CentOS 7 here:

https://copr.fedoraproject.org/coprs/giallu/rdkit

On Thu, Nov 26, 2015 at 5:16 PM, Hong Wang  wrote:
> Hi Greg,
>
> Thanks for your reply.
> After the first pwd, it showed "/usr/local/src/RDKit_2015_03_1/build"
> After cmake .., I got that error.
> After the second pwd, it also showed "/usr/local/src/RDKit_2015_03_1/build".
>
> Thanks,
> Hong
>https://copr.fedoraproject.org/coprs/giallu/rdkit/
>
> On Thu, Nov 26, 2015 at 10:31 AM, Greg Landrum 
> wrote:
>>
>>
>>
>> On Thu, Nov 26, 2015 at 4:29 PM, Hong Wang  wrote:
>>>
>>>
>>> That is what I did:
>>> mkdir build (under  /usr/local/src/RDKit_2015_03_1/)
>>> cd build
>>> cmake ..
>>>
>>> But I got the error message ""CMake Error: The source directory
>>> "/usr/local/src" does not appear to contain CMakeLists.txt."
>>
>>
>> That error message is one that you would get if you ran "cmake .." from
>> the directory: /usr/local/src/RDKit_2015_03_1
>>
>> Just to be 100% sure, can you please copy the contents of the terminal and
>> send them to me when you execute the following series of commands:
>>
>> cd  /usr/local/src/RDKit_2015_03_1/build
>> pwd
>> cmake ..
>> pwd
>>
>>
>> -greg
>>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>



-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://plus.google.com/+gianlucasforna - http://twitter.com/giallu

--
___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Hong Wang
Hi Greg,
Attached is the cmake output file. Many thanks.
Best,
Hong


On Thu, Nov 26, 2015 at 12:21 AM, Greg Landrum 
wrote:

> Hi Hong,
>
> I appreciate that you are trying to make the bug report compact and
> minimal, but in this case more information is really required for us to be
> able to diagnose the problem.
> Please remove everything in your build directory, run cmake again, and
> then attach the complete output from cmake to a reply (to the list, not
> just to me please).
>
> Best,
> -greg
>
>
>
> On Wed, Nov 25, 2015 at 2:44 PM, Hong Wang  wrote:
>
>> Hi Greg,
>> I ran "cmake ..", then I got those errors.
>> Thanks,
>> Hong
>>
>>
>> On Tue, Nov 24, 2015 at 11:40 PM, Greg Landrum 
>> wrote:
>>
>>> Hi,
>>>
>>> Please let us know what commands you executed to run cmake and build the
>>> code
>>>
>>> Best,
>>> -greg
>>>
>>>
>>> On Wed, Nov 25, 2015 at 4:21 AM,  wrote:
>>>
 I am trying to install RDKit on RedHat 7.1 linux, but I got the
 following errors:

 "CMake Error at CMakeLists.txt:12 (install):
  install FILES given no DESTINATION!

 CMake Error at CMakeLists.txt: 15 (add_pytest):
   Unknown CMake command "add_pytest"

 I was building under the directory
 "/usr/local/src/RDKit_2015_03_1/rdkit/build/".

 My environment variables are set as follows:
 PATH=$PATH:$HOME/bin
 export PATH
 export PATH="$PATH:/usr/local/pgsql/bin"
 export RDBASE="/usr/local/src/RDKit_2015_03_1"
 export
 LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
 export
 PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
 export PGDATA="/usr/local/pgsql/data"

 Then I checked the file CMakeLists.txt under the directory
 /usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
  DESTINATION ${RDKit_PythonDir}

 So I added the following into the file CMakeLists.txt:
 set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")

 But I still got the following error:
 CMake Error at CMakeLists.txt: 16 (add_pytest):
   Unknown CMake command "add_pytest"

 I would appreciate it very much if anyone could help me on this.




 --
 Go from Idea to Many App Stores Faster with Intel(R) XDK
 Give your users amazing mobile app experiences with Intel(R) XDK.
 Use one codebase in this all-in-one HTML5 development environment.
 Design, debug & build mobile apps & 2D/3D high-impact games for
 multiple OSs.
 http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
 ___
 Rdkit-discuss mailing list
 Rdkit-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

>>>
>>>
>>
>


CMakeOutput.log
Description: Binary data
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Greg Landrum
Hi Hong,

That looks like some kind of log file and might be useful later. The
information I was hoping for was what is printed in the console when you
run cmake.
For example, this is the beginning of what I see when I run cmake in a
newly created build directory:
~/RDKit_git/build/foo > cmake ../
-- The C compiler identification is AppleClang 7.0.0.7000176
-- The CXX compiler identification is AppleClang 7.0.0.7000176
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /u
  

Sorry I wasn't clear about that.

Best,
-greg



On Thu, Nov 26, 2015 at 2:24 PM, Hong Wang  wrote:

> Hi Greg,
> Attached is the cmake output file. Many thanks.
> Best,
> Hong
>
>
> On Thu, Nov 26, 2015 at 12:21 AM, Greg Landrum 
> wrote:
>
>> Hi Hong,
>>
>> I appreciate that you are trying to make the bug report compact and
>> minimal, but in this case more information is really required for us to be
>> able to diagnose the problem.
>> Please remove everything in your build directory, run cmake again, and
>> then attach the complete output from cmake to a reply (to the list, not
>> just to me please).
>>
>> Best,
>> -greg
>>
>>
>>
>> On Wed, Nov 25, 2015 at 2:44 PM, Hong Wang  wrote:
>>
>>> Hi Greg,
>>> I ran "cmake ..", then I got those errors.
>>> Thanks,
>>> Hong
>>>
>>>
>>> On Tue, Nov 24, 2015 at 11:40 PM, Greg Landrum 
>>> wrote:
>>>
 Hi,

 Please let us know what commands you executed to run cmake and build
 the code

 Best,
 -greg


 On Wed, Nov 25, 2015 at 4:21 AM,  wrote:

> I am trying to install RDKit on RedHat 7.1 linux, but I got the
> following errors:
>
> "CMake Error at CMakeLists.txt:12 (install):
>  install FILES given no DESTINATION!
>
> CMake Error at CMakeLists.txt: 15 (add_pytest):
>   Unknown CMake command "add_pytest"
>
> I was building under the directory
> "/usr/local/src/RDKit_2015_03_1/rdkit/build/".
>
> My environment variables are set as follows:
> PATH=$PATH:$HOME/bin
> export PATH
> export PATH="$PATH:/usr/local/pgsql/bin"
> export RDBASE="/usr/local/src/RDKit_2015_03_1"
> export
> LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
> export
> PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
> export PGDATA="/usr/local/pgsql/data"
>
> Then I checked the file CMakeLists.txt under the directory
> /usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is
> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
>  DESTINATION ${RDKit_PythonDir}
>
> So I added the following into the file CMakeLists.txt:
> set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")
>
> But I still got the following error:
> CMake Error at CMakeLists.txt: 16 (add_pytest):
>   Unknown CMake command "add_pytest"
>
> I would appreciate it very much if anyone could help me on this.
>
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>


>>>
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Riccardo Vianello
Hi Hong,

if /usr/local/src/RDKit_2015_03_1 is the top directory of the RDKit
distribution then I think you should probably move your build one directory
up and run cmake from inside /usr/local/src/RDKit_2015_03_1/build/ (instead
of /usr/local/src/RDKit_2015_03_1/rdkit/build/).

Best,
Riccardo
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Hong Wang
Hi Greg,

Sorry for the misunderstanding. Here is what was shown when I ran cmake.

Thanks,
Hong


On Thu, Nov 26, 2015 at 8:40 AM, Greg Landrum 
wrote:

> Hi Hong,
>
> That looks like some kind of log file and might be useful later. The
> information I was hoping for was what is printed in the console when you
> run cmake.
> For example, this is the beginning of what I see when I run cmake in a
> newly created build directory:
> ~/RDKit_git/build/foo > cmake ../
> -- The C compiler identification is AppleClang 7.0.0.7000176
> -- The CXX compiler identification is AppleClang 7.0.0.7000176
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /u
>   
>
> Sorry I wasn't clear about that.
>
> Best,
> -greg
>
>
>
> On Thu, Nov 26, 2015 at 2:24 PM, Hong Wang  wrote:
>
>> Hi Greg,
>> Attached is the cmake output file. Many thanks.
>> Best,
>> Hong
>>
>>
>> On Thu, Nov 26, 2015 at 12:21 AM, Greg Landrum 
>> wrote:
>>
>>> Hi Hong,
>>>
>>> I appreciate that you are trying to make the bug report compact and
>>> minimal, but in this case more information is really required for us to be
>>> able to diagnose the problem.
>>> Please remove everything in your build directory, run cmake again, and
>>> then attach the complete output from cmake to a reply (to the list, not
>>> just to me please).
>>>
>>> Best,
>>> -greg
>>>
>>>
>>>
>>> On Wed, Nov 25, 2015 at 2:44 PM, Hong Wang  wrote:
>>>
 Hi Greg,
 I ran "cmake ..", then I got those errors.
 Thanks,
 Hong


 On Tue, Nov 24, 2015 at 11:40 PM, Greg Landrum 
 wrote:

> Hi,
>
> Please let us know what commands you executed to run cmake and build
> the code
>
> Best,
> -greg
>
>
> On Wed, Nov 25, 2015 at 4:21 AM,  wrote:
>
>> I am trying to install RDKit on RedHat 7.1 linux, but I got the
>> following errors:
>>
>> "CMake Error at CMakeLists.txt:12 (install):
>>  install FILES given no DESTINATION!
>>
>> CMake Error at CMakeLists.txt: 15 (add_pytest):
>>   Unknown CMake command "add_pytest"
>>
>> I was building under the directory
>> "/usr/local/src/RDKit_2015_03_1/rdkit/build/".
>>
>> My environment variables are set as follows:
>> PATH=$PATH:$HOME/bin
>> export PATH
>> export PATH="$PATH:/usr/local/pgsql/bin"
>> export RDBASE="/usr/local/src/RDKit_2015_03_1"
>> export
>> LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
>> export
>> PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
>> export PGDATA="/usr/local/pgsql/data"
>>
>> Then I checked the file CMakeLists.txt under the directory
>> /usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is
>> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
>>  DESTINATION ${RDKit_PythonDir}
>>
>> So I added the following into the file CMakeLists.txt:
>> set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")
>>
>> But I still got the following error:
>> CMake Error at CMakeLists.txt: 16 (add_pytest):
>>   Unknown CMake command "add_pytest"
>>
>> I would appreciate it very much if anyone could help me on this.
>>
>>
>>
>>
>> --
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for
>> multiple OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
>> ___
>> Rdkit-discuss mailing list
>> Rdkit-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>
>
>

>>>
>>
>


CMake_ou
Description: Binary data
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Hong Wang
Hi Riccardo,

Thanks for your reply. I tried what you suggested. But I got the following
error:

"CMake Error: The source directory "/usr/local/src" does not appear to
contain CMakeLists.txt."

Best,
Hong


On Thu, Nov 26, 2015 at 8:49 AM, Riccardo Vianello <
riccardo.viane...@gmail.com> wrote:

> Hi Hong,
>
> if /usr/local/src/RDKit_2015_03_1 is the top directory of the RDKit
> distribution then I think you should probably move your build one directory
> up and run cmake from inside /usr/local/src/RDKit_2015_03_1/build/
> (instead of /usr/local/src/RDKit_2015_03_1/rdkit/build/).
>
> Best,
> Riccardo
>
>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Greg Landrum
Hi Hong,

I believe that Riccardo has hit the nail exactly on the head, but that you
are still either executing the cmake command from the wrong directory or
executing the wrong cmake command. You need to create a directory
/usr/local/src/RDKit_2015_03_1/build, cd into that directory, and run
"cmake .." from there.

The RDKit "Install" documentation includes step-by-step instructions for
what you're trying to do:
http://rdkit.org/docs/Install.html#fedora-centos-and-rhel
and
http://rdkit.org/docs/Install.html#building-the-rdkit

I believe that if you read these and follow them carefully, you're likely
to end up with a successful build.

Best,
-greg








On Thu, Nov 26, 2015 at 3:56 PM, Hong Wang  wrote:

> Hi Riccardo,
>
> Thanks for your reply. I tried what you suggested. But I got the following
> error:
>
> "CMake Error: The source directory "/usr/local/src" does not appear to
> contain CMakeLists.txt."
>
> Best,
> Hong
>
>
> On Thu, Nov 26, 2015 at 8:49 AM, Riccardo Vianello <
> riccardo.viane...@gmail.com> wrote:
>
>> Hi Hong,
>>
>> if /usr/local/src/RDKit_2015_03_1 is the top directory of the RDKit
>> distribution then I think you should probably move your build one directory
>> up and run cmake from inside /usr/local/src/RDKit_2015_03_1/build/
>> (instead of /usr/local/src/RDKit_2015_03_1/rdkit/build/).
>>
>> Best,
>> Riccardo
>>
>>
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Hong Wang
Hi Greg,

That is what I did:
mkdir build (under  /usr/local/src/RDKit_2015_03_1/)
cd build
cmake ..

But I got the error message ""CMake Error: The source directory
"/usr/local/src" does not appear to contain CMakeLists.txt."

I also followed the instructions in RDKit install documentation for RHEL. I
have spent a lot time on installing RDKit on our system, but kept getting
the error messages. I also have contacted RHEL, and they suggested me to
reach RDKit community. That is why I have to ask help from rdkit-discuss
Thank you for your help.

Best,
Hong


On Thu, Nov 26, 2015 at 10:08 AM, Greg Landrum 
wrote:

> Hi Hong,
>
> I believe that Riccardo has hit the nail exactly on the head, but that you
> are still either executing the cmake command from the wrong directory or
> executing the wrong cmake command. You need to create a directory
> /usr/local/src/RDKit_2015_03_1/build, cd into that directory, and run
> "cmake .." from there.
>
> The RDKit "Install" documentation includes step-by-step instructions for
> what you're trying to do:
> http://rdkit.org/docs/Install.html#fedora-centos-and-rhel
> and
> http://rdkit.org/docs/Install.html#building-the-rdkit
>
> I believe that if you read these and follow them carefully, you're likely
> to end up with a successful build.
>
> Best,
> -greg
>
>
>
>
>
>
>
>
> On Thu, Nov 26, 2015 at 3:56 PM, Hong Wang  wrote:
>
>> Hi Riccardo,
>>
>> Thanks for your reply. I tried what you suggested. But I got the
>> following error:
>>
>> "CMake Error: The source directory "/usr/local/src" does not appear to
>> contain CMakeLists.txt."
>>
>> Best,
>> Hong
>>
>>
>> On Thu, Nov 26, 2015 at 8:49 AM, Riccardo Vianello <
>> riccardo.viane...@gmail.com> wrote:
>>
>>> Hi Hong,
>>>
>>> if /usr/local/src/RDKit_2015_03_1 is the top directory of the RDKit
>>> distribution then I think you should probably move your build one directory
>>> up and run cmake from inside /usr/local/src/RDKit_2015_03_1/build/
>>> (instead of /usr/local/src/RDKit_2015_03_1/rdkit/build/).
>>>
>>> Best,
>>> Riccardo
>>>
>>>
>>>
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Greg Landrum
On Thu, Nov 26, 2015 at 4:29 PM, Hong Wang  wrote:

>
> That is what I did:
> mkdir build (under  /usr/local/src/RDKit_2015_03_1/)
> cd build
> cmake ..
>
> But I got the error message ""CMake Error: The source directory
> "/usr/local/src" does not appear to contain CMakeLists.txt."
>

That error message is one that you would get if you ran "cmake .." from the
directory: /usr/local/src/RDKit_2015_03_1

Just to be 100% sure, can you please copy the contents of the terminal and
send them to me when you execute the following series of commands:

cd  /usr/local/src/RDKit_2015_03_1/build
pwd
cmake ..
pwd


-greg
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-26 Thread Hong Wang
Hi Greg,

Thanks for your reply.
After the first pwd, it showed "/usr/local/src/RDKit_2015_03_1/build"
After cmake .., I got that error.
After the second pwd, it also showed "/usr/local/src/RDKit_2015_03_1/build".

Thanks,
Hong


On Thu, Nov 26, 2015 at 10:31 AM, Greg Landrum 
wrote:

>
>
> On Thu, Nov 26, 2015 at 4:29 PM, Hong Wang  wrote:
>
>>
>> That is what I did:
>> mkdir build (under  /usr/local/src/RDKit_2015_03_1/)
>> cd build
>> cmake ..
>>
>> But I got the error message ""CMake Error: The source directory
>> "/usr/local/src" does not appear to contain CMakeLists.txt."
>>
>
> That error message is one that you would get if you ran "cmake .." from
> the directory: /usr/local/src/RDKit_2015_03_1
>
> Just to be 100% sure, can you please copy the contents of the terminal and
> send them to me when you execute the following series of commands:
>
> cd  /usr/local/src/RDKit_2015_03_1/build
> pwd
> cmake ..
> pwd
>
>
> -greg
>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-25 Thread Greg Landrum
Hi Hong,

I appreciate that you are trying to make the bug report compact and
minimal, but in this case more information is really required for us to be
able to diagnose the problem.
Please remove everything in your build directory, run cmake again, and then
attach the complete output from cmake to a reply (to the list, not just to
me please).

Best,
-greg



On Wed, Nov 25, 2015 at 2:44 PM, Hong Wang  wrote:

> Hi Greg,
> I ran "cmake ..", then I got those errors.
> Thanks,
> Hong
>
>
> On Tue, Nov 24, 2015 at 11:40 PM, Greg Landrum 
> wrote:
>
>> Hi,
>>
>> Please let us know what commands you executed to run cmake and build the
>> code
>>
>> Best,
>> -greg
>>
>>
>> On Wed, Nov 25, 2015 at 4:21 AM,  wrote:
>>
>>> I am trying to install RDKit on RedHat 7.1 linux, but I got the
>>> following errors:
>>>
>>> "CMake Error at CMakeLists.txt:12 (install):
>>>  install FILES given no DESTINATION!
>>>
>>> CMake Error at CMakeLists.txt: 15 (add_pytest):
>>>   Unknown CMake command "add_pytest"
>>>
>>> I was building under the directory
>>> "/usr/local/src/RDKit_2015_03_1/rdkit/build/".
>>>
>>> My environment variables are set as follows:
>>> PATH=$PATH:$HOME/bin
>>> export PATH
>>> export PATH="$PATH:/usr/local/pgsql/bin"
>>> export RDBASE="/usr/local/src/RDKit_2015_03_1"
>>> export
>>> LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
>>> export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
>>> export PGDATA="/usr/local/pgsql/data"
>>>
>>> Then I checked the file CMakeLists.txt under the directory
>>> /usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is
>>> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
>>>  DESTINATION ${RDKit_PythonDir}
>>>
>>> So I added the following into the file CMakeLists.txt:
>>> set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")
>>>
>>> But I still got the following error:
>>> CMake Error at CMakeLists.txt: 16 (add_pytest):
>>>   Unknown CMake command "add_pytest"
>>>
>>> I would appreciate it very much if anyone could help me on this.
>>>
>>>
>>>
>>>
>>> --
>>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>>> Give your users amazing mobile app experiences with Intel(R) XDK.
>>> Use one codebase in this all-in-one HTML5 development environment.
>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>>> OSs.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
>>> ___
>>> Rdkit-discuss mailing list
>>> Rdkit-discuss@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>>
>>
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] RDKit Linux install error

2015-11-24 Thread Greg Landrum
Hi,

Please let us know what commands you executed to run cmake and build the
code

Best,
-greg


On Wed, Nov 25, 2015 at 4:21 AM,  wrote:

> I am trying to install RDKit on RedHat 7.1 linux, but I got the following
> errors:
>
> "CMake Error at CMakeLists.txt:12 (install):
>  install FILES given no DESTINATION!
>
> CMake Error at CMakeLists.txt: 15 (add_pytest):
>   Unknown CMake command "add_pytest"
>
> I was building under the directory
> "/usr/local/src/RDKit_2015_03_1/rdkit/build/".
>
> My environment variables are set as follows:
> PATH=$PATH:$HOME/bin
> export PATH
> export PATH="$PATH:/usr/local/pgsql/bin"
> export RDBASE="/usr/local/src/RDKit_2015_03_1"
> export LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
> export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
> export PGDATA="/usr/local/pgsql/data"
>
> Then I checked the file CMakeLists.txt under the directory
> /usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is
> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
>  DESTINATION ${RDKit_PythonDir}
>
> So I added the following into the file CMakeLists.txt:
> set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")
>
> But I still got the following error:
> CMake Error at CMakeLists.txt: 16 (add_pytest):
>   Unknown CMake command "add_pytest"
>
> I would appreciate it very much if anyone could help me on this.
>
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss