gtkada-config gives wrong path for libgtkada2 (or libgtkada2 is installed in wrong path)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgtkada2 (Debian) |
Fix Released
|
Unknown
|
|||
libgtkada2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# Release
gustaf@sture:~$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
# Installed packages
gustaf@sture:~$ dpkg -S /usr/share/
libgtkada2.
gustaf@sture:~$ dpkg -S $(which gtkada-config)
libgtkada2-bin: /usr/bin/
# Check where gtkada2 got installed
gustaf@sture:~$ ls -ld /usr/share/
drwxr-xr-x 2 root root 28672 2010-08-28 19:54 /usr/share/
-rw-r--r-- 1 root root 588 2010-04-28 06:13 /usr/share/
# gtkada-config is supposed to return the right paths, but points to gtkada2.14.2 instead
gustaf@sture:~$ gtkada-config
-aI/usr/
# Workaround
gustaf@sture:~$ cd /usr/share/
gustaf@
# Comment
Adding a symlink works fine, but I suppose the more correct solution would be to have libgtkada2.14.2-dev install in /usr/share/
Changed in libgtkada2 (Debian): | |
status: | Unknown → Fix Released |
# Missing version information
gustaf@sture:~$ apt-cache policy libgtkada2.14.2-dev 14.2-dev: se.archive. ubuntu. com/ubuntu/ lucid/universe Packages dpkg/status se.archive. ubuntu. com/ubuntu/ lucid/universe Packages dpkg/status
libgtkada2.
Installed: 2.14.2-1ubuntu1
Candidate: 2.14.2-1ubuntu1
Version table:
*** 2.14.2-1ubuntu1 0
500 http://
100 /var/lib/
gustaf@sture:~$ apt-cache policy libgtkada2-bin
libgtkada2-bin:
Installed: 2.14.2-1ubuntu1
Candidate: 2.14.2-1ubuntu1
Version table:
*** 2.14.2-1ubuntu1 0
500 http://
100 /var/lib/
# Testing on Maverick
gustaf@maverick:~$ lsb_release -rd
Description: Ubuntu maverick (development branch)
Release: 10.10
gustaf@maverick:~$ gtkada-config share/ada/ adainclude/ gtkada2 -aO/usr/ lib/ada/ adalib/ gtkada2 -largs -L/usr/lib -lgtkada2 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-aI/usr/
gustaf@maverick:~$ ls -ld /usr/share/ ada/adainclude/ gtkada2* ada/adainclude/ gtkada2 ada/adainclude/ gtkada2. gpr
drwxr-xr-x 2 root root 28672 2010-09-04 22:39 /usr/share/
-rw-r--r-- 1 root root 588 2010-08-25 03:04 /usr/share/
gustaf@maverick:~$ apt-cache policy libgtkada2.14.2-dev 14.2-dev: se.archive. ubuntu. com/ubuntu/ maverick/universe i386 Packages dpkg/status
libgtkada2.
Installed: 2.14.2-4
Candidate: 2.14.2-4
Version table:
*** 2.14.2-4 0
500 http://
100 /var/lib/
gustaf@maverick:~$ apt-cache policy libgtkada2-bin se.archive. ubuntu. com/ubuntu/ maverick/universe i386 Packages dpkg/status
libgtkada2-bin:
Installed: 2.14.2-4
Candidate: 2.14.2-4
Version table:
*** 2.14.2-4 0
500 http://
100 /var/lib/
So on Maverick (having upgraded package versions) the bug is gone.