[Pkg-pascal-devel] lazarus opengl

Johannes Schauer josch at debian.org
Wed Jul 20 17:53:02 UTC 2016


Hi again,

Quoting Johannes Schauer (2016-07-20 14:59:36)
> I need help compiling a piece of Pascal software for the next release of a
> package I maintain (and which does not yet contain any Pascal code).
> 
> I'm the maintainer of the game VCMI. The next version will contain a scenario
> editor written in Pascal and using Lazarus. It is currently maintained here:
> 
> https://github.com/vcmi/vcmi_editor
> 
> According to the .travis.yml and the upstream maintainer it should compile fine
> on Ubuntu 16.04 but they use the Lazarus upstream provided packages instead of
> those coming in Ubuntu. I installed some fp-units packages but am still stuck
> with the following error when I run "make":
> 
> /tmp/vcmi_editor/main.pas(27,50) Fatal: (10022) Can't find unit OpenGLContext used by main
> 
> I saw that src:castle-game-engine also use OpenGLContext so I installed all its
> build dependencies but without any change.
> 
> This is the first time I'm confronted with Pascal, so I thought I drop you a
> line and ask you for help in how to compile vcmi_editor in Debian.

I also contacted upstream (Alexander Shishkin) about this. They told me I can
quote their analysis of the problem here for you:

Quoting Alexander Shishkin (2016-07-20 15:07:14)
> > Info: (lazarus) Param[20]="-Fu/usr/lib/lazarus/1.6/components/opengl/lib/x86_64-linux/gtk2"
>
> This is the path where opengl package binaries should be, path was
> taken/calculated from "lazopenglcontext.lpk" - the package metadata -
> that file is present in "lcl-units-1.6" debian package, but binaries
> itself are completely missing and not only for this package.
> And nobody cares as if you have lazarus sources installed it will compile
> anyway.

Maybe this helps you to find what is wrong with the lazarus packaging in
Debian?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160720/801cad39/attachment.sig>


More information about the Pkg-pascal-devel mailing list