Help compiling Dia on FC4
- From: Rasmus Kjeldsen <rasmus kjeldsen gmail com>
- To: dia-list gnome org
- Subject: Help compiling Dia on FC4
- Date: Wed, 25 Jan 2006 13:13:29 +0100
Hi
Im trying to compile Dia from the snapshot: dia-CVS-20060115-0400.tar.gz on FC4.
autogen and configure works fine.
But when I "make", the compilation fails with:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I../../lib -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -MT wmf.lo -MD -MP -MF .deps/wmf.Tpo
-c wmf.cpp -fPIC -DPIC -o .libs/wmf.o
In file included from ../../lib/object.h:33,
from ../../lib/diagramdata.h:106,
from ../../lib/filter.h:26,
from wmf.cpp:36:
../../lib/dia_xml.h:26:25: error: libxml/tree.h: No such file or directory
[more errors cut out]
I can then use "export CPLUS_INCLUDE_PATH=/usr/include/libxml2"
And the compilation works, but the linking fails with:
gcc -I/usr/include/libxml2 -I/usr/include/freetype2 -g -O2 -Wall
-Wunused --std=c89 -Wdeclaration-after-statement -Wmissing-prototypes
-Wmissing-declarations -finline-functions -fstrict-aliasing -o
.libs/dia diagram.o preferences.o load_save.o properties.o defaults.o
render_eps.o render_libart.o undo.o object_ops.o layer_dialog.o
export_png.o commands.o app_procs.o connectionpoint_ops.o
disp_callbacks.o display.o select.o color_area.o linewidth_area.o
grid.o handle_ops.o interface.o modify_tool.o scroll_tool.o
create_object.o magnify.o menus.o cut_n_paste.o render_gdk.o tool.o
diapagelayout.o pagesetup.o filedlg.o plugin-manager.o dia-props.o
gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o
recent_files.o diagram_tree.o diagram_tree_window.o diagram_tree_menu.o
diagram_tree_menu_callbacks.o sheets.o sheets_dialog.o
sheets_dialog_callbacks.o dialogs.o autosave.o dynamic_refresh.o
diapsrenderer.o diapsft2renderer.o navigation.o diacanvas.o highlight.o
textedit.o paginate_psprint.o main.o -Wl,--export-dynamic
../lib/.libs/libdia.so /usr/lib/libpopt.so /usr/lib/libfreetype.so
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0 -lz -Wl,--rpath -Wl,/usr/local/lib/dia
load_save.o(.text+0x9b): In function `read_objects':
/home/rasmus/dia-cvs-snapshot/app/load_save.c:134: undefined reference to `xmlIsBlankNode'
load_save.o(.text+0xcd):/home/rasmus/dia-cvs-snapshot/app/load_save.c:142: undefined reference to `xmlGetProp'
load_save.o(.text+0xdf):/home/rasmus/dia-cvs-snapshot/app/load_save.c:143: undefined reference to `xmlGetProp'
load_save.o(.text+0xf0):/home/rasmus/dia-cvs-snapshot/app/load_save.c:144: undefined reference to `xmlGetProp'
[lots of error lines cut out]
I have libxml2-2.6.20-1.FC4 and libxml-1.8.17-13 and corresponding -devel packages installed.
Help Anyone?
Cheers
Rasmus Kjeldsen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]