[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure: error: C preprocessor "/lib/cpp" fails sanity check ERROR
From: |
duraivelanc chockalingam |
Subject: |
configure: error: C preprocessor "/lib/cpp" fails sanity check ERROR |
Date: |
Fri, 13 Jul 2007 10:35:46 +0100 (BST) |
Hi
I am not able to configure Bison on the system with following configuration
Bison version : 2.1 for solaris 2.10 Sparc Platform
###################################################
Script started on Fri 13 Jul 2007 10:05:29 AM MEST
CONFIGURATION ERRORS
################################################################
#
# CONFIGURE LOGS While configure Bison
#
# ./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
#
#
#
#
# CONFIGURE LOGS WITH ERRORS
#
#####################################################################
#
#
#
#
# ################################################################
# SYSTEM DETAILS SOLARIS
# ################################################################
# uname -a
SunOS awsdev212 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Blade-1500
# prts diahg g -v
System Configuration: Sun Microsystems sun4u Sun Blade 1500
System clock frequency: 177 MHZ
Memory size: 2GB
==================================== CPUs ====================================
E$ CPU CPU
CPU Freq Size Implementation Mask Status Location
--- -------- ---------- --------------------- ----- ------ --------
0 1062 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 on-line MB/0
================================= IO Devices =================================
Bus Freq Slot + Name +
Type MHz Status Path Model
------ ---- ---------- ---------------------------- --------------------
pci 33 MB isa/su (serial)
okay /address@hidden,600000/address@hidden/serial
pci 33 MB isa/su (serial)
okay /address@hidden,600000/address@hidden/serial
pci 33 MB isa/isadma (dma)
okay /address@hidden,600000/address@hidden/dma
pci 33 MB pci10b9,5451 (sound)
okay /address@hidden,600000/sound
pci 33 MB pci10b9,5229 (ide)
okay /address@hidden,600000/address@hidden
pci 33 MB/PCI0 pciclass,0c0010 (firewire)
okay /address@hidden,600000/address@hidden/address@hidden
pci 66 MB pci108e,1647 (network)
okay /address@hidden,700000/address@hidden
pci 66 MB/PCI4 SUNW,XVR-100 (display) SUNW,375-3181
okay /address@hidden,700000/SUNW,address@hidden
============================ Memory Configuration ============================
Segment Table:
-----------------------------------------------------------------------
Base Address Size Interleave Factor Contains
-----------------------------------------------------------------------
0x0 2GB 2 BankIDs 0,1
Bank Table:
-----------------------------------------------------------
Physical Location
ID ControllerID GroupID Size Interleave Way
-----------------------------------------------------------
0 0 0 1GB 0,1
1 0 0 1GB
Memory Module Groups:
--------------------------------------------------
ControllerID GroupID Labels Status
--------------------------------------------------
0 0 MB/DIMM0
0 0 MB/DIMM1
=============================== usb Devices ===============================
Name Port#
------------ -----
keyboard 1
mouse 2
============================ Environmental Status ============================
Fan Status:
-------------------------------------------
Location Sensor Status
-------------------------------------------
F2 CPU okay
F1 Intake okay
F0 Outtake okay
Temperature sensors:
-----------------------------------------
Location Sensor Status
-----------------------------------------
MB/0 Die okay
MB Ambient okay
MB Ambient okay
================================ HW Revisions ================================
ASIC Revisions:
-------------------------------------------------------------------
Path Device Status Revision
-------------------------------------------------------------------
/address@hidden,600000 pci108e,a801 okay 4
/address@hidden,700000 pci108e,a801 okay 4
System PROM revisions:
----------------------
OBP 4.9.5 2003/09/15 14:00 Sun Blade 1500
OBDIAG 4.9.5 2003/09/15 14:00
#
# END OF SYSTEM DETAILS
##############################################################################
#
##############################################################################
#
# START OF COMPLIER DETILAS
#
#
# which cc
/usr/bin/cc
# cc
usage: cc [ options] files. Use 'cc -flags' for details
#
#
# which gcc
no gcc in /usr/sbin /usr/bin /usr/dt/bin /usr/openwin/bin /bin /usr/ucb
#
#
# echo P $PATH
/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb
#
#
# echo $LD_LIBAR RARY_PATH
#
#
#
# CC
# which CC
/usr/bin/CC
# ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.482
# cc -V
cc: Sun C 5.9 SunOS_sparc 2007/05/03
usage: cc [ options] files. Use 'cc -flags' for details
# CC -V
CC: Sun C++ 5.9 SunOS_sparc 2007/05/03
#
#
#END OF COMPILER DETAILS
#
#
####################################################################################
#
#
# exit
script done on Fri 13 Jul 2007 11:22:47 AM MEST
---------------------------------
Get the freedom to save as many mails as you wish. Click here to know how.
- configure: error: C preprocessor "/lib/cpp" fails sanity check ERROR,
duraivelanc chockalingam <=