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

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
First you should get an up-to-date version, for stable use
        git clone git://
        git checkout -b dia-0-97 -t origin/dia-0-97

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

the C++ version is not needed



<<<<<<<<<<<<<<<<<<< error
diapsft2renderer.c:32:30: fatal error: freetype/ftglyph.h: No such file or
  #include <freetype/ftglyph.h>
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
fixed with dia-0.97.3

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

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]