From: Gökhan S. <so...@it...> - 2017-07-13 14:19:30
|
I have copied all *.pl, *.yap files and directories under git repo *yap-6.3/library* into *usr/local/share/Yap. *After that CLPFD library was available via *yap. *However, I noticed that another library I need, *process* is not available. It doesn't exist under yap-6.3 repo. Would copying the process.pl file from yap-6.2.2 work? Is it replaced with another library with similar capabilities? Gökhan Solak Mobil:+905058688653 2017-07-12 22:18 GMT+03:00 Gökhan Solak <so...@it...>: > Forgot to mention my tools: > >> gcc (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5 >> > GNU Make 3.81 > > > > Gökhan Solak > > 2017-07-12 22:14 GMT+03:00 Gökhan Solak <so...@it...>: > >> Hello, >> >> Short: >> I have built Yap-6.3 from the latest source code. I can't locate or use >> CLPFD library. It is not under *usr/local/share/Yap*. >> >> Long: >> I have cloned the latest version of Yap-6.3 and built with the following >> commands: >> >> mkdir build >> >> cd build >> >> ../configure --enable-coroutining=yes --with-gmp=/usr/lib/x86_64-linux-gnu >> --enable-max-performance=yes >> >> make >> >> sudo make install >> >> At first, it gave lots of syntax errors at the *pybips.c* file, so I >> removed *Py4Yap* from MakeFile and set WITH_PYTHON option to OFF in >> CMakeLists.txt. >> >> After these changes I was able to build it. However, it shows syntax >> errors for CLPFD specific operators in my PL code and I can't locate it in >> libraries. Though it's written in autoloader.yap file. >> >> Do I need to add/remove any flags to the build options to obtain CLPFD? >> >> Regards, >> Gökhan Solak >> > > |