On Thu, Aug 7, 2008 at 8:07 AM, Krenz von Leiberman
<[EMAIL PROTECTED]> wrote:
> Hello.
> I just tried to run configure on gnu sed.
> I got this output:
>
> [quote]
> /root/bld/sed-4.1.5# /root/src/sed-4.1.5/configure
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> 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 for style of include used by make... GNU
> checking dependency style of cc... none
> checking for ranlib... ranlib
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> [end]
>
> I installed sunstudio 11. I don't see why this would not work. I thought that 
> the C-Preprocesor was included. How do I install/enable it?
> Here is my config.log:
>
> [start]
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by sed configure 4.1.5, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>
>  $ /root/src/sed-4.1.5/configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = ragnarok
> uname -m = i86pc
> uname -r = 5.11
> uname -s = SunOS
> uname -v = BeleniX0.7.1
>

   This appears to be a bug in 0.7.1. There is /usr/lib/cpp but the link from
   /lib/cpp is missing.

   You can run configure thus:

   CPP=/usr/lib/cpp ./configure ...

Regards,
Moinak.

-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to