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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.100.166 with SMTP id ez6mr24696488pab.39.1418648819656; Mon, 15 Dec 2014 05:06:59 -0800 (PST) X-Received: by 10.140.101.247 with SMTP id u110mr25236qge.18.1418648819607; Mon, 15 Dec 2014 05:06:59 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!h15no21767598igd.0!news-out.google.com!r1ni50qat.1!nntp.google.com!w8no8013886qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 15 Dec 2014 05:06:59 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=73.54.200.223; posting-account=AgomvAoAAAAj6rtZlNDUf1S1XVXbXDpg NNTP-Posting-Host: 73.54.200.223 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <09729271-32e5-4d7e-999f-2299a9c975fd@googlegroups.com> Subject: Compiling GNATColl on Windows From: mhardeman25@gmail.com Injection-Date: Mon, 15 Dec 2014 13:06:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2880 X-Received-Body-CRC: 2649967624 Xref: news.eternal-september.org comp.lang.ada:23998 Date: 2014-12-15T05:06:59-08:00 List-Id: I have been trying to compile GNATColl on Windows 8.1 and I'm having some trouble. I'm hoping somebody here has some tips/tricks that I may have missed. I do have the latest source from the svn repository here: http://viewvc.libre.adacore.com/viewvc.cgi/Public/trunk/gps/gnatlib/ Location of important components: * GNATColl src: C:\development\tools\ada\gnatlib * Adacore Gnat GPL: C:\development\tools\ada\GNAT\2014 * Mingw with Msys and GNAT: C:\development\tools\common\mingw * Postgresql: C:\development\tools\sql\postgresql * SQLite: C:\development\tools\sql\sqlite Environment Variables: * Path: C:\development\tools\ada\GNAT\2014\bin;C:\development\tools\common\mingw\bin;C:\development\tools\sql\postgresql\bin;C:\development\tools\sql\sqlite;C:\development\tools\java\jdk x64\bin;C:\Users\Michael\AppData\Roaming\npm I have tried it both with GNAT\2014\bin first and with mingw\bin first. (switching which GNAT compiler/gnatlib I was using) Compilation steps: run msys.bat cd /c/development/tools/ada/gnatlib ./configure -prefix=/c/development/tools/ada/gnat/2014/ --with-postgresql=/c/development/tools/sql/postgresql/ --with-sqlite=/c/development/tools/sql/sqlite/ make Failure message using GNAT\2014\bin: c:/development/tools/ada/gnat/2014/bin/../libexec/gcc/i686-pc-mingw32/4.7.4/ld.exe: cannot find -lpq collect2.exe: error: ld returned 1 exit status gprlib: c:\development\tools\ada\gnat\2014\bin\gcc execution error gprbuild: could not build library for project gnatcoll_postgres make: *** [build_library_type/relocatable] Error 4 Failure message using mingw\bin: gprbuild -m -j0 -XLIBRARY_TYPE=relocatable -Pgnatcoll_build -p gnatcoll.gpr:34:10: unknown file "xutil.ads" gnatcoll.gpr:34:23: unknown file "xutil.adb" gnatcoll.gpr:34:36: unknown file "xsnamest.adb" gprbuild: "gnatcoll_build" processing failed make: *** [build_library_type/relocatable] Error 4