>>>>> On Thu, 17 Nov 2005 08:46:56 -0800 (PST), Paul Heinlein <[EMAIL 
>>>>> PROTECTED]> said:

  Paul> On Thu, 17 Nov 2005, Marcin Wasilewski wrote:

  >> Installing package SUNWarc help a little bit, but now the ./configure 
script
  >> gives another error....
  >> 
  >> export 
  >> 
PATH=/usr/bin::/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin$
  >> [....]
  >> checking whether gcc and cc understand -c and -o together... yes
  >> checking how to run the C preprocessor... /lib/cpp
  >> configure: error: C preprocessor "/lib/cpp" fails sanity check

  Paul> I haven't used Solaris 10, so pardon me for guessing somewhat.
  Paul> Assuming that /lib/cpp is the Solaris (not GNU) cpp, I think you have
  Paul> two choices:

  Paul> 1) set $CPP to the GNU cpp path (/usr/local/bin/cpp?)

  Paul> 2) Put the directory that holds the GNU tools before /usr/bin in your
  Paul>      $PATH.

Using /lib/cpp is just a last resort -- it should be finding gcc -E as the
preprocessor anyway.  I suspect this fails because configure tests the
preprocessor with a standard #include, but the standard headers seem to be
missing.

__Martin


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to