[Qgis-developer] Compliation issues of sources using "make" on Linux Ubuntu

Florin-Daniel Cioloboc cioloboc.florin at gmail.com
Mon May 11 06:41:17 PDT 2015


Thank you, Hugo!

That was a good tip, as I was checking the files I enabled the "allow
executing file as program". Whether that was the magic trick, I am unsure
but in any case now it's working. Same goes for the import qgis.core in the
Ubuntu terminal, no more import errors.

Hopefully, I can actually start to work on my plugin.

Best regards

On Mon, May 11, 2015 at 2:13 PM, Hugo Mercier <hugo.mercier at oslandia.com>
wrote:

> Hi,
>
> Make sure you are on a file system that support unix file execution
> permission (no ntfs) and that it is mounted correctly.
> Make also sure that the user running make is the same as the owner of
> all files.
>
> On 11/05/2015 12:16, Florin-Daniel Cioloboc wrote:
> > Apparently, neither chmod +x scripts/compile-strings.sh nor chmod 001
> > scripts/compile-strings.sh work.
> > Whenever I use make test:
> >
> >     ----------------------------------------
> >     Compiled translation files to .qm files.
> >     ----------------------------------------
> >     make: execvp: scripts/compile-strings.sh: Permission denied
> >     make: *** [transcompile] Error 127
> >
> >
> > Does anyone know why?
> >
> >
> >
> >
> > On Mon, May 11, 2015 at 12:06 PM, Florin-Daniel Cioloboc
> > <cioloboc.florin at gmail.com <mailto:cioloboc.florin at gmail.com>> wrote:
> >
> >     Thanks for the reply Alessandro,
> >
> >     Already done that. It still doesn't work yet, however I got the idea
> >     to source it: source scripts/run-env-linux.sh /usr/bin/qgis-2.2/ and
> >     it worked up, at least that command.
> >
> >     Unfortunately, when running make test command it get the same
> >     permission error so at the moment I'm trying to set it using chmod
> >     but it doesn't seem to be working.
> >
> >
> >
> >     On Mon, May 11, 2015 at 11:45 AM, Alessandro Pasotti
> >     <apasotti at gmail.com <mailto:apasotti at gmail.com>> wrote:
> >
> >         2015-05-11 10:44 GMT+02:00 Florin-Daniel Cioloboc
> >         <cioloboc.florin at gmail.com <mailto:cioloboc.florin at gmail.com>>:
> >
> >             Hello everyone,
> >
> >             I am getting a rather strange message after using the make
> >             command, which is preventing me from compiling my sources
> >             for a plugin. As a result, the plugin doesn't show up in
> QGIS.
> >
> >             Message:
> >
> >                 ----------------------------------------
> >                 Compiled translation files to .qm files.
> >                 ----------------------------------------
> >                 make: execvp: scripts/compile-strings.sh: Permission
> denied
> >                 make: *** [transcompile] Error 127
> >
> >
> >             Had an earlier issue but it was partly solved by installing
> >             PyQT4. I don't really understand what's wrong.
> >
> >                 I typed in prompt: /make test/ and got:
> >
> >                 |pyrcc4 -o resources_rc.py  resources.qrc
> >                 make: pyrcc4: Command not found
> >                 make: *** [resources_rc.py] Error 127|
> >
> >             I could use really use some help.
> >
> >
> >
> >         make: pyrcc4: Command not found
> >
> >         You have to install pyrcc4, if you're on Linux Ubuntu  or Debian
> >         it's in the pyqt4-dev-tools package.
> >
> >
> >         --
> >         Alessandro Pasotti
> >         w3:   www.itopen.it <http://www.itopen.it>
> >
> >
> >
> >
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150511/d2b70da4/attachment.html>


More information about the Qgis-developer mailing list