bugPSPP - Bugs: bug #64343, Build#pspp-2.0.0-pre1ge32bec make...

 
 

bug #64343: Build#pspp-2.0.0-pre1ge32bec make errors

Submitter:  Ali Alhaidary <ali_alhaidary>
Submitted:  Sun 25 Jun 2023 12:39:33 AM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Invalid Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00

Discussion locked!

Sun 25 Jun 2023 05:19:26 PM UTC, comment #5: 

You will have to re-run configure.

As this is no a bug report I'm closing this item.  If you need help on building pspp please ask on the mailing list.

John Darrington <jmd>
Group administrator
Sun 25 Jun 2023 05:05:12 PM UTC, comment #4: 

Thank you, did remove that folder, and did 'make' again:

In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from src/output/cairo-chart.c:25:
/usr/include/pango-1.0/pango/pango-coverage.h:25:10: fatal error: glib-object.h: No such file or directory
   25 | #include <glib-object.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: * [Makefile:14306: src/output/liboutput_la-cairo-chart.lo] Error 1
make[2]: Leaving directory '/home/ali/Documents/pspp/pre/pspp-2.0.0-pre1ge32bec'
make[1]: * [Makefile:17036: all-recursive] Error 1
make[1]: Leaving directory '/home/ali/Documents/pspp/pre/pspp-2.0.0-pre1ge32bec'
make: * [Makefile:8054: all] Error 2

Ali Alhaidary <ali_alhaidary>
Sun 25 Jun 2023 04:00:03 PM UTC, comment #3: 

I would remove /usr/local/include/glib-2.0/ unless you have a good reason to keep it.

John Darrington <jmd>
Group administrator
Sun 25 Jun 2023 01:49:55 PM UTC, comment #2: 

Should I delete one folder?

Ali Alhaidary <ali_alhaidary>
Sun 25 Jun 2023 08:30:15 AM UTC, comment #1: 

It looks as if you have two different glib versions installed.
One in /usr and the other in /usr/local

This is probably not a good idea.

John Darrington <jmd>
Group administrator
Sun 25 Jun 2023 12:39:33 AM UTC, original submission:  

In file included from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from src/ui/gui/include/gtk/gtk.h:26,
                 from src/ui/gui/builder-wrapper.h:21,
                 from src/ui/gui/builder-wrapper.c:21:
src/ui/gui/include/glib.h:55:1: error: static declaration of ‘g_string_free_and_steal’ follows non-static declaration
   55 | g_string_free_and_steal (GString *string)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/local/include/glib-2.0/glib.h:56,
                 from src/ui/gui/include/glib.h:26,
                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from src/ui/gui/include/gtk/gtk.h:26,
                 from src/ui/gui/builder-wrapper.h:21,
                 from src/ui/gui/builder-wrapper.c:21:
/usr/local/include/glib-2.0/glib/gstring.h:63:14: note: previous declaration of ‘g_string_free_and_steal’ with type ‘gchar (GString )’ {aka ‘char (struct _GString )’}
   63 | gchar*       g_string_free_and_steal    (GString         *string) G_GNUC_WARN_UNUSED_RESULT;
      |              ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: * [Makefile:15216: src/ui/gui/psppire-builder-wrapper.o] Error 1
make[2]: Leaving directory '/home/ali/Documents/pspp/pspp-2.0.0-pre1ge32bec'
make[1]: * [Makefile:17036: all-recursive] Error 1
make[1]: Leaving directory '/home/ali/Documents/pspp/pspp-2.0.0-pre1ge32bec'
make: * [Makefile:8054: all] Error 2

On ubuntu 22.04 LTS

Ali Alhaidary <ali_alhaidary>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by ali_alhaidary (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-25 jmd StatusNone Invalid
        Open/ClosedOpen Closed
        Discussion LockNone Locked

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code