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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.219.130 with SMTP id po2mr9339054pac.46.1430461647237; Thu, 30 Apr 2015 23:27:27 -0700 (PDT) X-Received: by 10.140.107.226 with SMTP id h89mr10544qgf.32.1430461646981; Thu, 30 Apr 2015 23:27:26 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!l13no12367259iga.0!news-out.google.com!a41ni923qgf.1!nntp.google.com!z60no4560922qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 30 Apr 2015 23:27:26 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.26.13.197; posting-account=wEPvUgoAAABrLeiz_LRhQ3jeEhyfWVMH NNTP-Posting-Host: 76.26.13.197 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <52c8f8a1-843c-4955-bdd0-b0bf3237dddd@googlegroups.com> Subject: Installing gnatcoll on Windows From: NiGHTS Injection-Date: Fri, 01 May 2015 06:27:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 6567 X-Received-Body-CRC: 2564491231 Xref: news.eternal-september.org comp.lang.ada:25677 Date: 2015-04-30T23:27:26-07:00 List-Id: I have been trying fruitlessly to install gnatcoll on Windows. The platform= I am trying to compile this on is Windows 7 32-bit. I have installed Cygwin with the built-in ada compiler as well as GNAT Pro = for Windows. I downloaded adagpl-2014 and extracted gnatcoll-gpl-2014-src t= hen used the following command: $ ./configure --enable-projects --prefix=3D/usr/gnat-gpl-2014 checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking POSIX termios... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether termios.h defines TIOCGWINSZ... yes checking whether gnat can build shared libs... yes checking for python... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for pkg-config... /cygdrive/c/GtkAda/bin/pkg-config checking for default gtk+ version... no checking for pygtk... no (incompatible gtk+ version) checking for pygobject... no (disabled by user) checking for PQreset in -lpq... no checking for sqlite... embedded checking for __gmpz_init in -lgmp... no checking gmp.h usability... no checking gmp.h presence... no checking for gmp.h... no checking for libiconv... no special -L needed checking for library containing iconv_open... no checking whether gnat sources are found... no checking whether gnat_util exists... no checking for readline... no, this is a pure GPL library (see --enable-gpl) checking whether platform supports atomic inc/dec... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes configure: creating ./config.status config.status: creating gnatcoll_shared.gpr config.status: creating Makefile.conf config.status: creating src/gnatcoll_gmp.gpr config.status: creating src/gnatcoll_python.gpr config.status: creating distrib/gnatcoll.gpr__gnat_util config.status: creating distrib/gnatcoll.gpr__copy config.status: creating distrib/gnatcoll_python.gpr config.status: creating distrib/gnatcoll_gmp.gpr config.status: creating gnat/sdefault/sdefault.adb config.status: creating src/gnatcoll_readline.gpr config.status: executing src/gnatcoll-refcount-sync_counters.adb commands config.status: executing src/gnatcoll.gpr commands config.status: executing distrib/gnatcoll.gpr commands configure: --------- Summary for GNAT Components -------------- configure: Shared libraries: yes (default: static) configure: Gtk+: no (requires pkg-config and gtkada.gpr= ) configure: Python: no no (see --with-python) configure: PyGtk: no (see --enable-pygtk) configure: PyGObject: no (see --enable-pygobject) configure: Syslog: yes (see --enable-syslog) configure: Readline (GPL license): no (see --with-readline --enable-gpl) configure: gmp: no (see --with-gmp) configure: PostgreSQL: no (see --with-postgresql) configure: Sqlite: embedded (see --with-sqlite) configure: Iconv: no (see --with-iconv) configure: Projects: yes configure: -------------------------------------------- $ make Makefile:72: recipe for target 'do_links' failed make: [do_links] Error 1 (ignored) gnatmake: "xsnamest" not found Makefile:72: recipe for target 'do_links' failed make: *** [do_links] Error 4 So after some research I find that xsnamest is a part of the ASIS project a= lso included in "adagpl-2014" so I proceed to attempt its installation like= so... $ make gnatmake -Pasis -XBLD=3Dprod -XOPSYS=3Ddefault_Unix asis.gpr:24:06: unknown project file: "gnat_util" gnatmake: "asis" processing failed Makefile:29: recipe for target 'lib/libasis.a' failed make: *** [lib/libasis.a] Error 4 So this looks like some kind of recursive dependency or something. Either w= ay my research online on this subject is bleak, mainly pointing to forum po= sts with people discussing ways to either avoid gnatcoll entirely or transf= er parts of the gnatcoll project into their own project to avoid completing= this setup. What I am interested in using Gnatcoll for is its SQLite implementation for= which I have already written code in Linux to work with it. If there was a= way to easily crop out only that part of gnatcoll I think I'd be okay with= that, though this shouldn't be so difficult to compile cross-platform I wo= uld think. Any help on this subject would be greatly appreciated!