1

I have installed QGIS from source in Ubuntu using the this link. In ubuntu I compiled qgis from source without any problem.

but now I moved to RHEL 6.4, not able to run QGIS from source. The steps I have followed to install QGIS from source are described below.

First, I have added all repository which required by QGIS. They are as follows:

devtools-1.1.repo
elgis-testing.repo
elgis.repo
epel-testing.repo
epel.repo
remi-php70.repo
remi-safe.repo
remi.repo
rhel-source.repo
rpmforge.repo
slc6-extras.repo
slc6-os.repo
slc6-updates.repo

and I also installed Python 2.7, QScintilla2, GLIBC 2.14 from source because of version mismatching.

Then,I followed this link to build the QGIS, till this stage everything is fine. Build completed without any error.

After launching the QGIS application, It is showing an error saying that "Import Error:cannot import name Qgsfeature". this error is related to python versions, As I have two python versions installed my machine(Python 2.66 and Python 2.7). then I set the PYTHONPATH, But it is not affecting to the Application, So still displaying the same error.

closed as off-topic by Vince, PolyGeo Oct 14 '15 at 11:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions relating to general Information Technology, with no clear GIS component, are off-topic here, but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software) and Database Administrators (relational databases)" – Vince, PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to GIS SE. Unfortunately, questions about compiling software, even GIS software, are general software development problems, more suited to Stack Overflow. – Vince Oct 14 '15 at 10:49
  • Thank you for the suggestion, I will post it in StackOverflow – Darshan Hegde Oct 14 '15 at 11:14
  • Cross-posted as stackoverflow.com/q/33123770/820534 – PolyGeo Oct 14 '15 at 12:08