php52 upgrade failed

S. M. Ibrahim (Lavlu) smibrahim at gmail.com
Wed Apr 7 01:07:02 PDT 2010


hi,

like the other day (though this time i did it after around one month),
i was upgrading all my outdated ports with "sudo port upgrade
outdated"

after long time , compile failed, here is last error report log


--->  Computing dependencies for php52
--->  Applying patches to php52
Error: Target org.macports.patch returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.13"
&& /usr/bin/patch -p1 <
'/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php52/files/patch-scripts-php-config.in.diff'"
returned error 1
Command output: patching file scripts/php-config.in
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file scripts/php-config.in.rej

i need very urgent fix, i am web developer, my php is down.

apache2ctl start  showing this error :

Lavludas-MBP:~ lavlu$ apache2ctl start
httpd: Syntax error on line 116 of /opt/local/apache2/conf/httpd.conf:
Cannot load /opt/local/apache2/modules/libphp5.so into server:
dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded:
/opt/local/lib/libjpeg.7.dylib\n  Referenced from:
/opt/local/apache2/modules/libphp5.so\n  Reason: image not found

-- 
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net

bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com
my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/


More information about the macports-users mailing list