List Info

Thread: Successful install in Ubuntu 6.06 (LTS/Dapper)?




Successful install in Ubuntu 6.06 (LTS/Dapper)?
user name
2006-06-30 02:44:32
Hello,

I've searched the archives and know I have a common
problem, but haven't
seen an answer that works for me.

The problem is that I can't install phpyaz, though I have a
working
yaz-client.

I am using php5, apache2, and mysql5.

I began with the debian (sarge) packages, but these don't
work with
ubuntu 6.06 because of some library problems:


> sudo apt-get install yaz
> Password:
> Reading package lists... Done
> Building dependency tree... Done
> Some packages could not be installed. This may mean
that you have
> requested an impossible situation or if you are using
the unstable
> distribution that some required packages have not yet
been created
> or been moved out of Incoming.
> 
> Since you only requested a single operation it is
extremely likely that
> the package is simply not installable and a bug report
against
> that package should be filed.
> The following information may help resolve the
situation:
> 
> The following packages have unmet dependencies:
>   yaz: Depends: libssl0.9.7 but it is not installable
>        Depends: libyaz (>= 2.1.19) but it is not
going to be installed
> E: Broken packages

(I also tried installing libyaz first: the problem is that
dependent
libraries in Ubuntu have different names that clearly are
not
recognised).

I also tried installing from pear, and succeeded... except
that it
doesn't work:


>  pear install yaz
> No releases available for package
"pear.php.net/yaz" - package pecl/yaz can be
installed with "pecl install yaz"
> Cannot initialize 'yaz', invalid or missing package
file
> Package "yaz" is not valid
> install failed
> dancaedmon:~$ pecl install yaz
> Skipping package "pear/yaz", already
installed as version 1.0.7
> No valid packages found
> install failed

I followed the thread beginning here:
http://lists.indexdata.dk/pipermail/yazli
st/2003-September/000703.html.
But to no avail. This is also quite old.

A check with <? php-info ?> shows yaz is not installed
as a php module.

Does anybody have any suggestions or models?

-d
-- 
Daniel Paul O'Donnell, PhD
Associate Professor and Chair
Director, Digital Medievalist Project
<http://www.dig
italmedievalist.org/>
Department of English
University of Lethbridge
Lethbridge AB T1K 3M4

Tel. +1 (403) 329-2378
Fax. +1 (403) 382-7191

:wiglaf (dapper ubuntu)


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Successful install in Ubuntu 6.06 (LTS/Dapper)?
user name
2006-06-30 07:11:16
On Thu, Jun 29, 2006 at 08:44:32PM -0600, Daniel O'Donnell
wrote:
> Hello,
> 
> I've searched the archives and know I have a common
problem, but haven't
> seen an answer that works for me.
> 
> The problem is that I can't install phpyaz, though I
have a working
> yaz-client.
> 
> I am using php5, apache2, and mysql5.
> 
> I began with the debian (sarge) packages, but these
don't work with
> ubuntu 6.06 because of some library problems:
> 
> 
> > sudo apt-get install yaz
> > Password:
> > Reading package lists... Done
> > Building dependency tree... Done
> > Some packages could not be installed. This may
mean that you have
> > requested an impossible situation or if you are
using the unstable
> > distribution that some required packages have not
yet been created
> > or been moved out of Incoming.
> > 
> > Since you only requested a single operation it is
extremely likely that
> > the package is simply not installable and a bug
report against
> > that package should be filed.
> > The following information may help resolve the
situation:
> > 
> > The following packages have unmet dependencies:
> >   yaz: Depends: libssl0.9.7 but it is not
installable
> >        Depends: libyaz (>= 2.1.19) but it is
not going to be installed
> > E: Broken packages
> 
> (I also tried installing libyaz first: the problem is
that dependent
> libraries in Ubuntu have different names that clearly
are not
> recognised).
> 
> I also tried installing from pear, and succeeded...
except that it
> doesn't work:
> 
> 
> >  pear install yaz
> > No releases available for package
"pear.php.net/yaz" - package pecl/yaz can be
installed with "pecl install yaz"
> > Cannot initialize 'yaz', invalid or missing
package file
> > Package "yaz" is not valid
> > install failed
> > dancaedmon:~$ pecl install yaz
> > Skipping package "pear/yaz", already
installed as version 1.0.7
> > No valid packages found
> > install failed
> 
> I followed the thread beginning here:
> http://lists.indexdata.dk/pipermail/yazli
st/2003-September/000703.html.
> But to no avail. This is also quite old.
> 
> A check with <? php-info ?> shows yaz is not
installed as a php module.
> 
> Does anybody have any suggestions or models?

Perhaps the binary .deb packages you get after running

 apt-get --build source yaz

work better for you, as long as indexdata hasn't published
packages
specifically for Ubuntu Dapper.  You need an indexdata etch
deb-src line
in your sources.list for this.

I expect some packages for Dapper to become available from
the indexdata
apt-able archive soonish, so perhaps just waiting a little
longer is
better.

Bye,

Joost

-- 
Joost van Baal                            http://abramowitz.uvt.nl/
                                                 Tilburg
University
j.e.vanbaaluvt.nl                                  The
Netherlands
_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Successful install in Ubuntu 6.06 (LTS/Dapper)?
user name
2006-06-30 07:40:37
Joost van Baal wrote:
> On Thu, Jun 29, 2006 at 08:44:32PM -0600, Daniel
O'Donnell wrote:
>> Hello,
>>
>> I've searched the archives and know I have a
common problem, but haven't
>> seen an answer that works for me.
>>
>> The problem is that I can't install phpyaz, though
I have a working
>> yaz-client.
>>
>> I am using php5, apache2, and mysql5.
>>
>> I began with the debian (sarge) packages, but these
don't work with
>> ubuntu 6.06 because of some library problems:
>>
>>
>>> sudo apt-get install yaz
>>> Password:
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> Some packages could not be installed. This may
mean that you have
>>> requested an impossible situation or if you are
using the unstable
>>> distribution that some required packages have
not yet been created
>>> or been moved out of Incoming.
>>>
>>> Since you only requested a single operation it
is extremely likely that
>>> the package is simply not installable and a bug
report against
>>> that package should be filed.
>>> The following information may help resolve the
situation:
>>>
>>> The following packages have unmet dependencies:
>>>   yaz: Depends: libssl0.9.7 but it is not
installable
>>>        Depends: libyaz (>= 2.1.19) but it is
not going to be installed
>>> E: Broken packages
>> (I also tried installing libyaz first: the problem
is that dependent
>> libraries in Ubuntu have different names that
clearly are not
>> recognised).
>>
>> I also tried installing from pear, and succeeded...
except that it
>> doesn't work:
>>
>>
>>>  pear install yaz
>>> No releases available for package
"pear.php.net/yaz" - package pecl/yaz can be
installed with "pecl install yaz"
>>> Cannot initialize 'yaz', invalid or missing
package file
>>> Package "yaz" is not valid
>>> install failed
>>> dancaedmon:~$ pecl install yaz
>>> Skipping package "pear/yaz",
already installed as version 1.0.7
>>> No valid packages found
>>> install failed
>> I followed the thread beginning here:
>> http://lists.indexdata.dk/pipermail/yazli
st/2003-September/000703.html.
>> But to no avail. This is also quite old.
>>
>> A check with <? php-info ?> shows yaz is not
installed as a php module.
>>
>> Does anybody have any suggestions or models?
> 
> Perhaps the binary .deb packages you get after running
> 
>  apt-get --build source yaz
> 
> work better for you, as long as indexdata hasn't
published packages
> specifically for Ubuntu Dapper. 

We have currently no intention to package our software for
Ubuntu, as 
packaging and testing distributions is a major time and
resource 
consuming task.

If the above suggestion:

    apt-get --build source yaz

does not work for you, its's almost certainly because
package 
dependencies and names are different on Ubuntu and plain
Debian.

You might want to run

   apt-get source yaz

only, step inside the yaz-*.*.*/debian dir and inspect the
'control' file, which states dependencies. There you can
change 
dependencies to the Ubuntu names, step back  in the yaz root
dir, and run

dpkg-buildpackage -rfakeroot

to build Ubuntu packages with right dependencies. Some
background 
reading on the Debian developer site (or Ubuntu site) to
understand
packaging issues might be very appropriate.


Good luck!

And please, remember to post your findings here.


Marc Cromme, Index Data


> You need an indexdata etch deb-src line
> in your sources.list for this.
> 
> I expect some packages for Dapper to become available
from the indexdata
> apt-able archive soonish, so perhaps just waiting a
little longer is
> better.
> 
> Bye,
> 
> Joost
> 
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


-- 

Marc Cromme, cand. polyt, Ph.D
Senior Developer, Project Manager

Index Data Aps
Købmagergade 43, 2
1150 Copenhagen K.
Denmark

tel: +45 3341 0100
fax: +45 3341 0101

http://www.indexdata.com

INDEX DATA Means Business
for Open Source and Open Standards





_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Successful install in Ubuntu 6.06 (LTS/Dapper)?
user name
2006-07-01 23:21:51
An update:

I went through the suggestions made:

1) tried the following to no avail
> If the above suggestion:
> 
>     apt-get --build source yaz
> 
> does not work for you, its's almost certainly because
package 
> dependencies and names are different on Ubuntu and
plain Debian.
> 
> You might want to run
> 
>    apt-get source yaz
> 
> only, step inside the yaz-*.*.*/debian dir and inspect
the
> 'control' file, which states dependencies. 

The problem turned out to be that Ubuntu ships with an
earlier version
of libssl. I installed the debian stable version
(libssl0.9.7 to replace
Ubuntu's libssl0.9.76):
 wget
http:/
/security.debian.org/debian-security/pool/updates/main/o/ope
nssl/libssl0.9.7_0.9.7e-3sarge1_i386.deb
 sudo dpkg -i lib

Then
 sudo apt-get install yaz
 sudo apt-get install libyaz
 sudo apt-get install yaz
 sudo apt-get install libyaz-dev
 sudo pecl uninstall yaz
 sudo pecl install yaz

In the installation, I get the following warning:

>
------------------------------------------------------------
----------
> Libraries have been installed in:
> /var/tmp/pear-build-root/yaz-1.0.7/modules
> 
> If you ever happen to want to link against installed
libraries
> in a given directory, LIBDIR, you must either use
libtool, and
> specify the full pathname of the library, or use the
`-LLIBDIR'
> flag during linking and do at least one of the
following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment
variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to
`/etc/ld.so.conf'
> 
> See any operating system documentation about shared
libraries for
> more information, such as the ld(1) and ld.so(8) manual
pages.
>
------------------------------------------------------------
----------
> 
A check of /var/tmp/pear-build-root, however, shows that it
stops there
(i.e. no /var/tmp/pear-build-root/yaz-1.0.7/ has been
installed.

Any suggestions?

-d

> There you can change 
> dependencies to the Ubuntu names, step back  in the yaz
root dir, and run
> 
> dpkg-buildpackage -rfakeroot
> 
> to build Ubuntu packages with right dependencies. Some
background 
> reading on the Debian developer site (or Ubuntu site)
to understand
> packaging issues might be very appropriate.
> 
> 
> Good luck!
> 
> And please, remember to post your findings here.
> 
> 
> Marc Cromme, Index Data
> 
> 
> > You need an indexdata etch deb-src line
> > in your sources.list for this.
> > 
> > I expect some packages for Dapper to become
available from the indexdata
> > apt-able archive soonish, so perhaps just waiting
a little longer is
> > better.
> > 
> > Bye,
> > 
> > Joost
> > 
> > 
> > 
> >
------------------------------------------------------------
------------
> > 
> > _______________________________________________
> > Yazlist mailing list
> > Yazlistlists.indexdata.dk
> > http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> 
-- 
Daniel Paul O'Donnell, PhD
Associate Professor and Chair
Director, Digital Medievalist Project
<http://www.dig
italmedievalist.org/>
Department of English
University of Lethbridge
Lethbridge AB T1K 3M4

Tel. +1 (403) 329-2378
Fax. +1 (403) 382-7191

:wiglaf (dapper ubuntu)


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Successful install in Ubuntu 6.06 (LTS/Dapper)?
user name
2006-07-02 03:03:11
A further update:

I managed to get it running. It turns out you need to add
extension=yaz.so (not php_yaz.so as mentioned in http://ca3.php.net/yaz)
to /etc/apache2/ph.ini


On Sat, 2006-01-07 at 17:21 -0600, Daniel O'Donnell wrote:
> An update:
> 
> I went through the suggestions made:
> 
> 1) tried the following to no avail
> > If the above suggestion:
> > 
> >     apt-get --build source yaz
> > 
> > does not work for you, its's almost certainly
because package 
> > dependencies and names are different on Ubuntu and
plain Debian.
> > 
> > You might want to run
> > 
> >    apt-get source yaz
> > 
> > only, step inside the yaz-*.*.*/debian dir and
inspect the
> > 'control' file, which states dependencies. 
> 
> The problem turned out to be that Ubuntu ships with an
earlier version
> of libssl. I installed the debian stable version
(libssl0.9.7 to replace
> Ubuntu's libssl0.9.76):
>  wget
> http:/
/security.debian.org/debian-security/pool/updates/main/o/ope
nssl/libssl0.9.7_0.9.7e-3sarge1_i386.deb
>  sudo dpkg -i lib
> 
> Then
>  sudo apt-get install yaz
>  sudo apt-get install libyaz
>  sudo apt-get install yaz
>  sudo apt-get install libyaz-dev
>  sudo pecl uninstall yaz
>  sudo pecl install yaz
> 
> In the installation, I get the following warning:
> 
> >
------------------------------------------------------------
----------
> > Libraries have been installed in:
> > /var/tmp/pear-build-root/yaz-1.0.7/modules
> > 
> > If you ever happen to want to link against
installed libraries
> > in a given directory, LIBDIR, you must either use
libtool, and
> > specify the full pathname of the library, or use
the `-LLIBDIR'
> > flag during linking and do at least one of the
following:
> > - add LIBDIR to the `LD_LIBRARY_PATH' environment
variable
> > during execution
> > - add LIBDIR to the `LD_RUN_PATH' environment
variable
> > during linking
> > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> > - have your system administrator add LIBDIR to
`/etc/ld.so.conf'
> > 
> > See any operating system documentation about
shared libraries for
> > more information, such as the ld(1) and ld.so(8)
manual pages.
> >
------------------------------------------------------------
----------
> > 
> A check of /var/tmp/pear-build-root, however, shows
that it stops there
> (i.e. no /var/tmp/pear-build-root/yaz-1.0.7/ has been
installed.
> 
> Any suggestions?
> 
> -d
> 
> > There you can change 
> > dependencies to the Ubuntu names, step back  in
the yaz root dir, and run
> > 
> > dpkg-buildpackage -rfakeroot
> > 
> > to build Ubuntu packages with right dependencies.
Some background 
> > reading on the Debian developer site (or Ubuntu
site) to understand
> > packaging issues might be very appropriate.
> > 
> > 
> > Good luck!
> > 
> > And please, remember to post your findings here.
> > 
> > 
> > Marc Cromme, Index Data
> > 
> > 
> > > You need an indexdata etch deb-src line
> > > in your sources.list for this.
> > > 
> > > I expect some packages for Dapper to become
available from the indexdata
> > > apt-able archive soonish, so perhaps just
waiting a little longer is
> > > better.
> > > 
> > > Bye,
> > > 
> > > Joost
> > > 
> > > 
> > > 
> > >
------------------------------------------------------------
------------
> > > 
> > >
_______________________________________________
> > > Yazlist mailing list
> > > Yazlistlists.indexdata.dk
> > > http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> > 
> > 
-- 
Daniel Paul O'Donnell, PhD
Associate Professor and Chair
Director, Digital Medievalist Project
<http://www.dig
italmedievalist.org/>
Department of English
University of Lethbridge
Lethbridge AB T1K 3M4

Tel. +1 (403) 329-2378
Fax. +1 (403) 382-7191

:wiglaf (dapper ubuntu)


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

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