Configure errors on Solaris 10
Hello, I get two warnings and on error while configuring ppl-1.0 for Solaris 10, with gcc 3.4.3 My command: ppl-1.0> ./configure --prefix=/vobs/cello/cade_A_tools_utils/ppl --with-gmp=/vobs/cello/cade_A_tools_utils/gmp CFLAGS='-O2 -pedantic -m64 -mptr64 -mcpu=ultrasparc' CC='/usr/sfw/bin/gcc -std=gnu99' The warnings: configure: WARNING: ieeefp.h: present but cannot be compiled configure: WARNING: ieeefp.h: check for missing prerequisite headers? configure: WARNING: ieeefp.h: see the Autoconf documentation configure: WARNING: ieeefp.h: section "Present But Cannot Be Compiled" configure: WARNING: ieeefp.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ## configure: WARNING: ## ------------------------------------ ## configure: WARNING: getopt.h: present but cannot be compiled configure: WARNING: getopt.h: check for missing prerequisite headers? configure: WARNING: getopt.h: see the Autoconf documentation configure: WARNING: getopt.h: section "Present But Cannot Be Compiled" configure: WARNING: getopt.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ## configure: WARNING: ## ------------------------------------ ## The error: checking for the GMP library version 4.1.3 or above... no configure: error: Cannot find GMP version 4.1.3 or higher. I assume the two headers are the ones in /usr/include, and part of: ppl-1.0> pkginfo -l SUNWhea PKGINST: SUNWhea NAME: SunOS Header Files CATEGORY: system ARCH: sparc VERSION: 11.10.0,REV=2005.01.21.15.53 BASEDIR: / VENDOR: Oracle Corporation DESC: SunOS C/C++ header files for general development of software PSTAMP: on10-patch20120806013413 INSTDATE: Aug 25 2012 11:34 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 1623 installed pathnames 43 shared pathnames 128 directories 22681 blocks used (approx) GMP I just installed and it is 5.1.1 gmp-5.1.1> ll /vobs/cello/cade_A_tools_utils/gmp/lib total 3102 drwxrwxr-x 2 emagiro ossdes 154 Mar 4 19:02 . drwxrwxr-x 5 emagiro ossdes 75 Mar 4 19:02 .. -r--r--r-- 1 emagiro ossdes 1040202 Mar 4 18:49 libgmp.a -r-xr-xr-x 1 emagiro ossdes 938 Mar 4 18:49 libgmp.la lr-xr-xr-x 1 emagiro ossdes 16 Mar 4 19:02 libgmp.so -> libgmp.so.10.1.1 lr-xr-xr-x 1 emagiro ossdes 16 Mar 4 19:02 libgmp.so.10 -> libgmp.so.10.1.1 -r-xr-xr-x 1 emagiro ossdes 544608 Mar 4 18:49 libgmp.so.10.1.1 I attache my config.log Thanks, Marc
Hello again, On Wed, Mar 6, 2013 at 2:45 PM, Marc Girod <marc.girod@gmail.com> wrote:
I get two warnings and on error while configuring ppl-1.0 for Solaris 10, with gcc 3.4.3
I assume my problem comes from my not having used C++ to compile gmp. Now, I am precisely building a recent version of gcc, and using what I find in /usr/sfw/bin on Solaris. There is no g++ there. I try the http://gmplib.org/ route mentioned in README.configure Thanks, Marc
On 03/06/13 16:20, Marc Girod wrote:
On Wed, Mar 6, 2013 at 2:45 PM, Marc Girod <marc.girod@gmail.com> wrote:
I get two warnings and on error while configuring ppl-1.0 for Solaris 10, with gcc 3.4.3
I assume my problem comes from my not having used C++ to compile gmp. Now, I am precisely building a recent version of gcc, and using what I find in /usr/sfw/bin on Solaris. There is no g++ there.
I try the http://gmplib.org/ route mentioned in README.configure
Hello Marc. I think the problem number one is the one implied by the following lines of your config.log: configure:9392: g++ -c -g -O2 conftest.cpp >&5 g++: installation problem, cannot exec `cc1plus': No such file or directory So, the first thing is to fix your installation of g++. Kind regards, Roberto -- Prof. Roberto Bagnara Applied Formal Methods Laboratory - University of Parma, Italy mailto:bagnara@cs.unipr.it BUGSENG srl - http://bugseng.com mailto:roberto.bagnara@bugseng.com
Thanks Roberto, On Sun, Mar 10, 2013 at 11:30 AM, Roberto Bagnara <bagnara@cs.unipr.it> wrote:
configure:9392: g++ -c -g -O2 conftest.cpp >&5 g++: installation problem, cannot exec `cc1plus': No such file or directory
That's due to my using a binary distribution without being able to install as root (because I have no root access on these Solaris boxes). I extracted, and set up the symlinks, but the installation path is hardcoded in a few places... That's why I am trying to build gcc from the sources, and I am stuck in chicken and egg problems... But I am getting there... Thanks, Marc
participants (2)
-
Marc Girod -
Roberto Bagnara