[Paraview] /usr/bin/paraview not packaged with CPack in Paraview 4.3.1 Superbuild

Anthony Crognale Anthony.Crognale at spacex.com
Mon Sep 14 15:05:27 EDT 2015


Another quick follow up (sorry!) 

[pid   360] stat("/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid   360] openat(AT_FDCWD, "/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
[pid   360] stat("/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng/RCS", 0x7ffed1fed140) = -1 ENOENT (No such file or directory)
[pid   360] stat("/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng/SCCS", 0x7ffed1fed130) = -1 ENOENT (No such file or directory)
[pid   360] stat("/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng/pnglibconf.h", {st_mode=S_IFREG|0644, st_size=6329, ...}) = 0
[pid   360] stat("/home/acrognale/paraview/build/qt/src/qt/src/3rdparty/libpng/pngconf.h", {st_mode=S_IFREG|0644, st_size=21404, ...}) = 0
[pid   373] stat("/home/acrognale/paraview/build/install/lib/libpng.so", 0x7fffc4b213f0) = -1 ENOENT (No such file or directory)
[pid   373] open("/home/acrognale/paraview/build/install/lib/libpng.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid   373] stat("/home/acrognale/paraview/build/install/lib/libpng.a", 0x7fffc4b21430) = -1 ENOENT (No such file or directory)
[pid   373] open("/home/acrognale/paraview/build/install/lib/libpng.a", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid   373] stat("/home/acrognale/paraview/build/install/lib/libpng.so", 0x7fffc4b213f0) = -1 ENOENT (No such file or directory)
[pid   373] open("/home/acrognale/paraview/build/install/lib/libpng.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid   373] stat("/home/acrognale/paraview/build/install/lib/libpng.a", 0x7fffc4b21430) = -1 ENOENT (No such file or directory)
[pid   373] open("/home/acrognale/paraview/build/install/lib/libpng.a", O_RDONLY) = -1 ENOENT (No such file or directory)

It seems to not be finding libpng.so even though it exists as a symbolic link to libpng14d.so.14.8.0, which does indeed exist.

Thoughts?

Trying yet another build from a completely clean working slate now.

Anthony
________________________________________
From: Ben Boeckel <ben.boeckel at kitware.com>
Sent: Monday, September 14, 2015 11:29 AM
To: Anthony Crognale
Cc: paraview at paraview.org
Subject: Re: [Paraview] /usr/bin/paraview not packaged with CPack in Paraview 4.3.1 Superbuild

On Mon, Sep 14, 2015 at 14:15:26 +0000, Anthony Crognale wrote:
> I had been using the system libpng version 1.2.52, but it appears
> `png_set_longjmp_fn` was not introduced until 1.6, so I tried building
> libpng 1.6.18 from source last night, which then allows Paraview to
> continue building with qt enabled, however, when running the built
> version, I get:
>
> libpng warning: Application built with libpng-1.4.8 but running with
> 1.6.18
>
> So it appears that there is some other version of libpng (maybe
> bundled in the superbuild?) that it was using to build.

Yeah, it looks like it built against the superbuild's libpng and running
against the one you grabbed. Other than a compiler and things like libc
or OpenGL, the superbuild *should* be providing everything it needs (and
it is not regularly tested against other external dependency versions).

> Should I turn off use_system_png? Turn off ENABLE_png? Something else?

Using the superbuild-provided png would probably be best
(-DUSE_SYSTEM_png=OFF -DENABLE_png=ON). However, it seems that removing
the 1.6.18 libpng should fix the warning.

--Ben


More information about the ParaView mailing list