GNOME Bugzilla – Bug 379471
libtool is trying to use gcc when compiling on solaris with a sun compiler
Last modified: 2017-06-14 12:11:10 UTC
Please describe the problem: ./libtool: line 96: gcc: command not found ./libtool: line 97: gcc: command not found Steps to reproduce: 1. setup Sun Studio 11 on Solaris 10 2. set path to /usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin 3. ./configure --prefix=/opt/libxml2 4. make Actual results: compiling finishes with many warnings (gcc: command not found) Expected results: Use cc instead of gcc. Does this happen every time? Yes Other information:
What's the status of this?
(In reply to comment #1) > What's the status of this? I'm not sure if such vague questions && setting NEEDINFO help anybody...
You simply have to set CC when running configure: CC=cc ./configure