List Info

Thread: Problem Installing YAZ on Debian Linus System




Problem Installing YAZ on Debian Linus System
user name
2006-12-13 02:36:06

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 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?)

 

In response to sudo apt-get install libyaz-dev, I get this:

Reading package lists̷0; Done

Building dependency tree

Reading state information… Done

E: Couldn’t find package libyaz-dev

 

 

I have PHP version 5.1.6 installed on this system.  I have not modified php.ini to add a YAZ extension.

 

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.dk/debian sarge main

deb-src http://ftp.indexdata.dk/debian sarge main

 

These packages are signed with a key you can install as follows:

 wget http://ftp.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.)

 

Lawrence Currie

 

Lawrence Currie

Academy Librarian

California Academy of Sciences

875 Howard St.

San Francisco, CA 94103

(415) 321-8038

fax (415) 321-8633

 

Problem Installing YAZ on Debian Linus System
user name
2006-12-13 09:12:11
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
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )