I am trying to install emacs 25.1 on lubuntu 16.04 and have some problems. After loading and extracting tar, I will go to the emacs 25.1 directory, then .. ./configure
Configuration stops when I receive a message
configure: error: The following required libraries were not found: libpng Maybe some development libraries/packages are missing? If you don't want to link with them give
When I try sudo apt install libpng-dev
I get a message
Note, selecting 'libpng12-dev' instead of 'libpng-dev' libpng12-dev is already the newest version (1.2.54-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. I tried reinstalling libpng12-dev using the line below that didn't help at all.
sudo apt-get install
I am stuck here, I was looking for a lot of time and cannot find any solutions that really worked.
source share