Re: [Qgis-developer] Report bug/feature on homepage

2014-05-02 Thread Alex Mandel
Too many vague or un-researched bug reports. People filing bugs instead
of googling the problem or even reading the manual. Lets just go with
the average user might not understand when the right place is the
mailing or stackexchange vs filing a bug. Those other methods of
communication allow true bugs to filter through. It also allows for the
collection of all relevant evidence to make a bug testable or at least
an attempt at it.

It's a signal to noise issue.

Thanks,
Alex

On 05/01/2014 10:26 PM, Nathan Woodrow wrote:
 What is the main objection to having it on the main page?
 
 But if that doesn't feel right then I think we should raise it to the top
 of get involved page.
 
 Nathan
 On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com wrote:
 
 Hi,
 I saw the discussion you had. I would prefer not to add a report bugs
 button on the first page of qgis.org but we could make it more prominent
 on get involved.
 It's not that long since I added the report a bug section to get
 involved.  Many users might only remember the old page.
 Best wishes
 Anita
 On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:

 Hi all,

 After talking to some users one concern they raised was it was a bit
 tricky to get find how to report a bug or feature.  I was thinking it might
 be a good idea to have a report bug/feature on the homepage. It would fit
 quite nice between the Download and Support

 I am aware that you can just click Get Involved, and scroll to the bottom
 but it still feels a bit hidden.

 Does anyone else feel that same way?

 Regards,
 Nathan


 
 
 
 ___
 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] Report bug/feature on homepage

2014-05-02 Thread Anita Graser
My main objections to having a report bugs button on the main page:

- I think users who are not too familiar with the workings of open
source projects will be alarmed why we think it necessary to add a
report bugs button right next to the download button. They want
(the illusion? of) bug-free software (even if there is no such thing).
- I want to avoid cluttering of the homepage.
- I also think Randal has a point when he says that some small hurdle
can help keep the number of not-so-helpful bug reports down.

+1 for top of get involved page.





On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com wrote:
 What is the main objection to having it on the main page?

 But if that doesn't feel right then I think we should raise it to the top of
 get involved page.

 Nathan

 On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com wrote:

 Hi,
 I saw the discussion you had. I would prefer not to add a report bugs
 button on the first page of qgis.org but we could make it more prominent on
 get involved.
 It's not that long since I added the report a bug section to get involved.
 Many users might only remember the old page.
 Best wishes
 Anita

 On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:

 Hi all,

 After talking to some users one concern they raised was it was a bit
 tricky to get find how to report a bug or feature.  I was thinking it might
 be a good idea to have a report bug/feature on the homepage. It would fit
 quite nice between the Download and Support

 I am aware that you can just click Get Involved, and scroll to the bottom
 but it still feels a bit hidden.

 Does anyone else feel that same way?

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


Re: [Qgis-developer] Report bug/feature on homepage

2014-05-02 Thread Zoltan Szecsei

Hiya,
What about a link saying Think you've found a bug?
That then sends the user to a separate page which gives guidance that 
you want to give the user, AND also a box saying Paste a short error 
message here

This is then sent off to google for them.

Regards,
Zoltan


On 2014/05/02 08:44, Anita Graser wrote:

My main objections to having a report bugs button on the main page:

- I think users who are not too familiar with the workings of open
source projects will be alarmed why we think it necessary to add a
report bugs button right next to the download button. They want
(the illusion? of) bug-free software (even if there is no such thing).
- I want to avoid cluttering of the homepage.
- I also think Randal has a point when he says that some small hurdle
can help keep the number of not-so-helpful bug reports down.

+1 for top of get involved page.





On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com wrote:

What is the main objection to having it on the main page?

But if that doesn't feel right then I think we should raise it to the top of
get involved page.

Nathan

On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com wrote:

Hi,
I saw the discussion you had. I would prefer not to add a report bugs
button on the first page of qgis.org but we could make it more prominent on
get involved.
It's not that long since I added the report a bug section to get involved.
Many users might only remember the old page.
Best wishes
Anita

On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:

Hi all,

After talking to some users one concern they raised was it was a bit
tricky to get find how to report a bug or feature.  I was thinking it might
be a good idea to have a report bug/feature on the homepage. It would fit
quite nice between the Download and Support

I am aware that you can just click Get Involved, and scroll to the bottom
but it still feels a bit hidden.

Does anyone else feel that same way?

Regards,
Nathan

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



--

===
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:+27-86-6115323 www.geograph.co.za
===

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


Re: [Qgis-developer] Report bug/feature on homepage

2014-05-02 Thread Alex Mandel
There's a reason some projects choose to call them issues and not bugs
(translations vary). I agree you can put a link on the front page to
info about issues, but I would avoid a comment box - that will get hit
by spam bots and then becomes another places people have to check.

Thanks,
Alex

On 05/01/2014 11:50 PM, Zoltan Szecsei wrote:
 Hiya,
 What about a link saying Think you've found a bug?
 That then sends the user to a separate page which gives guidance that
 you want to give the user, AND also a box saying Paste a short error
 message here
 This is then sent off to google for them.
 
 Regards,
 Zoltan
 
 
 On 2014/05/02 08:44, Anita Graser wrote:
 My main objections to having a report bugs button on the main page:

 - I think users who are not too familiar with the workings of open
 source projects will be alarmed why we think it necessary to add a
 report bugs button right next to the download button. They want
 (the illusion? of) bug-free software (even if there is no such thing).
 - I want to avoid cluttering of the homepage.
 - I also think Randal has a point when he says that some small hurdle
 can help keep the number of not-so-helpful bug reports down.

 +1 for top of get involved page.





 On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com
 wrote:
 What is the main objection to having it on the main page?

 But if that doesn't feel right then I think we should raise it to the
 top of
 get involved page.

 Nathan

 On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com
 wrote:
 Hi,
 I saw the discussion you had. I would prefer not to add a report bugs
 button on the first page of qgis.org but we could make it more
 prominent on
 get involved.
 It's not that long since I added the report a bug section to get
 involved.
 Many users might only remember the old page.
 Best wishes
 Anita

 On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:
 Hi all,

 After talking to some users one concern they raised was it was a bit
 tricky to get find how to report a bug or feature.  I was thinking
 it might
 be a good idea to have a report bug/feature on the homepage. It
 would fit
 quite nice between the Download and Support

 I am aware that you can just click Get Involved, and scroll to the
 bottom
 but it still feels a bit hidden.

 Does anyone else feel that same way?

 Regards,
 Nathan
 ___
 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


[Qgis-developer] QGIS custom widgets library for Qt designer: python/cpp availability

2014-05-02 Thread Denis Rouzaud

Hi all,

I have been creating a new library for having QGIS custom widgets 
available in Qt Designer, see PR 1325 [0].


I am facing a problem regarding the included file name that is defined 
in the custom widget and used by uic to create the code for it [1].


The problem is that this file won't be the same if the UI will be 
compiled from python or from c++.
For example, QgsMapLayerComboBoxPlugin [2], would need to include 
qgsmaplayercombobox.h [3] for c++ while it waits for qgis.gui for Python.


Does someone has any idea if it would be possible to make the widget 
librabry working for both languages?


The non-optimal solutions I see:
* provide two libraries, one for python and one for c++
* add a setting in cmake to choose to compile custom widgets for C++ or 
for python

* choose one by default and let the user change in source the included file

I think that all of these are non satisfying and removes all the magic 
from this new feature.

If you have any lead, it's more than welcome.

Cheers,

Denis

[0] https://github.com/qgis/QGIS/pull/1325
[1] 
http://qt-project.org/doc/qt-4.8/qdesignercustomwidgetinterface.html#includeFile

[2] https://github.com/qgis/QGIS/pull/1325/files#diff-15
[3] http://qgis.org/api/classQgsMapLayerComboBox.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGIS custom widgets library for Qt designer: python/cpp availability

2014-05-02 Thread Denis Rouzaud
Sorry for the noise, I just found a solution to redirect the widget 
module to qgis.gui:


sys.modules[qgsfieldexpressionwidget] = qgis.gui


Cheers,

Denis

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


Re: [Qgis-developer] Report bug/feature on homepage

2014-05-02 Thread João Gaspar
Hi guys,

+1 for top of get involved page

But to avoid the massive reporting bug we can write in the page a
suggestion to the users, they need to ask first in one of the mailing list
(qgis-user, qgis-developer) instead reporting right away the bug.

In this scenario, user ask first in the mailing list, then if the bug is
real they will report the bug.

Regards
João


2014-05-02 7:44 GMT+01:00 Anita Graser anitagra...@gmx.at:

 My main objections to having a report bugs button on the main page:

 - I think users who are not too familiar with the workings of open
 source projects will be alarmed why we think it necessary to add a
 report bugs button right next to the download button. They want
 (the illusion? of) bug-free software (even if there is no such thing).
 - I want to avoid cluttering of the homepage.
 - I also think Randal has a point when he says that some small hurdle
 can help keep the number of not-so-helpful bug reports down.

 +1 for top of get involved page.





 On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com
 wrote:
  What is the main objection to having it on the main page?
 
  But if that doesn't feel right then I think we should raise it to the
 top of
  get involved page.
 
  Nathan
 
  On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com
 wrote:
 
  Hi,
  I saw the discussion you had. I would prefer not to add a report bugs
  button on the first page of qgis.org but we could make it more
 prominent on
  get involved.
  It's not that long since I added the report a bug section to get
 involved.
  Many users might only remember the old page.
  Best wishes
  Anita
 
  On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:
 
  Hi all,
 
  After talking to some users one concern they raised was it was a bit
  tricky to get find how to report a bug or feature.  I was thinking it
 might
  be a good idea to have a report bug/feature on the homepage. It would
 fit
  quite nice between the Download and Support
 
  I am aware that you can just click Get Involved, and scroll to the
 bottom
  but it still feels a bit hidden.
 
  Does anyone else feel that same way?
 
  Regards,
  Nathan
 ___
 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] Report bug/feature on homepage

2014-05-02 Thread Jeff McKenna
It was me who years ago put Issue Tracker on the MapServer homepage
beside the Download link.  I think you/we must remember this is about
the new users, about helping them tell developers the problems they are
having; a link to Github means absolutely nothing to a new user, and
if it is hidden on some sub-page it is useless to a new user.

(I love QGIS and am just trying to help)

-jeff



On 2014-05-02, 4:18 AM, Alex Mandel wrote:
 There's a reason some projects choose to call them issues and not bugs
 (translations vary). I agree you can put a link on the front page to
 info about issues, but I would avoid a comment box - that will get hit
 by spam bots and then becomes another places people have to check.
 
 Thanks,
 Alex
 
 On 05/01/2014 11:50 PM, Zoltan Szecsei wrote:
 Hiya,
 What about a link saying Think you've found a bug?
 That then sends the user to a separate page which gives guidance that
 you want to give the user, AND also a box saying Paste a short error
 message here
 This is then sent off to google for them.

 Regards,
 Zoltan


 On 2014/05/02 08:44, Anita Graser wrote:
 My main objections to having a report bugs button on the main page:

 - I think users who are not too familiar with the workings of open
 source projects will be alarmed why we think it necessary to add a
 report bugs button right next to the download button. They want
 (the illusion? of) bug-free software (even if there is no such thing).
 - I want to avoid cluttering of the homepage.
 - I also think Randal has a point when he says that some small hurdle
 can help keep the number of not-so-helpful bug reports down.

 +1 for top of get involved page.





 On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com
 wrote:
 What is the main objection to having it on the main page?

 But if that doesn't feel right then I think we should raise it to the
 top of
 get involved page.

 Nathan

 On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com
 wrote:
 Hi,
 I saw the discussion you had. I would prefer not to add a report bugs
 button on the first page of qgis.org but we could make it more
 prominent on
 get involved.
 It's not that long since I added the report a bug section to get
 involved.
 Many users might only remember the old page.
 Best wishes
 Anita

 On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com wrote:
 Hi all,

 After talking to some users one concern they raised was it was a bit
 tricky to get find how to report a bug or feature.  I was thinking
 it might
 be a good idea to have a report bug/feature on the homepage. It
 would fit
 quite nice between the Download and Support

 I am aware that you can just click Get Involved, and scroll to the
 bottom
 but it still feels a bit hidden.

 Does anyone else feel that same way?

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


Re: [Qgis-developer] Report bug/feature on homepage

2014-05-02 Thread Nathan Woodrow
Did you find it a good or a bad thing Jeff?

Nathan
On May 2, 2014 11:43 PM, Jeff McKenna jmcke...@gatewaygeomatics.com
wrote:

 It was me who years ago put Issue Tracker on the MapServer homepage
 beside the Download link.  I think you/we must remember this is about
 the new users, about helping them tell developers the problems they are
 having; a link to Github means absolutely nothing to a new user, and
 if it is hidden on some sub-page it is useless to a new user.

 (I love QGIS and am just trying to help)

 -jeff



 On 2014-05-02, 4:18 AM, Alex Mandel wrote:
  There's a reason some projects choose to call them issues and not bugs
  (translations vary). I agree you can put a link on the front page to
  info about issues, but I would avoid a comment box - that will get hit
  by spam bots and then becomes another places people have to check.
 
  Thanks,
  Alex
 
  On 05/01/2014 11:50 PM, Zoltan Szecsei wrote:
  Hiya,
  What about a link saying Think you've found a bug?
  That then sends the user to a separate page which gives guidance that
  you want to give the user, AND also a box saying Paste a short error
  message here
  This is then sent off to google for them.
 
  Regards,
  Zoltan
 
 
  On 2014/05/02 08:44, Anita Graser wrote:
  My main objections to having a report bugs button on the main page:
 
  - I think users who are not too familiar with the workings of open
  source projects will be alarmed why we think it necessary to add a
  report bugs button right next to the download button. They want
  (the illusion? of) bug-free software (even if there is no such thing).
  - I want to avoid cluttering of the homepage.
  - I also think Randal has a point when he says that some small hurdle
  can help keep the number of not-so-helpful bug reports down.
 
  +1 for top of get involved page.
 
 
 
 
 
  On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow madman...@gmail.com
  wrote:
  What is the main objection to having it on the main page?
 
  But if that doesn't feel right then I think we should raise it to the
  top of
  get involved page.
 
  Nathan
 
  On May 2, 2014 3:22 PM, Anita Graser anita.graser...@gmail.com
  wrote:
  Hi,
  I saw the discussion you had. I would prefer not to add a report bugs
  button on the first page of qgis.org but we could make it more
  prominent on
  get involved.
  It's not that long since I added the report a bug section to get
  involved.
  Many users might only remember the old page.
  Best wishes
  Anita
 
  On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com
 wrote:
  Hi all,
 
  After talking to some users one concern they raised was it was a bit
  tricky to get find how to report a bug or feature.  I was thinking
  it might
  be a good idea to have a report bug/feature on the homepage. It
  would fit
  quite nice between the Download and Support
 
  I am aware that you can just click Get Involved, and scroll to the
  bottom
  but it still feels a bit hidden.
 
  Does anyone else feel that same way?
 
  Regards,
  Nathan
 ___
 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] Report bug/feature on homepage

2014-05-02 Thread Jeff McKenna
All good.  Never once have we had a problem.  Because the process means
you need to create an account, login, then report issue, it weeds out
any non-serious reports (the feedback form idea would be full of those
non-serious reports I worry; people who report then you never hear
from them again).

-jeff



On 2014-05-02, 10:47 AM, Nathan Woodrow wrote:
 Did you find it a good or a bad thing Jeff?
 
 Nathan
 
 On May 2, 2014 11:43 PM, Jeff McKenna jmcke...@gatewaygeomatics.com
 mailto:jmcke...@gatewaygeomatics.com wrote:
 
 It was me who years ago put Issue Tracker on the MapServer homepage
 beside the Download link.  I think you/we must remember this is about
 the new users, about helping them tell developers the problems they are
 having; a link to Github means absolutely nothing to a new user, and
 if it is hidden on some sub-page it is useless to a new user.
 
 (I love QGIS and am just trying to help)
 
 -jeff
 
 
 
 On 2014-05-02, 4:18 AM, Alex Mandel wrote:
  There's a reason some projects choose to call them issues and not bugs
  (translations vary). I agree you can put a link on the front page to
  info about issues, but I would avoid a comment box - that will get hit
  by spam bots and then becomes another places people have to check.
 
  Thanks,
  Alex
 
  On 05/01/2014 11:50 PM, Zoltan Szecsei wrote:
  Hiya,
  What about a link saying Think you've found a bug?
  That then sends the user to a separate page which gives guidance that
  you want to give the user, AND also a box saying Paste a short error
  message here
  This is then sent off to google for them.
 
  Regards,
  Zoltan
 
 
  On 2014/05/02 08:44, Anita Graser wrote:
  My main objections to having a report bugs button on the main
 page:
 
  - I think users who are not too familiar with the workings of open
  source projects will be alarmed why we think it necessary to add a
  report bugs button right next to the download button. They want
  (the illusion? of) bug-free software (even if there is no such
 thing).
  - I want to avoid cluttering of the homepage.
  - I also think Randal has a point when he says that some small
 hurdle
  can help keep the number of not-so-helpful bug reports down.
 
  +1 for top of get involved page.
 
 
 
 
 
  On Fri, May 2, 2014 at 7:26 AM, Nathan Woodrow
 madman...@gmail.com mailto:madman...@gmail.com
  wrote:
  What is the main objection to having it on the main page?
 
  But if that doesn't feel right then I think we should raise it
 to the
  top of
  get involved page.
 
  Nathan
 
  On May 2, 2014 3:22 PM, Anita Graser
 anita.graser...@gmail.com mailto:anita.graser...@gmail.com
  wrote:
  Hi,
  I saw the discussion you had. I would prefer not to add a
 report bugs
  button on the first page of qgis.org http://qgis.org but we
 could make it more
  prominent on
  get involved.
  It's not that long since I added the report a bug section to get
  involved.
  Many users might only remember the old page.
  Best wishes
  Anita
 
  On May 2, 2014 1:24 AM, Nathan Woodrow madman...@gmail.com
 mailto:madman...@gmail.com wrote:
  Hi all,
 
  After talking to some users one concern they raised was it
 was a bit
  tricky to get find how to report a bug or feature.  I was
 thinking
  it might
  be a good idea to have a report bug/feature on the homepage. It
  would fit
  quite nice between the Download and Support
 
  I am aware that you can just click Get Involved, and scroll
 to the
  bottom
  but it still feels a bit hidden.
 
  Does anyone else feel that same way?
 
  Regards,
  Nathan
 ___
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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

2014-05-02 Thread chris marx
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-
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-02 Thread Larry Shaffer
Hi Chris,


On Fri, May 2, 2014 at 1:47 PM, chris marx chrism...@gmail.com 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=path-to-oracle-client-sdk/sdk/include
-D OCI_LIBRARY=path-to/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 lar...@dakotacarto.comwrote:

 Hi Chris,


 On Fri, May 2, 2014 at 1:47 PM, chris marx chrism...@gmail.com 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=path-to-oracle-client-sdk/sdk/include
 -D OCI_LIBRARY=path-to/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,

On Fri, May 2, 2014 at 2:53 PM, chris marx chrism...@gmail.com 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 lar...@dakotacarto.comwrote:

 Hi Chris,


 On Fri, May 2, 2014 at 1:47 PM, chris marx chrism...@gmail.com 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=path-to-oracle-client-sdk/sdk/include
 -D OCI_LIBRARY=path-to/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

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

2014-05-02 Thread Jorge Tornero
-- Mensaje reenviado --
De: Jorge Tornero jtorlis...@gmail.com
Fecha: sábado, 3 de mayo de 2014
Asunto: [Qgis-developer] error starting qgis (built from source)
Para: Larry Shaffer lar...@dakotacarto.com


I'm not a Linux guru, but I've had the same problem some days ago. It's
related to that pointed in a previous message (the system doesn't know
where to look for those libraries). I haven't been able to solve it in a
nice way with a fancy, for sure one-liner magic console command but just
installing to /usr instead of /usr/local (I seem to recall that you've to
set properly CMAKE_INSTALL_PATH  when ccmake) did the trick for me.

Would be nice to find the right way, anyway

All the best

Jorge Tornero

El viernes, 2 de mayo de 2014, Larry Shaffer lar...@dakotacarto.com
escribió:
 Hi,

 On Fri, May 2, 2014 at 2:53 PM, chris marx chrism...@gmail.com 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 lar...@dakotacarto.com
wrote:

 Hi Chris,


 On Fri, May 2, 2014 at 1:47 PM, chris marx chrism...@gmail.com 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=path-to-oracle-client-sdk/sdk/include
 -D OCI_LIBRARY=path-to/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 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