[Yazlist] Yaz on CentOS

Tsakonas Giannis john at lis.upatras.gr
Sun Mar 16 15:44:40 UTC 2014


Dear Adam

thanks for the advices. It worked!

We really appreciate your help.

With kind regards

Giannis



Στις 2014-03-06 13:00, yazlist-request at lists.indexdata.dk έγραψε:
> Send Yazlist mailing list submissions to
> 	yazlist at lists.indexdata.dk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
> or, via email, send a message with subject or body 'help' to
> 	yazlist-request at lists.indexdata.dk
>
> You can reach the person managing the list at
> 	yazlist-owner at lists.indexdata.dk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Yazlist digest..."
>
>
> Today's Topics:
>
>    1. Re: Yaz on CentOS (Tsakonas Giannis)
>    2. Re: Yaz on CentOS (Adam Dickmeiss)
>    3. Re: Yaz on CentOS (Adam Dickmeiss)
>
>
> 
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 05 Mar 2014 19:46:56 +0200
> From: Tsakonas Giannis <john at lis.upatras.gr>
> To: <yazlist at lists.indexdata.dk>
> Subject: Re: [Yazlist] Yaz on CentOS
> Message-ID: <242db1a83c13ea7e0a706958be53495d at upatras.gr>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Dear Adam
>
> thank you for the enlightening response. We managed to progress, yet 
> we
> faced another one problem.
>
> We executed 'yum install php-devel' and then 'pecl install yaz'. At 
> the
> end of this command we were asked to define the yaz installation 
> path.
> Autodetect didn't work out and lead to failure.
>
> We installed gcc because it seemed that there wasn't any C compiler 
> and
> we manually moved on following the instructions found at
> 
> http://forums.eukhost.com/f29/installing-yaz-php-extension-using-pecl-failing-7775/
>
> -bash-3.2# cd /usr/local/src/
> -bash-3.2# wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.49.tar.gz
> -bash-3.2# tar xzf yaz-3.0.49.tar.gz
> -bash-3.2# cd yaz-3.0.49
> -bash-3.2# ./configure
> ....
> -bash-3.2# make
> ....
> -bash-3.2# make install
> ....
> -bash-3.2# cd ztest/
> -bash-3.2# ./yaz-ztest&
>
> We restarted apache (service httpd restart) and tested our query 
> forms.
> Still nothing.
>
> Now we have the folder 'yaz-3.0.49' in '/usr/local/src'. The folder
> 'yaz-3.0.49' has the files 'yaz-config' and 'config.log' that 
> according
> to the error messages we received were essential (previously
> unavailable). It seems that the inability to find out the yaz
> installation path is critical to proceed and add the extensions.
>
> With kind regards
>
> G
>
> Not enough.
>
> yum install yaz
> installs yaz-client .. YAZ utilities
> yum install libyaz-devel
> installs YAZ development libraries for C
> yum install php-pear
> installs pear
>
> Now you also need to actually install PHP/YAZ. Perhaps you also need:
> yum install php-devel
>
> And, finally, compile PHP/YAZ itself:
> pecl install yaz
>
> You can now add extension=yaz.so to php.ini
>
> YAZ is now available to php cli and, perhaps, other PHP interfaces..
>
> / Adam
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 06 Mar 2014 11:00:21 +0100
> From: Adam Dickmeiss <adam at indexdata.dk>
> To: yazlist at lists.indexdata.dk
> Subject: Re: [Yazlist] Yaz on CentOS
> Message-ID: <53184735.5060601 at indexdata.dk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 03/05/2014 06:46 PM, Tsakonas Giannis wrote:
>> Dear Adam
>>
>> thank you for the enlightening response. We managed to progress, yet
>> we faced another one problem.
>>
>> We executed 'yum install php-devel' and then 'pecl install yaz'. At
>> the end of this command we were asked to define the yaz installation
>> path. Autodetect didn't work out and lead to failure.
>>
>> We installed gcc because it seemed that there wasn't any C compiler
>> and we manually moved on following the instructions found at
>> 
>> http://forums.eukhost.com/f29/installing-yaz-php-extension-using-pecl-failing-7775/
>
> By default 'configure' followed by 'make install' will install 
> virtually
> all software in /usr/local prefix.
>
> Specifically for YAZ, that's programs such as yaz-config, yaz-client,
> yaz-ztest in
>    /usr/local/bin
>
> If you enjoy building YAZ by hand and want to install it in 
> /usr/local,
> you should probably consider getting /usr/local/bin in your PATH. 
> That
> would make
>    pecl install yaz
> work - out of the box.
>
> If you, on the other hand, would just like to install YAZ in the
> "system" directories /usr/bin, consider just getting YAZ as package.
> Then you don't need to tweak PATH  or any other path for that matter.
>
> You still need to do
>    pecl install yaz
>
> to compile and install *PHPYAZ*.
>
> / Adam
>>
>> -bash-3.2# cd /usr/local/src/
>> -bash-3.2# wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.49.tar.gz
>> -bash-3.2# tar xzf yaz-3.0.49.tar.gz
>> -bash-3.2# cd yaz-3.0.49
>> -bash-3.2# ./configure
>> ....
>> -bash-3.2# make
>> ....
>> -bash-3.2# make install
>> ....
>> -bash-3.2# cd ztest/
>> -bash-3.2# ./yaz-ztest&
>>
>> We restarted apache (service httpd restart) and tested our query
>> forms. Still nothing.
>>
>> Now we have the folder 'yaz-3.0.49' in '/usr/local/src'. The folder
>> 'yaz-3.0.49' has the files 'yaz-config' and 'config.log' that
>> according to the error messages we received were essential 
>> (previously
>> unavailable). It seems that the inability to find out the yaz
>> installation path is critical to proceed and add the extensions.
>>
>> With kind regards
>>
>> G
>>
>> Not enough.
>>
>> yum install yaz
>> installs yaz-client .. YAZ utilities
>> yum install libyaz-devel
>> installs YAZ development libraries for C
>> yum install php-pear
>> installs pear
>>
>> Now you also need to actually install PHP/YAZ. Perhaps you also 
>> need:
>> yum install php-devel
>>
>> And, finally, compile PHP/YAZ itself:
>> pecl install yaz
>>
>> You can now add extension=yaz.so to php.ini
>>
>> YAZ is now available to php cli and, perhaps, other PHP interfaces..
>>
>> / Adam
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlist at lists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 06 Mar 2014 11:05:26 +0100
> From: Adam Dickmeiss <adam at indexdata.dk>
> To: yazlist at lists.indexdata.dk
> Subject: Re: [Yazlist] Yaz on CentOS
> Message-ID: <53184866.2030805 at indexdata.dk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 03/06/2014 11:00 AM, Adam Dickmeiss wrote:
>> On 03/05/2014 06:46 PM, Tsakonas Giannis wrote:
>>> Dear Adam
>>>
>>> thank you for the enlightening response. We managed to progress, 
>>> yet
>>> we faced another one problem.
>>>
>>> We executed 'yum install php-devel' and then 'pecl install yaz'. At
>>> the end of this command we were asked to define the yaz 
>>> installation
>>> path. Autodetect didn't work out and lead to failure.
>>>
>>> We installed gcc because it seemed that there wasn't any C compiler
>>> and we manually moved on following the instructions found at
>>> 
>>> http://forums.eukhost.com/f29/installing-yaz-php-extension-using-pecl-failing-7775/
>>
>> By default 'configure' followed by 'make install' will install
>> virtually all software in /usr/local prefix.
>>
>> Specifically for YAZ, that's programs such as yaz-config, 
>> yaz-client,
>> yaz-ztest in
>>   /usr/local/bin
>>
>> If you enjoy building YAZ by hand and want to install it in
>> /usr/local, you should probably consider getting /usr/local/bin in
>> your PATH. That would make
>>   pecl install yaz
>> work - out of the box.
>>
>> If you, on the other hand, would just like to install YAZ in the
>> "system" directories /usr/bin, consider just getting YAZ as package.
>> Then you don't need to tweak PATH  or any other path for that 
>> matter.
>>
>> You still need to do
>>   pecl install yaz
>>
>> to compile and install *PHPYAZ*.
> For the package- route - this is what it takes:
>
>   sudo yum install libyaz-devel yaz
>   sudo pecl install yaz
>
> And then get rid of YAZ in /usr/local .. Having two versions on the 
> same
> system is just asking for trouble.
>
> / Adam
>>
>> / Adam
>>>
>>> -bash-3.2# cd /usr/local/src/
>>> -bash-3.2# wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.49.tar.gz
>>> -bash-3.2# tar xzf yaz-3.0.49.tar.gz
>>> -bash-3.2# cd yaz-3.0.49
>>> -bash-3.2# ./configure
>>> ....
>>> -bash-3.2# make
>>> ....
>>> -bash-3.2# make install
>>> ....
>>> -bash-3.2# cd ztest/
>>> -bash-3.2# ./yaz-ztest&
>>>
>>> We restarted apache (service httpd restart) and tested our query
>>> forms. Still nothing.
>>>
>>> Now we have the folder 'yaz-3.0.49' in '/usr/local/src'. The folder
>>> 'yaz-3.0.49' has the files 'yaz-config' and 'config.log' that
>>> according to the error messages we received were essential
>>> (previously unavailable). It seems that the inability to find out 
>>> the
>>> yaz installation path is critical to proceed and add the 
>>> extensions.
>>>
>>> With kind regards
>>>
>>> G
>>>
>>> Not enough.
>>>
>>> yum install yaz
>>> installs yaz-client .. YAZ utilities
>>> yum install libyaz-devel
>>> installs YAZ development libraries for C
>>> yum install php-pear
>>> installs pear
>>>
>>> Now you also need to actually install PHP/YAZ. Perhaps you also 
>>> need:
>>> yum install php-devel
>>>
>>> And, finally, compile PHP/YAZ itself:
>>> pecl install yaz
>>>
>>> You can now add extension=yaz.so to php.ini
>>>
>>> YAZ is now available to php cli and, perhaps, other PHP 
>>> interfaces..
>>>
>>> / Adam
>>>
>>> _______________________________________________
>>> Yazlist mailing list
>>> Yazlist at lists.indexdata.dk
>>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>>>
>>
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlist at lists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>>
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>
>
> ------------------------------
>
> End of Yazlist Digest, Vol 129, Issue 5
> ***************************************



More information about the Yazlist mailing list