php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58830 Can't install on debian etch
Submitted: 2009-08-25 23:18 UTC Modified: 2009-12-06 16:10 UTC
From: os at irj dot ru Assigned:
Status: Wont fix Package: inotify (PECL)
PHP Version: 5.2.0 OS: Debian Etch (2.6.23-1-686)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: os at irj dot ru
New email:
PHP Version: OS:

 

 [2009-08-25 23:18 UTC] os at irj dot ru
Description:
------------
Hello, 

i try to install php inotify on debian etch, but configure failed.

Inotify-tools work property.

serv001:~/inotify/inotify-0.1.4# phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
serv001:~/inotify/inotify-0.1.4# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.9.12 (ok)
checking for gawk... gawk
checking whether to enable inotify support... yes, shared
configure: error: Your system does not support inotify
serv001:~/inotify/inotify-0.1.4#



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-06 16:10 UTC] arnaud dot lb at gmail dot com
There is no userland support for inotify in debian etch (no headers and no syscall wrappers). inotify-tools comes with its own inotify.h and syscall wrappers.
 [2014-08-12 13:42 UTC] harlock at pclynk dot net
Found a fix for those still having trouble...

two entries need changing could be patched but simple enough to manually edit

in configure script and in inotify.c
change <sys/inotify.h> to <inotifytools/inotify.h>

that will use the correct inotify.h as is in the inotify-tools package...
(note probably should also install inotify-tools package also have not tested without)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC