Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2007
Installing Skype debian package on manually compiled Qt 4.3.2


Message 1 in thread

I have manually compiled qt-x11-opensource-src-4.3.2 on debian etch.

The problem is, I don't know how to configure Skype debian package to detect
the presence of Qt libraries.
Because this Skype package keep on looking into the existence of Debian
packaged Qt library (version 4.2.1).

Is there any way to do this ?

Message 2 in thread

On Monday 05 November 2007 10:53:51 Jesse Armand wrote:
> The problem is, I don't know how to configure Skype debian package to
> detect the presence of Qt libraries.
> Because this Skype package keep on looking into the existence of Debian
> packaged Qt library (version 4.2.1).

IIRC Skype links to 4.x (f.e. libQtCore.so.4), so as long as you have your 
manually compiled Qt libs in your LD path you should be ok. If unsure, 
check 'ldd /usr/bin/skype'. One caveat is that Skype is a 32bit app, so if 
you're on x86_64, you must get a proper 32bit libQt*.4 in /usr/lib32 so it 
would function properly.

--
 [ signature omitted ] 

Message 3 in thread

I have downloaded the skype_static-1.4.0.118-oss.tar.bz2.

It's running well, but I don't see any indication that it used Qt4 lib by
using "ldd /usr/bin/skype"

Anyway, that's not what I asked previously. The problem is the .deb package
refuse to install because it depends on libqt4-xxxx package.
I would like to use  Skype debian package, because maybe the package is
suited for debian installation.

So is there any way for the Skype debian package to detect Qt libraries
location or the existence of it ?
in order to be installed.

On 11/5/07, Attila Csipa <plists@xxxxxxxxxxxxxxxxx> wrote:
>
>
> IIRC Skype links to 4.x (f.e. libQtCore.so.4), so as long as you have your
> manually compiled Qt libs in your LD path you should be ok. If unsure,
> check 'ldd /usr/bin/skype'. One caveat is that Skype is a 32bit app, so if
> you're on x86_64, you must get a proper 32bit libQt*.4 in /usr/lib32 so it
> would function properly.
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Message 4 in thread

El Lunes 05 Noviembre 2007, Jesse Armand escribiÃ:
> I have downloaded the skype_static-1.4.0.118-oss.tar.bz2.
>
> It's running well, but I don't see any indication that it used Qt4 lib by
> using "ldd /usr/bin/skype"
>
> Anyway, that's not what I asked previously. The problem is the .deb package
> refuse to install because it depends on libqt4-xxxx package.
> I would like to use  Skype debian package, because maybe the package is
> suited for debian installation.
>
> So is there any way for the Skype debian package to detect Qt libraries
> location or the existence of it ?
> in order to be installed.

I'm just guessing, but I think that what you ask is impossible. Skype is 
propietary software, so I guess they will compile the Qt libs statically.

If I am wrong, please, do not heasitate to correct me :-)

Regards, Lisandro.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 5 in thread

Hi,

> I'm just guessing, but I think that what you ask is impossible. Skype is 
> propietary software, so I guess they will compile the Qt libs statically.

Skype may be using static Qt libraries, but it doesn't *have* to.

There are 3 non-packaged versions of Skype available on the Web site:
	Dynamic:      skype-1.4.0.118.tar.bz2
	Static:       skype_static-1.4.0.118.tar.bz2
	Static OSS:   skype_static-1.4.0.118-oss.tar.bz2

As expected, the Dynamic version links to the system shared Qt 4 libraries, 
while the Static version has been linked to static Qt libraries:
	$ ldd skype-1.4.0.118/skype | grep libQt
		libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x00111000)
		libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x0439e000)
		libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x0046b000)
		libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x0025a000)
		libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x0040d000)
	$
	$ ldd skype_static-1.4.0.118/skype | grep libQt
	$
	$ ldd skype_static-1.4.0.118-oss/skype | grep libQt
	$

--
 [ signature omitted ] 

Message 6 in thread

On Monday 05 November 2007 15:23:58 Jesse Armand wrote:
> I have downloaded the skype_static-1.4.0.118-oss.tar.bz2.
> It's running well, but I don't see any indication that it used Qt4 lib by
> using "ldd /usr/bin/skype"
>
> Anyway, that's not what I asked previously. The problem is the .deb package
> refuse to install because it depends on libqt4-xxxx package.
> I would like to use  Skype debian package, because maybe the package is
> suited for debian installation.

So... Let's see if I got it correctly - you have the static build, which works 
fine, but you would like to install the dynamic, .deb version, which in turn 
depends on the QT4 libs that you have compiled yourself, and not installed 
via regular apt ?

> So is there any way for the Skype debian package to detect Qt libraries
> location or the existence of it ?
> in order to be installed.

If you installed the libraries bypassing the package manager (i.e. not making 
a deb package and installing that) there is no way the package management 
will detect you have qt installed. HOWEVER, if you are absolutely sure 
everything is otherwise set up correctly, you can force the package install 
(dpkg -i --force-all), but I would advise against that unless you 
really-really understand the conseqences.

As an alternative, you already have QT4.3.2 in Sid and 4.3.1 in Lenny, you 
could either install those, or if you want to avoid upgrading other parts of 
your system rebuilding these packages from source (using the debian 
infrastructure, apt-source, debian/rules et al), which would probably be the 
cleanest solution.



On Monday 05 November 2007 15:33:11 Lisandro Damián Nicanor Pérez Meyer wrote:
> If I am wrong, please, do not heasitate to correct me :-)

They actually have dynamic builds and even repositories for redhat and debian, 
but rather limited with regards to compatibility (architecture, support for 
different OS versions, etc).

--
 [ signature omitted ] 

Message 7 in thread

Hi,

> I have manually compiled qt-x11-opensource-src-4.3.2 on debian etch.
> 
> The problem is, I don't know how to configure Skype debian package to 
> detect the presence of Qt libraries.

That's not really a Qt question, rather that's a Debian question :-)

> Because this Skype package keep on looking into the existence of Debian 
> packaged Qt library (version 4.2.1).

Generally speaking, packages do not depend on specific libraries and files, 
rather they depend on the package that provides these files.

For example, imagine that Skype depends on libfoo.so.0. When installing the 
Skype .deb package, Debian will not look for libfoo.so.0, instead it will 
whether foo_0.1.2_i386.deb which provides libfoo.so.0 is installed.

Said otherwise, building and installing a library form sources or installing a 
package that provides these libraries is not equivalent - at least as far as 
package dependencies are concerned.

In short:
* either install Qt 4 .deb packages instead of building Qt 4 from sources,
* or build and install Qt 4 from sources, then use the Dynamic non-packaged 
version of Skype (skype-1.4.0.118.tar.bz2) instead of the Debian package 
(skype-debian_1.4.0.118-1_i386.deb).

--
 [ signature omitted ] 

Message 8 in thread

Ok, Thanks Dimitri for the clear & concise explanation.
I'm using Skype static oss for now.

I was just wondering previously on that possibility, and you're right it's a
debian question :-).

On 11/6/07, Dimitri <dimitri@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
> > I have manually compiled qt-x11-opensource-src-4.3.2 on debian etch.
> >
> > The problem is, I don't know how to configure Skype debian package to
> > detect the presence of Qt libraries.
>
> That's not really a Qt question, rather that's a Debian question :-)
>
> > Because this Skype package keep on looking into the existence of Debian
> > packaged Qt library (version 4.2.1).
>
> Generally speaking, packages do not depend on specific libraries and
> files,
> rather they depend on the package that provides these files.
>
> For example, imagine that Skype depends on libfoo.so.0. When installing
> the
> Skype .deb package, Debian will not look for libfoo.so.0, instead it will
> whether foo_0.1.2_i386.deb which provides libfoo.so.0 is installed.
>
> Said otherwise, building and installing a library form sources or
> installing a
> package that provides these libraries is not equivalent - at least as far
> as
> package dependencies are concerned.
>
> In short:
> * either install Qt 4 .deb packages instead of building Qt 4 from sources,
> * or build and install Qt 4 from sources, then use the Dynamic
> non-packaged
> version of Skype (skype-1.4.0.118.tar.bz2) instead of the Debian package
> (skype-debian_1.4.0.118-1_i386.deb).
>
> --
> Dimitri
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Message 9 in thread

On 11/5/07, Jesse Armand <mnemonic.fx@xxxxxxxxx> wrote:
> Ok, Thanks Dimitri for the clear & concise explanation.
> I'm using Skype static oss for now.
>
> I was just wondering previously on that possibility, and you're right it's a
> debian question :-).
>
>
>
> On 11/6/07, Dimitri <dimitri@xxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > > I have manually compiled qt-x11-opensource-src-4.3.2 on debian etch.
> > >
> > > The problem is, I don't know how to configure Skype debian package to
> > > detect the presence of Qt libraries.
> >
> > That's not really a Qt question, rather that's a Debian question :-)
> >
> > > Because this Skype package keep on looking into the existence of Debian
> > > packaged Qt library (version 4.2.1).
> >
> > Generally speaking, packages do not depend on specific libraries and
> files,
> > rather they depend on the package that provides these files.
> >
> > For example, imagine that Skype depends on libfoo.so.0. When installing
> the
> > Skype .deb package, Debian will not look for libfoo.so.0, instead it will
> > whether foo_0.1.2_i386.deb which provides libfoo.so.0 is installed.
> >
> > Said otherwise, building and installing a library form sources or
> installing a
> > package that provides these libraries is not equivalent - at least as far
> as
> > package dependencies are concerned.
> >
> > In short:
> > * either install Qt 4 .deb packages instead of building Qt 4 from sources,
> > * or build and install Qt 4 from sources, then use the Dynamic
> non-packaged
> > version of Skype ( skype-1.4.0.118.tar.bz2) instead of the Debian package
> > (skype-debian_1.4.0.118-1_i386.deb).
> >
> > --
> > Dimitri
> >
> > --
> > To unsubscribe - send a mail to
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the
> subject or the body.
> > List archive and information:
> http://lists.trolltech.com/qt-interest/
> >
> >
>
>

You can create "fake" debian packages with equiv.

Install it with apt, and read the docs.

Best Regards


-- 
 [ signature omitted ]