On Fri, 15 Jul 2005, Dan Kennedy wrote: >See if your installation has "nawk" or "gawk". Then search through >Makefile.in and change the "awk" invocations to "nawk" or "gawk" >(three changes). It might work then.
Solaris /usr/bin/awk is horrible and not nawk compatible. > > >--- H S <[EMAIL PROTECTED]> wrote: > >> You are right. opcodes.h is corrupted. It has 0 byte.. Put /usr/xpg4/bin in your path before /usr/bin. The awk there is nawk compatible and should work. >> >> I have all other files: lemon exists in the build directory as well >> as parrse.c and parse.h >> >> Here is the messages from configure >> >> gums2-sun% ../sqlite-3.2.2/configure --prefix=/dssweb/sqlite >> checking build system type... sparc-sun-solaris2.8 >> checking host system type... sparc-sun-solaris2.8 >> 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 a sed that does not truncate output... /usr/bin/sed >> checking for egrep... grep -E >> checking for ld used by gcc... >> /prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris2.\ >> 8/bin/ld >> checking if the linker >> (/prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris2.8/bin/l\ >> d) is GNU ld... yes >> checking for >> /prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris2.8/bin/ld >> option to\ >> reload object files... -r >> checking for BSD-compatible nm... /usr/ccs/bin/nm -p >> checking whether ln -s works... yes >> checking how to recognise dependent libraries... pass_all >> checking how to run the C preprocessor... gcc -E >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... no >> checking for unistd.h... yes >> checking dlfcn.h usability... yes >> checking dlfcn.h presence... yes >> checking for dlfcn.h... yes >> checking for g++... g++ >> checking whether we are using the GNU C++ compiler... yes >> checking whether g++ accepts -g... yes >> checking how to run the C++ preprocessor... g++ -E >> checking for g77... no >> checking for f77... no >> checking for xlf... no >> checking for frt... no >> checking for pgf77... no >> checking for fort77... no >> checking for fl32... no >> checking for af77... no >> checking for f90... no >> checking for xlf90... no >> checking for pgf90... no >> checking for epcf90... no >> checking for f95... no >> checking for fort... no >> checking for xlf95... no >> checking for ifc... no >> checking for efc... no >> checking for pgf95... no >> checking for lf95... no >> checking for gfortran... no >> checking whether we are using the GNU Fortran 77 compiler... no >> checking whether accepts -g... no >> checking the maximum length of command line arguments... 262144 >> checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok >> checking for objdir... .libs >> checking for ar... ar >> checking for ranlib... ranlib >> checking for strip... strip >> checking if gcc static flag works... yes >> checking if gcc supports -fno-rtti -fno-exceptions... yes >> checking for gcc option to produce PIC... -fPIC >> checking if gcc PIC flag -fPIC works... yes >> checking if gcc supports -c -o file.o... yes >> checking whether the gcc linker >> (/prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris\ >> 2.8/bin/ld) supports shared libraries... yes >> checking whether -lc should be explicitly linked in... yes >> checking dynamic linker characteristics... solaris2.8 ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... no >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... yes >> configure: creating libtool >> appending configuration tag "CXX" to libtool >> checking for ld used by g++... >> /prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris2.\ >> 8/bin/ld >> checking if the linker >> (/prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris2.8/bin/l\ >> d) is GNU ld... yes >> checking whether the g++ linker >> (/prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris\ >> 2.8/bin/ld) supports shared libraries... yes >> checking for g++ option to produce PIC... -fPIC >> checking if g++ PIC flag -fPIC works... yes >> checking if g++ supports -c -o file.o... yes >> checking whether the g++ linker >> (/prod/cygnus/gnupro-03r1/H-sparc-sun-solaris2.8/sparc-sun-solaris\ >> 2.8/bin/ld) supports shared libraries... yes >> checking dynamic linker characteristics... solaris2.8 ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... no >> appending configuration tag "F77" to libtool >> checking for a BSD-compatible install... ../sqlite-3.2.2/install-sh -c >> Version set to 3.2 >> Release set to 3.2.2 >> Version number set to 3002002 >> checking for gcc... (cached) gcc >> checking whether we are using the GNU C compiler... (cached) yes >> checking whether gcc accepts -g... (cached) yes >> checking for gcc option to accept ANSI C... (cached) none needed >> checking switches for the host compiler... -g -O2 >> checking target compiler... gcc >> checking switches on the target compiler... -g -O2 >> checking target linker... gcc >> checking switches on the target compiler... checking for ranlib... >> (cached) ranlib >> -g -O2 >> checking if host and target compilers are the same... yes >> checking whether to support threadsafe operation... no >> checking whether to support shared library linked as release mode or not... >> no >> checking whether to use an in-ram database for temporary tables... yes >> checking if executables have the .exe suffix... unknown >> checking for Tcl configuration... configure: WARNING: Can't find Tcl >> configuration definitions >> configure: WARNING: *** Without Tcl the regression tests cannot be executed >> *** >> configure: WARNING: *** Consider using --with-tcl=... to define >> location of Tcl *** >> checking for library containing tgetent... -lcurses >> checking for readline in -lreadline... yes >> checking readline header files... not specified: still searching... >> checking readline.h usability... no >> checking readline.h presence... no >> checking for readline.h... no >> checking for /usr/include/readline.h... no >> checking for /usr/include/readline/readline.h... no >> checking for /usr/local/include/readline.h... no >> checking for /usr/local/include/readline/readline.h... no >> checking for /usr/local/readline/include/readline.h... no >> checking for /usr/local/readline/include/readline/readline.h... no >> checking for /usr/contrib/include/readline.h... no >> checking for /usr/contrib/include/readline/readline.h... no >> checking for /mingw/include/readline.h... no >> checking for /mingw/include/readline/readline.h... no >> checking for usleep... yes >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating sqlite3.pc >> >> >> drwxr-xr-x 3 dssweb dssdev 1024 Jul 15 20:27 . >> drwxr-xr-x 10 dssweb dssdev 2048 Jul 15 17:11 .. >> drwxr-xr-x 2 dssweb dssdev 96 Jul 15 20:27 .libs >> -rw-r--r-- 1 dssweb dssdev 17531 Jul 15 20:26 Makefile >> -rw-r--r-- 1 dssweb dssdev 234 Jul 15 20:27 alter.loT >> -rw-r--r-- 1 dssweb dssdev 39803 Jul 15 20:26 config.log >> -rwxr-xr-x 1 dssweb dssdev 22673 Jul 15 20:26 config.status >> -rwxr-xr-x 1 dssweb dssdev 117075 Jul 15 17:17 lemon >> -rw-r--r-- 1 dssweb dssdev 23643 Jul 15 17:17 lempar.c >> -rwxr-xr-x 1 dssweb dssdev 207605 Jul 15 20:26 libtool >> -rw-r--r-- 1 dssweb dssdev 0 Jul 15 17:17 opcodes.h >> -rw-r--r-- 1 dssweb dssdev 120876 Jul 15 17:17 parse.c >> -rw-r--r-- 1 dssweb dssdev 6341 Jul 15 17:17 parse.h >> -rw-r--r-- 1 dssweb dssdev 372530 Jul 15 17:17 parse.out >> -rw-r--r-- 1 dssweb dssdev 35443 Jul 15 17:17 parse.y >> -rw-r--r-- 1 dssweb dssdev 54491 Jul 15 17:17 sqlite3.h >> -rw-r--r-- 1 dssweb dssdev 261 Jul 15 20:26 sqlite3.pc >> >> >> thanks, Isarin >> >> >> On 7/15/05, Gerald Dachs <[EMAIL PROTECTED]> wrote: >> > > Hi, >> > > >> > > Could someone please shed some light what I should do? >> > > I've got the following errors. >> > > >> > > Thank you, >> > > Isarin >> > > >> > > gums-sun% make >> > > ./libtool --mode=compile gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. >> > > -I../sqlite-3.2.2/src -DNDEBUG -DSQLITE_OM\ >> > > IT_CURSOR -c ../sqlite-3.2.2/src/alter.c >> > > mkdir .libs >> > > gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I../sqlite-3.2.2/src >> > > -DNDEBUG -DSQLITE_OMIT_CURSOR -c ../sqlite-3\ >> > > .2.2/src/alter.c -fPIC -DPIC -o .libs/alter.o >> >=== message truncated === > > > > >____________________________________________________ >Start your day with Yahoo! - make it your home page >http://www.yahoo.com/r/hs > > -- /"\ \ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL X - AGAINST MS ATTACHMENTS / \

