Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 1997 16:10:51 -0700 (PDT)
From:      efb@cotdazr.org
To:        chuckr@FreeBSD.ORG, glimpse@cs.arizona.edu, freebsd-questions@FreeBSD.ORG, admin@vcd.com
Subject:   Help glimpse.web.4.0 FreeBSD
Message-ID:  <19971011231052.12568.qmail@cotdazr.org>

next in thread | raw e-mail | index | archive | help

Trying to build Glimpse-4.0 really fine search kit .. and WebGlimpse

	http://glimpse.cs.arizona.edu/ ..

It dies for want of a FreeBSD fix Makefile .. last versions had the

	FreeBSD Port download immediately fails ..

The guidance in the README.install was to try Linux .. might work
If you were not in the Solaris or other BIG_OS camp .. Both make
and make with linux.makefile beget about the same errors .. as best
I can see .. ...  

What are the lib patches I need to overcome these losses back from 
FreeBSD 2.0.5 .. forward to 2.2.2  ..  what are the searching steps
I need to follow to find the right pieces in the right places .. 

Oh PLEASE .. beg .. grovel ... etc...


/Ev/


Script started on Sat Oct 11 15:45:39 1997
You have mail.

gcpacix:<efb>/<2>glimpse-4.0.src{2} grep -i linux READ*
...
README.install:	make -f Makefile.linux # (can work for FreeBSD too)
README.install:h. Linux		Jim Hurley <hurleyj@arachnaut.org>



gcpacix:<efb>/<2>glimpse-4.0.src{3} make clean
rm -f main_server.o main_server.c main.o get_filename.o  get_index.o  split.o  index/region.o  index/getword.o  index/filetype.o  index/simpletest.o  index/memlook.o  index/lib.o index/io.o core a.out lib/libagrep.a glimpse glimpseserver
cd agrep; make clean
rm -f ../lib/libagrep.a follow.o	 asearch.o	 asearch1.o	 agrep.o		 bitap.o		 checkfile.o	 compat.o	 maskgen.o	 parse.o		 checksg.o	 preprocess.o	 delim.o		 asplit.o	 recursive.o	 sgrep.o		 newmgrep.o	 utilities.o dummyfilters.o main.o core a.out agrep
cd index ; make clean
rm -f region.o  dir.o	 io.o build_in.o		 filetype.o	 simpletest.o getword.o	 memlook.o		 lib.o	 partition.o glimpse.o convert.o buildcast.o buildcast.c core a.out glimpseindex buildcast wgconvert
cd compress; make clean
rm -f *.o ../lib/libcast.a core test cast uncast tbuild a.out
gcpacix:<efb>/<2>glimpse-4.0.src{4} 
gcpacix:<efb>/<2>glimpse-4.0.src{4} 
gcpacix:<efb>/<2>glimpse-4.0.src{4} 
gcpacix:<efb>/<2>glimpse-4.0.src{4} make -f Makefile.linux
cd compress; make -f Makefile.linux CC="gcc -m486" SUBDIRCFLAGS="-c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2  " SUBDIRLINKFLAGS="" SHELL="/bin/sh" HAVE_DIRENT_H="1" HAVE_SYS_DIR_H="0" HAVE_SYS_NDIR_H="0" HAVE_NDIR_H="0" UTIME="1" STRUCTURED_QUERIES="1" ISO_CHAR_SET="0" SFS_COMPAT="0"
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c hash.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c string.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c misc.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c quick.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c cast.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c uncast.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c tsimpletest.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c tmemlook.c
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c tbuild.c
ar rcv ../lib/libcast.a hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o
a - hash.o
a - string.o
a - misc.o
a - quick.o
a - cast.o
a - uncast.o
a - tsimpletest.o
a - tmemlook.o
a - tbuild.o
ranlib ../lib/libcast.a
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c main_tbuild.c
gcc -m486   -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o 
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c main_cast.c
gcc -m486   -o cast main_cast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o 
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c main_uncast.c
gcc -m486   -o uncast main_uncast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o 
gcc -m486 -I../index -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c test.c
gcc -m486   -o test hash.o string.o misc.o test.o quick.o tsimpletest.o tmemlook.o cast.o uncast.o 
cp tbuild ../bin/.
cp cast ../bin/.
cp uncast ../bin/.
cd agrep ; make -f Makefile.linux CC="gcc -m486" SUBDIRCFLAGS="-c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2  " SUBDIRLINKFLAGS="" SHELL="/bin/sh" HAVE_DIRENT_H="1" HAVE_SYS_DIR_H="0" HAVE_SYS_NDIR_H="0" HAVE_NDIR_H="0" UTIME="1" STRUCTURED_QUERIES="1" ISO_CHAR_SET="0" SFS_COMPAT="0"
gcc -m486 -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c follow.c
gcc -m486 -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c asearch.c
gcc -m486 -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c asearch1.c
gcc -m486 -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -c -DSTRUCTURED_QUERIES=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0  -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=0 -DSFS_COMPAT=0 -O2   -c agrep.c
In file included from agrep.c:6:
/usr/include/sys/stat.h:55: parse error before `ino_t'
/usr/include/sys/stat.h:55: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:56: warning: data definition has no type or storage class
/usr/include/sys/stat.h:57: parse error before `st_nlink'
/usr/include/sys/stat.h:57: warning: data definition has no type or storage class
/usr/include/sys/stat.h:69: parse error before `}'
/usr/include/sys/stat.h:73: parse error before `dev_t'
/usr/include/sys/stat.h:73: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:74: warning: data definition has no type or storage class
/usr/include/sys/stat.h:75: parse error before `st_mode'
/usr/include/sys/stat.h:75: warning: data definition has no type or storage class
/usr/include/sys/stat.h:76: parse error before `st_nlink'
/usr/include/sys/stat.h:76: warning: data definition has no type or storage class
/usr/include/sys/stat.h:77: parse error before `st_uid'
/usr/include/sys/stat.h:77: conflicting types for `st_uid'
/usr/include/sys/stat.h:58: previous declaration of `st_uid'
/usr/include/sys/stat.h:77: warning: data definition has no type or storage class
/usr/include/sys/stat.h:78: parse error before `st_gid'
/usr/include/sys/stat.h:78: conflicting types for `st_gid'
/usr/include/sys/stat.h:59: previous declaration of `st_gid'
/usr/include/sys/stat.h:78: warning: data definition has no type or storage class
/usr/include/sys/stat.h:79: parse error before `st_rdev'
/usr/include/sys/stat.h:79: conflicting types for `st_rdev'
/usr/include/sys/stat.h:60: previous declaration of `st_rdev'
/usr/include/sys/stat.h:79: warning: data definition has no type or storage class
/usr/include/sys/stat.h:83: parse error before `st_size'
/usr/include/sys/stat.h:83: conflicting types for `st_size'
/usr/include/sys/stat.h:61: previous declaration of `st_size'
/usr/include/sys/stat.h:83: warning: data definition has no type or storage class
/usr/include/sys/stat.h:84: parse error before `st_blocks'
/usr/include/sys/stat.h:84: conflicting types for `st_blocks'
/usr/include/sys/stat.h:66: previous declaration of `st_blocks'
/usr/include/sys/stat.h:84: warning: data definition has no type or storage class
/usr/include/sys/stat.h:85: conflicting types for `st_blksize'
/usr/include/sys/stat.h:65: previous declaration of `st_blksize'
/usr/include/sys/stat.h:89: parse error before `st_qspare'
/usr/include/sys/stat.h:89: warning: data definition has no type or storage class
/usr/include/sys/stat.h:90: parse error before `}'
/usr/include/sys/stat.h:188: parse error before `mode_t'
/usr/include/sys/stat.h:190: parse error before `mode_t'
/usr/include/sys/stat.h:191: parse error before `mode_t'
/usr/include/sys/stat.h:193: parse error before `umask'
/usr/include/sys/stat.h:193: warning: parameter names (without types) in function declaration
/usr/include/sys/stat.h:193: warning: data definition has no type or storage class
/usr/include/sys/stat.h:195: parse error before `u_long'
/usr/include/sys/stat.h:196: parse error before `u_long'
/usr/include/sys/stat.h:197: parse error before `mode_t'
agrep.c: In function `aget_file_time':
agrep.c:130: storage size of `mystbuf' isn't known
agrep.c:131: dereferencing pointer to incomplete type
*** Error code 1

Stop.
*** Error code 1

Stop.
gcpacix:<efb>/<2>glimpse-4.0.src{5} exit
exit


 [[ Same death with or without Linux makefile .. ]]
Script done on Sat Oct 11 15:57:54 1997



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971011231052.12568.qmail>