Tiny Core Extensions > TCE Q&A Forum
{SOLVED} Compiling pygtk-2,12,1 error headers not found.
kagashe:
While I am trying to compile this package it is a good learning experince and thanks to both of you Jason and Juanito. Couple of questions:
Although the Python.h was in /usr/local/include/python2.5 (I think that is the default location) it could be detected only when I used python.tce. Using python.tcz always produced error no matter what I do with CPPFLAGS.
Similarly even after using correct syntax in LDFLAGS the libs in /usr/local/lib were not detected, however, "sudo ln -s /usr/local/xxxx.la /usr/lib" seems to work.
That brings me to the questions:
1. Is it necessary to use .tce packages instead of .tcz for compiling? Specially when our libs are located in /usr/local/lib?
2. When I compile with "sudo ln -s /usr/local/xxxx.la /usr/lib" the compiled program may also look for the symlink in /usr/lib and not finding it fails.
I will try the suggestion of Juanito to edit the makefile.
With the above I could compile pygobject and pycairo and almost succeeded in compiling pygtk but pygtk hangs in make at this point:
Creating gtkunixprint.la
..
..
..
gtk:c:68363:...:assignment for incomplete pointer type
It might be hanging also because I am trying this on 256 MB RAM machine and Python and Python-devs are loaded as .tce, others (gtk, libs Xorg etc) are .tcz.
I will also try disabling gtkunixprint in ./configure.
Juanito:
--- Quote from: kagashe on December 24, 2008, 11:09:22 PM ---That brings me to the questions:
1. Is it necessary to use .tce packages instead of .tcz for compiling? Specially when our libs are located in /usr/local/lib?
2. When I compile with "sudo ln -s /usr/local/xxxx.la /usr/lib" the compiled program may also look for the symlink in /usr/lib and not finding it fails.
--- End quote ---
ref 1: I've used tcz extensions to compile large stuff like oo without problems
ref 2: As long as you use "l" in the extension name (i.e. tcel), the libraries will be loaded and you should be OK
kagashe:
I have finally compiled pygtk-2.10.6.tcelm package which includes pygobject-2.12.3 pycairo-1.4.0 and pygtk-2.10.6
I did not go for pygtk-2.12.1 because of dependency problems with cairo.
kagashe
jls:
I can't see pygtk in the repository
jls:
never mind I compiled myself all this libs for nicotine, I'll send soon to the tcl team
Navigation
[0] Message Index
[*] Previous page
Go to full version