,
glimpse FreeBSD
Date: 12 1998
From: (dio@ipe.spb.su)
1. tar -xzvf glimpse-4.1.src.tar.gz
2. cd glimpse-4.1
3. /bin/sh ./configure
4. Now you must edit the file ./libtemplate/include/autoconf.h:
find the string "#undef HAVE_STRERROR"
comment it & insert the string "#define HAVE_STRERROR"
After this manipulations, this part will be such:
_____________________________________________
/* Define if you have strerror. */
/* #undef HAVE_STRERROR */
#define HAVE_STRERROR
---------------------------------------------
5. cd back to the glimpse directory.
6. type "make"
7. type "make install"
From: Pavel A. Novikov" (pavel@inr.net.kiae.su)
Glimpse ISO_CHAR_SET=1
: strerror() strerror.c ,
FreeBSD.
From: Alicher Alikhodjaev (cher@park.ru)
:
ftp://ftp.park.ru/pub/FreeBSD/ports-current/textproc/glimpse/patches
sh configure Makefile :
DEFS = -DHAVE_DIRENT_H=1 -DHAVE_SYS_SELECT_H=1 -DSTRUCTURED_QUERIES=1 -DAGREP_POINTER=1 -DISO_CHAR_SET=1
From: Alexander Osmanov (alec@demon.nid.ru)
glimpse-4.1/libtemplate/util/strerror.c
extern char *sys_errlist[];
From: (root@intel.tc.baku.az)
0. configure Makefile
DEFS= ... -DISO_CHAR_SET=1
1. ./libtemplate/util/strerror.c
/* extern char *sys_errlist[ ]; */
-DHAVE_SYSERR,
Warning .
2. locale - ./index/glimpseindex
:
set ENABLE_STARTUP_LOCALE
setenv LANG ru_RU.KOI8-R
( LANG /etc/csh.login , activate Russian
locale )
From: gleb@ucci.org.ua
Makefile' DEFS : -DISO_CHAR_SET=1
Date: 11 1998
Glimpse FreeBSD 2.* -
-
glimpse .
, Makefile'
ISO_CHAR_SET = 1
( ISO_CHAR_SET = 0 ==> )
:
) ""
ftp://ftp.cs.arizona.edu/glimpse/glimpse-4.1.src.tar.gz
)
glimpse-4.1.src.tar.gz (390Kb)
, , glimpse
.
moshkow@ipsun.ras.ru
Linux-binary compatibility for FreeBSD
ftp://ftp.freebsd.org/pub/FreeBSD/packages-current/emulators/
Linux-glimpse.
agrep/Makefile
#!/bin/sh
cd
tar xzvf public_html/book/SOFTWARE/glimpse-4.1.src.tar.gz
cd glimpse-4.1
TMP=$$makein$$
change_line()
{
OLDSTRING=${OLDSTRING:-"ISO_CHAR_SET = 0"}
NEWSTRING=${NEWSTRING:-"ISO_CHAR_SET = 1"}
[ -r "$1" ] || exit 1
if egrep "$NEWSTRING" "$1" > /dev/null ; then :
else
sed -e "s%$OLDSTRING%$NEWSTRING%" $1 > $TMP && mv $TMP $1
fi
}
for f in `find . -type f -name Makefile.in -print` ; do echo $f
OLDSTRING="ISO_CHAR_SET = 0"
NEWSTRING="ISO_CHAR_SET = 1"
change_line $f
OLDSTRING="@CFLAGS@ -O"
NEWSTRING="@CFLAGS@ -O2 -DISO_CHAR_SET=1"
change_line $f
OLDSTRING="@LINKFLAGS@ -I"
NEWSTRING="@LINKFLAGS@ /home/moshkow/locale.o -I"
change_line $f
done
sh ./configure
Last-modified: Fri, 20 Mar 1998 07:52:30 GMT