Quote:
Originally Posted by boy_China
I found PKG_CONFIG_PATH not include /usr/include/,so I add it to /etc/profile.d/pkgconfig.sh and reboot
|
What you did there is wrong.
PKG_CONFIG_PATH is the search path for pkgconfig to find the relevent ".pc" (pkgconfig) files it has nothing whatsoever to do with the include path that the compiler will see.
What does modify (or should modify) the include path is the .pc file for sigc++, in fact the last line has the include paths.
Can you confirm that the /usr/lib(64)/pkgconfig/sigc++-2.0.pc file has the correct path to its includes on the last the line?
Should look like this
Code:
Cflags: -I${includedir}/sigc++-2.0 -I${libdir}/sigc++-2.0/include
And if you add the path you see in the compiler output and add it on you should have the full path to the include file which should be at that location.
Another possibility is that you have set the variable includedir, if you look again at the pc file for sigc++ you will see that that variable is used to generate the path, if you've changed something to set that path then you should change it back as you will break pretty much everything.
EDIT :-
Quote:
Originally Posted by willysr
did you use the SlackBuild for 13.37 or 14.0?
|
I just checked both sigc++ & cairomm and there is no difference in the SlackBuild between 13.37 and 14.0 other than the source code version change.