| Summary: | dev-libs/gdome2-0.8.1 - Error in gdome-config script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dimitri De Wolf <ddewolf> |
| Component: | [OLD] Library | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | gnome, howard_b_golden, lanius, patrizio.bassi, weeve |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | the compilation error pasted | ||
GLIB_CONFIG in the Makefile contains the path to glib-config. This variable is blank in the Makefile generated by ./configure on my computer. Created attachment 33775 [details]
the compilation error pasted
This problem seems to cause the dev-perl/XML-GDOME package to fail when building as it makes calls to gdome-config for cflags and libs args to build the module's C code with. Don't mind me, I just learned how to read yesterday ;) can't say that this is maintained by gnome at all. fixed. (dev-libs/gdome2-0.8.1-r1) |
Runninng gdome-config --libs or gdome-config --cflags generates the following errors : /usr/bin/gdome-config: line 1: --libs: command not found /usr/bin/gdome-config: line 1: --cflags: command not found -L/usr/lib -lgdome -lxml2 -lz -lpthread -lm The output is is incomplete and causes the emerge of dev-perl/XML-GDOME-0.86 to fail. The problem is caused by the following lines in the gdome-config script : the_libs="$the_libs -L${exec_prefix}/lib -lgdome ` --libs` `xml2-config --libs`" the_flags="$the_flags -I${prefix}/include -I${prefix}/include/libgdome ` --cflags` `xml2-config --cflags`" Based on the gdome-config from dev-libs/gdome2-0.8.0 the following fixes the syntax errors and allows dev-perl/XML-GDOME to merge : the_libs="$the_libs -L${exec_prefix}/lib -lgdome `/usr/bin/glib-config --libs` `xml2-config --libs`" the_flags="$the_flags -I${prefix}/include -I${prefix}/include/libgdome `/usr/bin/glib-config --cflags` `xml2-co$ Reproducible: Always Steps to Reproduce: