Currie, Larry wrote:
> I am trying to use the following instructions for
installing YAZ on a
> Debian Linux system:
>
>
>
> For PHP 5, the YAZ extension is in PECL <http://pecl.php.net>
and is
> installed as a shared object/dll. If you have pear
installed the easiest
> way to download, configure and install the YAZ
extension is by using the
> *pear* command.
>
> *Example 2. Installation of PECL YAZ on GNU/Debian
Linux*
>
> On a Debian GNU/Linux system the following installs YAZ
and PECL YAZ:
>
> sudo apt-get install libyaz-dev
>
> sudo pear install yaz
>
>
>
> I already have the YAZ client installed in my
usr/local/bin directory.
> (I believe it is version 2.2.28. Is there a way to
check this?)
>
The current version is
2.1.40-1
check with:
apt-cache policy yaz
>
> I have also just added the following two lines in
/etc/apt/sources.list
> and successfully ran the commands beginning wget and
sudo:
>
> deb http://ftp.indexdata.d
k/debian sarge main
>
> deb-src http://ftp.indexdata.d
k/debian sarge main
>
>
>
> These packages are signed with a key you can install as
follows:
>
> wget http://f
tp.indexdata.dk/debian/indexdata.asc
>
> sudo apt-key add indexdata.asc
>
>
>
> What steps should I take next? (At this point, package
libyaz-dev still
> could not be found.)
>
To get Index Data's Debian repository in your
/etc/apt/sources list
see http:
//ftp.indexdata.dk/pub/zebra/debian/README
and do a
sudo apt-get update (did you forget this
one??)
apt-cache policy libyaz-dev (should show libyaz-dev)
sudo apt-get install libyaz-dev yaz
The key stuff is just to convince apt-get that the package
is trusted,
but you can live without.
Marc Cromme, Index Data
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|