On Sun, Jul 15, 2012 at 9:50 AM, Reeze <reeze....@gmail.com> wrote: > Hi, > I guess /usr/local/bin is writable. then: > which version of php and autoconf? it may set the EXEEXT=.dSYM > if so /usr/local/bin/php may becomes /usr/local/bin/php.dSYM > > will you take a look at the generated Makefile is there any value of this > variable "EXEEXT =" ? >
Yes you are right, it seems that a php.dSYM was created instead. I renamed it to php and it works as expected. thank you > -- > reeze | reeze.cn > > 在 2012年7月15日星期日,上午11:45,Yader Hernandez 写道: > > I can't seem to get a vanilla php binary from a simple > > $ ./configure > make > make install > > The last few lines indicate that everything went well: > > Installing PHP SAPI module: cgi > Installing PHP CGI binary: /usr/local/bin/ > *Installing PHP CLI binary: /usr/local/bin/* > Installing PHP CLI man page: /usr/local/man/man1/ > Installing build environment: /usr/local/lib/php/build/ > Installing header files: /usr/local/include/php/ > Installing helper programs: /usr/local/bin/ > program: phpize > program: php-config > Installing man pages: /usr/local/man/man1/ > page: phpize.1 > page: php-config.1 > Installing PEAR environment: /usr/local/lib/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: /usr/local/etc/pear.conf > You may want to add: /usr/local/lib/php to your php.ini include_path > > when I look into /usr/local/bin the php cli binary is not there. Doing a > locate does not find any php binary (even after an updatedb). > > There is one output that can be interpreted as an error but I don't think > it has anything to do with not compiling php: > > Generating phar.php > Generating phar.phar > PEAR package PHP_Archive not installed: generated phar will require PHP's > phar extension be enabled. > > I'm running on mac osx 10.7.3. I have no problems on Ubuntu 11.04. > > Has anyone ran into this issue? Is there some output I should be paying > attention to? > > >