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.129.73.21 with SMTP id w21mr7282485ywa.28.1480463352301; Tue, 29 Nov 2016 15:49:12 -0800 (PST) X-Received: by 10.157.44.172 with SMTP id p41mr1443962otb.6.1480463352259; Tue, 29 Nov 2016 15:49:12 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!enother.net!enother.net!enother.net!peer01.fr7!futter-mich.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!n6no42135qtd.0!news-out.google.com!j8ni158qtc.0!nntp.google.com!p16no40928qta.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 29 Nov 2016 15:49:07 -0800 (PST) In-Reply-To: <1d785051-0f0b-45df-9292-680b4155e0a3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=174.28.218.229; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 174.28.218.229 References: <3c41f737-a1d9-40a5-aea3-08c4b61baaa8@googlegroups.com> <1d785051-0f0b-45df-9292-680b4155e0a3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Building Matreshka on Windows From: Shark8 Injection-Date: Tue, 29 Nov 2016 23:49:12 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 361803731 X-Received-Bytes: 7739 Xref: news.eternal-september.org comp.lang.ada:32524 Date: 2016-11-29T15:49:07-08:00 List-Id: On Tuesday, November 29, 2016 at 8:22:48 AM UTC-7, Maxim Reznik wrote: > =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 2 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 20= 16 =D0=B3., 23:29:17 UTC+2 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0= =D1=82=D0=B5=D0=BB=D1=8C Shark8 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > I recently came across Matreshka on this wikipedia page -- https://en.w= ikibooks.org/wiki/Ada_Programming/Libraries/Database -- when searching for = FireBird bindings to Ada... Ada bindings to FireBirs? Whatever. > >=20 > > Anyway, the user-guide is pretty unhelpful when on a Windows machine --= http://forge.ada-ru.org/matreshka/wiki/Guide -- essentially requiring the = whole unix-like environment... so my questions are thus: has anyone gotten = it to build on Windows? has anyone gotten it to build WITHOUT Cygwin, MSYS,= etc? > >=20 >=20 > You don't need Cygwin nor MSYS to compile matreshka. Just two packages ma= ke and coreutils (together less then 10 Mb in size, url in the guide). Just= install these two pieces of software. That's all you need to start compila= tion. Thank you for the info. > So, yes - it works on windows without any problem. yes - it works WITHOUT= Cygwin and MSYS. Here's the output of attempting to run make (after installing GNU make and = coreutils): C:\Programming\Libraries\Matreshka>make make reconfig make[1]: Entering directory `C:/Programming/Libraries/Matreshka' gnatmake -p -j0 -Pgnat/tools_configure.gpr object directory "C:\Programming\Libraries\Matreshka\gnat\..\.objs\configur= e\" created gcc -c -g -gnat12 -gnato -fstack-check configure-driver.adb gcc -c -g -gnat12 -gnato -fstack-check configure.adb gcc -c -g -gnat12 -gnato -fstack-check configure-architecture.adb gcc -c -g -gnat12 -gnato -fstack-check configure-instantiate.adb gcc -c -g -gnat12 -gnato -fstack-check configure-internals.adb gcc -c -g -gnat12 -gnato -fstack-check configure-rtl_version.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests.ads gcc -c -g -gnat12 -gnato -fstack-check configure-tests-asis.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-firebird.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-gprbuild.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-install.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-installation_directo= ries.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-modules.ads gcc -c -g -gnat12 -gnato -fstack-check configure-tests-modules-amf.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-mysql.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-oci.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-operating_system.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-postgresql.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-sqlite3.adb gcc -c -g -gnat12 -gnato -fstack-check configure-tests-valgrind.adb gcc -c -g -gnat12 -gnato -fstack-check configure-version.adb gcc -c -g -gnat12 -gnato -fstack-check configure-builder.adb gcc -c -g -gnat12 -gnato -fstack-check configure-abstract_tests.adb gcc -c -g -gnat12 -gnato -fstack-check configure-pkg_config.adb gcc -c -g -gnat12 -gnato -fstack-check configure-component_switches.adb gprbind configure-driver.bexch gnatbind configure-driver.ali gcc -c b__configure-driver.adb gcc configure-driver.o -o configure.exe ./configure [os ] detecting target operating system: Windows [gprbuild ] looking for GPRbuild: C:\Programming\GNAT\2016\bin\gprbuild.ex= e [gprbuild ] checking GPRbuild version: ok [asis ] checking whether ASIS library is available: no [modules ] checking whether to build AMF module: no [mysql ] checking whether to build MySQL module: no (mysql_config not f= ound) configure.exe: (info) MySQL driver module is disabled [oci ] checking whether to build Oracle module: no (not found) configure.exe: (info) Oracle driver module is disabled [postgresql] checking whether to build PostgreSQL module: no (pg_config not= foun d) configure.exe: (info) PostgreSQL driver module is disabled [sqlite3 ] checking whether to build SQLite3 module: no (pkg-config not f= ound) configure.exe: (info) SQLite3 driver module is disabled [firebird ] checking whether to build Firebird module: yes (try default) [firebird ] checking whether Firebird library is usable: no configure.exe: (info) Firebird driver module is disabled configure.exe: VALGRIND =3D> configure.exe: HAS_FIREBIRD =3D> configure.exe: MYSQL_LIBRARY_OPTIONS =3D> configure.exe: INSTALL =3D> C:/Program Files (x86)/Coreutils/bin/install.ex= e configure.exe: GPRDIR =3D> /usr/local/lib/gnat configure.exe: GPRBUILD =3D> C:/Programming/GNAT/2016/bin/gprbuild.exe configure.exe: HAS_SQLITE3 =3D> configure.exe: OPERATING_SYSTEM =3D> Windows configure.exe: FIREBIRD_LIBRARY_OPTIONS =3D> configure.exe: HAS_MYSQL =3D> configure.exe: VERSION =3D> 0.7.0 configure.exe: ARCHITECTURE =3D> x86 configure.exe: BINDIR =3D> /usr/local/bin configure.exe: LIBDIR =3D> /usr/local/lib configure.exe: HAS_ASIS =3D> configure.exe: HAS_GPRBUILD2014 =3D> configure.exe: HAS_POSTGRESQL =3D> configure.exe: OCI_LIBRARY_OPTIONS =3D> configure.exe: HAS_OCI =3D> configure.exe: PREFIX =3D> /usr/local configure.exe: POSTGRESQL_LIBRARY_OPTIONS =3D> configure.exe: HAS_VALGRIND =3D> configure.exe: SQLITE3_LIBRARY_OPTIONS =3D> configure.exe: HAS_WORKING_MYSQL_SERVER =3D> configure.exe: RTL_VERSION_SUFFIX =3D> -2016 configure.exe: ENABLE_AMF =3D> configure.exe: creating Makefile.config configure.exe: creating gnat/install/matreshka_config.gpr configure.exe: creating gnat/matreshka_config.gpr configure.exe: creating source/league/matreshka-config.ads make[1]: Leaving directory `C:/Programming/Libraries/Matreshka' make: Interrupt/Exception caught (code =3D 0xc00000fd, addr =3D 0x4217b3) C:\Programming\Libraries\Matreshka>make install make -f Makefile.install make: Interrupt/Exception caught (code =3D 0xc00000fd, addr =3D 0x4217b3) make: *** [install] Error 255 > What build driver do you prefer? maven, NuGet, chocolately, Web PI or Pow= erShell? ;) It doesn't exist. (Yet.) ;) Of those you listed PowerShell is, IMO, the best... but that's not really s= aying a lot. (GPRBuild is usable, in the way that C is, but we *really* oug= ht to have a better project language.)