* Glade 3.14p installation problem
@ 2002-02-25 9:58 Joachim Schröer
0 siblings, 0 replies; only message in thread
From: Joachim Schröer @ 2002-02-25 9:58 UTC (permalink / raw)
Hello,
I have problems installing GLADE for Gnat 3.14p on WinNT.
I installed Gnat 3.14p without problems.
I use the following installation dir for Gnat and its components like
Glade, Asis etc:
c:\ada95\compiler\gnat
So I try to install from
c:\ada95\compiler\gnat\glade-3.14p-src
To install I give the commands
./configure --prefix=../../glade (--prefix=../glade does not
work)
make install
to install all in
c:\ada95\compiler\gnat\glade
Problem 1)
Installing the filters does not work. So I simply comment the following
lines in /garlic/makefile:
#install-zlib: libz.a install-dirs-local
# $(INSTALL_DATA) libz.a $(GARLIC)
# $(RANLIB) $(GARLIC)/libz.a
I encountered this problem already in the 3.13p version but managed to
install Glade and execute an example.
I get the following dir structure
c:\ada95\compiler\gnat\glade\
bin -- gnatdist.exe
lib\garlic -- sources, ali, libgarlic.a
Problem 2)
This one is more severe.
When executing gnatdist it crashes. After altering the last choice in the
exception-handler in the XE_Build (gnatdist) main procedure to
----------------------------------------------------------
when E : others =>
Ada.Text_IO.Put_Line (Ada.Exceptions.Exception_Information (E) &
GNAT.Traceback.Symbolic.Symbolic_Traceback
(E));
Message ("*** unknown error");
raise; -- hope GNAT will output its name
----------------------------------------------------------
and a rebuild with the options to see the traceback I get:
----------------------------------------------------------
bash-2.05a$ gnatdist
Exception name: CONSTRAINT_ERROR
Message: xe_utils.adb:911
Call stack traceback locations:
0x52f951 0x55449f 0x40141d 0x401103 0x77f1b9e8
0052F951 in ?? at crt1.c:0
0055449F in ?? at crt1.c:0
0040141D in ?? at crt1.c:0
00401103 in ?? at crt1.c:0
77F1B9E8 in ?? at fake:0
gnatdist: *** unknown error
Execution terminated by unhandled exception
Exception name: CONSTRAINT_ERROR
Message: xe_utils.adb:911
Call stack traceback locations:
0x52f951 0x55449f 0x40141d 0x401103 0x77f1b9e8
bash-2.05a$
----------------------------------------------------------
The line in question in xe_utils.adb is
Add_Str_To_Name_Buffer (GARLIC.all);
A few lines before the statement
GARLIC := Get_GARLIC_Dir;
probably returns a null string_access value.
I could track the problem down to a call to
RegQueryValueEx
So my installation is probably not correct but I'm stuck.
Thanks for any help.
Joachim Schr�er
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-25 9:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-25 9:58 Glade 3.14p installation problem Joachim Schröer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox