Strange problem in Current with Pear.

eculp at eculp at
Fri Jun 3 13:53:07 GMT 2005

I sent a mail a couple of days ago about a pear problem with php5.  I 
was never able to get it to work so I decided to go back to php4 and I 
am experiencing the same problem.

I complied php4 and php4-extensions with no problems and I can compile 
php4-pear without problems but pear doesn't work no matter what.  I 
deleted pear and tried a portupgrade of pear-Config and received the 

===>   Registering installation for php4-pear-4.3.11_2
===>  Building package for php4-pear-4.3.11_2
Creating package /usr/ports/packages/All/php4-pear-4.3.11_2.tbz
Registering depends: php4-pcre-4.3.11_1 php4-xml-4.3.11_1 php4-4.3.11_1 
apache-2.0.54 expat-1.95.8_1 libiconv-1.9.2_1 perl-5.8.6_2.
Creating bzip'd tar ball in '/usr/ports/packages/All/php4-pear-4.3.11_2.tbz'
===>   Returning to build of pear-Console_Getopt-1.2
===>   pear-Console_Getopt-1.2 depends on file: 
/usr/local/include/php/main/php.h - found
===>   Generating packing list
===>   Generating temporary packing list
Usage: php [options] [-f] <file> [args...]
       php [options] -r <code> [args...]
       php [options] [-- args...]
  -a               Run interactively
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse <file>.
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -r <code>        Run PHP <code> without using script tags <?..?>
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.

  args...          Arguments passed to script. Use -- args when first argument
                   starts with - or script is read from stdin
*** Error code 1

Stop in /usr/ports/devel/pear-Console_Getopt.
*** Error code 1

Stop in /usr/ports/devel/pear-PEAR.
*** Error code 1

Stop in /usr/ports/devel/pear-Config.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall86761.13 make DEPENDS_TARGET=package
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! devel/pear-Config     (unknown build error)
--->  Packages processed: 0 done, 13 ignored, 0 skipped and 1 failed

Basically, I can not install any pear application, no even from the 
command line.  I get the above message just by trying to use pear.

I must have done or not done, something really stupid.  If anyone has 
any ideas they would certainly be appreciated.


More information about the freebsd-ports mailing list