Re: Building with Quartz support on MacOs X 10.4.5



Anders,

Il giorno 06/mar/06, alle ore 10:06, Anders Carlsson ha scritto:

Adriano skrev:
Hello people,

I'm a mac user type and I'm trying to build Gtk on Mac because I hope I can contribute some code to help integrate it on Mac.

That's great news!

Well, that's a try I'm going to attempt

Then, I tried to build it myself following the instructions at http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions

That doesn't work.

I installed the indicated versions of automake and autoconf and libtool and gettext and pkg-config.

They all build and installed ok.

Now, if I type "which automake" and "which autoconf" the reply is "/usr/bin/automake" and "/usr/bin/automake"

You need to add your $prefix/bin (that would be /usr/local/bin in your
case) first in your path:

export PATH=/usr/local/bin:$PATH

Thanks. I edited the /etc/profile file and put the /usr/local path before the others

ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ ./autogen.sh --prefix=/usr/local/ --disable-gtk-doc
Symlinking file mkinstalldirs
Symlinking file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/local/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from

configure.in: installing `./install-sh'
configure.in: installing `./missing'
Makefile.am: installing `./INSTALL'
.
.
.

Then, it continues until the end. The installation also seems to perform correctly.

What does that mean ? What is my autoconf macro directory ?

Since it found those files in /usr/local/share/aclocal/ why doesn't it copy them itsself ?

Even the config.guess and config.sub files are in /usr/local/share/aclocal

What's going wrong ?

Setting your path should fix this problem.

Well, it seems it doesn't fix. Look at this:



ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ echo $PATH
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/bin
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ which automake
/usr/local/bin/automake
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ which autoconf
/usr/bin/autoconf
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ which aclocal 
/usr/local/bin/aclocal
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ ./autogen.sh --prefix=/usr/local --disable-gtk-doc
Symlinking file mkinstalldirs
Symlinking file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/local/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
. [blah]
. [blah]
. [blah]
config.status: executing default-1 commands

Now type 'make' to compile Atk.
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Atk/atk adri$ 


Now, down to Pango


It didn't find ATSUI ? Why ?

I'm on Mac !! ATSUI must be there ! Maybe the CPPFLAGS=-I/usr/local/include and LDFLAGS=-L/usr/local/lib env vars are disturbing ?

The problem here is that it's not finding the cairo-atsui backend. Did
you compile cairo with the quartz and atsui backends?


I didn't remember what I did with Cairo (after the Fink based tests) so I tried to build it again. With the result I pasted hereunder.

I could edit the autogen.sh script in order to not include the --with-gtk-doc switch.
But I'd like the docs to be build too !

Thanks again for any help
Catonano

ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Cairo/cairo adri$ make
cd . && /bin/sh /Users/adri/Desktop/Gtk/sorgenti/Cairo/cairo/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
Making all in pixman
Making all in src
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include/libpng12        -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations      -Wnested-externs -fno-strict-aliasing    -g -O2 -MT cairo.lo -MD -MP -MF ".deps/cairo.Tpo" \
  -c -o cairo.lo `test -f 'cairo.c' || echo './'`cairo.c; \
then mv -f ".deps/cairo.Tpo" ".deps/cairo.Plo"; \
else rm -f ".deps/cairo.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include/libpng12 -Wall -Wpointer-arith -Wstrict-prototypes -

. [blah]
. [blah]
. [blah]

ranlib .libs/libcairo.a
rm -fr .libs/libcairo.lax .libs/libcairo.lax
creating libcairo.la
(cd .libs && rm -f libcairo.la && ln -s ../libcairo.la libcairo.la)
Making all in doc
Making all in public
gtk-doc: Scanning header files
if grep -l '^..*$' ./cairo.types > /dev/null 2>&1 ; then \
    CC="/bin/sh ../../libtool --mode=compile gcc   -g -O2" LD="/bin/sh ../../libtool --mode=link gcc  -g -O2 " CFLAGS="" LDFLAGS="" gtkdoc-scangobj  --module=cairo --output-dir=. ; \
else \
    cd . ; \
    for i in cairo.args cairo.hierarchy cairo.interfaces cairo.prerequisites cairo.signals ; do \
               test -f $i || touch $i ; \
    done \
fi
cd . && \
  gtkdoc-scan --module=cairo --source-dir=../../src --ignore-headers="cairo-clip-private.h cairo-features.h cairo-font-subset-private.h cairo-ft-private.h cairo-gstate-private.h cairo-hash-private.h cairo-meta-surface-private.h cairo-path-fixed-private.h cairo-private.h cairo-win32-private.h cairo-xlib-private.h cairo-xlib-test.h cairoint.h cairo-wideint.h" --deprecated-guards="CAIRO_DISABLE_DEPRECATED" 
touch scan-build.stamp
gtk-doc: Building XML
cd . && \
gtkdoc-mkdb --module=cairo --source-dir=../../src --output-format=xml --expand-content-files="" --main-sgml-file=cairo-docs.xml --sgml-mode --output-format=xml
WARNING: No declaration found for: cairo_ft_font_face_create_for_ft_face
WARNING: No declaration found for: cairo_ft_font_face_create_for_pattern
WARNING: No declaration found for: cairo_ft_font_options_substitute
WARNING: No declaration found for: cairo_ft_scaled_font_lock_face
WARNING: No declaration found for: cairo_ft_scaled_font_unlock_face
WARNING: No declaration found for: cairo_win32_font_face_create_for_logfontw
WARNING: No declaration found for: cairo_win32_scaled_font_select_font
WARNING: No declaration found for: cairo_win32_scaled_font_done_font
WARNING: No declaration found for: cairo_win32_scaled_font_get_metrics_factor
WARNING: No declaration found for: cairo_glitz_surface_create
WARNING: No declaration found for: cairo_image_surface_create
WARNING: No declaration found for: cairo_image_surface_create_for_data
WARNING: No declaration found for: cairo_image_surface_get_width
WARNING: No declaration found for: cairo_image_surface_get_height
WARNING: No declaration found for: cairo_pdf_surface_create
WARNING: No declaration found for: cairo_pdf_surface_create_for_stream
WARNING: No declaration found for: cairo_pdf_surface_set_dpi
WARNING: No declaration found for: cairo_image_surface_create_from_png
WARNING: No declaration found for: cairo_image_surface_create_from_png_stream
WARNING: No declaration found for: cairo_surface_write_to_png
WARNING: No declaration found for: cairo_surface_write_to_png_stream
WARNING: No declaration found for: cairo_ps_surface_create
WARNING: No declaration found for: cairo_ps_surface_create_for_stream
WARNING: No declaration found for: cairo_ps_surface_set_dpi
WARNING: No declaration found for: cairo_quartz_surface_create
WARNING: No declaration found for: cairo_win32_surface_create
WARNING: No declaration found for: cairo_beos_surface_create
WARNING: No declaration found for: cairo_beos_surface_create_for_bitmap
WARNING: No declaration found for: cairo_xcb_surface_create
WARNING: No declaration found for: cairo_xcb_surface_create_for_bitmap
WARNING: No declaration found for: cairo_xcb_surface_set_size
WARNING: No declaration found for: cairo_xcb_surface_create_with_xrender_format
WARNING: No declaration found for: cairo_xlib_surface_create
WARNING: No declaration found for: cairo_xlib_surface_create_for_bitmap
WARNING: No declaration found for: cairo_xlib_surface_set_size
WARNING: No declaration found for: cairo_xlib_surface_set_drawable
WARNING: No declaration found for: cairo_xlib_surface_create_with_xrender_format
WARNING: No declaration found for: cairo_surface_create_similar
WARNING: No declaration found for: cairo_surface_destroy
WARNING: No declaration found for: cairo_surface_finish
WARNING: No declaration found for: cairo_surface_flush
WARNING: No declaration found for: cairo_surface_get_font_options
WARNING: No declaration found for: cairo_surface_set_user_data
WARNING: No declaration found for: cairo_surface_get_user_data
WARNING: No declaration found for: cairo_surface_mark_dirty
WARNING: No declaration found for: cairo_surface_mark_dirty_rectangle
WARNING: No declaration found for: cairo_surface_reference
WARNING: No declaration found for: cairo_surface_set_device_offset
WARNING: No declaration found for: cairo_surface_status
WARNING: No declaration found for: CAIRO_VERSION_STRING
WARNING: No declaration found for: cairo_version
WARNING: No declaration found for: cairo_version_string
WARNING: No declaration found for: cairo_pattern_add_color_stop_rgb
WARNING: No declaration found for: cairo_pattern_add_color_stop_rgba
WARNING: No declaration found for: cairo_pattern_create_rgb
WARNING: No declaration found for: cairo_pattern_create_rgba
WARNING: No declaration found for: cairo_pattern_create_for_surface
WARNING: No declaration found for: cairo_pattern_create_linear
WARNING: No declaration found for: cairo_pattern_create_radial
WARNING: No declaration found for: cairo_pattern_destroy
WARNING: No declaration found for: cairo_pattern_reference
WARNING: No declaration found for: cairo_pattern_status
WARNING: No declaration found for: cairo_pattern_set_extend
WARNING: No declaration found for: cairo_pattern_get_extend
WARNING: No declaration found for: cairo_pattern_set_filter
WARNING: No declaration found for: cairo_pattern_get_filter
WARNING: No declaration found for: cairo_pattern_set_matrix
WARNING: No declaration found for: cairo_pattern_get_matrix
WARNING: No declaration found for: cairo_matrix_init
WARNING: No declaration found for: cairo_matrix_init_identity
WARNING: No declaration found for: cairo_matrix_init_translate
WARNING: No declaration found for: cairo_matrix_init_scale
WARNING: No declaration found for: cairo_matrix_init_rotate
WARNING: No declaration found for: cairo_matrix_translate
WARNING: No declaration found for: cairo_matrix_scale
WARNING: No declaration found for: cairo_matrix_rotate
WARNING: No declaration found for: cairo_matrix_invert
WARNING: No declaration found for: cairo_matrix_multiply
WARNING: No declaration found for: cairo_matrix_transform_distance
WARNING: No declaration found for: cairo_matrix_transform_point
WARNING: No declaration found for: cairo_status_to_string
WARNING: No declaration found for: cairo_font_face_reference
WARNING: No declaration found for: cairo_font_face_destroy
WARNING: No declaration found for: cairo_font_face_status
WARNING: No declaration found for: cairo_font_face_get_user_data
WARNING: No declaration found for: cairo_font_face_set_user_data
WARNING: No declaration found for: cairo_scaled_font_create
WARNING: No declaration found for: cairo_scaled_font_reference
WARNING: No declaration found for: cairo_scaled_font_destroy
WARNING: No declaration found for: cairo_scaled_font_status
WARNING: No declaration found for: cairo_scaled_font_extents
WARNING: No declaration found for: cairo_scaled_font_glyph_extents
WARNING: No declaration found for: cairo_font_options_create
WARNING: No declaration found for: cairo_font_options_copy
WARNING: No declaration found for: cairo_font_options_destroy
WARNING: No declaration found for: cairo_font_options_status
WARNING: No declaration found for: cairo_font_options_merge
WARNING: No declaration found for: cairo_font_options_hash
WARNING: No declaration found for: cairo_font_options_equal
WARNING: No declaration found for: cairo_font_options_set_antialias
WARNING: No declaration found for: cairo_font_options_get_antialias
WARNING: No declaration found for: cairo_font_options_set_subpixel_order
WARNING: No declaration found for: cairo_font_options_get_subpixel_order
WARNING: No declaration found for: cairo_font_options_set_hint_style
WARNING: No declaration found for: cairo_font_options_get_hint_style
WARNING: No declaration found for: cairo_font_options_set_hint_metrics
WARNING: No declaration found for: cairo_font_options_get_hint_metrics
###Can't parse args for function cairo_bool_t: *cairo_cache_keys_equal_func_t) (void *key_a, void *key_b

WARNING: No declaration found for: cairo_translate
WARNING: No declaration found for: cairo_scale
WARNING: No declaration found for: cairo_rotate
WARNING: No declaration found for: cairo_transform
WARNING: No declaration found for: cairo_set_matrix
WARNING: No declaration found for: cairo_get_matrix
WARNING: No declaration found for: cairo_identity_matrix
WARNING: No declaration found for: cairo_user_to_device
WARNING: No declaration found for: cairo_user_to_device_distance
WARNING: No declaration found for: cairo_device_to_user
WARNING: No declaration found for: cairo_device_to_user_distance
WARNING: No declaration found for: cairo_copy_path
WARNING: No declaration found for: cairo_copy_path_flat
WARNING: No declaration found for: cairo_path_destroy
WARNING: No declaration found for: cairo_append_path
WARNING: No declaration found for: cairo_get_current_point
WARNING: No declaration found for: cairo_new_path
WARNING: No declaration found for: cairo_close_path
WARNING: No declaration found for: cairo_arc
WARNING: No declaration found for: cairo_arc_negative
WARNING: No declaration found for: cairo_curve_to
WARNING: No declaration found for: cairo_line_to
WARNING: No declaration found for: cairo_move_to
WARNING: No declaration found for: cairo_rectangle
WARNING: No declaration found for: cairo_glyph_path
WARNING: No declaration found for: cairo_text_path
WARNING: No declaration found for: cairo_rel_curve_to
WARNING: No declaration found for: cairo_rel_line_to
WARNING: No declaration found for: cairo_rel_move_to
WARNING: No declaration found for: cairo_select_font_face
WARNING: No declaration found for: cairo_set_font_size
WARNING: No declaration found for: cairo_set_font_matrix
WARNING: No declaration found for: cairo_get_font_matrix
WARNING: No declaration found for: cairo_set_font_options
WARNING: No declaration found for: cairo_get_font_options
WARNING: No declaration found for: cairo_show_text
WARNING: No declaration found for: cairo_show_glyphs
WARNING: No declaration found for: cairo_get_font_face
WARNING: No declaration found for: cairo_font_extents
WARNING: No declaration found for: cairo_set_font_face
WARNING: No declaration found for: cairo_text_extents
WARNING: No declaration found for: cairo_glyph_extents
WARNING: No declaration found for: cairo_create
WARNING: No declaration found for: cairo_reference
WARNING: No declaration found for: cairo_destroy
WARNING: No declaration found for: cairo_save
WARNING: No declaration found for: cairo_restore
WARNING: No declaration found for: cairo_status
WARNING: No declaration found for: cairo_get_target
WARNING: No declaration found for: cairo_set_source_rgb
WARNING: No declaration found for: cairo_set_source_rgba
WARNING: No declaration found for: cairo_set_source
WARNING: No declaration found for: cairo_set_source_surface
WARNING: No declaration found for: cairo_get_source
WARNING: No declaration found for: cairo_set_antialias
WARNING: No declaration found for: cairo_get_antialias
WARNING: No declaration found for: cairo_set_dash
WARNING: No declaration found for: cairo_set_fill_rule
WARNING: No declaration found for: cairo_get_fill_rule
WARNING: No declaration found for: cairo_set_line_cap
WARNING: No declaration found for: cairo_get_line_cap
WARNING: No declaration found for: cairo_set_line_join
WARNING: No declaration found for: cairo_get_line_join
WARNING: No declaration found for: cairo_set_line_width
WARNING: No declaration found for: cairo_get_line_width
WARNING: No declaration found for: cairo_set_miter_limit
WARNING: No declaration found for: cairo_get_miter_limit
WARNING: No declaration found for: cairo_set_operator
WARNING: No declaration found for: cairo_get_operator
WARNING: No declaration found for: cairo_set_tolerance
WARNING: No declaration found for: cairo_get_tolerance
WARNING: No declaration found for: cairo_clip
WARNING: No declaration found for: cairo_clip_preserve
WARNING: No declaration found for: cairo_reset_clip
WARNING: No declaration found for: cairo_fill
WARNING: No declaration found for: cairo_fill_preserve
WARNING: No declaration found for: cairo_fill_extents
WARNING: No declaration found for: cairo_in_fill
WARNING: No declaration found for: cairo_mask
WARNING: No declaration found for: cairo_mask_surface
WARNING: No declaration found for: cairo_paint
WARNING: No declaration found for: cairo_paint_with_alpha
WARNING: No declaration found for: cairo_stroke
WARNING: No declaration found for: cairo_stroke_preserve
WARNING: No declaration found for: cairo_stroke_extents
WARNING: No declaration found for: cairo_in_stroke
WARNING: No declaration found for: cairo_copy_page
WARNING: No declaration found for: cairo_show_page
62% symbol docs coverage (56 symbols documented, 1 symbols incomplete, 34 not documented)
See cairo-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
gtk-doc: Building HTML
rm -rf ./html 
mkdir ./html
cd ./html && gtkdoc-mkhtml cairo ../cairo-docs.xml
/usr/local/bin/gtkdoc-mkhtml: line 38: @XSLTPROC@: command not found
make[3]: *** [html-build.stamp] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
ibook-di-ciccio-cauro:~/Desktop/Gtk/sorgenti/Cairo/cairo adri$ 


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