New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building demo fails on FC13 #1

Closed
bert opened this Issue May 9, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@bert

bert commented May 9, 2016

Hi,

I get the following when trying to build on my FC13 (updated):

... ## adg-1 0.8.0 will be built with the following options:
            CPML library to use: internal (cpml-0.8.0)
     Build pango based entities: yes (pangocairo-1.28.0)
                   GTK+ support: gtk2 (gtk+-2.20.1)
         Install glade catalogs: no
            Build API reference: no
         GObject instrospection: no
            Test coverage build: no
         Test framework support: yes (glib-2.24.1)

[bert@vortex adg]$ make
GEN README
GEN NEWS
GEN TODO
GEN CONTRIBUTING
GEN HACKING
make all-recursive
make[1]: Entering directory /home/bert/workspace/git/adg' Making all in src make[2]: Entering directory/home/bert/workspace/git/adg/src'
make all-recursive
make[3]: Entering directory /home/bert/workspace/git/adg/src' Making all in tests make[4]: Entering directory/home/bert/workspace/git/adg/src/tests'
make[4]: Nothing to be done for all'. make[4]: Leaving directory/home/bert/workspace/git/adg/src/tests'
Making all in cpml
make[4]: Entering directory /home/bert/workspace/git/adg/src/cpml' make all-recursive make[5]: Entering directory/home/bert/workspace/git/adg/src/cpml'
Making all in tests
make[6]: Entering directory /home/bert/workspace/git/adg/src/cpml/tests' make[6]: Nothing to be done forall'.
make[6]: Leaving directory /home/bert/workspace/git/adg/src/cpml/tests' make[6]: Entering directory/home/bert/workspace/git/adg/src/cpml'
CC cpml-arc.lo
CC cpml-curve.lo
CC cpml-extents.lo
CC cpml-line.lo
CC cpml-pair.lo
CC cpml-primitive.lo
CC cpml-segment.lo
CC cpml-utils.lo
CC cpml-gobject.lo
CCLD libcpml-1.la
make[6]: Leaving directory /home/bert/workspace/git/adg/src/cpml' make[5]: Leaving directory/home/bert/workspace/git/adg/src/cpml'
make[4]: Leaving directory /home/bert/workspace/git/adg/src/cpml' Making all in adg make[4]: Entering directory/home/bert/workspace/git/adg/src/adg'
GEN adg-type-builtins.h
GEN adg-marshal.h
make all-recursive
make[5]: Entering directory /home/bert/workspace/git/adg/src/adg' Making all in tests make[6]: Entering directory/home/bert/workspace/git/adg/src/adg/tests'
make[6]: Nothing to be done for all'. make[6]: Leaving directory/home/bert/workspace/git/adg/src/adg/tests'
make[6]: Entering directory /home/bert/workspace/git/adg/src/adg' CC adg-adim.lo CC adg-alignment.lo CC adg-arrow.lo CC adg-cairo-fallback.lo CC adg-canvas.lo CC adg-color-style.lo CC adg-container.lo CC adg-dash.lo CC adg-dim.lo CC adg-dim-style.lo CC adg-dress.lo CC adg-edges.lo CC adg-entity.lo CC adg-enums.lo CC adg-fill-style.lo CC adg-font-style.lo CC adg-hatch.lo CC adg-ldim.lo CC adg-line-style.lo CC adg-logo.lo CC adg-marker.lo CC adg-matrix.lo CC adg-model.lo CC adg-param-dress.lo CC adg-path.lo CC adg-point.lo CC adg-projection.lo CC adg-rdim.lo CC adg-ruled-fill.lo CC adg-stroke.lo CC adg-style.lo CC adg-table.lo CC adg-table-cell.lo CC adg-table-row.lo CC adg-table-style.lo CC adg-textual.lo CC adg-title-block.lo CC adg-trail.lo CC adg-toy-text.lo CC adg-utils.lo CC adg-gtk-area.lo CC adg-gtk-layout.lo CC adg-gtk-utils.lo CC adg-pango-style.lo CC adg-text.lo GEN adg-type-builtins.c CC adg-type-builtins.lo GEN adg-marshal.c CC adg-marshal.lo CCLD libadg-1.la make[6]: Leaving directory/home/bert/workspace/git/adg/src/adg'
make[5]: Leaving directory /home/bert/workspace/git/adg/src/adg' make[4]: Leaving directory/home/bert/workspace/git/adg/src/adg'
make[4]: Entering directory /home/bert/workspace/git/adg/src' make[4]: Leaving directory/home/bert/workspace/git/adg/src'
make[3]: Leaving directory /home/bert/workspace/git/adg/src' make[2]: Leaving directory/home/bert/workspace/git/adg/src'
Making all in demo
make[2]: Entering directory /home/bert/workspace/git/adg/demo' CC adg_demo_uninstalled-adg-demo.o In file included from adg-demo.c:21: ../src/adg.h:24:27: error: cairo-gobject.h: No such file or directory make[2]: *** [adg_demo_uninstalled-adg-demo.o] Error 1 make[2]: Leaving directory/home/bert/workspace/git/adg/demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bert/workspace/git/adg'
make: *** [all] Error 2
[bert@vortex adg]$
...

Kind regards,
Bert Timmerman.

@ntd

This comment has been minimized.

Show comment
Hide comment
@ntd

ntd May 9, 2016

Owner

Oh yes, I need to update the configure script: cairo-gobject is a requirement since
4dce10c.

Could you check you have at least cairo 1.10.0 installed, together with its gobject bundle (if relevant)? A quick way to check if everything is ok is:

pkg-config --modversion cairo-gobject

If you compiled cairo by yourself you must be sure to enable gobject support.

Owner

ntd commented May 9, 2016

Oh yes, I need to update the configure script: cairo-gobject is a requirement since
4dce10c.

Could you check you have at least cairo 1.10.0 installed, together with its gobject bundle (if relevant)? A quick way to check if everything is ok is:

pkg-config --modversion cairo-gobject

If you compiled cairo by yourself you must be sure to enable gobject support.

@bert

This comment has been minimized.

Show comment
Hide comment
@bert

bert May 9, 2016

I seem to have cairo-1.8.10-1.fc13.i686, cairo-devel-1.8.10-1.fc13.i686 and cairo10-1.10.2-2.fc13.i686 installed.

pkg-config --modversion cairo-gobject gives:

Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found

So I need an update to a more modern FC distro.

bert commented May 9, 2016

I seem to have cairo-1.8.10-1.fc13.i686, cairo-devel-1.8.10-1.fc13.i686 and cairo10-1.10.2-2.fc13.i686 installed.

pkg-config --modversion cairo-gobject gives:

Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found

So I need an update to a more modern FC distro.

@ntd

This comment has been minimized.

Show comment
Hide comment
@ntd

ntd May 10, 2016

Owner

Ah, you have two cairo versions installed: maybe you can just install cairo10-devel-1.10.2. In this case you must see where that package is installed and adjust the PKG_CONFIG_PATH environment variable before calling pkg-config. You must also adjust the LD_LIBRARY_PATH before building ADG.

The online demo runs on a system older than Fedora 13 (CentOS 5). I've been able to install adg by compiling some package directly from sources.

Let me know if you sort it out.

Owner

ntd commented May 10, 2016

Ah, you have two cairo versions installed: maybe you can just install cairo10-devel-1.10.2. In this case you must see where that package is installed and adjust the PKG_CONFIG_PATH environment variable before calling pkg-config. You must also adjust the LD_LIBRARY_PATH before building ADG.

The online demo runs on a system older than Fedora 13 (CentOS 5). I've been able to install adg by compiling some package directly from sources.

Let me know if you sort it out.

@ntd ntd closed this in 3571fca Nov 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment