php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59269 Package doesn't installs
Submitted: 2010-06-17 03:18 UTC Modified: 2010-06-21 06:20 UTC
From: archer_ at ukr dot net Assigned:
Status: Closed Package: expect (PECL)
PHP Version: 5.3.2 OS: Ubuntu 10.04
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: archer_ at ukr dot net
New email:
PHP Version: OS:

 

 [2010-06-17 03:18 UTC] archer_ at ukr dot net
Description:
------------
Can't install package in Ubuntu 10.04

Actual result:
--------------
sudo pecl install channel://pecl.php.net/expect-0.2.6
downloading expect-0.2.6.tgz ...
Starting to download expect-0.2.6.tgz (6,077 bytes)
.....done: 6,077 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-root/expect-0.2.6
running: /tmp/pear/download/expect-0.2.6/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 cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
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/20090626+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for expect support... yes, shared
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /var/tmp/pear-build-root/expect-0.2.6/libtool --mode=compile cc  -I. -I/tmp/pear/download/expect-0.2.6 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/expect-0.2.6/include -I/var/tmp/pear-build-root/expect-0.2.6/main -I/tmp/pear/download/expect-0.2.6 -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  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/download/expect-0.2.6/expect.c -o expect.lo
libtool: compile:  cc -I. -I/tmp/pear/download/expect-0.2.6 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/expect-0.2.6/include -I/var/tmp/pear-build-root/expect-0.2.6/main -I/tmp/pear/download/expect-0.2.6 -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/download/expect-0.2.6/expect.c  -fPIC -DPIC -o .libs/expect.o
In file included from /tmp/pear/download/expect-0.2.6/expect.c:21:
/tmp/pear/download/expect-0.2.6/php_expect.h:33:20: error: expect.h: Нет такого файла или каталога
/tmp/pear/download/expect-0.2.6/expect.c: In function ?OnSetExpectTimeout?:
/tmp/pear/download/expect-0.2.6/expect.c:69: error: ?exp_timeout? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:69: error: (Each undeclared identifier is reported only once
/tmp/pear/download/expect-0.2.6/expect.c:69: error: for each function it appears in.)
/tmp/pear/download/expect-0.2.6/expect.c: In function ?OnSetExpectLogUser?:
/tmp/pear/download/expect-0.2.6/expect.c:81: error: ?exp_loguser? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c: In function ?OnSetExpectLogFile?:
/tmp/pear/download/expect-0.2.6/expect.c:101: error: ?exp_logfile? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:104: error: ?exp_logfile_all? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c: In function ?zm_startup_expect?:
/tmp/pear/download/expect-0.2.6/expect.c:126: error: ?exp_glob? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:127: error: ?exp_exact? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:128: error: ?exp_regexp? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:129: error: ?EXP_EOF? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:130: error: ?EXP_TIMEOUT? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:131: error: ?EXP_FULLBUFFER? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c: In function ?zif_expect_popen?:
/tmp/pear/download/expect-0.2.6/expect.c:183: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/expect-0.2.6/expect.c:193: error: ?exp_pid? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c: In function ?zif_expect_expectl?:
/tmp/pear/download/expect-0.2.6/expect.c:206: error: storage size of ?matchedcase? isn?t known
/tmp/pear/download/expect-0.2.6/expect.c:230: error: invalid application of ?sizeof? to incomplete type ?struct exp_case?
/tmp/pear/download/expect-0.2.6/expect.c:246: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:247: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:247: error: ?exp_glob? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:260: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:268: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:277: error: ?exp_exact? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:277: error: ?exp_regexp? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:282: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:285: error: increment of pointer to unknown structure
/tmp/pear/download/expect-0.2.6/expect.c:285: error: arithmetic on pointer to an incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:288: error: dereferencing pointer to incomplete type
/tmp/pear/download/expect-0.2.6/expect.c:288: error: ?exp_end? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:292: error: ?exp_match_end? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:292: error: ?exp_match? undeclared (first use in this function)
/tmp/pear/download/expect-0.2.6/expect.c:300: error: invalid use of undefined type ?struct exp_case?
/tmp/pear/download/expect-0.2.6/expect.c:300: error: dereferencing pointer to incomplete type
make: *** [expect.lo] Error 1
ERROR: `make' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-17 04:03 UTC] spektom at gmail dot com
Do you have expect-dev package installed on your Ubuntu?
 [2010-06-21 06:20 UTC] archer_ at ukr dot net
Shame on my head. I've installed the expect-dev package and all works. Thank you very much
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC