You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ho to fix this issue on R
I have symphony installed and symphony and clp are working (at least outside R)
configure: error: Could not find Clp_C_Interface.h:
clpAPI requires clp from http://www.coin-or.org/projects/Clp.xml
use --with-clp-include or CLP_INCLUDE to specify the include path.
ERROR: configuration failed for package ‘clpAPI’
installing source package ‘clpAPI’ ...
** package ‘clpAPI’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for pkg-config... /usr/bin/pkg-config
configure: pkg-config file for clp is not available
checking for prefix by checking for clp... no
configure: No prefix given, trying /usr and /usr/local
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for Clp_C_Interface.h... no
configure: error: Could not find Clp_C_Interface.h:
clpAPI requires clp from http://www.coin-or.org/projects/Clp.xml
use --with-clp-include or CLP_INCLUDE to specify the include path.
ERROR: configuration failed for package ‘clpAPI’
removing ‘/usr/lib64/R/library/clpAPI’
The downloaded source packages are in
‘/tmp/Rtmpxoj6hO/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("clpAPI") :
installation of package ‘clpAPI’ had non-zero exit status
The text was updated successfully, but these errors were encountered:
It appears that the R package assumes you have already installed the Clp package itself and that you set the environment variable CLP_INCLUDE appropriately. But this is not the place to report issues with the R package, which is maintained separately. I would suggest asking questions about this in the forum used for R packages.
Ho to fix this issue on R
I have symphony installed and symphony and clp are working (at least outside R)
configure: error: Could not find Clp_C_Interface.h:
clpAPI requires clp from http://www.coin-or.org/projects/Clp.xml
use --with-clp-include or CLP_INCLUDE to specify the include path.
ERROR: configuration failed for package ‘clpAPI’
trying URL 'https://cloud.r-project.org/src/contrib/clpAPI_1.3.1.tar.gz'
Content type 'application/x-gzip' length 275030 bytes (268 KB)
downloaded 268 KB
** package ‘clpAPI’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for pkg-config... /usr/bin/pkg-config
configure: pkg-config file for clp is not available
checking for prefix by checking for clp... no
configure: No prefix given, trying /usr and /usr/local
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for Clp_C_Interface.h... no
configure: error: Could not find Clp_C_Interface.h:
clpAPI requires clp from http://www.coin-or.org/projects/Clp.xml
use --with-clp-include or CLP_INCLUDE to specify the include path.
ERROR: configuration failed for package ‘clpAPI’
The downloaded source packages are in
‘/tmp/Rtmpxoj6hO/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("clpAPI") :
installation of package ‘clpAPI’ had non-zero exit status
The text was updated successfully, but these errors were encountered: