Re: compiling Garnome 0.26.1 on a Debian Sarge distribution



In installing gnome-hacker-tools:

- in ghex, compiling ui.c fails with the following error message:

ui.c: Dans la fonction + display_info_dialog ;:
ui.c:878: error: incompatible type for argument 1 of `__builtin_va_end'

- in mono-debugger, making the library fails:

make[4]: Entering directory
`/home/src/garnome-0.26.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'
/home/src/garnome/bin/mcs /target:library /out:Mono.Debugger.dll -g -r
Mono.CSharp.Debugger ../interfaces/*.cs ../classes/*.cs
Implement the type definition for params
../classes/TargetAddress.cs(20) warning CS0660:
`Mono.Debugger.TargetAddress' defines operator == or operator != but
does not override Object.Equals (object o)
../classes/TargetAddress.cs(20) warning CS0661:
`Mono.Debugger.TargetAddress' defines operator == or operator != but
does not override Object.GetHashCode ()
../classes/Backtrace.cs(99) error CS0103: The name `Math.Min' could not
be found in `Mono.Debugger.Backtracé
../classes/Backtrace.cs(100) error CS0103: The name `Math.Min' could not
be found in `Mono.Debugger.Backtracé
Compilation failed: 2 error(s), 2 warnings
make[4]: *** [Mono.Debugger.dll] Erreur 1
make[4]: Leaving directory
`/home/src/garnome-0.26.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'

- in xmlroff, when loading pdflib-4.0.3.tar.gz, the link provided no
  longer exists: http://www.pdflib.com/pdflib/download/
  I had to change it to
  http://kalug.linux.org.tw/~chihchun/debian/pdflib/, found using
  Google.
  Then, libpangopdflib-1.0 is not found, and I had to change PANGO_LIBS
  in the make file to include the sub-directory pangopdf.
  Then, compiling fails with a lot of errors:

cc -g -I/home/src/garnome/include -I/usr/X11R6/include -O2 -pipe
-I/home/src/garnome/include/pango-1.0 -I/home/src/garnome/include
-I/home/src/garnome/include/freetype2
-I/home/src/garnome/include/glib-2.0
-I/home/src/garnome/lib/glib-2.0/include -I/home/src/garnome/include
-I/home/src/garnome/include -I/home/src/garnome/include/freetype2 -Wall
-o xmlroff xmlroff-xmlroff.o -Wl,--export-dynamic
-L/home/src/garnome/lib -L/usr/X11R6/lib ./.libs/libfo.so
-L/home/src/garnome/lib/pangopdf
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so
/home/src/garnome/lib/libfontconfig.a -lz /usr/lib/libexpat.a
/home/src/garnome/lib/libpango-1.0.so
/home/src/garnome/lib/libgmodule-2.0.so -ldl
/home/src/garnome/lib/libxslt.so -lz -lm
/home/src/garnome/lib/libxml2.so -lz -lm -lz -lpthread -lm
/home/src/garnome/lib/libgobject-2.0.so
/home/src/garnome/lib/libglib-2.0.so /home/src/garnome/lib/libfreetype.a
-lz -lz /home/src/garnome/lib/libpdf.so -lm -lm -lm -lm
/usr/lib/libpopt.a -Wl,--rpath
-Wl,/home/src/garnome-0.26.1/gnome/xmlroff/work/main.d/xmlroff-0.2.2/.libs
-Wl,--rpath -Wl,/home/src/garnome/lib/pangopdf -Wl,--rpath
-Wl,/home/src/garnome/lib -Wl,--rpath -Wl,/home/src/garnome/lib
-Wl,--rpath -Wl,/home/src/garnome/lib/pangopdf
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_line_get_empty_extents'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_run_get_extents_real'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_attr_int_new'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_get_item_properties'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `insert_run'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `can_break_in'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_set_font_description_real'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `get_items_log_attrs'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_attr_int_equal'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_line_new'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `imposed_shapé
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_attr_int_destroy'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `can_break_at'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_run_get_extents'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_attr_int_copy'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `shape_tab'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `uninsert_run'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_line_postprocess'
/home/src/garnome/lib/pangopdf/libpangopdflib-1.0.so: undefined
reference to `pango_layout_get_effective_attributes'
collect2: ld returned 1 exit status

This completes my experiments. I could not install the following
components:
- galeon
- gnome-vfs-sftp
- grandr-applet
- ghex
- mono-debugger
- xmlroff

As it is, what is already installed constitutes quite an achievement!

-- 


			Olivier Lecarme



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