LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2010, 05:07 AM   #1
doublebyte
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Question Qgis with python support on Slackaware


I am trying to build qgis_1.0.2 from subversion, on slackware 12.
For some reason, sip does not get detected and therefore the python support is not enabled during setup:

I build and installed successfully from source Q-4.6.2, sip-4.10 and PyQt-x11-gpl-4.7

Python 2.55 is also installed (also) as a shared library: here is the output of ldconfig:

Quote:
libpython2.5.so.1.0 (libc6) => /usr/lib/libpython2.5.so.1.0
libpython2.5.so (libc6) => /usr/lib/libpython2.5.so
libpython2.5.so (libc6) => /usr/lib/python/config/libpython2.5.so
The paths on CCMAKE.txt are correct:

Quote:
//Path to a program.
SIP_BINARY_PATH:FILEPATH=/usr/lib/python/bin/sip

//Path to a file.
SIP_INCLUDE_DIR:PATH=/usr/include/python2.5

//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python2.5

//Path to a file.
PYTHON_INCLUDE_PATH:PATH=/usr/include/python2.5

//Path to a library.
PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.5.so
Any ideas of what might be going wrong here?
Thanks in advance,
Jo
 
Old 03-05-2010, 09:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
What happened to /usr/bin/python ?
Suggest : install / reinstall the original python,
Slackware disk 1 : slackware/d/python-2.5.1-i486-1.tgz
And delete all "Python" in /usr/local/ !
Generally it's a good idea only to use Slackbuilds http://slackbuilds.org/
and / or http://www.slacky.eu/ , http://connie.slackware.com/~alien/slackbuilds/

My old Slackware 12.0 : Already installed packages ( 01-Jan-2009 ) :
pyqt4-4.4.4-i486-1_SBo.tgz, qt4-4.3.4-i486-1_SBo.tgz, sip-4.7.9 .

Other packages required for QGIS :
http://repository.slacky.eu/slackwar...0-i486-1sl.tgz
> > gdal-1.5.0-i486-1sl.tgz

http://repository.slacky.eu/slackwar...8-i486-1sl.tgz
> > sqlite-3.5.8-i486-1sl.tgz

http://repository.slacky.eu/slackwar...3-i486-1sl.tgz
> > geos-2.2.3-i486-1sl.tgz

http://repository.slacky.eu/slackwar...2-i486-1sl.tgz
> > unixodbc-2.2.12-i486-1sl.tgz

http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > postgresql-8.3.1-i486-1sl.tgz

http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > gsl-1.11-i486-1sl.tgz

http://repository.slacky.eu/slackwar...0-i486-1sl.tgz
> > proj-4.6.0-i486-1sl.tgz

http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > jasper-1.900.1-i486-1sl.tgz

http://repository.slacky.eu/slackwar...4-i486-1sl.tgz
> > libgeotiff-1.2.4-i486-1sl.tgz

Code:
[ 66%] Generating core/Makefile, gui/Makefile
Parsing SIP files for 'core' library...
/usr/bin/sip -c core -b /home/knudfl/qgis_1.0.2/build/python/core/core.sbf -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_3_3 -g /home/knudfl/qgis_1.0.2/python/core/core.sip
Parsing SIP files for 'gui' library...
/usr/bin/sip -c gui -b /home/knudfl/qgis_1.0.2/build/python/gui/gui.sbf -I /home/knudfl/qgis_1.0.2/python -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_3_3 -g /home/knudfl/qgis_1.0.2/python/gui/gui.sip
Creating makefiles...
Creating qgisconfig.py...
Done
[ 66%] Generating core/core.so
[ 66%] Generating gui/gui.so
[ 66%] Built target python
P.S. : Slackware 12.0 : A bit old, isn't it ?

Last edited by knudfl; 03-05-2010 at 12:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
QGIS and geos DonaldUK Slackware 10 07-22-2010 02:41 PM
Slackaware 12.2 is giving high response time for applications troj3n Slackware 6 02-10-2010 07:12 AM
Enabling DRI on old slackaware 9.1 using i810/i815 chipset. asowani Slackware 3 06-23-2008 11:56 AM
How to install Python support? tolstyi Linux - Software 2 12-16-2005 12:51 PM
Dependencies, gnome, slackaware, how? rosariowong Slackware 3 08-07-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration