From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a00d0f39803f731a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 01:58:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!gate.dornier.dasa.DE!not-for-mail From: Joachim =?ISO-8859-1?Q?Schr=F6er?= Newsgroups: comp.lang.ada Subject: Glade 3.14p installation problem Date: Mon, 25 Feb 2002 10:58:58 +0100 Message-ID: <3C7A0AE2.8040100@dornier.eads.net> NNTP-Posting-Host: gate.dornier.dasa.de (53.122.46.165) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1014631101 6650416 53.122.46.165 (16 [76083]) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us Xref: archiver1.google.com comp.lang.ada:20354 Date: 2002-02-25T10:58:58+01:00 List-Id: 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