Tiny Core Linux
		Tiny Core Extensions => TCE News => TCE 2.x => Topic started by: Jason W on June 11, 2009, 06:31:12 PM
		
			
			- 
				Thanks to robc for treeline:
Title:          treeline.tcel
Description:    Structured information storage
Version:        1.2.3
Author:         Doug Bell
Original-site:  http://treeline.bellz.org/
Copying-policy: GPL
Size:		664.1k
Extension_by:   robc
Comments:       This package requires qt-4.2.2, sip,
		python, glib2, Xlibs_support, fontconfig, pyqt, 
		ispell, and expat2.
		
		
		----------------------------------------------
		
		Please see the man page for additional 
		information. 
		
		Also see http://treeline.bellz.org/
		for more information.
		
		----------------------------------------------
		
		This extension is PPI compatible.
		
Change-log:     2009/6/11 Original
Current:	2009/6/11 Original
Title:          treeline.tczl
Description:    Structured information storage
Version:        1.2.3
Author:         Doug Bell
Original-site:  http://treeline.bellz.org/
Copying-policy: GPL
Size:		684k
Extension_by:   robc
Comments:       This package requires qt-4.2.2, sip,
		python, glib2, Xlibs_support, fontconfig, pyqt, 
		ispell, and expat2.
		
		
		----------------------------------------------
		
		Please see the man page for additional 
		information. 
		
		Also see http://treeline.bellz.org/
		for more information.
		
		----------------------------------------------
		
Change-log:     2009/6/11 Original
Current:	2009/6/11 Original
			 
			
			- 
				Thanks to robc for an update for permissions and menu/icon bugs.
			
 
			
			- 
				needs libQtCore.so.4, but after loading qt-4.5-base.tczl I get:
    from PyQt4 import QtCore, QtGui
ImportError: /usr/local/lib/libQtGui.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
 
Curious...did anyone check this extension?  
			 
			
			- 
				this extension depends on qt-4.2.2 and has not been tested with qt-4.5
			
 
			
			- 
				
this extension depends on qt-4.2.2 and has not been tested with qt-4.5
With qt-4.2.2 I'm getting:
Traceback (most recent call last):
  File "/usr/local/lib/treeline/treeline.py", line 33, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: libQtCore.so.4: cannot open shared object file: No such file or directory
edit: it seems to want libQtCore in /usr/lib, but then I get the other posted error.  
			 
			
			- 
				The qt libraries are not being found by pyqt because they are not in your library path. Adding /usr/local/lib/qt-4.2.2/lib to /etc/ld.so.conf fixes this problem. This is stated in the pyqt info file.
It looks like pyqt cannot use qt-4.5 due to the undefined symbol, they must have taken something out. When I get the time I'll rebuild sip, pyqt, and treeline against qt-4.5 so the library path won't have to be changed 
it seems to want libQtCore in /usr/lib
This may be due to some linking problems that I had to get around when building pyqt. I'm not sure if it was qt-4.2.2 or if it was pyqt's source that was having problems but it seemed to change from looking in /usr/local/lib to /usr/lib (even when I specifically told it to look in /usr/local/lib). To work around this I had to create a symlink for /usr/local/lib/qt-4.2.2 in /usr/lib, but including the qt lib directory in the library path should clear this up when running applications.
Since qt-4.5 has its libs in /usr/local/lib there shouldn't be as many problems building pyqt.
			 
			
			- 
				
The qt libraries are not being found by pyqt because they are not in your library path. Adding /usr/local/lib/qt-4.2.2/lib to /etc/ld.so.conf fixes this problem. This is stated in the pyqt info file.
I didn't even have /etc/ld.so.conf,  until running "ldconf", which required manually adding the path to qt libs, and running ldconf again. (I thought having the path in pckconf was enough).   
I still get: 
Traceback (most recent call last):
  File "/usr/local/lib/treeline/treeline.py", line 33, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: /usr/local/lib/libQtGui.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
			 
			
			- 
				I'm rebuilding pyqt with qt-4.5 right now, it will be finished later today (a few more hours? it takes a while) and I will submit it. So far I haven't had any complaints about missing deps so it should clear this up.
I'll test treeline with the updated pyqt once it is done to see if it needs to be rebuilt or not.
			 
			
			- 
				
I'm rebuilding pyqt with qt-4.5 right now, it will be finished later today (a few more hours? it takes a while) and I will submit it. So far I haven't had any complaints about missing deps so it should clear this up.
I'll test treeline with the updated pyqt once it is done to see if it needs to be rebuilt or not.
updated pyqt might need updated sip as well....
			 
			
			- 
				
updated pyqt might need updated sip as well....
already done, updated sip to 4.5.2, updated pyqt to 4.5.4 against qt-4.5, and I submitted them to tcesubmit. treeline still works with the updated pyqt but the dep files need to change.
the new treeline deps are: python, sip, qt-4.5-base, qt-4.5-xml, glib2, fontconfig, expat2, pyqt, and ispell
			 
			
			- 
				same error as before  (undefined symbol...)
			
 
			
			- 
				I'm not seeing the error. I used a base norestore startup and installed via appbrowser from the TC repository. Both the tce and tcz were worked fine.
Are you seeing this error upon startup or when you are working with it?
			 
			
			- 
				I see....it only happens with .tcz.  I wonder if you could send me the former version of treeline.tce to see if that works as well.  Thanks.
			 
			
			- 
				i didn't rebuild treeline since it worked with the updated pyqt, i only changed the dep files
			
 
			
			- 
				The tcz works with base, norestore on my system also....so it must conflict with something only when using tcz.....weird ....   I guess I'd need the original pyqt and sip to test out the original.  Thanks.  
edit: works if I use qt-4.5*tce instead of tcz 
edit2: Conflict is with qt-4.2.2.tczl.  If I run "update qt-4.5-base", it reinstalls qt-4.5.tczl and treeline works. 
edit3: Very weird....I rebooted without qt-4.2.2.tczl and STILL had to "update qt-4.5-base".  It must be conflicting with something else.   
  
			 
			
			- 
				Thanks to robc for an update:
Title:          treeline.tczl
Description:    Structured information storage
Version:        1.2.4
Author:         Doug Bell
Original-site:  http://treeline.bellz.org/
Copying-policy: GPL
Size:		876k
Extension_by:   robc
Comments:       This package requires qt-4.5-base,
		qt-4.5-xml, sip, python, glib2, fontconfig, 
		pyqt, ispell, expat2, sqlite3, openssl-0.9.8h,
		and tcl_tk.
		
		
		----------------------------------------------
		
		Please see the man page for additional 
		information. 
		
		Also see http://treeline.bellz.org/
		for more information.
		
		----------------------------------------------
		
Change-log:     2009/6/11 Original
		2009/07/31 Changed deps for updated pyqt
		2009/08/27 Rebuilt for qt-4.5 and python 2.6.2
		2009/11/19 Updated to v1.2.4
Current:	2009/11/19 Updated to v1.2.4