Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#53 ./configure should check for dependencies

Sy Ali

'configure' works fine, but 'make' does not. It seems like the initial ./configure should have given errors about any missing dependencies.

# ./configure

Installation prefix is /usr
creating config.h
creating Makefile.config

# make

Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
CC systray/egg-marshal.o
In file included from egg-marshal.c:1:
eggmarshalers.h:5:25: error: glib-object.h: No such file or directory
In file included from egg-marshal.c:1:
eggmarshalers.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
eggmarshalers.h:18: error: expected ‘)’ before ‘*’ token
eggmarshalers.h:26: error: expected ‘)’ before ‘*’ token
In file included from egg-marshal.c:2:
eggmarshalers.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
eggmarshalers.c:89: error: expected ‘)’ before ‘*’ token
eggmarshalers.c:130: error: expected ‘)’ before ‘*’ token
make[1]: *** [egg-marshal.o] E


  • Logged In: YES
    Originator: NO

    it's ok. it is not a bug but rather not yet implemented feature
    currently ./configure does no detection of packages needed for compilation but just sets app installation directories.
    so if something is missing, make will just fail.

    I move your issue from "Bugs" to "Feature Request" and mark it for to-do in a next 4.9 release

    • milestone: 712623 -->
    • summary: cannot 'make' --> ./configure should check for dependencies
    • labels: --> new feature
    • milestone: --> 4.9
    • assigned_to: nobody --> aanatoly
  • Sy Ali
    Sy Ali

    Logged In: YES
    Originator: YES

    Alright, I'll double-check that I have dependencies and will try again.

  • Logged In: YES
    Originator: NO

    done in 4.9

    • status: open --> closed