Checking if your kit is complete... Looks good Writing Makefile for Linux::Inotify2 cp Inotify2.pm blib/lib/Linux/Inotify2.pm /home/cpanrun/ia64-lp64/build/5.6.1/bin/perl -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/ExtUtils/typemap Inotify2.xs > Inotify2.xsc && mv Inotify2.xsc Inotify2.c gcc -c -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mlp64 -L/lib/hpux64 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC -I/home/cpanrun/ia64-lp64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi-64all/CORE Inotify2.c In file included from Inotify2.xs:10: inotify.h:10:25: linux/types.h: No such file or directory In file included from Inotify2.xs:10: inotify.h:19: error: parse error before "__s32" inotify.h:19: warning: no semicolon at end of struct or union inotify.h:20: warning: data definition has no type or storage class inotify.h:21: error: parse error before "cookie" inotify.h:21: warning: data definition has no type or storage class inotify.h:22: error: parse error before "len" inotify.h:22: warning: data definition has no type or storage class inotify.h:24: error: parse error before '}' token In file included from Inotify2.xs:11: inotify-syscalls.h:100: error: parse error before "__u32" inotify-syscalls.h: In function `inotify_add_watch': inotify-syscalls.h:102: error: `fd' undeclared (first use in this function) inotify-syscalls.h:102: error: (Each undeclared identifier is reported only once inotify-syscalls.h:102: error: for each function it appears in.) inotify-syscalls.h: At top level: inotify-syscalls.h:105: error: parse error before "__u32" inotify-syscalls.h: In function `inotify_rm_watch': inotify-syscalls.h:107: error: `fd' undeclared (first use in this function) inotify-syscalls.h:107: error: `wd' undeclared (first use in this function) Inotify2.xs: In function `XS_Linux__Inotify2_inotify_read': Inotify2.xs:84: error: invalid application of `sizeof' to incomplete type `inotify_event' Inotify2.xs:84: error: dereferencing pointer to incomplete type Inotify2.xs:86: error: dereferencing pointer to incomplete type Inotify2.xs:86: error: dereferencing pointer to incomplete type Inotify2.xs:86: error: dereferencing pointer to incomplete type Inotify2.xs:87: error: dereferencing pointer to incomplete type Inotify2.xs:90: error: dereferencing pointer to incomplete type Inotify2.xs:91: error: dereferencing pointer to incomplete type Inotify2.xs:92: error: dereferencing pointer to incomplete type Inotify2.xs:93: error: dereferencing pointer to incomplete type Inotify2.xs:93: error: dereferencing pointer to incomplete type make: *** [Inotify2.o] Error 1