PHP-JAVA BRIDGE COMPILE PROBLEM

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zhong.zx@gmail.com

    #1

    PHP-JAVA BRIDGE COMPILE PROBLEM

    When I struggling to compile the php-java bridge on the following step
    on FreeBSD 4.11, I met error and cannot go through it:

    CMD:
    phpize && ./configure --with-java=/usr/java/jdk1.5.0 && make && make
    install

    ERROR:
    -----------------------------------------
    configure: error: host_alias is not set. Make sure to run config.guess
    Backend configuration failed.
    Please install the recommended autoconf, libtool and automake versions
    or disable backend configuration and use the pre-compiled J2EE backend:

    ../configure --disable-backend --with-java=java

    configure: error: /bin/sh './configure.gnu' failed for server
    -----------------------------------------
    My OS is FreeBSD 411

    I have googled but few result found.
    Anybody can help? Thanks in advance!

  • jostb2345@yahoo.de

    #2
    Re: PHP-JAVA BRIDGE COMPILE PROBLEM

    > Please install the recommended autoconf, libtool and automake versions[color=blue]
    > or disable backend configuration and use the pre-compiled J2EE backend:
    >
    > ./configure --disable-backend --with-java=java
    >
    > configure: error: /bin/sh './configure.gnu' failed for server
    > -----------------------------------------
    > My OS is FreeBSD 411
    >
    > I have googled but few result found.
    > Anybody can help? Thanks in advance![/color]

    Isn't the above statement clear enough? :) -- You need to compile the
    recommended autoconf, automake and libtool before you can do anything
    else.

    BTW: Before you go further, you may want to check this:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=96268 ,
    this:

    and this:


    So until the local TCP socket operations on *BSD become 300 times
    faster, you can forget about running Java on *BSD. Until then please
    use Windows, Unix or Linux instead.


    Regards,
    Jost Boekemeier

    Comment

    • zhong.zx@gmail.com

      #3
      Re: PHP-JAVA BRIDGE COMPILE PROBLEM

      Finally, we use the tomcat+apache to play as back-end, and it comes
      into work.
      Thanks for any help!

      Comment

      Working...