I am trying to build the AWS GPL 2015, but I get this error:
$ make setup build
gprbind xoscons.bexch
gnatbind xoscons.ali
gnatgcc -c b__xoscons.adb
gnatgcc xoscons.o -o xoscons
Setup OS specific definitions
Can not generate system tags. The test are disabled
aws.gpr:76:04: package "install" is forbidden in aggregate projects
gprbuild: "tools/tools.gpr" processing failed
makefile:183: recipe for target 'build-native' failed
make: *** [build-native] Error 4
I am using this GNAT:
$ gnat --version
GNAT 4.9.2
Copyright 1996-2014, Free Software Foundation, Inc.
That version of AWS requires 'gprinstall', so you should compile with GNAT GPL 2015 to get all the needed tools.
Related
Trying to install qt in macOS Sierra (10.12.6) using brew. I run $ brew info qt and get the following:
$ brew info qt
qt: stable 5.15.0, HEAD [keg-only]
Cross-platform application and UI framework
https://www.qt.io/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/qt.rb
==> Dependencies
Build: pkg-config ✔
==> Requirements
Build: xcode ✔
Required: macOS >= 10.12 ✔
With this I assume I have everything required to install it. However, if I run $ brew install qt, this appears:
1 error generated.
make: *** [qcore_mac.o] Error 1
make: *** Waiting for unfinished jobs....
Error: You are using macOS 10.12.
What is wrong then?
Context:
I am working with terminal and have little coding background. I'm trying to install gnuplot and I'm only missing qt and pango dependencies.
I am trying to compile Blochlibs-1.2 libraries on Ubuntu 15.04 (32 bit). Ihave successfully compiled fftw3 and mpi libraries which all ended up in /usr/local/lib and usr/local/include. mpicc is in the path and LD_LIBRARY_PATH is set correctly. when I run configure like this:
./configure --with-mpi=/usr/local --with-fftw=/usr/local
then i get this error:
checking for functioning MPI library ... configure: error: couldn't
find mpi library for --with-mpi
How does the configure file search for the libraries?
Thanks,
Z
I'm trying to install unix package on windows environment. I'm using Cygwin, but its still not working.
Below is a snippet of the error I'm getting:
$ cabal install unix
Resolving dependencies...
Configuring unix-2.7.0.0...
Warning: Unknown extensions: CApiFFI, InterruptibleFFI
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
.
.
.
configure: creating ./config.status
config.status: creating unix.buildinfo
config.status: creating include/HsUnixConfig.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
cabal.exe: Package unix-2.7.0.0 can't be built on this system.
Failed to install unix-2.7.0.0
cabal.exe: Error: some packages failed to install:
unix-2.7.0.0 failed during the building phase. The exception was:
ExitFailure 1
Cygwin is a partial linux toolset for windows, it's great if you need basic things but installing a full blown unix cabal plugin might be beyond its capabilities.
You may want to install a full linux os on a virtual machine (vagrant does great with this) or use a cloud real unix machine.
Linux hosts are really great to work with from remote
Happy codding
I've successfully compiled my WinRT version of SQLite for x86 as described by Tim Heuer.
However, I am still struggling how to compile the dll for WinRT on ARM CPUs. I've run nmake with the Visual Studio ARM command prompt, but that just gives me the following error:
C:\sqlite>nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WIN
API_PARTITION_APP
Microsoft (R) Program Maintenance Utility Version 11.00.50522.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl.exe -W3 -DNDEBUG -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-O2 -Zi /DEBUG -Femkkeywordhash.exe -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTR
EE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_MAX_TRIGGER_DEPTH=100 /DWINAPI_F
AMILY=WINAPI_PARTITION_APP .\tool\mkkeywordhash.c
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50522.1 for ARM
Copyright (C) Microsoft Corporation. All rights reserved.
mkkeywordhash.c
Microsoft (R) Incremental Linker Version 11.00.50522.1
Copyright (C) Microsoft Corporation. All rights reserved.
/machine:arm
/debug
/out:mkkeywordhash.exe
mkkeywordhash.obj
.\mkkeywordhash.exe > keywordhash.h
This version of C:\sqlite\mkkeywordhash.exe is not compatible with the version o
f Windows you're running. Check your computer's system information and then cont
act the software publisher.
NMAKE : fatal error U1077: '.\mkkeywordhash.exe' : return code '0x1'
Stop.
What am I doing wrong?
Thanks,
Adrian
I finally managed to make this work:
Compiled the x86 dll as described here:
http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx
Deleted only the sqlite3* files and the sqlitelib (many thanks to Banthar and Tim Heuer for the hint)
Compiled the ARM dll from the ARM VS command prompt with this command:
nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WINAPI_PARTITION_APP
You can also get the binaries pre-compiled via this project:
https://github.com/praeclarum/sqlite-net/tree/master/lib/metro
It always says:
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/Users/peter/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
similar things happen if it is sqlite3:
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
/Users/peter/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for sqlite3.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Update: at least sqlite3 is building now... that is after I rvm remove 1.9.2-p180 and removing all the 1.9.2, and reinstall by rvm install 1.9.2 and now sqlite3 can be bundle installed, but mysql2 still has problem.
I installed the 64 bit version of MySQL server and it will bundle install, and then this question helped with the
Library not loaded: libmysqlclient.18.dylib (LoadError)
solution: Library not loaded: libmysqlclient.16.dylib error when trying to run 'rails server' on OS X 10.6 with mysql2 gem