[Paraview] Cmake Confused About ansidecl.h

Berk Geveci berk.geveci at kitware.com
Wed Mar 26 11:30:46 EDT 2008


This is weird. Did something change on this system between first
configuration and compilation? It looks like bunch of compile tests
that include ansidecl.h passed. Can you try to compile the following
program with gcc? Also, can you send me the output of make VERBOSE=1?
Just the end where it fails is fine.

#include <stdio.h>
#include <stddef.h>
#include <sys/types.h>
#include <inttypes.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <malloc.h>
#include <memory.h>
#include <netdb.h>
#include <limits.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <ansidecl.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <ctype.h>
#include <dirent.h>

int main(){return 0;}


On Tue, Mar 25, 2008 at 4:55 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:
> Berk Geveci wrote:
>  > I don't know this header file. Which class includes it?
>
>
>  [  2%] Building C object VTK/Utilities/vtklibxml2/CMakeFiles/vtklibxml2.dir/DOCBparser.o
>
>  In file included from /usr/local/packages/paraview/3.2.1/src/VTK/Utilities/vtklibxml2/libxml.h:25,
>
>  from /usr/local/packages/paraview/3.2.1/src/VTK/Utilities/vtklibxml2/DOCBparser.c:14:
>
>  /usr/local/packages/paraview/3.2.1/nompi/VTK/Utilities/vtklibxml2/libxml/xmlversion.h:391:22: error: ansidecl.h: No such file or directory
>
>
>
>
>
>  > On Tue, Mar 25, 2008 at 3:50 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:
>  >> 3.2.1 is failing to build because it cannot find ansidecl.h even though cmake has set HAVE_ANSIDECL_H. This is a RedHat Enterprise 5.1 system using cmake 2.4.7 and gcc 4.1.2. Any idea what went wrong?
>  >>
>  >>  Kent
>  >>  Pittsburgh Supercomputing Center
>


More information about the ParaView mailing list