Building Dia (was: Fwd: little problem)



Am 11.09.2014 um 19:21 schrieb George Georgalis:
resending without strace output... build is successful but the binary
fails...

Reading your log and modification I woudn't say the build was successful. The main problem seems to be that you are using an outdated source package of Dia. But see below ...

---------- Forwarded message ----------
From: George Georgalis <george galis org>
[...]
However, I have some issues with the build, I'm on Ubuntu 14.04.1 LTS
trusty, and it seems I got the deps worked out, but in the end my binary
fails.
First you should get an up-to-date version, for stable use
        git clone git://git.gnome.org/dia
and
        git checkout -b dia-0-97 -t origin/dia-0-97
or
https://mail.gnome.org/archives/dia-list/2014-September/msg00007.html

For the almost as stable development version skip the second step.

Attached is my build script and below is my dependency
resolutions... probably installed more packages than I needed...

With a Debian based distribution it could have been as simple as:
        sudo apt-get build-dep dia

> [...]
<<<<<<<<<<<<<<<<<<< error
No package 'gtk+-1.0' found
Dia does not need gtk+-1.0 so this is already questionable.

No package 'libxml-2.0' found
No package 'gdk-pixbuf-2.0' found
install
libgtk-3-dev
superfluous

libxml++2.6-dev
the C++ version is not needed

libgtk2.0-dev

ok.

<<<<<<<<<<<<<<<<<<< error
diapsft2renderer.c:32:30: fatal error: freetype/ftglyph.h: No such file or
directory
  #include <freetype/ftglyph.h>

https://bugzilla.gnome.org/show_bug.cgi?id=719738
fixed with dia-0.97.3
                                ^
[...]
but that didn't get me there.... it would seem freetype has changed its
path, so I tried

ln -s /usr/include/freetype2 /usr/include/freetype

Really asking for trouble ...

that leads to successful build/install however the resulting binary fails...

This might indeed participate in the broken build.

$ /usr/local/dia-0.97.2/bin/dia
Gtk-Message: Failed to load module "gtk+-2.0 >= 2.6.0 glib-2.0 >= 2.6.0
libxml-2.0 gdk-pixbuf-2.0 gthread-2.0"

Something missing here?

(dia:31192): GLib-GObject-WARNING **: attempting to add an interface
(DiaInteractiveRendererInterface) to class (DiaGdkRenderer) after class_init

https://bugzilla.gnome.org/show_bug.cgi?id=694025
fixed with dia-0.97.3

I cannot make any sense of the strace, but it's attached. Any
recommendations?

Always use the latest version ...


-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert


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