After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 379471 - libtool is trying to use gcc when compiling on solaris with a sun compiler
libtool is trying to use gcc when compiling on solaris with a sun compiler
Status: RESOLVED NOTABUG
Product: libxml2
Classification: Platform
Component: general
2.6.x
Other All
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-26 15:17 UTC by Daniel van Eeden
Modified: 2017-06-14 12:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Daniel van Eeden 2006-11-26 15:17:11 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:
Comment 1 Snark 2012-08-25 18:21:37 UTC
What's the status of this?
Comment 2 André Klapper 2013-10-20 13:37:28 UTC
(In reply to comment #1)
> What's the status of this?

I'm not sure if such vague questions && setting NEEDINFO help anybody...
Comment 3 Nick Wellnhofer 2017-06-14 12:11:10 UTC
You simply have to set CC when running configure:

CC=cc ./configure