Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53704 - dev-libs/gdome2-0.8.1 - Error in gdome-config script
Summary: dev-libs/gdome2-0.8.1 - Error in gdome-config script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-12 02:22 UTC by Dimitri De Wolf
Modified: 2004-10-19 09:14 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the compilation error pasted (gdome,93.65 KB, text/plain)
2004-06-21 14:14 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri De Wolf 2004-06-12 02:22:35 UTC
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:
Comment 1 Dimitri De Wolf 2004-06-13 09:23:02 UTC
GLIB_CONFIG in the Makefile contains the path to glib-config. This variable is blank in the Makefile generated by ./configure on my computer.
Comment 2 Patrizio Bassi 2004-06-21 14:14:16 UTC
Created attachment 33775 [details]
the compilation error pasted
Comment 3 Jason Wever (RETIRED) gentoo-dev 2004-08-11 16:52:33 UTC
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.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2004-08-11 16:53:01 UTC
Don't mind me, I just learned how to read yesterday ;)
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 12:45:22 UTC
can't say that this is maintained by gnome at all.
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2004-10-19 09:14:32 UTC
fixed. (dev-libs/gdome2-0.8.1-r1)