List Info

Thread: Install Yaz in a gentoo Linux




Install Yaz in a gentoo Linux
user name
2006-11-10 15:35:19
 
I am trying to install the Yaz extension but I do not arrive there.
 
I installed both well :
 
*  dev-libs/yaz
      Latest version available: 2.1.8-r1
    ;  Latest version installed: 2.1.8-r1
    ;  Size of downloaded files: 4,956 kB
     ; Homepage:    http://www.indexdata.dk/yaz
      Description: C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers
      License:     YAZ
 
*  dev-php5/pecl-yaz
      Latest version available: 1.0.4
      Latest version installed: 1.0.4
      Size of downloaded files: 15 kB
     ; Homepage:    http://pecl.php.net/yaz
     ; Description: This extension implements a Z39.50 client for PHP using the YAZ toolkit.
    ;  License:     PHP
But when I makes a phpinfo () the extension is not posted.
 
I also added in the php.ini the line: extension=yaz.so
 
Can you help me?
 


Avec Windows Live Spaces, publiez directement des messages électroniques sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. C'est gratuit !
Install Yaz in a gentoo Linux
user name
2006-11-10 17:54:49
Hi,

On Fri, 10 Nov 2006 16:35:19 +0100
Alexandre Gomes <clique_icihotmail.com> wrote:

> I am trying to install the Yaz extension but I do not
arrive there.

I have currently setup everything in Gentoo. Note that the
ebuilds are
a bit outdated. In order to install current versions, just
create a
Portage (Gentoo's package management) Overlay.

e.g.:
$ mkdir -p /usr/local/portage/dev-libs/yaz
$ echo 'PORTDIR_OVERLAY="/usr/local/portage"'
>> /etc/make.conf

Then copy the old ebuild and rename it so its name resembles
the
current version and create a digest:

$ cp /usr/portage/dev-libs/yaz/yaz-2.1.8-r1.ebuild
/usr/local/portage/dev-libs/yaz/yaz-2.1.38.ebuild
$ ebuild /usr/local/portage/dev-libs/yaz/yaz-2.1.38.ebuild
digest

Do the same for the pecl-yaz ebuild (I think 1.0.7 is the
current
version). Renaming is sufficient. Maybe I should invest some
time and
request a version bump in Gentoo's Bugzilla.

> I installed both well :
>  
> *  dev-libs/yaz      Latest version available: 2.1.8-r1
     Latest version installed: 2.1.8-r1      Size of
downloaded files: 4,956 kB      Homepage:    http://www.indexdata.dk/y
az      Description: C/C++ programmer's toolkit
supporting the development of Z39.50v3 clients and servers  
   License:     YAZ
>  
> *  dev-php5/pecl-yaz      Latest version available:
1.0.4      Latest version installed: 1.0.4      Size of
downloaded files: 15 kB      Homepage:    http://pecl.php.net/yaz  
   Description: This extension implements a Z39.50 client
for PHP using the YAZ toolkit.      License:     PHP
> 
> But when I makes a phpinfo () the extension is not
posted.
>  
> I also added in the php.ini the line: extension=yaz.so

To _what_ php.ini: Gentoo creates one for each SAPI, i.e.
apache(2),
cli, cgi... Check the phpinfo() output, it mentiones the
right php.ini.

You can also load the extension at request (I prefer that,
since most
of my pages do not use yaz anyway) by using PHP's dl()
function. I.e.
insert something like this in your code:

<?php
if(!extension_loaded('yaz') && !dl('yaz.so'))
trigger_error('Arrrr. Cannot load yaz.so. Arrrr.');
?>


-hwh

BTW: I can provide an ebuild for Zebra, if anyone's
interested.

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Install Yaz in a gentoo Linux
user name
2006-11-10 21:30:34
Open your php.ini  located into
/etc/php/apache2-php5/php.ini or
similar path.  Add the extension entry extension=msql.so

Regards,

Luis Morales

On 11/10/06, Alexandre Gomes <clique_icihotmail.com> wrote:
>
> Hello !
>
>
> I am trying to install the Yaz extension but I do not
arrive there.
>
> I installed both well :
>
> *  dev-libs/yaz
>       Latest version available: 2.1.8-r1
>       Latest version installed: 2.1.8-r1
>       Size of downloaded files: 4,956 kB
>       Homepage:    http://www.indexdata.dk/y
az
>       Description: C/C++ programmer's toolkit
supporting the development of
> Z39.50v3 clients and servers
>       License:     YAZ
>
> *  dev-php5/pecl-yaz
>       Latest version available: 1.0.4
>       Latest version installed: 1.0.4
>       Size of downloaded files: 15 kB
>       Homepage:    http://pecl.php.net/yaz
>       Description: This extension implements a Z39.50
client for PHP using
> the YAZ toolkit.
>       License:     PHP
>
>
> But when I makes a phpinfo () the extension is not
posted.
>
> I also added in the php.ini the line: extension=yaz.so
>
> Can you help me?
>
> ________________________________
> Avec Windows Live Spaces, publiez directement des
messages électroniques sur
> votre blog ou ajoutez-y des photos, des blagues et
d'autres infos. C'est
> gratuit !
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>
>
>


-- 
------------------------------------------------------------
---------------------
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
------------------------------------------------------------
---------------------
"Empieza por hacer lo necesario, luego lo que es
posible... y de
pronto estarás haciendo lo imposible"

Leonardo Da'Vinci
------------------------------------------------------------
---------------------

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-3]

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