On 4/5/2013 11:08 AM, Christopher Romero wrote: > Hello - > I'm trying to install php5-dev, a lot of the (lengthy) compilation process > seems to be successful, but I'm failing with the following error message. > Any direction would be appreciated. > Thanks, > Christopher > > > > + '[' fpm = cgi ']' > + for i in '$BUILDS' > + '[' -d /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build ']' > + mkdir /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build > + '[' pear = pear ']' > + '[' -d /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download ']' > + mkdir /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download > + cd /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/cgi-build > + > PHP_PEAR_DOWNLOAD_DIR=/sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download > + make -j1 install-pear PHP_PEAR_PHP_BIN=/sw/bin/php > PHP_PEAR_INSTALL_DIR=/sw/share/php PHP_PEAR_SYSCONF_DIR=/sw/etc/pear > PHP_PEAR_SIG_BIN=/sw/bin/gpg > INSTALL_ROOT=/sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build > Installing PEAR environment: > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/ > [PEAR] Archive_Tar: there was a problem with getting the configured temp > directory > [PEAR] Console_Getopt: there was a problem with getting the configured temp > directory > [PEAR] Structures_Graph: there was a problem with getting the configured > temp directory > [PEAR] XML_Util: there was a problem with getting the configured temp > directory > [PEAR] PEAR: there was a problem with getting the configured temp directory > + perl -pi -e 's/-d output_buffering=1 -d variables_order=EGPCS -d > open_basedir="" -d safe_mode=0/-d output_buffering=1 -d > variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d > memory_limit="-1"/' > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pear > Can't open > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pear: No such > file or directory. > + perl -pi -e 's/-d output_buffering=1 -d variables_order=EGPCS -d > safe_mode=0/-d output_buffering=1 -d variables_order=EGPCS -d > open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pecl > Can't open > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pecl: No such > file or directory. > + perl -pi -e 's/-d memory_limit="-1" //' > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev > Can't open > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev: No > such file or directory. > + perl -pi -e 's/-d output_buffering=1 -d open_basedir="" -d safe_mode=0/-d > output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev > Can't open > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev: No > such file or directory. > + perl -pi -e 's#('\''PEAR_CONFIG_SYSCONFDIR'\'', PHP_SYSCONFDIR)#\1 . > '\''/pear'\''#' > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/PEAR/Config.php > Can't open > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/PEAR/Config.php: > No such file or directory. > + patch -s -d > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/ -p1 -i > /sw/src/fink.build/php5-5.4.4-2.3/php-5.4.4/fink/patches/PEAR-Builder-print-info-about-php5-dev.patch > The text leading up to this was: > -------------------------- > |--- a/PEAR/Builder.php 2011-05-14 20:43:01.000000000 +0000 > |+++ b/PEAR/Builder.php 2011-05-26 15:56:41.096485701 +0000 > -------------------------- > File to patch: b > b: No such file or directory > Skip this patch? [y] b/PEAR/Builder.php > 1 out of 1 hunk ignored > ### execution of /tmp/fink.G3awd failed, exit code 1 > ### execution of /tmp/fink.0Cz_n failed, exit code 1 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-php5-5.4.4-2.3 > (Reading database ... 32291 files and directories currently installed.) > Removing fink-buildlock-php5-5.4.4-2.3 ... > Failed: phase compiling: php5-5.4.4-2.3 failed > > > > SYSTEM INFO > Package manager version: 0.34.7 > Distribution version: selfupdate-rsync Fri Apr 5 08:45:27 2013, 10.7, > x86_64 > Trees: local/main stable/main > Xcode.app: 4.2.1 > Xcode command-line tools: 4.2.1 > php5-5.4.4-2.3 is set to build with only one job.
Worked for me on 10.7/xcode 4.6.1. Here's my corresponding output: + '[' fpm = cgi ']' + for i in '$BUILDS' + '[' -d /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build ']' + mkdir /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build + '[' pear = pear ']' + '[' -d /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download ']' + mkdir /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download + cd /sw/build.build/php5-5.4.4-2.3/php-5.4.4/cgi-build + PHP_PEAR_DOWNLOAD_DIR=/sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build-download + make -j1 install-pear PHP_PEAR_PHP_BIN=/sw/bin/php PHP_PEAR_INSTALL_DIR=/sw/share/php PHP_PEAR_SYSCONF_DIR=/sw/etc/pear PHP_PEAR_SIG_BIN=/sw/bin/gpg INSTALL_ROOT=/sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build Installing PEAR environment: /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/ [PEAR] Archive_Tar - installed: 1.3.7 [PEAR] Console_Getopt - installed: 1.3.0 [PEAR] Structures_Graph- installed: 1.0.4 [PEAR] XML_Util - installed: 1.2.1 [PEAR] PEAR - installed: 1.9.4 Wrote PEAR system config file at: /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build//sw/etc/pear/pear.conf You may want to add: /sw/share/php to your php.ini include_path + perl -pi -e 's/-d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" -d safe_mode=0/-d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pear + perl -pi -e 's/-d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0/-d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/pecl + perl -pi -e 's/-d memory_limit="-1" //' /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev + perl -pi -e 's/-d output_buffering=1 -d open_basedir="" -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/bin/peardev + perl -pi -e 's#('\''PEAR_CONFIG_SYSCONFDIR'\'', PHP_SYSCONFDIR)#\1 . '\''/pear'\''#' /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/PEAR/Config.php + patch -s -d /sw/build.build/php5-5.4.4-2.3/php-5.4.4/pear-build/sw/share/php/ -p1 -i /sw/build.build/php5-5.4.4-2.3/php-5.4.4/fink/patches/PEAR-Builder-print-info-about-php5-dev.patch Christopher, Can you look earlier through the build output and see if there's another error that was ignored? "No such file" errors are often a symptom of something breaking earlier. Justin, There's another error in the build at the end of CompileScript. Here's the log output The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com ++ mktemp usage: mktemp [-d] [-q] [-t prefix] [-u] template ... mktemp [-d] [-q] [-u] -t prefix + tmpf= which mktemp says I'm using /usr/bin/mktemp. I guess it should be fixed to use gmktemp, or fix the syntax to satisfy mktemp. Hanspeter ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners