build error Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension for Qt - qt

Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension
On Step-5 running ./configure I get this error message
Codes#Codes-PC /c/temp/sqlcipher-master
$ ./configure --prefix=$(pwd)/dist --with-crypto-lib=none --disable-tcl CFLAGS=
"-DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL -I/c/openssl-win32/include /c/te
mp/sqlcipher-master/libeay32.dll -L/c/temp/sqlcipher-master/ -static-libgcc" LD
FLAGS="-leay32"
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in /c/temp/sqlcipher-master':
configure: error: no acceptable C compiler found in $PATH
Seeconfig.log' for more details

Related

An error occurred while configuring netcdf

I was configuring after installing netcdf to run the wrf model.
However, an error occurred and the execution stopped in the middle.
I've tried a lot of different methods, but it doesn't work out.
gcc and gfortran are all installed.
The downloaded version is netcdf-fortran-4.6.0
configure: netCDF-Fortran 4.6.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... no
configure: checking user options
checking whether make supports the include directive... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/atmos/wrf/netcdf-fortran-4.6.0':
configure: error: C compiler cannot create executables
See `config.log' for more details

Clang issues when installing the igraph R package on Mac OS

I'm trying to install the pagoda2 R package on my Mac.
Did the:
brew update
brew install cmake boost eigen gsl curl openssl wget
requirements.
Then downloaded and installed the clang4-r.pkg package.
Then installed gfortran for Mac.
And then in the inside R part, in the:
install_github("igraph/rigraph")
it fails with this error:
* installing *source* package ‘igraph’ ...
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/private/var/folders/t1/t8mvpqx15t50z60z7nqt18y40000gn/T/RtmpNhyp5H/devtools65d816247573/igraph-rigraph-057cc9d':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
ERROR: configuration failed for package ‘igraph’
I tried editing my .R/Makevars file to the following:
# The following statements are required to use the clang4 binary
LDFLAGS=-L/usr/local/opt/gettext/lib -L/usr/local/opt/llvm/lib
CPPFLAGS=-I/usr/local/opt/gettext/include -I/usr/local/opt/llvm/include
#CC=/usr/local/clang4/bin/clang
CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
#CXX=/usr/local/clang4/bin/clang++
CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
#CXX1X=/usr/local/clang4/bin/clang++
CXX1X=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
#CXX98=/usr/local/clang4/bin/clang++
CXX98=/usr/local/clang4/bin/clang
#CXX11=/usr/local/clang4/bin/clang++
CXX11=/usr/local/clang4/bin/clang
#CXX14=/usr/local/clang4/bin/clang++
CXX14=/usr/local/clang4/bin/clang
#CXX98=/usr/local/clang4/bin/clang
CXX98=/usr/local/clang4/bin/clang
#LDFLAGS=-L/usr/local/clang4/lib
# End clang4 inclusion statements
But still same error message.
Any idea?

Trouble with library readline while installing R

I'm trying to install R 3.2.3 from source. When I run ./configure I get the error:
configure: error: --with-readline=yes (default) and headers/libs are not available
Just before that, there is:
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for rl_callback_read_char in -lreadline... no
checking for main in -lncurses... no
checking for main in -ltermcap... yes
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no
So I guess the problem is that the library readline is not installed on my system. As I don't have root access (I'm at work), I tried to install it locally. Here is what I did:
cd
mkdir readline
After downloading the tar.gz in /tmp:
cd /tmp
tar -zxvf readline-6.3.tar.gz
cd readline-6.3
./configure --prefix=$HOME/readline
make
make install
export LD_LIBRARY_PATH=$HOME/readline
This seems to have worked well but I still can't install R, I get the same error. How can I tell R where to find readline?
By the way, my OS is Debian 8, if this helps.

Cabal-install error: /usr/bin/ld cannot find -lHSparsec-3.1.7-ghc7.8.3

I have an old version of cabal-install so I downloaded cabal-install 1.20 and When installing it errors out.
Additional note: ghc 7.8.3
OS: CentOS 6.6
Error:
Building network-2.4.2.3...
.......
......
......
usr/bin/ld: cannot find -lHSparsec-3.1.7-ghc7.8.3
collect2: ld returned 1 exit status
error during cabal-install bootstrap:
building the network package failed.
When I try to run "cabal install network-2.5.0.0",getting following errors
root#gains: cabal install network-2.5.0.0
Resolving dependencies...
Configuring network-2.5.0.0...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/network-2.5.0.023068/network-2.5.0.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
cabal: Error: some packages failed to install:
network-2.5.0.0 failed during the configure step. The exception was:
ExitFailure 1
Error :
checking whether we are cross compiling... configure: error: in `/tmp/network-2.5.0.023068/network-2.5.0.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
So, I run command yum groupinstall "development tools", installed c compiler tools and could compile c programs. Then,
checking whether we are cross compiling... configure: error: in /tmp/network-2.5.0.023068/network-2.5.0.0':
I tried mount -o remount,exec,suid /tmp which solved the error.Its because of execution rights issue on the file system.

Ada GPS Install qtada

Set GNAT (usr/gnat/) and Qt 4 (/usr/bin/designer-qt4)
Then, I followed the installation steps of QtAda (/home/ebanat/Files/Ada/qtada)
When configuring, an error
./configure --prefix=/usr/
checking whether QT_NO_ACCESSIBILITY is declared... no
checking for gprconfig... no
configure: error: gprconfig not found
What could be the problem?

Resources