>>>>> On Thu, 17 Nov 2005 13:49:46 +0100, "Marcin Wasilewski" <[EMAIL >>>>> PROTECTED]> said:
Marcin> Hello, Marcin> Installing package SUNWarc help a little bit, but now the ./configure script Marcin> gives another error.... Marcin> export Marcin> PATH=/usr/bin::/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin Marcin> ./configure --enable-client-only --disable-readline Marcin> checking for true... /usr/bin/true Marcin> checking for false... /usr/bin/false Marcin> configuring for bacula 1.36.3 (22 April 2005) Marcin> checking for gcc... gcc Marcin> checking for C compiler default output file name... a.out Marcin> checking whether the C compiler works... yes Marcin> checking whether we are cross compiling... no Marcin> checking for suffix of executables... Marcin> checking for suffix of object files... o Marcin> checking whether we are using the GNU C compiler... yes Marcin> checking whether gcc accepts -g... yes Marcin> checking for gcc option to accept ANSI C... none needed Marcin> checking for g++... g++ Marcin> checking whether we are using the GNU C++ compiler... yes Marcin> checking whether g++ accepts -g... yes Marcin> checking whether gcc and cc understand -c and -o together... yes Marcin> checking how to run the C preprocessor... /lib/cpp Marcin> configure: error: C preprocessor "/lib/cpp" fails sanity check Marcin> See `config.log' for more details. Marcin> ...... Marcin> configure:2143: $? = 0 Marcin> configure:2146: test -s conftest.o Marcin> configure:2149: $? = 0 Marcin> configure:2160: result: yes Marcin> configure:2177: checking for gcc option to accept ANSI C Marcin> configure:2247: gcc -c -g -O2 conftest.c >&5 Marcin> conftest.c:9:20: stdarg.h: No such file or directory Marcin> conftest.c:10:19: stdio.h: No such file or directory Marcin> conftest.c:11:23: sys/types.h: No such file or directory Marcin> conftest.c:12:22: sys/stat.h: No such file or directory Marcin> conftest.c:15: error: syntax error before '*' token Marcin> conftest.c:15: warning: "struct stat" declared inside parameter list Marcin> conftest.c:15: warning: its scope is only this definition or declaration, Marcin> which is probably not what you want Marcin> conftest.c:15: warning: data definition has no type or storage class Marcin> conftest.c: In function `f': Marcin> conftest.c:25: error: `va_list' undeclared (first use in this function) Marcin> conftest.c:25: error: (Each undeclared identifier is reported only once Marcin> conftest.c:25: error: for each function it appears in.) Marcin> conftest.c:25: error: syntax error before "v" Marcin> conftest.c:26: error: `v' undeclared (first use in this function) Marcin> conftest.c:27: error: syntax error before "int" Marcin> conftest.c: At top level: Marcin> conftest.c:44: error: syntax error before "FILE" Marcin> conftest.c:44: warning: "struct stat" declared inside parameter list Marcin> conftest.c:44: error: `pairnames' declared as function returning a function Marcin> conftest.c:44: error: syntax error before "int" Marcin> configure:2253: $? = 1 Marcin> configure: failed program was: Marcin> ..... Marcin> I tried to find the file stdarg.h: Marcin> find / -name stdarg.h Marcin> /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include/stdarg.h Marcin> so my next step was: Marcin> ./configure --enable-client-only --disable-readline --oldincludedir=/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include Marcin> but the error still occur I have those headers files in /usr/include. Possibly you need SUNWhea? __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