Tiny Core Extensions > TCE Q&A Forum
{SOLVED} Compiling pygtk-2,12,1 error headers not found.
Juanito:
you might be be able to get by if you make symlinks to the missing libs, eg:
--- Code: ---$ sudo ln -s /usr/local/lib/libexpat.la /usr/lib
--- End code ---
kagashe:
--- Quote from: Juanito on December 23, 2008, 07:49:17 AM ---you might be be able to get by if you make symlinks to the missing libs, eg:
--- Code: ---$ sudo ln -s /usr/local/lib/libexpat.la /usr/lib
--- End code ---
--- End quote ---
Then it is complaining for next libXrender.la
then next libX11.la
How can I go on setting symlinks?
kagashe
Juanito:
--- Code: ---$ sudo ln -s /usr/local/lib/libXrender.la /usr/lib
$ sudo ln -s /usr/local/lib/libX11.la /usr/lib
--- End code ---
..but it might be better to try "export LDFLAGS=$LDFLAGS:/usr/local/lib" and then run ./configure again?
Jason W:
expat dev files get installed by three different extensions- Xorg-dev, expat-dev, and perl_xml. So they are present in both /usr/lib and /usr/local/lib. That is ok since they are all the same version. So by all means expat should be detected as present. But somewhare some files get lost since I noticed the same error with expat.
Xorg-dev places it's .la and .a files in /usr/local/lib though the ones whose shared libs are in /usr/lib seem to expect to find the .a and .la files there when compiling. I may soon move files around in my own copy of xorg-dev and edit the pkgconfig files and see if that helps as I run into this issue every time I compile anything involving X.
kagashe:
--- Quote from: Juanito on December 23, 2008, 09:00:43 AM ---
--- Code: ---$ sudo ln -s /usr/local/lib/libXrender.la /usr/lib
$ sudo ln -s /usr/local/lib/libX11.la /usr/lib
--- End code ---
..but it might be better to try "export LDFLAGS=$LDFLAGS:/usr/local/lib" and then run ./configure again?
--- End quote ---
This results into error:
--- Quote ---configure: error: C compiler cannot create executables.
--- End quote ---
kagashe
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version