Re: [Qgis-developer] error starting qgis (built from source)

2014-07-21 Thread Daniel Scholten
Installing python-gdal solved the issue for me.

One could check if the building guide
http://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/INSTALL.html#toc6
should be updated, i.e. python-gdal is added to the build dependencies.
I use Linux Mint so I don't know if it's exactly the same with Ubuntu.

Best wishes
Daniel

On 05/06/2014 12:59 PM, Daniel Scholten wrote:
> On 05/05/2014 07:16 PM, Larry Shaffer wrote:
>> Hi,
>>
>> On Mon, May 5, 2014 at 10:46 AM, Yves Jacolin > > wrote:
>>
>> Le lundi 5 mai 2014, 15:57:06 Daniel Scholten a écrit :
>> >[..]
>> >
>> > I've had the same problem and the above worked for me. Except that
>> now I
>> > found that some plugin libraries are missing. During start of QGIS
>> I get
>> > a message "Unable to load GdalTools plugin. The required "osgeo
>> > [python-gdal]" module is missing." and after a Python error "Couldn't
>> > load plugin 'processing' [...]". After QGIS startup in the plugin
>> > manager with GdalTools everything seems to be ok, whereas processing
>> > plugin is marked broken and the reinstall button is disabled. Any
>> > suggestions what to do? Daniel
>>
>> sudo apt-get install python3-pyqt4.qsci made the process plugin
>> working for
>> me.
>>
>> For Gdal plugin, I built GDAL with Python Binding but I guess you should
>> install python3-gdal
>>
>>
>> Python 3 is not supported by QGIS. Install the Python 2 support packages.
>>
>> Required third-party Python packages include psycopg2, matplotlib,
>> pyparsing and qscintilla2 for QGIS at runtime; and, numpy for GDAL
>> (raster support, I believe).
> 
> I first installed psycopg2, matplotlib, pyparsing, qscintilla2
> and numpy, which did not solve the problem. Then I installed
> python3-pyqt4.qsci, which also didn't solve it. Any further ideas? Daniel
> ___
> 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] error starting qgis (built from source)

2014-05-14 Thread chris marx
This is a bump, I think my last message got rejected because of a
screenshot I included. So both Daniel and I appear to still have the same
problem, after building qgis from source, it starts up, but with the
following errors:

"Except that now I
found that some plugin libraries are missing. During start of QGIS I get
a message "Unable to load GdalTools plugin. The required "osgeo
[python-gdal]" module is missing." and after a Python error "Couldn't
load plugin 'processing' [...]". After QGIS startup in the plugin
manager with GdalTools everything seems to be ok, whereas processing
plugin is marked broken and the reinstall button is disabled. Any
suggestions what to do?"

I'm hoping that this problem is also the reason that while I can bring up
the add oracle vector layer dialog, I can't select any of the tables to
actually import.
Thanks,
Chris-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-06 Thread Daniel Scholten
On 05/05/2014 07:16 PM, Larry Shaffer wrote:
> Hi,
> 
> On Mon, May 5, 2014 at 10:46 AM, Yves Jacolin  > wrote:
> 
> Le lundi 5 mai 2014, 15:57:06 Daniel Scholten a écrit :
> >[..]
> >
> > I've had the same problem and the above worked for me. Except that
> now I
> > found that some plugin libraries are missing. During start of QGIS
> I get
> > a message "Unable to load GdalTools plugin. The required "osgeo
> > [python-gdal]" module is missing." and after a Python error "Couldn't
> > load plugin 'processing' [...]". After QGIS startup in the plugin
> > manager with GdalTools everything seems to be ok, whereas processing
> > plugin is marked broken and the reinstall button is disabled. Any
> > suggestions what to do? Daniel
> 
> sudo apt-get install python3-pyqt4.qsci made the process plugin
> working for
> me.
> 
> For Gdal plugin, I built GDAL with Python Binding but I guess you should
> install python3-gdal
> 
> 
> Python 3 is not supported by QGIS. Install the Python 2 support packages.
> 
> Required third-party Python packages include psycopg2, matplotlib,
> pyparsing and qscintilla2 for QGIS at runtime; and, numpy for GDAL
> (raster support, I believe).

I first installed psycopg2, matplotlib, pyparsing, qscintilla2
and numpy, which did not solve the problem. Then I installed
python3-pyqt4.qsci, which also didn't solve it. Any further ideas? Daniel
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread chris marx
Ok, cool. Well, not sure if this is a question for another email thread or
not, but now I can at least start the app, I do get the same errors that
daniel mentioned earlier

"I've had the same problem and the above worked for me. Except that now I
found that some plugin libraries are missing. During start of QGIS I get
a message "Unable to load GdalTools plugin. The required "osgeo
[python-gdal]" module is missing." and after a Python error "Couldn't
load plugin 'processing' [...]". After QGIS startup in the plugin
manager with GdalTools everything seems to be ok, whereas processing
plugin is marked broken and the reinstall button is disabled. Any
suggestions what to do?"

and then i can get into the app. I went to add an oracle vector layer, and
I can successfully connect to the database, and I can see the tables, but
they're all greyed out. I have QGIS running on windows against the exact
same db and everything worked just fine. Is this related?


On Mon, May 5, 2014 at 2:32 PM, Yves Jacolin  wrote:

> That's great!
>
> Yes "cmake ." command allows you to setup the location where qgis (bin, and
> lib) will be located. Related to this settings you should adapt it for
> ld.so.conf.d  config file.
>
> For me, I install qgis in /usr/local/ which is the default one, in another
> computer I created other location because I have several release of qgis
> for
> different task (working, testing and trainings) so I have to adapt each
> time
> the ld.so.conf.d file :)
>
> Y.
> Le lundi 5 mai 2014, 13:44:45 chris marx a écrit :
> > Sorry, I think you misunderstood, the previous commands did work. I can
> > start qgis now! yay! I was asking an additional question  -- whether I
> did
> > something wrong in the first place, or is this what you're expected to do
> > when building qgis?
> >
> > On Mon, May 5, 2014 at 1:32 PM, Yves Jacolin  wrote:
> > > ok I understand :)
> > >
> > > Add /home/chrismarx/apps/lib/ in the /etc/ld.so.conf.d/qgis.conf is not
> > > already done and run sudo ldconfig.
> > >
> > > If you already do such command line, well I don't know what's wrong.
> Last
> > > idea: do you use redhat or something like this?
> > >
> > > Y.
> > >
> > > Le lundi 5 mai 2014, 13:21:44 chris marx a écrit :
> > > > Yay! Ok, that did it. So, did I do something wrong? After running
> > >
> > > updatedb,
> > >
> > > > locate found the libraries in "/home/chrismarx/apps/lib/" .
> According to
> > > > the build instructions, it suggested to create :
> > > >
> > > > mkdir -p ${HOME}/apps
> > > >
> > > > and build the app into there. Is that where those libraries should
> have
> > > > ended up?
> > > >
> > > > On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin 
> wrote:
> > > > > Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > > > > > Hi,
> > > > > >
> > > > > >  Ok, some of this is a bit unfamiliar for me, but here goes. So,
> I
> > >
> > > ran
> > >
> > > > > ldd
> > > > >
> > > > > > on the qgis app, and it very clearly shows that that libqgis_core
> > > > > > was
> > > > > > not
> > > > > > found:
> > > > > >
> > > > > > chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> > > > > >
> > > > > > linux-vdso.so.1 =>  (0x7fff12158000)
> > > > > > libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5
> (0x7f7b3606f000)
> > > > > > libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > > > > >
> > > > > > (0x7f7b35e3)
> > > > > >
> > > > > > libQtWebKit.so.4 =>
> /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > > > > >
> > > > > > (0x7f7b34077000)
> > > > > >
> > > > > > libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1
> > >
> > > (0x7f7b3366d000)
> > >
> > > > > > libqgis_core.so.2.3.0 => not found
> > > > > > libqgis_gui.so.2.3.0 => not found
> > > > > > libqgis_analysis.so.2.3.0 => not found
> > > > > > [..]
> > > > >
> > > > > This is the problem, if you added your correct lib path in
> > > > > /etc/ld.so.conf.d/qgis.conf (filename is not important, only the
> > >
> > > extension
> > >
> > > > > is
> > > > > important) then run sudo ldconfig your system should find them.
> > > > >
> > > > > First, run sudo updatedb then wait for a while. Finaly check the
> > >
> > > location
> > >
> > > > > with:
> > > > > locate libqgis_gui.so.2.3.0
> > > > >
> > > > > It gives you at least two location: your build src and your lib
> > > > > install
> > > > > path.
> > > > > Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf,
> run
> > > > > again
> > > > > sudo ldconfig
> > > > >
> > > > > check again with your ldd command.
> > > > >
> > > > > Y.
> > > > >
> > > > > --
> > > > > Yves Jacolin
> > >
> > > --
> > > Yves Jacolin
>
> --
> Yves Jacolin
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread Yves Jacolin
That's great!

Yes "cmake ." command allows you to setup the location where qgis (bin, and 
lib) will be located. Related to this settings you should adapt it for 
ld.so.conf.d  config file.

For me, I install qgis in /usr/local/ which is the default one, in another 
computer I created other location because I have several release of qgis for 
different task (working, testing and trainings) so I have to adapt each time 
the ld.so.conf.d file :)

Y.
Le lundi 5 mai 2014, 13:44:45 chris marx a écrit :
> Sorry, I think you misunderstood, the previous commands did work. I can
> start qgis now! yay! I was asking an additional question  -- whether I did
> something wrong in the first place, or is this what you're expected to do
> when building qgis?
> 
> On Mon, May 5, 2014 at 1:32 PM, Yves Jacolin  wrote:
> > ok I understand :)
> > 
> > Add /home/chrismarx/apps/lib/ in the /etc/ld.so.conf.d/qgis.conf is not
> > already done and run sudo ldconfig.
> > 
> > If you already do such command line, well I don't know what's wrong. Last
> > idea: do you use redhat or something like this?
> > 
> > Y.
> > 
> > Le lundi 5 mai 2014, 13:21:44 chris marx a écrit :
> > > Yay! Ok, that did it. So, did I do something wrong? After running
> > 
> > updatedb,
> > 
> > > locate found the libraries in "/home/chrismarx/apps/lib/" . According to
> > > the build instructions, it suggested to create :
> > > 
> > > mkdir -p ${HOME}/apps
> > > 
> > > and build the app into there. Is that where those libraries should have
> > > ended up?
> > > 
> > > On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin  wrote:
> > > > Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > > > > Hi,
> > > > > 
> > > > >  Ok, some of this is a bit unfamiliar for me, but here goes. So, I
> > 
> > ran
> > 
> > > > ldd
> > > > 
> > > > > on the qgis app, and it very clearly shows that that libqgis_core
> > > > > was
> > > > > not
> > > > > found:
> > > > > 
> > > > > chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> > > > > 
> > > > > linux-vdso.so.1 =>  (0x7fff12158000)
> > > > > libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
> > > > > libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > > > > 
> > > > > (0x7f7b35e3)
> > > > > 
> > > > > libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > > > > 
> > > > > (0x7f7b34077000)
> > > > > 
> > > > > libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1
> > 
> > (0x7f7b3366d000)
> > 
> > > > > libqgis_core.so.2.3.0 => not found
> > > > > libqgis_gui.so.2.3.0 => not found
> > > > > libqgis_analysis.so.2.3.0 => not found
> > > > > [..]
> > > > 
> > > > This is the problem, if you added your correct lib path in
> > > > /etc/ld.so.conf.d/qgis.conf (filename is not important, only the
> > 
> > extension
> > 
> > > > is
> > > > important) then run sudo ldconfig your system should find them.
> > > > 
> > > > First, run sudo updatedb then wait for a while. Finaly check the
> > 
> > location
> > 
> > > > with:
> > > > locate libqgis_gui.so.2.3.0
> > > > 
> > > > It gives you at least two location: your build src and your lib
> > > > install
> > > > path.
> > > > Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run
> > > > again
> > > > sudo ldconfig
> > > > 
> > > > check again with your ldd command.
> > > > 
> > > > Y.
> > > > 
> > > > --
> > > > Yves Jacolin
> > 
> > --
> > Yves Jacolin

-- 
Yves Jacolin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread chris marx
Sorry, I think you misunderstood, the previous commands did work. I can
start qgis now! yay! I was asking an additional question  -- whether I did
something wrong in the first place, or is this what you're expected to do
when building qgis?


On Mon, May 5, 2014 at 1:32 PM, Yves Jacolin  wrote:

> ok I understand :)
>
> Add /home/chrismarx/apps/lib/ in the /etc/ld.so.conf.d/qgis.conf is not
> already done and run sudo ldconfig.
>
> If you already do such command line, well I don't know what's wrong. Last
> idea: do you use redhat or something like this?
>
> Y.
> Le lundi 5 mai 2014, 13:21:44 chris marx a écrit :
> > Yay! Ok, that did it. So, did I do something wrong? After running
> updatedb,
> > locate found the libraries in "/home/chrismarx/apps/lib/" . According to
> > the build instructions, it suggested to create :
> >
> > mkdir -p ${HOME}/apps
> >
> > and build the app into there. Is that where those libraries should have
> > ended up?
> >
> > On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin  wrote:
> > > Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > > > Hi,
> > > >
> > > >  Ok, some of this is a bit unfamiliar for me, but here goes. So, I
> ran
> > >
> > > ldd
> > >
> > > > on the qgis app, and it very clearly shows that that libqgis_core was
> > > > not
> > > > found:
> > > >
> > > > chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> > > >
> > > > linux-vdso.so.1 =>  (0x7fff12158000)
> > > > libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
> > > > libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > > >
> > > > (0x7f7b35e3)
> > > >
> > > > libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > > >
> > > > (0x7f7b34077000)
> > > >
> > > > libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1
> (0x7f7b3366d000)
> > > > libqgis_core.so.2.3.0 => not found
> > > > libqgis_gui.so.2.3.0 => not found
> > > > libqgis_analysis.so.2.3.0 => not found
> > > > [..]
> > >
> > > This is the problem, if you added your correct lib path in
> > > /etc/ld.so.conf.d/qgis.conf (filename is not important, only the
> extension
> > > is
> > > important) then run sudo ldconfig your system should find them.
> > >
> > > First, run sudo updatedb then wait for a while. Finaly check the
> location
> > > with:
> > > locate libqgis_gui.so.2.3.0
> > >
> > > It gives you at least two location: your build src and your lib install
> > > path.
> > > Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run
> > > again
> > > sudo ldconfig
> > >
> > > check again with your ldd command.
> > >
> > > Y.
> > >
> > > --
> > > Yves Jacolin
>
> --
> Yves Jacolin
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread Yves Jacolin
ok I understand :)

Add /home/chrismarx/apps/lib/ in the /etc/ld.so.conf.d/qgis.conf is not 
already done and run sudo ldconfig.

If you already do such command line, well I don't know what's wrong. Last 
idea: do you use redhat or something like this?

Y.
Le lundi 5 mai 2014, 13:21:44 chris marx a écrit :
> Yay! Ok, that did it. So, did I do something wrong? After running updatedb,
> locate found the libraries in "/home/chrismarx/apps/lib/" . According to
> the build instructions, it suggested to create :
> 
> mkdir -p ${HOME}/apps
> 
> and build the app into there. Is that where those libraries should have
> ended up?
> 
> On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin  wrote:
> > Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > > Hi,
> > > 
> > >  Ok, some of this is a bit unfamiliar for me, but here goes. So, I ran
> > 
> > ldd
> > 
> > > on the qgis app, and it very clearly shows that that libqgis_core was
> > > not
> > > found:
> > > 
> > > chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> > > 
> > > linux-vdso.so.1 =>  (0x7fff12158000)
> > > libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
> > > libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > > 
> > > (0x7f7b35e3)
> > > 
> > > libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > > 
> > > (0x7f7b34077000)
> > > 
> > > libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1 (0x7f7b3366d000)
> > > libqgis_core.so.2.3.0 => not found
> > > libqgis_gui.so.2.3.0 => not found
> > > libqgis_analysis.so.2.3.0 => not found
> > > [..]
> > 
> > This is the problem, if you added your correct lib path in
> > /etc/ld.so.conf.d/qgis.conf (filename is not important, only the extension
> > is
> > important) then run sudo ldconfig your system should find them.
> > 
> > First, run sudo updatedb then wait for a while. Finaly check the location
> > with:
> > locate libqgis_gui.so.2.3.0
> > 
> > It gives you at least two location: your build src and your lib install
> > path.
> > Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run
> > again
> > sudo ldconfig
> > 
> > check again with your ldd command.
> > 
> > Y.
> > 
> > --
> > Yves Jacolin

-- 
Yves Jacolin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread chris marx
Yay! Ok, that did it. So, did I do something wrong? After running updatedb,
locate found the libraries in "/home/chrismarx/apps/lib/" . According to
the build instructions, it suggested to create :

mkdir -p ${HOME}/apps

and build the app into there. Is that where those libraries should have
ended up?



On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin  wrote:

>
> Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > Hi,
> >  Ok, some of this is a bit unfamiliar for me, but here goes. So, I ran
> ldd
> > on the qgis app, and it very clearly shows that that libqgis_core was not
> > found:
> >
> > chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> > linux-vdso.so.1 =>  (0x7fff12158000)
> > libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
> > libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > (0x7f7b35e3)
> > libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > (0x7f7b34077000)
> > libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1 (0x7f7b3366d000)
> > libqgis_core.so.2.3.0 => not found
> > libqgis_gui.so.2.3.0 => not found
> > libqgis_analysis.so.2.3.0 => not found
> > [..]
> This is the problem, if you added your correct lib path in
> /etc/ld.so.conf.d/qgis.conf (filename is not important, only the extension
> is
> important) then run sudo ldconfig your system should find them.
>
> First, run sudo updatedb then wait for a while. Finaly check the location
> with:
> locate libqgis_gui.so.2.3.0
>
> It gives you at least two location: your build src and your lib install
> path.
> Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run again
> sudo ldconfig
>
> check again with your ldd command.
>
> Y.
>
> --
> Yves Jacolin
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread Larry Shaffer
Hi,

On Mon, May 5, 2014 at 10:46 AM, Yves Jacolin  wrote:

> Le lundi 5 mai 2014, 15:57:06 Daniel Scholten a écrit :
> >[..]
> >
> > I've had the same problem and the above worked for me. Except that now I
> > found that some plugin libraries are missing. During start of QGIS I get
> > a message "Unable to load GdalTools plugin. The required "osgeo
> > [python-gdal]" module is missing." and after a Python error "Couldn't
> > load plugin 'processing' [...]". After QGIS startup in the plugin
> > manager with GdalTools everything seems to be ok, whereas processing
> > plugin is marked broken and the reinstall button is disabled. Any
> > suggestions what to do? Daniel
>
> sudo apt-get install python3-pyqt4.qsci made the process plugin working for
> me.
>
> For Gdal plugin, I built GDAL with Python Binding but I guess you should
> install python3-gdal
>

Python 3 is not supported by QGIS. Install the Python 2 support packages.

Required third-party Python packages include psycopg2, matplotlib,
pyparsing and qscintilla2 for QGIS at runtime; and, numpy for GDAL (raster
support, I believe).

Regards,

Larry



> Y.
>
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
> Yves Jacolin
> ___
> 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] error starting qgis (built from source)

2014-05-05 Thread Yves Jacolin
Le lundi 5 mai 2014, 15:57:06 Daniel Scholten a écrit :
>[..]
> 
> I've had the same problem and the above worked for me. Except that now I
> found that some plugin libraries are missing. During start of QGIS I get
> a message "Unable to load GdalTools plugin. The required "osgeo
> [python-gdal]" module is missing." and after a Python error "Couldn't
> load plugin 'processing' [...]". After QGIS startup in the plugin
> manager with GdalTools everything seems to be ok, whereas processing
> plugin is marked broken and the reinstall button is disabled. Any
> suggestions what to do? Daniel

sudo apt-get install python3-pyqt4.qsci made the process plugin working for 
me.

For Gdal plugin, I built GDAL with Python Binding but I guess you should 
install python3-gdal

Y.

> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Yves Jacolin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread Yves Jacolin

Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> Hi,
>  Ok, some of this is a bit unfamiliar for me, but here goes. So, I ran ldd
> on the qgis app, and it very clearly shows that that libqgis_core was not
> found:
> 
> chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
> linux-vdso.so.1 =>  (0x7fff12158000)
> libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
> libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> (0x7f7b35e3)
> libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> (0x7f7b34077000)
> libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1 (0x7f7b3366d000)
> libqgis_core.so.2.3.0 => not found
> libqgis_gui.so.2.3.0 => not found
> libqgis_analysis.so.2.3.0 => not found
> [..]
This is the problem, if you added your correct lib path in 
/etc/ld.so.conf.d/qgis.conf (filename is not important, only the extension is 
important) then run sudo ldconfig your system should find them.

First, run sudo updatedb then wait for a while. Finaly check the location 
with:
locate libqgis_gui.so.2.3.0

It gives you at least two location: your build src and your lib install path. 
Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run again 
sudo ldconfig

check again with your ldd command.

Y.

-- 
Yves Jacolin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread chris marx
Hi,
 Ok, some of this is a bit unfamiliar for me, but here goes. So, I ran ldd
on the qgis app, and it very clearly shows that that libqgis_core was not
found:

chrismarx@ubuntu:~/apps/bin$ ldd ./qgis
linux-vdso.so.1 =>  (0x7fff12158000)
libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x7f7b3606f000)
libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
(0x7f7b35e3)
libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
(0x7f7b34077000)
libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1 (0x7f7b3366d000)
libqgis_core.so.2.3.0 => not found
libqgis_gui.so.2.3.0 => not found
libqgis_analysis.so.2.3.0 => not found
libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4
(0x7f7b33427000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(0x7f7b32f54000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(0x7f7b32286000)
libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
(0x7f7b31f3a000)
libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4
(0x7f7b31ce1000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x7f7b31a9f000)
libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x7f7b31884000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x7f7b315e)
libspatialite.so.3 => /usr/lib/libspatialite.so.3 (0x7f7b310c3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x7f7b30dc3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f7b30ac6000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x7f7b308b)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f7b304f)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x7f7b302d2000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1
(0x7f7b300c8000)
libgstapp-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0
(0x7f7b2febc000)
libgstinterfaces-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0 (0x7f7b2fca9000)
libgstpbutils-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0 (0x7f7b2fa86000)
libgstvideo-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstvideo-0.10.so.0 (0x7f7b2f86a000)
libgstbase-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0
(0x7f7b2f616000)
libgstreamer-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0 (0x7f7b2f32f000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(0x7f7b2f0e)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x7f7b2edea000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x7f7b2eab5000)
libepsilon.so.0 => /usr/lib/libepsilon.so.0 (0x7f7b2e89d000)
libodbc.so.1 => /usr/lib/x86_64-linux-gnu/libodbc.so.1
(0x7f7b2e635000)
libodbcinst.so.1 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.1
(0x7f7b2e423000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x7f7b2e1f9000)
libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0x7f7b2dc56000)
libjasper.so.1 => /usr/lib/x86_64-linux-gnu/libjasper.so.1
(0x7f7b2d9ff000)
libhdf5.so.6 => /usr/lib/libhdf5.so.6 (0x7f7b2d464000)
libmfhdfalt.so.0 => /usr/lib/libmfhdfalt.so.0 (0x7f7b2d24)
libdfalt.so.0 => /usr/lib/libdfalt.so.0 (0x7f7b2cf9e000)
libogdi.so.3.2 => /usr/lib/libogdi.so.3.2 (0x7f7b2cd7d000)
libgif.so.4 => /usr/lib/x86_64-linux-gnu/libgif.so.4
(0x7f7b2cb73000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
(0x7f7b2c923000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0
(0x7f7b2c6fb000)
libnetcdf.so.6 => /usr/lib/libnetcdf.so.6 (0x7f7b2c3bc000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x7f7b2c19)
libdapclient.so.3 => /usr/lib/x86_64-linux-gnu/libdapclient.so.3
(0x7f7b2bf5b000)
libdap.so.11 => /usr/lib/x86_64-linux-gnu/libdap.so.11
(0x7f7b2bc73000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x7f7b2ba1b000)
libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
(0x7f7b2b4d4000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7f7b2b2bc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f7b2b0b8000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f7b2aeaf000)
/lib64/ld-linux-x86-64.so.2 (0x7f7b3635)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
(0x7f7b2ac79000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2
(0x7f7b2aa61000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x7f7b2a7c4000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x7f7b2a5bc000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6
(0x7f7b2a3a2000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x7f7b2a191000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
(0x7

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-05 Thread chris marx
Hi Daniel,
 I still haven't got my install working, any steps in particular that have
been suggested that you found make it work for you?
Chris-




On Mon, May 5, 2014 at 9:57 AM, Daniel Scholten  wrote:

> On 05/03/2014 09:46 AM, Yves Jacolin wrote:
> > Le samedi 3 mai 2014, 08:47:30 Nyall Dawson a écrit :
> >>> Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of
> the
> >>> custom OCI lib path during runtime?
> >>
> >> Possibly running "sudo ldconfig" may help?
> >>
> >> Nyall
> > probably not without adding a new file in /etc/ld.so.conf.d/ for example
> > qgis.conf containing: /usr/local/lib/
> >
> > So yes after that update your lib PATH with sudo ldconfig.
> >
> > Y.
> >
>
> I've had the same problem and the above worked for me. Except that now I
> found that some plugin libraries are missing. During start of QGIS I get
> a message "Unable to load GdalTools plugin. The required "osgeo
> [python-gdal]" module is missing." and after a Python error "Couldn't
> load plugin 'processing' [...]". After QGIS startup in the plugin
> manager with GdalTools everything seems to be ok, whereas processing
> plugin is marked broken and the reinstall button is disabled. Any
> suggestions what to do? Daniel
> ___
> 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] error starting qgis (built from source)

2014-05-05 Thread Daniel Scholten
On 05/03/2014 09:46 AM, Yves Jacolin wrote:
> Le samedi 3 mai 2014, 08:47:30 Nyall Dawson a écrit :
>>> Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of the
>>> custom OCI lib path during runtime?
>>
>> Possibly running "sudo ldconfig" may help?
>>
>> Nyall
> probably not without adding a new file in /etc/ld.so.conf.d/ for example 
> qgis.conf containing: /usr/local/lib/
> 
> So yes after that update your lib PATH with sudo ldconfig.
> 
> Y.
> 

I've had the same problem and the above worked for me. Except that now I
found that some plugin libraries are missing. During start of QGIS I get
a message "Unable to load GdalTools plugin. The required "osgeo
[python-gdal]" module is missing." and after a Python error "Couldn't
load plugin 'processing' [...]". After QGIS startup in the plugin
manager with GdalTools everything seems to be ok, whereas processing
plugin is marked broken and the reinstall button is disabled. Any
suggestions what to do? Daniel
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-03 Thread Yves Jacolin
Le samedi 3 mai 2014, 08:47:30 Nyall Dawson a écrit :
> > Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of the
> > custom OCI lib path during runtime?
> 
> Possibly running "sudo ldconfig" may help?
> 
> Nyall
probably not without adding a new file in /etc/ld.so.conf.d/ for example 
qgis.conf containing: /usr/local/lib/

So yes after that update your lib PATH with sudo ldconfig.

Y.
-- 
Yves Jacolin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-02 Thread Nyall Dawson
>
> Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of the
> custom OCI lib path during runtime?
>

Possibly running "sudo ldconfig" may help?

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error starting qgis (built from source)

2014-05-02 Thread Larry Shaffer
Hi,

On Fri, May 2, 2014 at 2:53 PM, chris marx  wrote:

> Hi,
>  So those options already had the correct paths, so I didn't need to
> update them. I have the oracle instant client and sdk libraries installed,
> and cmake didn't complain about not finding them. Any other ideas?
>

Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of the
custom OCI lib path during runtime?

The qsqlocispatial Qt SQL driver should be installed in Qt's
plugins/sqldrivers/ dir (reason you may have needed sudo). It is the one
linked against the OCI client. Maybe check that it is installed correctly,
and that the OCI lib is linked correctly, using `ldd`?

This all assumes that it is the OCI lib stuff that is not being found in
your error, and not something else.

Maybe some Linux gurus can help further.

Regards,

Larry



>
> On Fri, May 2, 2014 at 4:29 PM, Larry Shaffer wrote:
>
>> Hi Chris,
>>
>>
>> On Fri, May 2, 2014 at 1:47 PM, chris marx  wrote:
>>
>>> I followed the instructions here:
>>>
>>> https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL
>>>
>>> and did the build on a clean ubuntu 12.04 64bit vm. the only thing i
>>> changed from the vanilla build was to enable WITH_ORACLE. make and make
>>> install completed without errors, although i did have to run sudo make
>>> install, otherwise I got an error when it tried to copy oracle libs to the
>>> qt system folder.
>>>
>>
>>> When starting the qgis app, I get:
>>>
>>> ./qgis: error while loading shared libraries: libqgis_core.so.2.3.0:
>>> cannot open shared object file: No such file or directory
>>>
>>> Any ideas of how to figure out what went wrong? I'm only doing the
>>> custom build to enable oracle support-
>>>
>>
>> The support still needs access to the Oracle Instant Client library
>> 'libclntsh'.
>>
>> You can get binaries here:
>>
>> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
>>
>> You'll need at least the Basic Lite and the SDK (for the headers).
>>
>> If you install to a non-standard location, you will probably also need to
>> define:
>>
>> -D OCI_INCLUDE_DIR=/sdk/include
>> -D OCI_LIBRARY=/lib/libclntsh.dylib
>>
>> Coincidentally, when searching for whether there are pre-built binaries
>> as deb packages, I came across a similar answer, that I believe you
>> provided, via Kyngchaos.  :-)
>>
>> http://gis.stackexchange.com/a/75817/6725
>>
>> Regards,
>>
>> Larry
>>
>>
>>
>>>  Chris-
>>>
>>> ___
>>> 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] error starting qgis (built from source)

2014-05-02 Thread chris marx
Hi,
 So those options already had the correct paths, so I didn't need to update
them. I have the oracle instant client and sdk libraries installed, and
cmake didn't complain about not finding them. Any other ideas?


On Fri, May 2, 2014 at 4:29 PM, Larry Shaffer wrote:

> Hi Chris,
>
>
> On Fri, May 2, 2014 at 1:47 PM, chris marx  wrote:
>
>> I followed the instructions here:
>>
>> https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL
>>
>> and did the build on a clean ubuntu 12.04 64bit vm. the only thing i
>> changed from the vanilla build was to enable WITH_ORACLE. make and make
>> install completed without errors, although i did have to run sudo make
>> install, otherwise I got an error when it tried to copy oracle libs to the
>> qt system folder.
>>
>> When starting the qgis app, I get:
>>
>> ./qgis: error while loading shared libraries: libqgis_core.so.2.3.0:
>> cannot open shared object file: No such file or directory
>>
>> Any ideas of how to figure out what went wrong? I'm only doing the custom
>> build to enable oracle support-
>>
>
> The support still needs access to the Oracle Instant Client library
> 'libclntsh'.
>
> You can get binaries here:
>
> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
>
> You'll need at least the Basic Lite and the SDK (for the headers).
>
> If you install to a non-standard location, you will probably also need to
> define:
>
> -D OCI_INCLUDE_DIR=/sdk/include
> -D OCI_LIBRARY=/lib/libclntsh.dylib
>
> Coincidentally, when searching for whether there are pre-built binaries as
> deb packages, I came across a similar answer, that I believe you provided,
> via Kyngchaos.  :-)
>
> http://gis.stackexchange.com/a/75817/6725
>
> Regards,
>
> Larry
>
>
>
>>  Chris-
>>
>> ___
>> 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] error starting qgis (built from source)

2014-05-02 Thread Larry Shaffer
Hi Chris,


On Fri, May 2, 2014 at 1:47 PM, chris marx  wrote:

> I followed the instructions here:
>
> https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL
>
> and did the build on a clean ubuntu 12.04 64bit vm. the only thing i
> changed from the vanilla build was to enable WITH_ORACLE. make and make
> install completed without errors, although i did have to run sudo make
> install, otherwise I got an error when it tried to copy oracle libs to the
> qt system folder.
>
> When starting the qgis app, I get:
>
> ./qgis: error while loading shared libraries: libqgis_core.so.2.3.0:
> cannot open shared object file: No such file or directory
>
> Any ideas of how to figure out what went wrong? I'm only doing the custom
> build to enable oracle support-
>

The support still needs access to the Oracle Instant Client library
'libclntsh'.

You can get binaries here:
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

You'll need at least the Basic Lite and the SDK (for the headers).

If you install to a non-standard location, you will probably also need to
define:

-D OCI_INCLUDE_DIR=/sdk/include
-D OCI_LIBRARY=/lib/libclntsh.dylib

Coincidentally, when searching for whether there are pre-built binaries as
deb packages, I came across a similar answer, that I believe you provided,
via Kyngchaos.  :-)

http://gis.stackexchange.com/a/75817/6725

Regards,

Larry



> Chris-
>
> ___
> 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