cairomm can't find sigc++/slot.h
Today I Compiled cairomm( Other software depends it).
My system version is 13.37 I download cairomm from slackbuilds.But it depend sigc++/slot.h, I download libsigc++ from slackbuilds and install success. Then I compile cairomm ,I get the same error Code:
../cairomm/surface.h:33:25: fatal error: sigc++/slot.h: No such file or directory But now I still get the same error :( I fond these threads,get same error http://www.linuxquestions.org/questi...-and-q-321389/ But I use slackBuilds.I can't change slackBuilds or complied it by myself So someone know how to solve it ? Thanks all :) |
did you use the SlackBuild for 13.37 or 14.0?
|
Quote:
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 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:
|
Quote:
I use slackware 13.37,so I download slackBuilds 13.37 :) |
Quote:
Use this command ? Code:
Cflags: -I${includedir}/sigc++-2.0 -I${libdir}/sigc++-2.0/include I only change PKG_CONFIG_PATH. Except PKG_CONFIG_PATH , everything is from slackbuilds 13.37 |
Can you reformat your last post as I can't work out where the quotes end and where you start.
|
Quote:
Now I had reformat my last posts .If have free time ,please help me find the wrong step .Thanks a lot :-) |
Quote:
1. Have you located the sigc++ pkgconfig file? 2. Does it have that line at the end? or something similar? 3. Did you check the path out and see if the includes are actually there? Some things to consider doing is to restart the build by removing the installed packages and rebuilding them again. And watching them as they build to make sure they don't break, I had one here the other day that broke part way through but it still created a package which was useless as there was no executable just a bunch of text files. |
Ok ,thanks.
I will reinstall my packages Now I'm ready to return school . So I have no time to test in my slackware 13.37. If I test , I will write down and post here Thanks again:) |
Quote:
2.Yes,I fond something similar.Look this: Code:
Name: cairomm |
All times are GMT -5. The time now is 03:45 AM. |