I want to build pgadmin3-1.20.0 in CentOS 7, so I enter:
./configure
But I got this error:
configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option
And when I use following command:
./configure --with-pgsql=/usr/pgsql-9.4/
this error will be raised:
configure: error: you must specify a valid PostgreSQL 8.4+ installation with --with-pgsql=DIR
Pgsql is up and has not any problem. How can I fix this error.
have you tried to install the libraries that are specified in this other post?
https://serverfault.com/questions/453430/install-pgadmin-in-debian-server
Related
Just install the Postgresql on Ubuntu 18.04 and having the error of PostgreSQL client
Warning: No existing local cluster is suitable as a default target.
Please see man pg_wrapper(1) how to specify one.
Error: You must install at least one postgresql-client-<version> package
I tried all the solutions that are on the StackOverflow and other forums but not succeed to solve the error
Following are the solutions that I tried
1. psql --cluster 10/apps [other arguments]
when I try the first solution it give me the error
Error: Invalid version 10 specified with --cluster
2. psql -p 5432
3. sudo apt-get install postgresql-client-10
when try the third solution it shows the following
postgresql-client-10 is already the newest version (10.5-0ubuntu0.18.04).
4. gedit ~/.bashrc
PATH=/usr/local/pgsql/bin:$PATH
export PATH
Can someone tell what the exact solution to solve the error.
Your 3rd solution is almost there, make sure to run sudo apt-get install postgresql-10 too.
I am trying to install open-mpi library on Ubuntu
I downloaded it from www.open-mpi.org
I followed instructions to install it as follows
./configure --prefix=$HOME/opt/openmpi
make all
make install
when i get to make all command it gives the following error
make :*** No rule to make target 'all' Stop
I don't know what can cause such an error
I found the answer to that the error was in configuration there were no g++ and gfortran compilers
so you have either to install them using
sudo apt-get install g++ gfortran
or disable them
i have now another problem when i try to compile the code it gives me the following error
Can't open module file 'mpi.mod' for reading at (1): No such file or directory
does anyone knows the answer?
I'm trying to build a postgres database adapter (luapgsql) as part of my setup:
install:
- sudo luarocks install --server=http://rocks.moonscript.org/dev luapgsql
But the build can't find libpq-fe.h:
Error: Could not find expected file libpq-fe.h, or libpq-fe.h for PQ --
you may have to install PQ in your system and/or pass PQ_DIR or
PQ_INCDIR to the luarocks command. Example: luarocks install luapgsql
PQ_DIR=/usr/local
I've tried what's suggested above, apt-get install libpq-dev and just find \ -name libpq-fe.h. No luck so far. Any ideas where it might be?
So it turns out that running pg_config as part of the install: was the answer. I could read the output in the log.
In the end, the line that worked for me for installing luapgsql on travis is:
sudo luarocks install --server=http://rocks.moonscript.org/dev luapgsql PQ_INCDIR=/usr/include/postgresql PQ_LIBDIR=/usr/lib/x86_64-linux-gnu
I am trying to install memcached with Pecl and Pear. When I run this command
Abrams-MacBook-Air-3:recurly abramhandler$ sudo pecl install memcached --with-libememcached-dir=/usr/lib/libmemcached-1.0.17/libmemcached
I get the following error
checking for libmemcached location... configure: error: memcached support requires libmemcached 1.0.x. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
ERROR: `/private/tmp/pear/install/memcached/configure' failed
This dir contains a lot of header files, but seems to maybe be the wrong one?
/usr/lib/libmemcached-1.0.17/libmemcached
What headers is memcached looking for? What directory should I include in the install command?
pecl does not allow passing configuration arguments when compiling extensions.
You have to extract the archive yourself and do the installation yourself, too. Instructions can be found on http://cweiske.de/tagebuch/phpfarm-install-extensions.htm
Trying to install mysql-python. Got following error. Got mysql and pythond already installed. Any help will be highly appreciated
[root#uu include]# easy_install mysql-python
Searching for mysql-python
Reading http://cheeseshop.python.org/pypi/mysql-python/
Couldn't find index page for 'mysql-python' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
Reading http://cheeseshop.python.org/pypi/MySQL-python/1.2.3c1
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3c1
Downloading http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.3c1.tar.gz#md5=310dd856e439d070b59ece6dd7a0734d
Processing MySQL-python-1.2.3c1.tar.gz
Running MySQL-python-1.2.3c1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-toQ0nx/MySQL-python-1.2.3c1/egg-dist-tmp-OeN5eG
unable to execute gcc: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
This will install GCC and others often required:
yum groupinstall 'Development Tools'
Can also be installed individual i.e yum install gcc
you need to install gcc (on centos, some variety of dev-tools)