Nicolas Boulenguez <[email protected]> writes:

> Package: gprbuild
> Version: 1.2.0-1
> Severity: wishlist
>
> Hello. Suppose I have installed the libgtkada package, and created the
> two following files.
>
> --                  "main.adb"
> procedure Main is
> begin
>    null;
> end Main;
> --                  "main.gpr"
> with "gtkada2";
> project main is
>    for Main use ("main.adb");
>    for Object_Dir use "obj";
> end Main;
>
> Then 'gprbuild main.gpr' complains that
>    main.gpr:1:06: unknown project file: "gtkada2"
>    gprbuild: "main.gpr" processing failed
> while 'gnatmake -Pmain' compiles correctly. Providing the full path
> 'with "/usr/share/ada/adainclude/gtkada2";' works too.

It should also work if you define the environment variable
ADA_PROJECT_PATH = /usr/share/ada/adainclude

> It would be nice if the standard location was guessed as it was with
> gnatmake.

Yes, I'll fix this.

-- 
-- Stephe



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to