Hello Yousef, Try the following steps, I have had the same problem and now it works. You specify the directory of everything needed in the cmake command
1. Download (or clone) the library. 2. Create a directory called build within the library directory. 3. Go to the build directory (cd build) 4. Use cmake -DPythonModular=ON -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so.1 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python2.7/dist-packages .. 5. Then make 6. Finally (sudo) make install Best Regards, Gamal Elkomy *Teaching Assistant* *Mobile: +2 01008797013* *E-mail: [email protected] <[email protected]>* *The information contained in this communication is privileged and confidential. The content is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by telephone or e-mail, and delete this message from your systems.* P Please think of the environment before you print this email. On Sun, Feb 21, 2016 at 7:40 PM, Youssef Emad El-Din < [email protected]> wrote: > Hi all, > I am trying to install shogun with DPythonModular = ON but I am having an > error so I created this issue > <https://mailtrack.io/trace/link/33a0778ca7ffb381c5db7a63d22f14ca9dfad214?url=https%3A%2F%2Fgithub.com%2Fshogun-toolbox%2Fshogun%2Fissues%2F2995&signature=28d4966798c881a4> > and besser82 seemed to get the error which is > I am trying to link against a static python-lib, which is not compiled to > link into dynamic-so > > I have searched a lot for a solution but I didn't find a proper one. > so can anyone help me with it ? > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
