gnome-system-monitor-2.10.0 does not build



gnome-system-monitor-2.10.0 does not build.

The problem is ./src/procdialogs.c:

        procdialogs.c: In function
        `procdialog_create_root_password_dialog':
        procdialogs.c:822: error: `entry_activate_cb' undeclared (first
        use in this function)
        procdialogs.c:822: error: (Each undeclared identifier is
        reported only once
        procdialogs.c:822: error: for each function it appears in.)
        procdialogs.c:854: warning: implicit declaration of function
        `su_run_with_password'

I took a look at the source code for gnome-system-monitor-2.9.91. In
that version procdialogs.c defines the missing function. Version 2.9.91
also requires libgnomesu be installed.

So... I built and installed libgnomesu, replaced the 2.10.0 version of
procdialogs.c with the 2.9.91 version, diddled the makefile to pick up
the includes from libgnomesu, and added libgnomesu to the link command.
The app builds and runs.

Now the question is: What is the correct thing to do?

-Joseph
-- 
joseph_sacco[at]comcast[dot]net




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