ArepoVTK icon indicating copy to clipboard operation
ArepoVTK copied to clipboard

Installation Errors

Open lucianbotha opened this issue 5 years ago • 3 comments

Hi

I am experiencing issues when I try to install you software on Ubuntu 14.04.

Please see attached the errors that I am getting. When I run make I get the error below. Screenshot 2020-02-12 at 13 56 26

Regards, Lucian

lucianbotha avatar Feb 12 '20 12:02 lucianbotha

Hi Lucian,

Looks like an error inside libpng, you may try to install a different version, or maybe you can install via apt inside of from source.

dnelson86 avatar Feb 12 '20 12:02 dnelson86

Hi

I have the latest libpng installed. See extract below.

root@cc-head:/store/software/ArepoVTK/libpng# apt-get install libpng-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'libpng12-dev' instead of 'libpng-dev'

libpng12-dev is already the newest version.

libpng12-dev set to manually installed.

0 upgraded, 0 newly installed, 0 to remove and 581 not upgraded.

root@cc-head:/store/software/ArepoVTK/libpng# apt-get install zlib1g-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

zlib1g-dev is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 581 not upgraded.

root@cc-head:/store/software/ArepoVTK/libpng#

On Wed, Feb 12, 2020 at 2:55 PM Dylan Nelson [email protected] wrote:

Hi Lucian,

Looks like an error inside libpng, you may try to install a different version, or maybe you can install via apt https://askubuntu.com/questions/508934/how-to-install-libpng-and-zlib inside of from source.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnelson86/ArepoVTK/issues/1?email_source=notifications&email_token=AH5VQVEZQTKM27ZL6LAM4T3RCPWU5A5CNFSM4KTY57L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQVG7I#issuecomment-585192317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5VQVC3VVRBN2JME7U3SHLRCPWU5ANCNFSM4KTY57LQ .

lucianbotha avatar Feb 12 '20 13:02 lucianbotha

In that case, probably just modifying the include and lib paths for libpng in the Makefile should work.

CFLAGS += -I${GSL_HOME}/include -I${HDF5_HOME}/include -I./libpng/
LIBS += -L${GSL_HOME}/lib -L${HDF5_HOME}/lib -L./libpng/

dnelson86 avatar Feb 12 '20 13:02 dnelson86