Re: [Qgis-developer] no python on fresh compile on natty FIXED
Could anybody find a solution for this without using LD_PRELOAD? I tried with no luck. (the LD_PRELOAD hack works) ciao Marco On 05/13/2011 11:23 AM, Richard Duivenvoorde wrote: On 05/10/2011 12:59 PM, Richard Duivenvoorde wrote: Hi py-devs, installed Ubuntu 11.04 on laptop and trying to compile qgis from svn (r15866). compiling (debug mode) ends ok, no errors or so, but I do not have python (though there is a non working menu-item 'python-console'). ... Warning: Couldn't load Python support library: Cannot load library /home/richard/apps/qgis/trunk/debug/lib/qgispython: (/usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty, version GLIBC_2.0) Any idea? Don't know the technical details, but (thanks Tóni) https://code.google.com/p/modwsgi/wiki/InstallationIssues pointed to: After compilation, locate your libutil lib on Natty: /usr/lib/i386-linux-gnu/libutil.so Now do LD_PRELOAD=/usr/lib/i386-linux-gnu/libutil.so export LD_PRELOAD now run Qgis Strange thing is that the nightly builds of qgis run fine... So apparently I miss some linking magic ??? Regards, Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty FIXED
On 05/10/2011 12:59 PM, Richard Duivenvoorde wrote: Hi py-devs, installed Ubuntu 11.04 on laptop and trying to compile qgis from svn (r15866). compiling (debug mode) ends ok, no errors or so, but I do not have python (though there is a non working menu-item 'python-console'). ... Warning: Couldn't load Python support library: Cannot load library /home/richard/apps/qgis/trunk/debug/lib/qgispython: (/usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty, version GLIBC_2.0) Any idea? Don't know the technical details, but (thanks Tóni) https://code.google.com/p/modwsgi/wiki/InstallationIssues pointed to: After compilation, locate your libutil lib on Natty: /usr/lib/i386-linux-gnu/libutil.so Now do LD_PRELOAD=/usr/lib/i386-linux-gnu/libutil.so export LD_PRELOAD now run Qgis Strange thing is that the nightly builds of qgis run fine... So apparently I miss some linking magic ??? Regards, Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
Hi all, it seems the same problem I had on my natty building qgis from source code. I resolved putting /usr/lib/grass64 into /etc/ld.conf.d/libgrass64.conf (or something like that). You could set an enviroment variable (LD_CONFIG, but I wouldn't to be wrong) instead of create the file above. BTW, the problem I had shouldn't occur using deb packages. I hope this can help. Cheers. On May 10, 2011, at 5:41 PM, Richard Duivenvoorde rdmaili...@duif.net wrote: Jürgen E. Fischer wrote: Is your default python the python that you have PyQt and sip for? in synaptic: python-sip is showing: version 4.12.1-1 depends (python 2.8 =2.6) python-qt4-dev: version 4.8.3-2 depends python-sip-dev, python-qt4(4.3) installed python is 2.7.1, also checked by just running python and in errormsg: /usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty there is also a python3-sip available in repo's, but I think that is only for python 3 which we do NOT use how to better check? Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
Hi Richard, On Tue, 10. May 2011 at 12:59:16 +0200, Richard Duivenvoorde wrote: installed Ubuntu 11.04 on laptop and trying to compile qgis from svn (r15866). Didn't that smell funny already? ;) Try the git version... Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
Richard The QGIS version was changed recently. Clear away all the qgis 1.7 libs in your system and then rerun make install. It should work after that. Regards Tim On Tue, May 10, 2011 at 2:45 PM, Richard Duivenvoorde rdmaili...@duif.net wrote: On Tue, 10. May 2011 at 12:59:16 +0200, Richard Duivenvoorde wrote: installed Ubuntu 11.04 on laptop and trying to compile qgis from svn (r15866). Didn't that smell funny already? ;) Try the git version... Mmm, I was/am a little afraid of git But a la, tried it (qgis now says: fefae90 as 'revision' in title bar). But exactly the same problem... ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
On Tue, May 10, 2011 at 02:45:15PM +0200, Richard Duivenvoorde wrote: On Tue, 10. May 2011 at 12:59:16 +0200, Richard Duivenvoorde wrote: installed Ubuntu 11.04 on laptop and trying to compile qgis from svn (r15866). Didn't that smell funny already? ;) Try the git version... Mmm, I was/am a little afraid of git But a la, tried it (qgis now says: fefae90 as 'revision' in title bar). But exactly the same problem... Do you have 1.7.0 around ? I've had that problem and was fixed by properly uninstalling 1.7.0. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
Hi Richard, On Tue, 10. May 2011 at 16:52:29 +0200, Richard Duivenvoorde wrote: First compile/install via svn sources: no working python, second run with clean build/source tree via git sources, still no python Is your default python the python that you have PyQt and sip for? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] no python on fresh compile on natty
Jürgen E. Fischer wrote: Is your default python the python that you have PyQt and sip for? in synaptic: python-sip is showing: version 4.12.1-1 depends (python 2.8 =2.6) python-qt4-dev: version 4.8.3-2 depends python-sip-dev, python-qt4(4.3) installed python is 2.7.1, also checked by just running python and in errormsg: /usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty there is also a python3-sip available in repo's, but I think that is only for python 3 which we do NOT use how to better check? Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer