Ocenite etot tekst:


Blagodaryu vseh otkliknuvshihsya, s vashej pomoshch'yu mne udalos'
blagopoluchno skompilirovat' rusificirovannyj  glimpse na FreeBSD

 Date: 12 Marta 1998

 From: Denis Talonin (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)

YA skompilil Glimpse s klyuchem ISO_CHAR_SET=1
Ob izmeneniyah: funkciyu strerror() v fajle strerror.c ya zakomentiroval,
poskol'ku ona obyavlena vo FreeBSD.


 From: Alicher Alikhodjaev (cher@park.ru)

Patchi:
ftp://ftp.park.ru/pub/FreeBSD/ports-current/textproc/glimpse/patches
posle sh configure V Makefile propisyvaetsya:
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)

Zakomentiroval odnu strochku v fajle glimpse-4.1/libtemplate/util/strerror.c
 extern char *sys_errlist[];

 From: Timur Handzhanov (root@intel.tc.baku.az)

0. Posle configure vo vse Makefile
v konec stroki DEFS= ... dobavlen parametr -DISO_CHAR_SET=1

1. v ./libtemplate/util/strerror.c ZAKOMMENTIROVANO OPREDELENIE
/* extern char *sys_errlist[ ]; */

Mozhno eshche bylo dobavit' -DHAVE_SYSERR, no bystree okazalos'
prosto zakommentirovat' i ignorirovat' vse Warning pri sborke.

2. Ustanovlen pravil'nyj locale - pered zapuskom ./index/glimpseindex
v parametry sredy dobavleno:
set ENABLE_STARTUP_LOCALE
setenv LANG ru_RU.KOI8-R
( znachenie LANG vzyato iz fajla /etc/csh.login , sekciya activate Russian
locale )

 From: gleb@ucci.org.ua

Vo vseh Makefile'ah v DEFS dobavil: -DISO_CHAR_SET=1



 Date: 11 Marta 1998

Mne  nuzhno otkompilirovat' paket Glimpse na FreeBSD 2.* - nuzhen
patch ili tehopisanie - chto sdelat' i  chto  popravit'  v  sursah
glimpse dlya kompilyacii.

Obyazatel'no, chtob v Makefile'ah byl vzveden parametr

ISO_CHAR_SET = 1
( po umolchaniyu ISO_CHAR_SET = 0  ==> ignorirovanie russkih bukv )

Ishodniki mozhno skachat':

a) Na "rodine"
ftp://ftp.cs.arizona.edu/glimpse/glimpse-4.1.src.tar.gz
b) Iz moej biblioteki
glimpse-4.1.src.tar.gz  (390Kb)

Pomogite, kto v silah, glimpse nuzhen mne dlya organizacii poiska
po oglavleniyu biblioteki.

Maksim Moshkov
moshkow@ipsun.ras.ru



Postavit' emulyator Linux-binary compatibility for FreeBSD
 ftp://ftp.freebsd.org/pub/FreeBSD/packages-current/emulators/
a zatem gonyat' Linux-glimpse.



No potom vse ravno prishlos' lezt' v 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
Ocenite etot tekst: