[Pkg-pascal-devel] need advice: unable to create package output directory "/usr/..."

yoh at onerussian.com yoh at onerussian.com
Thu Jan 13 17:34:51 GMT 2022


On Thu, 13 Jan 2022, Peter wrote:

> Hi Yaroslav,

> I suggest removing the lazbuild --add-package
> line, as that probably won't work without being root.

> Also  --pcp=/etc/lazarus is probably not needed

> Try changing the single lazbuild command to
> lazbuild --build-all --ws=qt5 lazopenglcontext.lpk MRIcroGL.lpi

Thank you Peter!

- tried in "dirty" env,  as is - didn't work

    t at smaug:/tmp/buildd/mricrogl-1.2.20211007+dfsg# lazbuild --build-all --ws=qt5 lazopenglcontext.lpk MRIcroGL.lpi
    Error: (lazbuild) package not found: lazopenglcontext.lpk

- providing full path to lpk

	lazbuild --build-all --ws=qt5 /usr/lib/lazarus/2.0.12/components/opengl/lazopenglcontext.lpk MRIcroGL.lpi

 works but I do not want to hardcode it (intention also to provide
 backport builds etc)

what would be the command/way to figure out/specify path to it?

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
WWW:   http://www.linkedin.com/in/yarik        




More information about the Pkg-pascal-devel mailing list