---------- Forwarded message ----------
From: Steven Ong <stevenong2...@gmail.com>
Date: Sat, Mar 20, 2010 at 9:32 PM
Subject: Re: [protobuf] Re: Issue with protobuf-2.3.0: Problem running
'configure' on Solaris 10
To: Kenton Varda <ken...@google.com>


Hi all,

After taking the second look of the 'config.log', I found that I missed this
line:

ld: fatal: file values-Xa.o: open failed: No such file or directory

...And after googling, I found that I need to install the sun package:
SUNWarc

<** Sorry, I felt really stupid at this point **>

... Now, I am running into a new error:

GNU C (GCC) version 4.3.3 (i386-pc-solaris2.8)
    compiled by GNU C version 4.3.3, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d69afb5aa27ddb6cc8ec83352dafa664
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-mtune=i386'
 /opt/csw/bin/gas -v --traditional-format -V -Qy -s -o /var/tmp//ccSaYWux.o
/var/tmp//ccGvFHch.s

GNU assembler version 2.19 (i386-pc-solaris2.8) using BFD version (GNU
Binutils) 2.19
COMPILER_PATH=/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/:/usr/ccs/bin/
LIBRARY_PATH=/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/usr/ccs/lib/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-mtune=i386'
 /usr/ccs/bin/ld -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o conftest
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/crt1.o
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/crti.o
/usr/ccs/lib/values-Xa.o
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/crtbegin.o
-L/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3 -L/usr/ccs/lib
-L/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../..
/var/tmp//ccSaYWux.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/crtend.o
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/crtn.o

ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1652
configure:3104: $? = 0
configure:3128: result:
configure:3134: checking for suffix of object files
configure:3160: gcc -c -v  conftest.c >&5

Using built-in specs.
Target: i386-pc-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/opt/csw/gcc4
--exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib
--enable-libada --enable-libssp --enable-objc-gc --enable-threads=posix
--enable-stage1-languages=c --enable-languages=ada,c,c++,fortran,java,objc
Thread model: posix
gcc version 4.3.3 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
 /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1 -quiet -v conftest.c
-quiet -dumpbase conftest.c -mtune=i386 -auxbase conftest -version -o
/var/tmp//ccABOt9D.s

ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../../i386-pc-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/csw/gcc4/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.3.3 (i386-pc-solaris2.8)
    compiled by GNU C version 4.3.3, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d69afb5aa27ddb6cc8ec83352dafa664
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
 /opt/csw/bin/gas -v --traditional-format -V -Qy -s -o conftest.o
/var/tmp//ccABOt9D.s

GNU assembler version 2.19 (i386-pc-solaris2.8) using BFD version (GNU
Binutils) 2.19
COMPILER_PATH=/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/:/usr/ccs/bin/
LIBRARY_PATH=/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/usr/ccs/lib/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
configure:3163: $? = 0
configure:3186: result: o
configure:3190: checking whether we are using the GNU C compiler
configure:3219: gcc -c -v  conftest.c >&5

Using built-in specs.
Target: i386-pc-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/opt/csw/gcc4
--exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib
--enable-libada --enable-libssp --enable-objc-gc --enable-threads=posix
--enable-stage1-languages=c --enable-languages=ada,c,c++,fortran,java,objc
Thread model: posix
gcc version 4.3.3 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
 /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1 -quiet -v conftest.c
-quiet -dumpbase conftest.c -mtune=i386 -auxbase conftest -version -o
/var/tmp//ccv5vcBO.s

ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../../i386-pc-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/csw/gcc4/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.3.3 (i386-pc-solaris2.8)
    compiled by GNU C version 4.3.3, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d69afb5aa27ddb6cc8ec83352dafa664
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
 /opt/csw/bin/gas -v --traditional-format -V -Qy -s -o conftest.o
/var/tmp//ccv5vcBO.s

GNU assembler version 2.19 (i386-pc-solaris2.8) using BFD version (GNU
Binutils) 2.19
COMPILER_PATH=/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/:/usr/ccs/bin/
LIBRARY_PATH=/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/:/usr/ccs/lib/:/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
configure:3225: $? = 0
configure:3242: result: yes
configure:3247: checking whether gcc accepts -g
configure:3277: gcc -c -g  conftest.c >&5
configure:3283: $? = 0
configure:3382: result: yes
configure:3399: checking for gcc option to accept ISO C89
configure:3473: gcc  -c -v  conftest.c >&5

Using built-in specs.
Target: i386-pc-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/opt/csw/gcc4
--exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib
--enable-libada --enable-libssp --enable-objc-gc --enable-threads=posix
--enable-stage1-languages=c --enable-languages=ada,c,c++,fortran,java,objc
Thread model: posix
gcc version 4.3.3 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=i386'
 /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1 -quiet -v conftest.c
-quiet -dumpbase conftest.c -mtune=i386 -auxbase conftest -version -o
/var/tmp//ccPCbd6e.s

ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/../../../../i386-pc-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/csw/gcc4/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include
 /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.3.3 (i386-pc-solaris2.8)
    compiled by GNU C version 4.3.3, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d69afb5aa27ddb6cc8ec83352dafa664
In file included from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:44,
                 from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/stdio.h:36,
                 from conftest.c:11:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/feature_tests.h:24:26:
error: sys/isa_defs.h: No such file or directory
In file included from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/stdio.h:36,
                 from conftest.c:11:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:45:25:
error: sys/va_list.h: No such file or directory
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:47:24:
error: stdio_impl.h: No such file or directory
In file included from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/stdio.h:36,
                 from conftest.c:11:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:156:
error: array type has incomplete element type
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:195:
error: expected declaration specifiers or '...' before '__va_list'
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:196:
error: expected declaration specifiers or '...' before '__va_list'
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/iso/stdio_iso.h:197:
error: expected declaration specifiers or '...' before '__va_list'
In file included from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/types.h:34,
                 from conftest.c:12:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/machtypes.h:24:32:
error: ia32/sys/machtypes.h: No such file or directory
In file included from conftest.c:12:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/types.h:574:24:
error: sys/select.h: No such file or directory
In file included from conftest.c:13:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/stat.h:51:27:
error: sys/time_impl.h: No such file or directory
In file included from conftest.c:13:
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/stat.h:259:
error: expected specifier-qualifier-list before 'timestruc_t'
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/sys/stat.h:319:
error: expected specifier-qualifier-list before 'timestruc_t'
configure:3479: $? = 1

configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "2.3.0"
| #define PACKAGE_STRING "Protocol Buffers 2.3.0"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE "protobuf"
| #define VERSION "2.3.0"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently
treated
|    as 'x'.  The following induces an error, until -std is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get
something
|    that's true only with -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro
parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
AND MORE....

Mainly because whole bunch of header files (e.g., sys/va_list.h,
stdio_impl.h, etc.) are missing.
Does anyone know which package in the CSW contain these?
In addition, is there a way for me to install the whole CSW tree in one
shot?

Thanks all,
Steven

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to