error installing gd librarry for mapserver - linux

I am installing all external and required libraries before compiling and installing source code of mapserver-6.4.1
I have installed all libraries successfully except libgd.
I have downloaded libgd from here
I am following the below procedure to compile gd library. But i am getting error on this.
[root#localhost /]# cd /usr/local/src/libgd-master
[root#localhost libgd-master]# ./configure
[root#localhost libgd-master]# -bash: ./configure: No such file or directory

Before executing ./configure
run
automake
After which the file configure will be generated.

Why don't you install the system rpm for libgd?
http://rpm.pbone.net/index.php3/stat/4/idpl/15161687/dir/redhat_el_6/com/libgd2-2.0.33-2_11.el6.x86_64.rpm.html
Or you may want the el7 package.
You can install automake as part of the autotools package.

Related

How to fix (MAKEPKG) installation problem?

I want to install yay for downloading package from AUR ArchLinux,
I don't know what to do?!
Thanks for your helping.
When I use git clone and then use the makepkg -si command , it gives me this error:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Error text:
==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.
You're missing the libraries to compile the package. To install them:
sudo pacman -S binutils make gcc pkg-config fakeroot
or, to install basic tools for compiling code:
sudo pacman -S base-devel
Also instead of installing and compiling yay (which also requires you to install all the GO libraries) why not installing the precompiled yay-bin? It's the same package.
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
try with that:
sudo pacman -S binutils make gcc pkg-config fakeroot
then again try to makepkg.

netinet/sctp.h: No such file or directory

I'm unable to include in any of my files. It always fails during compilation.
I got the lksctp-tools package installed.
I run
gcc -Wall -lsctp -o client admin.c deserializer.c input_parser.c main.c receive_response.c send_request.c serializer.c utils.c
And I get:
main.c:2:10: fatal error: netinet/sctp.h: No such file or directory
#include <netinet/sctp.h>
^~~~~~~~~~~~~~~~
compilation terminated.
I'm using Fedora, I don't know if that changes anything.
However the project seems to work fine on CLion.
On ubuntu need to install libsctp-dev.
sudo apt install libsctp-dev
ok turns out I had to do the following:
yum install lksctp-tools-dev
For Amazon Linux 2:
yum -y install lksctp-tools-devel

Cygwin and "failed to run aclocal: No such file or directory"

I'm trying to test our Autotools stuff on Cygwin. When I open a prompt:
$ autoreconf --install --force
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf-2.69: failed to run aclocal: No such file or directory
I re-ran the Cygwin package manager and verified autoconf, automake and libtool were installed. There is no package aclocal to install.
Searching is not returning useful hits in the context of Cygwin.
What is the problem, and how do I fix it?
So it looks like it is not enough to install Autoconf 2.69, Automake 1.15 and Libtool. There are other packages that need to be installed, but Cygwin does not install them.
First, I needed the package called automake: wrapper for multiple versions of Automake. Second, I needed the package called libtool: generic library support script.
The package called autoconf: wrapper for multiple versions of Autoconf was already installed, so it did not need to be installed.
If the Autools package needs them, then it should probably install them when users select packages like Autoconf 2.69 and Automake 1.15.

libuuid not linked with libuuid-devel?

i am installing asterisk13.8 on my laptop with centos6.8. when i run ./configure by going into asterisk directory it gives an error of absence of uuid development package. i manually installed libuuid*rpm using rpm -Uvh libuuid*rpm command successfully and checked by rpm -q libuuid*rpm but when i tried to install libuuid-devel*rpm it gives following error:
libuuid is needed by libuuid-devel...
is there any linking issue or configuration issue???

./configure error while installing conky

I've downloaded conky from GitHub and when I try to use the ./configure command, I get this following error :
bash: ./configure: No such file or directory
I opened my terminal in the Src folder and tried this command. What am I missing?
This is the screenshot of the terminal and the downloaded conky folder
I see CMakeLists.txt and doubled checked, per the documentation use cmake
1.10 and later versions
Conky 2 will use cmake instead of autotools which means you won't need autoconf and automake anymore but you'll need cmake.
autoconf and automake (and autogen) are what generally drive "configure".
You will need the tolua library (Ref.), which can be installed for Linux with apt-get install libtolua-dev libtolua++5.1-dev. You also need the following development packages if you keep the default cmake configuration: apt-get install libx11-dev libxft-dev libxdamage-dev libncurses5-dev libxinerama-dev.
Then, building conky will work like this:
$ mkdir build
$ cd build
$ ccmake ..
# this will launch a curses-based UI where you can configure
# everything, when you are ready you can build as usual:
$ make # This will compile conky in the `src` subdirectory
$ make install

Resources