[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling kmysqladmin-0.6.2 ?



On 30.Jul 2003 - 12:49:22, Yann Forget wrote:
> Hi,
> 
> I would like to compile kmysqladmin-0.6.2.
> I am using unstable (KDE 3.1.2).

You are not, not completely:

> $ dpkg -l '*qt3*' |grep ii
> ii  libqt3         3.1.2-0woody1  Qt Library
> ii  libqt3-mysql   3.1.2-0woody1  MySQL database driver for Qt3
> ii  libqt3c102-mt  3.1.1-9        Qt GUI Library (Threaded runtime version)

There you have libqt3, from woody, so this is from a backport of kde3.1
I suppose?! That thing will not work in an unstable system, due to
Binary Incompatibility in the c++ library.

> So, a few questions :
> 1. What libraries are needed to compile this ?

You should read the INSTALL file, it is surely there. If not, try a
configure and you'll see on what things it fails.

> 2. I think I need some thing like libqt3-dev. However if I try to install it, 
> I get :
> $ wajig install libqt3-dev

What's that? Normally there should stand a apt-get, not wajig?!

> Password:

Ah, a personal scriot?

> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   libfontconfig1-dev libfreetype6-dev libjpeg62-dev liblcms1-dev libmng-dev 
> libpng12-dev libqt3-headers libqt3c102
>   libxft2-dev pkg-config qt3-dev-tools xlibmesa-gl-dev xlibmesa-glu-dev
> Suggested packages:
>   libqt3-i18n libqt3c102-mysql libgnome-dev
> Recommended packages:
>   libqt3-compat-headers libqt3-mt-dev
> The following packages will be REMOVED:
>   libqt3 libqt3-mysql				<-- ????
> The following NEW packages will be installed:
>   libfontconfig1-dev libfreetype6-dev libjpeg62-dev liblcms1-dev libmng-dev 
> libpng12-dev libqt3-dev libqt3-headers
>   libqt3c102 libxft2-dev pkg-config qt3-dev-tools xlibmesa-gl-dev 
> xlibmesa-glu-dev
> 0 packages upgraded, 14 newly installed, 2 to remove and 0 not upgraded.
> Need to get 6569kB of archives.
> After unpacking 17.0MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> 
> But of course I don't want libqt3 to be removed. So what should I do ?

You want libqt3 removed, believe me. You want libqt3c102 not removed,
and you want to install libqt3-mt-dev, for KDE3 Programs you need the
-mt variant, as they are compiled threaded. For Mysql you'll need
libqt3c102-mt-mysql.

Here is my libqt3 List:

| andreas@neo:~/compiling/argouml_deb/argouml-0.13.5>COLUMNS=160 dpkg -l |
| grep libqt3 | grep ^ii
| ii  libqt3-compat-headers              3.1.1-9
|     Qt 1.x and 2.x compatibility includes
| ii  libqt3-headers                     3.1.1-9
|     Qt3 header files
| ii  libqt3-i18n                        3.1.1-9
|     i18n files for Qt3 library
| ii  libqt3-mt-dev                      3.1.1-9
|     Qt development files (Threaded)
| ii  libqt3-plugins-headers             3.1.1-9
|     Qt3 plugin header files
| ii  libqt3c102-mt                      3.1.1-9
|     Qt GUI Library (Threaded runtime version)
| ii  libqt3c102-mt-mysql                3.1.1-9
|     MySQL database driver for Qt3 (Threaded)
| ii  libqt3c102-mt-odbc                 3.1.1-9
|     ODBC database driver for Qt3 (Threaded)
| ii  libqt3c102-mt-psql                 3.1.1-9
|     PostgreSQL database driver for Qt3 (Threaded)

Oh, yes you surely also need the compat-headers, as many QT and KDE
programs are not completely updated to the new header filenames.

Andreas

-- 
You will be called upon to help a friend in trouble.



Reply to: