[cairo] Problem with cairo 1.9.6 compiling

Camassa Valerio valerio993 at gmail.com
Mon Apr 26 05:38:34 PDT 2010


Hi,
i'm trying to compile cairo 1.9.6, but i have a problem:
during make command i receive this error:
> Making all in src
> Making all in doc
> Making all in public
> Making all in util
> Making all in .
> Making all in cairo-script
> Making all in examples
>   LINK  libcairo-script-interpreter.la
> gcc: ../../src/.libs/libcairo.so: No such file or directory
> make[5]: *** [libcairo-script-interpreter.la] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
In src/.libs/ there are two symbolik link: libcairo.so and 
libcairo.so.2. All the two links points at libcairo.so.2.10906.0, that 
not exist.

If i try to compile cairo 1.8.10 (latest release) the compilation end 
without errors (in .libs are created the same link that pointing to 
libcairo.so.2.xxxxx.0 [i don't remember numbers, but are older than the 
file required in cairo 1.9.6] that exist).

This is the output of ./configure of 1.9.6:

> ----CUTTED: TO MUCH LONG----
> cairo (version 1.9.6 [snapshot]) will be compiled with:
>
> The following surface backends:
>   Image:         yes (always builtin)
>   Meta:          yes (always builtin)
>   Tee:           yes (always builtin)
>   XML:           yes
>   Skia:          no (disabled, use --enable-skia to enable)
>   Xlib:          yes
>   Xlib Xrender:  yes
>   Qt:            no (disabled, use --enable-qt to enable)
>   Quartz:        no (requires CoreGraphics framework)
>   Quartz-image:  no (disabled, use --enable-quartz-image to enable)
>   XCB:           no (disabled, use --enable-xcb to enable)
>   Win32:         no (requires a Win32 platform)
>   OS2:           no (disabled, use --enable-os2 to enable)
>   CairoScript:   no (disabled, use --enable-script to enable)
>   PostScript:    yes
>   PDF:           yes
>   SVG:           yes
>   OpenGL:        no (disabled, use --enable-gl to enable)
>   BeOS:          no (disabled, use --enable-beos to enable)
>   DirectFB:      no (disabled, use --enable-directfb to enable)
>   OpenVG:        no (disabled, use --enable-vg to enable)
>   DRM:           no (disabled, use --enable-drm to enable)
>
> The following font backends:
>   User:          yes (always builtin)
>   FreeType:      yes
>   Fontconfig:    yes
>   Win32:         no (requires a Win32 platform)
>   Quartz:        no (requires CoreGraphics framework)
>
> The following functions:
>   PNG functions:   yes
>   GLEW functions:  no (not required by any backend)
>   GLX functions:   no (not required by any backend)
>   EGL functions:   no (not required by any backend)
>   X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
>   XCB-drm functions: no (disabled, use --enable-xcb-drm to enable)
>   XCB-shm functions: yes
>
> The following features and utilies:
>   cairo-trace:                yes
>   cairo-script-interpreter:   yes
>
> And the following internal features:
>   pthread:       yes
>   gtk-doc:       no
>   gcov support:  no
>   symbol-lookup: yes
>   test surfaces: no (disabled, use --enable-test-surfaces to enable)
>   ps testing:    yes
>   pdf testing:   yes
>   svg testing:   yes
>


Make output messages of 1.9.6:

> Making all in src
>   CC    cairo-analysis-surface.o
>   CC    cairo-arc.o
>   CC    cairo-array.o
>   CC    cairo-atomic.o
>   CC    cairo-base64-stream.o
>   CC    cairo-base85-stream.o
>   CC    cairo-bentley-ottmann.o
>   CC    cairo-bentley-ottmann-rectangular.o
>   CC    cairo-bentley-ottmann-rectilinear.o
>   CC    cairo-botor-scan-converter.o
> cairo-botor-scan-converter.c: In function 'edges_compare_x_for_y':
> cairo-botor-scan-converter.c:459: warning: 'ax' may be used 
> uninitialized in this function
> cairo-botor-scan-converter.c:459: warning: 'bx' may be used 
> uninitialized in this function
> cairo-botor-scan-converter.c: In function 'botor_generate':
> cairo-botor-scan-converter.c:963: warning: inlining failed in call to 
> 'event_insert_if_intersect_below_current_y': call is unlikely and code 
> size would grow
> cairo-botor-scan-converter.c:1941: warning: called from here
> cairo-botor-scan-converter.c:963: warning: inlining failed in call to 
> 'event_insert_if_intersect_below_current_y': call is unlikely and code 
> size would grow
> cairo-botor-scan-converter.c:1946: warning: called from here
>   CC    cairo-boxes.o
>   CC    cairo.o
>   CC    cairo-cache.o
>   CC    cairo-clip.o
>   CC    cairo-color.o
>   CC    cairo-composite-rectangles.o
>   CC    cairo-debug.o
>   CC    cairo-device.o
>   CC    cairo-fixed.o
>   CC    cairo-font-face.o
>   CC    cairo-font-face-twin.o
>   CC    cairo-font-face-twin-data.o
>   CC    cairo-font-options.o
>   CC    cairo-freelist.o
>   CC    cairo-freed-pool.o
>   CC    cairo-gstate.o
>   CC    cairo-hash.o
>   CC    cairo-hull.o
>   CC    cairo-image-info.o
>   CC    cairo-image-surface.o
>   CC    cairo-lzw.o
>   CC    cairo-matrix.o
>   CC    cairo-recording-surface.o
>   CC    cairo-misc.o
>   CC    cairo-mutex.o
>   CC    cairo-output-stream.o
>   CC    cairo-paginated-surface.o
>   CC    cairo-path-bounds.o
>   CC    cairo-path.o
>   CC    cairo-path-fill.o
>   CC    cairo-path-fixed.o
>   CC    cairo-path-in-fill.o
>   CC    cairo-path-stroke.o
>   CC    cairo-pattern.o
>   CC    cairo-pen.o
>   CC    cairo-polygon.o
>   CC    cairo-rectangle.o
>   CC    cairo-rectangular-scan-converter.o
>   CC    cairo-region.o
>   CC    cairo-rtree.o
>   CC    cairo-scaled-font.o
>   CC    cairo-slope.o
>   CC    cairo-spans.o
>   CC    cairo-spline.o
>   CC    cairo-stroke-style.o
> cairo-stroke-style.c: In function '_cairo_stroke_style_dash_stroked':
> cairo-stroke-style.c:194: warning: cannot optimize loop, the loop 
> counter may overflow
>   CC    cairo-surface.o
>   CC    cairo-surface-fallback.o
>   CC    cairo-surface-clipper.o
>   CC    cairo-surface-offset.o
>   CC    cairo-surface-snapshot.o
>   CC    cairo-surface-subsurface.o
>   CC    cairo-surface-wrapper.o
>   CC    cairo-system.o
>   CC    cairo-tee-surface.o
>   CC    cairo-tor-scan-converter.o
>   CC    cairo-toy-font-face.o
>   CC    cairo-traps.o
>   CC    cairo-unicode.o
>   CC    cairo-user-font.o
>   CC    cairo-version.o
>   CC    cairo-wideint.o
>   CC    cairo-cff-subset.o
>   CC    cairo-scaled-font-subsets.o
>   CC    cairo-truetype-subset.o
>   CC    cairo-type1-fallback.o
>   CC    cairo-type1-subset.o
>   CC    cairo-type3-glyph-surface.o
>   CC    cairo-pdf-operators.o
>   CC    cairo-deflate-stream.o
>   CC    cairo-xlib-display.o
>   CC    cairo-xlib-screen.o
>   CC    cairo-xlib-surface.o
> cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal':
> cairo-xlib-surface.c:2904: warning: cannot optimize loop, the loop 
> counter may overflow
> cairo-xlib-surface.c: In function 'cairo_xlib_surface_create':
> cairo-xlib-surface.c:3048: warning: cannot optimize loop, the loop 
> counter may overflow
>   CC    cairo-xlib-visual.o
>   CC    cairo-png.o
>   CC    cairo-ft-font.o
>   CC    cairo-ps-surface.o
>   CC    cairo-pdf-surface.o
>   CC    cairo-svg-surface.o
>   CC    cairo-xml-surface.o
> cairo-xml-surface.c:75: warning: '_direction_to_string' defined but 
> not used
>   LINK  libcairo.la
> Making all in doc
> Making all in public
> Making all in util
> Making all in .
> Making all in cairo-script
> Making all in examples
>   CC    cairo-script-file.o
>   CC    cairo-script-hash.o
>   CC    cairo-script-interpreter.o
>   CC    cairo-script-objects.o
>   CC    cairo-script-operators.o
> cairo-script-operators.c: In function 'end_array_construction':
> cairo-script-operators.c:606: warning: cannot optimize possibly 
> infinite loops
>   CC    cairo-script-scanner.o
>   CC    cairo-script-stack.o
>   LINK  libcairo-script-interpreter.la
> gcc: ../../src/.libs/libcairo.so: No such file or directory
> make[5]: *** [libcairo-script-interpreter.la] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Greetings,
Valerio.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100426/3e7d0a4b/attachment.htm>


More information about the cairo mailing list