wx-config und Debian (was: [Thuban-list] RE: Thuban1.1.0 rpm, deb)

Bernhard Reiter bernhard at intevation.de
Sun Aug 14 10:56:37 CEST 2005

Hi Thubanistas,

Am 27. Jul 2005 um 22:26:48 schrieb Jan-Oliver Wagner:
> On Wed, Jul 27, 2005 at 10:37:01AM +1000, Noli.Sicad at csiro.au wrote:
> > > In (K)ubuntu using:

though I am not using (K)Ubuntu, I had a system once
and believe it is close enough to Debian.

> what I meant was to rebuild the debian source package on your system.
> Then you should have a working version.

I agree, when you want a Debian Package on your System that does not
fit the binary perfectly rebuilding from source is easy.
Here are the typical steps:

For a hypothecial packages X (including packages name and version numers)
	X.diff (if it exists, there are native packages, which have none.)

dpkg-source -x X.dsc
#Manual check the build depends in .dsc and make sure they are installed.
cd X
nice fakeroot debian/rules binary

# now you should have a nice binary, that you can install with 
	dpkg  --install

Okay, that was a general remark, 
now to the soltution of the wx-config riddle:

> > *$ dpkg -S wx-config
> > *I do not find it, but it is installed:
> > *$ type wx-config
> > *wx-config is /usr/bin/wx-config
> > *(I am on a Debian 3.1 Sarge)

This binary is a link over Debian's alternative system.
Here is how you can find out which package it comes from:

type wx-config
wx-config is /usr/bin/wx-config
$ ls -l /usr/bin/wx-config
lrwxrwxrwx    1 root     root           27 21. Mär 2002  /usr/bin/wx-config -> /etc/alternatives/wx-config
$ ls -l /etc/alternatives/wx-config
lrwxrwxrwx    1 root     root           25  3. Nov 2004  /etc/alternatives/wx-config -> /usr/bin/wxgtk-2.2-config
$ dpkg --search /usr/bin/wxgtk-2.2-config
libwxgtk2.2-dev: /usr/bin/wxgtk-2.2-config

> > This is really strange. I use:
> > $ locate wx-config
> > 
> > Nothing can be found except the documentation and wx-configure.in in the
> > Kdeveloper
> locate database might be out of date.

As root you would run "updatedb" to update the database.

On the system above locate worked and showed me the symlinks.
On Jan's sarge system it did not.

Here is the output for a Sarge System:

ls -l /usr/bin/wx-config
lrwxrwxrwx  1 root root 27 2005-06-28 09:12 /usr/bin/wx-config -> /etc/alternatives/wx-config
$ ls -l /etc/alternatives/wx-config
lrwxrwxrwx  1 root root 25 2005-06-28 09:12 /etc/alternatives/wx-config -> /usr/bin/wxgtk-2.4-config
$ dpkg --search /usr/bin/wxgtk-2.4-config
libwxgtk2.4-dev: /usr/bin/wxgtk-2.4-config

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20050814/4b8f3e0c/attachment.bin

More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)