comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Building Matreshka on Windows
Date: Tue, 29 Nov 2016 15:49:07 -0800 (PST)
Date: 2016-11-29T15:49:07-08:00	[thread overview]
Message-ID: <bb061649-2665-44a6-80e6-22877d720b94@googlegroups.com> (raw)
In-Reply-To: <1d785051-0f0b-45df-9292-680b4155e0a3@googlegroups.com>

On Tuesday, November 29, 2016 at 8:22:48 AM UTC-7, Maxim Reznik wrote:
> среда, 2 ноября 2016 г., 23:29:17 UTC+2 пользователь Shark8 написал:
> > I recently came across Matreshka on this wikipedia page -- https://en.wikibooks.org/wiki/Ada_Programming/Libraries/Database -- when searching for FireBird bindings to Ada... Ada bindings to FireBirs? Whatever.
> > 
> > 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?
> > 
> 
> You don't need Cygwin nor MSYS to compile matreshka. Just two packages make 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 compilation.

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\configure\" 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_directories.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.exe
[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 found)

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 found)

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 =>
configure.exe: HAS_FIREBIRD =>
configure.exe: MYSQL_LIBRARY_OPTIONS =>
configure.exe: INSTALL => C:/Program Files (x86)/Coreutils/bin/install.exe
configure.exe: GPRDIR => /usr/local/lib/gnat
configure.exe: GPRBUILD => C:/Programming/GNAT/2016/bin/gprbuild.exe
configure.exe: HAS_SQLITE3 =>
configure.exe: OPERATING_SYSTEM => Windows
configure.exe: FIREBIRD_LIBRARY_OPTIONS =>
configure.exe: HAS_MYSQL =>
configure.exe: VERSION => 0.7.0
configure.exe: ARCHITECTURE => x86
configure.exe: BINDIR => /usr/local/bin
configure.exe: LIBDIR => /usr/local/lib
configure.exe: HAS_ASIS =>
configure.exe: HAS_GPRBUILD2014 =>
configure.exe: HAS_POSTGRESQL =>
configure.exe: OCI_LIBRARY_OPTIONS =>
configure.exe: HAS_OCI =>
configure.exe: PREFIX => /usr/local
configure.exe: POSTGRESQL_LIBRARY_OPTIONS =>
configure.exe: HAS_VALGRIND =>
configure.exe: SQLITE3_LIBRARY_OPTIONS =>
configure.exe: HAS_WORKING_MYSQL_SERVER =>
configure.exe: RTL_VERSION_SUFFIX => -2016
configure.exe: ENABLE_AMF =>
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 = 0xc00000fd, addr = 0x4217b3)

C:\Programming\Libraries\Matreshka>make install
make -f Makefile.install
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3)
make: *** [install] Error 255


> What build driver do you prefer? maven, NuGet, chocolately, Web PI or PowerShell? ;)

It doesn't exist. (Yet.) ;)
Of those you listed PowerShell is, IMO, the best... but that's not really saying a lot. (GPRBuild is usable, in the way that C is, but we *really* ought to have a better project language.)


  reply	other threads:[~2016-11-29 23:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 21:29 Building Matreshka on Windows Shark8
2016-11-03  8:18 ` Dmitry A. Kazakov
2016-11-03 15:32   ` Olivier Henley
2016-11-03 16:10     ` Dmitry A. Kazakov
2016-11-03 17:50       ` Simon Wright
2016-11-03 18:42         ` G.B.
2016-11-04  8:55           ` Simon Wright
2016-11-04  9:19             ` G.B.
2016-11-03 18:02       ` Olivier Henley
2016-11-03 20:18         ` Dmitry A. Kazakov
2016-11-03 22:39           ` gautier_niouzes
2016-11-04  8:28             ` Dmitry A. Kazakov
2016-11-04  8:57           ` G.B.
2016-11-04  9:29             ` Dmitry A. Kazakov
2016-11-04 13:28               ` Simon Wright
2016-11-04 16:08                 ` Dmitry A. Kazakov
2016-11-04 18:14                   ` Simon Wright
2016-11-04 16:37                 ` Jeffrey R. Carter
2016-11-04 18:19                   ` Simon Wright
2016-11-07  8:39                   ` Jacob Sparre Andersen
2016-11-07  8:50                     ` Simon Wright
2016-11-07  9:03                       ` Jacob Sparre Andersen
2016-11-29 15:22 ` Maxim Reznik
2016-11-29 23:49   ` Shark8 [this message]
2016-11-30 11:45     ` Maxim Reznik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox