Bug #13793 Wrong version number (PACKAGE_VERSION clash with libsigc++)

Submitted: 6 Oct 2005 7:20 Modified: 26 Oct 2005 22:14
Reporter: Marin Purgar Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.1.2 OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[6 Oct 2005 7:20] Marin Purgar
Description:
The Mysql Administrator version reported in Help->About dialog is wrong. At my system it shows '1.2.5' instead of '1.1.2' (as from AC_INIT in configure.in).

During the compilation process (make all) the following warnings are displayed:
/opt/gnome/lib/sigc++-1.2/include/sigcconfig.h:55:1: warning: "PACKAGE_VERSION" redefined
In file included from myadmin.h:21,
                 from MInstanceInfo.cc:18:
config.h:59:1: warning: this is the location of the previous definition
In file included from /opt/gnome/include/sigc++-1.2/sigc++/node.h:21,
                 from /opt/gnome/include/sigc++-1.2/sigc++/slot.h:28,
                 from /opt/gnome/include/sigc++-1.2/sigc++/sigc++.h:26,
                 from /opt/gnome/include/gtkmm-2.0/glibmm/dispatcher.h:24,
                 from /opt/gnome/include/gtkmm-2.0/glibmm.h:31,
                 from util.h:7,
                 from myadmin.h:23,
                 from MInstanceInfo.cc:18:

It seems that libsigc++ is redefining the PACKAGE_* constants. The version of the libsigc++ installed on my build system is '1.2.5'. Hence, the version displayed in About dialog.

Similar errors apear while compiling mysql-gui-common.

Environment: SUSE 9.3 PRO, MySQL 4.1.10a, mysql-administrator 1.1.2 (compiled from www.mysql.com source).

How to repeat:
Klick Help -> About.
Look at the version number.

Also repeatable with mysql-administrator-1.1.3-1.suse93.i586.rpm from www.mysql.com.
[26 Oct 2005 22:14] Jorge del Conde
I was unable to reproduce this bug using 1.1.4 under FC4

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.