Save you troubles, install a binary package from
www.blastwave.org. 1.36.3 client is in the stable
distribution.

Marcin Wasilewski wrote:
Hello,

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:/opt/sfw/bin:/usr/ucb:/usr/sbin

./configure --enable-client-only --disable-readline checking for true... /usr/bin/true
checking for false... /usr/bin/false
configuring for bacula 1.36.3 (22 April 2005)
checking for gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
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
See `config.log' for more details.
......
configure:2143: $? = 0
configure:2146: test -s conftest.o
configure:2149: $? = 0
configure:2160: result: yes
configure:2177: checking for gcc option to accept ANSI C
configure:2247: gcc  -c -g -O2  conftest.c >&5
conftest.c:9:20: stdarg.h: No such file or directory
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:25: error: `va_list' undeclared (first use in this function)
conftest.c:25: error: (Each undeclared identifier is reported only once
conftest.c:25: error: for each function it appears in.)
conftest.c:25: error: syntax error before "v"
conftest.c:26: error: `v' undeclared (first use in this function)
conftest.c:27: error: syntax error before "int"
conftest.c: At top level:
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2253: $? = 1
configure: failed program was:
.....

I tried to find the file stdarg.h:
find / -name stdarg.h
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include/stdarg.h

so my next step was:
./configure --enable-client-only --disable-readline --oldincludedir=/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include

but the error still occur

Marcin




----- Original Message ----- From: "Martin Simmons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <bacula-users@lists.sourceforge.net>
Sent: Wednesday, November 16, 2005 10:56 PM
Subject: Re: [Bacula-users] Bacula client on Solaris 10 - configure error


On Wed, 16 Nov 2005 14:50:59 +0100, "Marcin Wasilewski" <[EMAIL PROTECTED]> said:


 Marcin> What could it be?
Marcin> ld: fatal: file values-Xa.o: open failed: No such file or directory
 Marcin> ld: fatal: File processing errors. No output written to a.out

 Marcin> ld is installed in:
 Marcin> whereis ld
 Marcin> ld: /usr/ccs/bin/ld /usr/lib/ld.so /usr/lib/ld /usr/ucb/ld
 Marcin> /usr/man/man1/ld.1 /usr/man/man1b/ld.1b

A google search suggest that you have to install SUNWarc, which provides
values-Xa.o.

__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




-------------------------------------------------------
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





-------------------------------------------------------
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