From: <php...@li...> - 2006-12-04 21:08:39
|
Hi, I would suggest running all of the build statements separately so you can better dubug your build. Here are my build steps from Mac OS X 10.4.8: 1) www:/www/php-java-bridge-3.1.8 jkoerber$ /usr/local/php5/bin/ phpize (must run phpize from your active php5 directory) 2) Set up the env variable to tell the build where Java is on the Mac: www:/www/php-java-bridge-3.1.8 jkoerber$export JAVA_HOME=/System/ Library/Frameworks/JavaVM.framework/Home 3) www:/www/php-java-bridge-3.1.8 jkoerber$ ./configure --with-java= $JAVA_HOME 4) www:/www/php-java-bridge-3.1.8 jkoerber$ make 5) www:/www/php-java-bridge-3.1.8 jkoerber$ sudo sh install.sh (instead of make install) This seems to work well for me on Mac OSX Tiger client and on Server. Good luck. Jon Koerber On Dec 4, 2006, at 12:55 PM, php-java-bridge- us...@li... wrote: > I am attempting to build 3.0.7a from source on Mac OS X (10.4.8) > and am following closely Clark Freifeld's post from June-- > > "Installing php-java-bridge on Mac OS X (10.4.6) G5 PPC, from source." > > I am getting a gcc error when I execute the > phpize, configure etc command: > > phpize && ./configure --with-java=$JAVA_HOME && make > > namely > > /opt/local/etc/php-java-bridge-3.0.7a/java.c: In function > 'zm_startup_java': > /opt/local/etc/php-java-bridge-3.0.7a/java.c:1965: error: > 'zif_java___call' undeclared (first use in this function) > > java.c is the first file it attempts to compile. > > Perhaps Clark or someone who has done this could > make a suggestion. > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |