Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3339 closed defect (fixed)

libgsf-1.14.21 needs a correction

Reported by: Arthur Radley Owned by: Armin K
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords: libgsf-1.14.21
Cc:

Description

The --sysconfdir configure option for libgsf needs to be updated to the current Gnome version, or maybe changed to use the GNOME_SYSCONFDIR environment variable, or maybe even changed to /etc since that is what GConf is using now.

Change History (9)

comment:1 by Armin K, 12 years ago

GConf will switch back to GNOME_SYSCONFDIR when I finish all of the gnome. I just need new strategy to plan this out. As for the libgsf, there is new version, 1.4.23 - but it does not have -gnome nor gconf files. I was going to ask someone to check if that one works for the abiword/gnumeric/gnucash or whatever needs those libraries.

comment:2 by andy@…, 12 years ago

libgsf-1.14.23 fails to compile for me due to gobject-introspection brokeness:

CC gsf-output-gio.lo CC version.lo CCLD libgsf-1.la GEN Gsf-1.gir

In file included from <stdin>:6:0: /home/andy/libgsf-1.14.23/gsf/gsf-libxml.h:27:25: fatal error: libxml/tree.h: No such file or directory compilation terminated. Error while processing the source. make[2]: * [Gsf-1.gir] Error 1 make[2]: Leaving directory `/home/andy/libgsf-1.14.23/gsf' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/libgsf-1.14.23' make: * [all] Error 2

This sed (before configure) fixes it and alows it to install: sed -i '/-I$(top_srcdir)
/a
t -I/usr/include/libxml2
' gsf/Makefile.in

I've not tested it with anything yet.

Andy

comment:3 by andy@…, 12 years ago

I'll try that again with some formatting.

libgsf-1.14.23 fails to compile for me due to gobject-introspection brokeness: {{{ CC version.lo

CCLD libgsf-1.la GEN Gsf-1.gir

In file included from <stdin>:6:0: /home/andy/libgsf-1.14.23/gsf/gsf-libxml.h:27:25: fatal error: libxml/tree.h: No such file or directory compilation terminated. Error while processing the source. make[2]: * [Gsf-1.gir] Error 1 make[2]: Leaving directory `/home/andy/libgsf-1.14.23/gsf' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/libgsf-1.14.23' make: * [all] Error 2 }}}

This sed (before configure) fixes it and allows it to install: sed -i '/-I$(top_srcdir) \\/a\\t -I/usr/include/libxml2 \\' gsf/Makefile.in

I've not tested it with anything yet.

Andy

comment:4 by andy@…, 12 years ago

Sorry for the noise (It would help If We could edit our comments)

libgsf-1.14.23 fails to compile for me due to gobject-introspection brokeness:

  CC     version.lo
  CCLD   libgsf-1.la
  GEN    Gsf-1.gir
In file included from <stdin>:6:0:
/home/andy/libgsf-1.14.23/gsf/gsf-libxml.h:27:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Gsf-1.gir] Error 1
make[2]: Leaving directory `/home/andy/libgsf-1.14.23/gsf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/libgsf-1.14.23'
make: *** [all] Error 2

This sed (before configure) fixes it and allows it to install:

sed -i '/-I$(top_srcdir) \\/a\\t    -I/usr/include/libxml2 \\' gsf/Makefile.in

I've not tested it with anything yet.

Andy

comment:5 by Armin K, 12 years ago

Something is definitely wrong with your system. I built that package without any problems with g-i version from the book.

comment:6 by andy@…, 12 years ago

libgsf-1.14.22 compiles and installs fine for me. libgsf-1.14.23 fails with the error above and so you think "Something is definitely wrong with your system"? You may be right, I had installed gobject-introspection-1.30.0. Big mistake.

comment:7 by Armin K, 12 years ago

Owner: changed from blfs-book@… to Armin K
Status: newassigned

comment:8 by Armin K, 12 years ago

Resolution: fixed
Status: assignedclosed

Updated libgsf to 1.4.23 and removed --sysconfdir switch since it isn't required anymore. Fixed in r10116

comment:9 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.