[Pkg-pascal-devel] Castle Model Viewer 5.2.0

Peter B peter at pblackman.plus.com
Fri Nov 22 17:54:00 GMT 2024


On 21/10/2024 13:42, Michalis Kamburelis wrote:
> So, suggested way forward: once everything is good with CGE
> 7.0~alpha.3, just upgrade Debian packaging to Castle Model Viewer
> 5.2.0, and this will be solved.
>
> Regards,
> Michalis

Hi Michalis,

I'm afraid that after "just upgrade Debian packaging", Castle Model 
Viewer doesn't build

/compile.sh
castle-engine: Warning: $CASTLE_ENGINE_PATH environment variable 
defined, but we cannot find Castle Game Engine sources inside: 
"/usr/src/castle-game-engine-7.0/". We try to continue, assuming that 
engine unit paths are already specified within fpc.cfg file, otherwise 
compilation will fail.
castle-engine: Warning: $CASTLE_ENGINE_PATH environment variable 
defined, but we cannot find build tool data inside: 
"/usr/src/castle-game-engine-7.0/". We try to continue, but some 
packaging operations will fail.
castle-engine: Warning: Path: Path 
"/usr/src/castle-game-engine-7.0/src/base" does not exist. Make sure 
that $CASTLE_ENGINE_PATH points to the directory containing Castle Game 
Engine sources.
castle-engine: Warning: Path: Path 
"/usr/src/castle-game-engine-7.0/src/common_includes" does not exist. 
Make sure that $CASTLE_ENGINE_PATH points to the directory containing 
Castle Game Engine sources.


It looks to me that Castle Model Viewer is appending "/src" to the value 
given in CASTLE_ENGINE_PATH
which caused the fail. From the above log,
"/usr/src/castle-game-engine-7.0/src/base" does indeed not exist because 
the sources are in
"/usr/src/castle-game-engine-7.0/base"  without the "/src" appendage.

Maybe the units should be in usr/share/... instead of /usr/src/.... but 
I don't know
how Castle Game Engine can append "/src" to the install path using debputy.

Can you fix Castle Model Viewer to stop appending "/src"?


Regards,
Peter B






More information about the Pkg-pascal-devel mailing list