I did this:
sudo fink rebuild php5-curl

That set off a big build. That build failed with this message:

Build complete.
Don't forget to run 'make test'.

+ '[' -d /sw/src/fink.build/php5-5.2.6-5/php-5.2.6/pear-build ']'
+ mkdir -p /sw/src/fink.build/php5-5.2.6-5/php-5.2.6/pear-build
+ cd /sw/src/fink.build/php5-5.2.6-5/php-5.2.6/cgi-build
+ make install-pear PHP_PEAR_PHP_BIN=/sw/bin/php5
PHP_PEAR_INSTALL_DIR=/sw/share/php5 PHP_PEAR_SYSCONF_DIR=/sw/etc/pear
PHP_PEAR_SIG_BIN=/sw/bin/gpg
INSTALL_ROOT=/sw/src/fink.build/php5-5.2.6-5/php-5.2.6/pear-build
Installing PEAR environment:
/sw/src/fink.build/php5-5.2.6-5/php-5.2.6/pear-build/sw/share/php5/

Notice: unserialize(): Error at offset 336 of 996 bytes in
phar://install-pear-nozlib.phar/PEAR/Config.php on line 1056
ERROR: One of /tmp/fink-build-HOME.mDk4dxMpdu/.pearrc or
/sw/etc/pear/pear.conf is corrupt, please remove them and try
againzend_mm_heap corrupted
make[1]: *** [install-pear-installer] Error 1
make: *** [install-pear] Error 2
### execution of /var/tmp/tmp.1.71ThjW failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-php5-5.2.6-5
(Reading database ... 34939 files and directories currently installed.)
Removing fink-buildlock-php5-5.2.6-5 ...
Failed: phase compiling: php5-5.2.6-5 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        Justin F. Hallett <[email protected]>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.

--

I had run fink selfupdate before running the build. I checked
/sw/etc/pear/pear.conf and the only thing that looked like it could
have caused a problem was a comment at the beginning of the file.

So, any suggestions on how to fix this? I originally tried this
because php was unable to find my pear modules which were where they
were put by default, /sw/lib/php5/20060613-zts/. PEAR expected them in
/sw/lib/php5/20060613/. I tried changing the directory but then got
dyld issues. I thought just building from scratch might fix
everything.

HELP!

Thanks.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to