Tiny Core Extensions > TCE Q&A Forum
{SOLVED} Compiling pygtk-2,12,1 error headers not found.
kagashe:
I think that problem with installing libcairo is "all libraries are not available at one place".
kagashe
Juanito:
ah - perhaps LDFLAGS was unset and you need "export LDFLAGS=/lib:/usr/lib:/usr/local/lib"
..or otherwise continue down the symlinks route :)
kagashe:
--- Quote from: Juanito on December 23, 2008, 11:32:03 AM ---ah - perhaps LDFLAGS was unset and you need "export LDFLAGS=/lib:/usr/lib:/usr/local/lib"
..or otherwise continue down the symlinks route :)
--- End quote ---
Let me clarify what is happening. I could configure PYcairo but the make failed to detect those libs. When I try to configure with "export LDFLAGS=/lib:/usr/lib:/usr/local/lib" I get the error:
--- Quote ---configure: error: C compiler cannot create executables.
--- End quote ---
Now I am trying to compile cairo (required by pycairo and assuming it is not present) it fails to detect pixman (which is present).
kagashe
Jason W:
Cairo is part of gtk+-2 in TC, so it is present.
It still sounds like you have a bad syntax in your exported flags. I usually use something like this for LDFLAGS:
export LDFLAGS="-L/usr/local/lib -L/usr/lib"
I am not saying Juanito is wrong, but I have not tried other LDFLAGS syntax and I cannot test it now to see.
ALso, pycairo will not detect GTK and other libs if it is still having trouble with with the X development libs.
Juanito:
--- Quote ---I am not saying Juanito is wrong
--- End quote ---
but I think I was wrong - well spotted, I should have had the -L in front of each lib location.
Note that one other option is to edit the Makefile and correct the location of the libs - the line(s) to edit are usually near the beginning.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version