building 0.89 and CVS



I grabbed the 0.89-test, and the latest CVS snapshot
(dia-CVS-20010903-0723.tar.gz)

I didn't try runing ./autoconf yet as both these archives came with
configure scripts.

0.89-test
---------
Had to trick the configure into not finding libxml2.

Make fails with ;

mkdir .libs
gcc -I/usr/local/include/gnome-xml -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations 
-finline-functions -fstrict-aliasing -o dia diagram.o preferences.o load_save.o group.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 
lineprops_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 diaunitspinner.o pagesetup.o filedlg.o 
plugin-manager.o dia-props.o gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o recent_files.o 
paginate_psprint.o main.o -rdynamic -rdynamic -Wl,--export-dynamic  ../lib/libdia.a /usr/lib/libpopt.so 
-L/usr/local/lib /usr/local/lib/libxml.so -lz -lz -lz -L/usr/X11R6/lib -ldl -lXext -lX11 -lm -ldl -lXext 
-lX11 -lm -ldl -ldl -lXext -lX11 -lm /usr/local/lib/libart_lgpl.so -lm -lpng -lz -lm 
/usr/local/lib/libgdk_pixbuf.so -ldl -ldl -lXext -lX11 -lm /usr/local/lib/libgtk.so -ldl -lXext -lX11 -lm 
/usr/local/lib/libgdk.so -ldl -lXext -lX11 -lm /usr/local/lib/libgmodule.so -ldl /usr/local/lib/libglib.so 
-ldl -lXext -lX11 -lm /usr/local/lib/libunicode.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib
../lib/libdia.a(sheet.o): In function `load_register_sheet':
/tmp/dia-0.89/lib/sheet.c:233: undefined reference to `xmlFree'
/tmp/dia-0.89/lib/sheet.c:237: undefined reference to `xmlFree'
/tmp/dia-0.89/lib/sheet.c:249: undefined reference to `xmlFree'
/tmp/dia-0.89/lib/sheet.c:253: undefined reference to `xmlFree'
/tmp/dia-0.89/lib/sheet.c:265: undefined reference to `xmlFree'
../lib/libdia.a(sheet.o):/tmp/dia-0.89/lib/sheet.c:266: more undefined references to `xmlFree' follow
collect2: ld returned 1 exit status
make[2]: *** [dia] Error 1
make[2]: Leaving directory `/tmp/dia-0.89/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/dia-0.89'
make: *** [all] Error 2


lrwxrwxrwx    1 root     root           16 Sep  3 09:52 /usr/local/lib/libxml.so -> libxml.so.1.8.15*

CVS
---

(made configure not find xml2)

Make fails with ;

Making all in app
make[2]: Entering directory `/tmp/dia-cvs-snapshot/app'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I../intl       -I../lib                
-I/usr/local/include/gnome-xml  -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/in
clude           -I/usr/local/include    -I/usr/local/include -I/usr/local/lib/glib/include 
-I/usr/local/include -I/usr/X11R6/include            -DLOCALEDIR=\"/usr/local/share/loc
ale\"    -I/usr/local/include/gnome-xml -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes 
-Wmissing-declarations -finline-functions -fstrict-aliasing -c app_procs.c
app_procs.c: In function `app_init':
app_procs.c:199: warning: unused variable `made_conversions'
app_procs.c: At top level:
app_procs.c:288: parse error before `10808'
app_procs.c:288: warning: type defaults to `int' in declaration of `xmlCheckVersion'
app_procs.c:288: conflicting types for `xmlCheckVersion'
/usr/local/include/gnome-xml/tree.h:24: previous declaration of `xmlCheckVersion'
app_procs.c:288: warning: data definition has no type or storage class
app_procs.c:290: warning: type defaults to `int' in declaration of `stdprops_init'
app_procs.c:290: conflicting types for `stdprops_init'
../lib/properties.h:441: previous declaration of `stdprops_init'
app_procs.c:290: warning: data definition has no type or storage class
app_procs.c:292: warning: type defaults to `int' in declaration of `dia_image_init'
app_procs.c:292: conflicting types for `dia_image_init'
../lib/dia_image.h:28: previous declaration of `dia_image_init'
app_procs.c:292: warning: data definition has no type or storage class
app_procs.c:294: warning: type defaults to `int' in declaration of `gdk_rgb_init'
app_procs.c:294: conflicting types for `gdk_rgb_init'
/usr/local/include/gdk/gdkrgb.h:42: previous declaration of `gdk_rgb_init'
app_procs.c:294: warning: data definition has no type or storage class
app_procs.c:296: parse error before string constant
app_procs.c:296: warning: type defaults to `int' in declaration of `gtk_rc_parse'
app_procs.c:296: conflicting types for `gtk_rc_parse'
/usr/local/include/gtk/gtkrc.h:67: previous declaration of `gtk_rc_parse'
app_procs.c:296: warning: data definition has no type or storage class
app_procs.c:301: warning: type defaults to `int' in declaration of `create_user_dirs'
app_procs.c:301: conflicting types for `create_user_dirs'
app_procs.c:84: previous declaration of `create_user_dirs'

(which goes on for several screenfulls)

Nick

-- 
Part 3 MEng Cybernetics; Reading, UK       http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website   1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !




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