[CODE4LIB] ruby zoom and Yaz

2013-06-26 Thread Harper, Cynthia
Hi all -
I'm trying to bring up a test instance of libraryfind on Amazon EC2.  I
have installed Yaz 4.2.61, and I included the --enable-shared in my
./configure statement.  I'm using Ruby 1.8.7. When I try to sudo gem
install zoom I get the message that 'yaz is apparently not installed' -
and I see that '/usr/local/bin/yaz-config' is returning false.  I'm a
newbie to ruby, and don't know where to go from here.

Anyone have any suggestions?

Cindy Harper


Re: [CODE4LIB] ruby zoom and Yaz

2013-06-26 Thread Cary Gordon
Why are you installing YAZ from source rather from a package?

What does '/usr/local/bin/yaz-config' is returning false mean?


Re: [CODE4LIB] ruby zoom and Yaz

2013-06-26 Thread Harper, Cynthia
The instructions for the Zoom gem say that Yaz must be installed with 
enable-shared, and that the package defaults to static, so I concluded I had to 
install from source.  
And when I try to install the zoom gem from a package, I can't find it. Maybe I 
need to look a little harder?

From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Cary Gordon 
[listu...@chillco.com]
Sent: Wednesday, June 26, 2013 2:34 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

Why are you installing YAZ from source rather from a package?

What does '/usr/local/bin/yaz-config' is returning false mean?


Re: [CODE4LIB] ruby zoom and Yaz

2013-06-26 Thread Terrell, Trey
It was my experience that was the case. Did you run make and sudo make install 
on the Yaz source after configuring it?

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Harper, 
Cynthia
Sent: Wednesday, June 26, 2013 1:18 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

The instructions for the Zoom gem say that Yaz must be installed with 
enable-shared, and that the package defaults to static, so I concluded I had to 
install from source.  
And when I try to install the zoom gem from a package, I can't find it. Maybe I 
need to look a little harder?

From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Cary Gordon 
[listu...@chillco.com]
Sent: Wednesday, June 26, 2013 2:34 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

Why are you installing YAZ from source rather from a package?

What does '/usr/local/bin/yaz-config' is returning false mean?


Re: [CODE4LIB] ruby zoom and Yaz

2013-06-26 Thread Harper, Cynthia
yes, I ran sudo make install - I could combine the two into one step, right?  
I'll check for erros again, but yaz-client runs fine on the machine. and 
yaz-config returns return-code 0, which I interpret as OK. But the zoom ruby 
code seems to interpret the yaz-config return-code of 0=false as meaning yaz IS 
NOT installed.

From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Terrell, Trey 
[trey.terr...@oregonstate.edu]
Sent: Wednesday, June 26, 2013 7:06 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

It was my experience that was the case. Did you run make and sudo make install 
on the Yaz source after configuring it?

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf O t
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

The instructions for the Zoom gem say that Yaz must be installed with 
enable-shared, and that the package defaults to static, so I concluded I had to 
install from source.
And when I try to install the zoom gem from a package, I can't find it. Maybe I 
need to look a little harder?

From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Cary Gordon 
[listu...@chillco.com]
Sent: Wednesday, June 26, 2013 2:34 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] ruby zoom and Yaz

Why are you installing YAZ from source rather from a package?

What does '/usr/local/bin/yaz-config' is returning false mean?