[Yast4debian-devel] trying to compile...

Ramon Acedo ramon at linux-labs.net
Sun Nov 13 21:30:07 UTC 2005


Hello,
El mié, 09-11-2005 a las 11:02 +0000, René Martín Rodríguez escribió:
> Hi Ramon,
> 
> I'm using this:
> 
> apt-cache policy librpm-dev
> librpm-dev:
>   Instalados: 4.4.1-4
>   Candidato: 4.4.1-4
>   Tabla de versión:
>  *** 4.4.1-4 0
>         500 http://ftp.crans.org unstable/main Packages
>         500 http://debian-amd64.alioth.debian.org unstable/main Packages
> 500 http://debian-amd64.alioth.debian.org unstable/main Packages
> 100 /var/lib/dpkg/status
>      4.0.4-31.1 0
>         500 http://ftp.crans.org testing/main Packages
>      4.0.4-31 0
>         500 http://ftp.crans.org stable/main Packages

Be sure that you are using the official debian packages in
unstable or experimental (I guess ftp.crans.org is a amd64
mirror, it's just an advice to check it).

I have seen in your script for compiling that you try to
compile rpm as well. Use the how-to I wrote as a reference
but not as a step by step guide because it won't be the same
in the last version of YaST2 which we decided to work with.

The first objective is to compile the yast2-core package.
When configuring it you'll see:
configure: error: Headers for hwinfo are missing. Please install the
package hwinfo-devel.

hmmm... that's a problem because we don't have this package
in debian, do we? well, nothing to worry about let's get the
OpenSuSE's one.

when you go and try con compile the hwinfo from suse, after
getting the .tar.bz2 and uncompressing it you'll see this 
error:

regensburg:/tmp/yast4debian/src/hwinfo-11.25# make
(...)
hal.c:147: error: 'LIBHAL_PROPERTY_TYPE_STRING' undeclared (first use in
this function)
(...)

now, where the *** is 'LIBHAL_PROPERTY_TYPE_STRING' declared?
An easy way to find this out would be having a SuSE box and
greping for it in the (Open)SuSE system:

$ grep -r LIBHAL_PROPERTY_TYPE_STRING /usr/include/*

once you find it check if the package containing the file
that declares the declaration above exists in Debian and
if so, install it. If it does not exist in our distro then
try to copy the .h containing the declaration from the SuSE
box the your debian.

So, summarizing the objective is getting the core package
compiled and then go and try some modules.

Right now I don't have access to any SuSE box to test it
further, sorry :-(

Good luck!

Ramon








More information about the Yast4debian-devel mailing list