soalris and php compile error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony

    soalris and php compile error

    bash-2.03#
    /configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr
    /local --with-db3=/opt/sfw --with-openssl=/usr/local/ssl/ --enable-module=so
    loading cache ./config.cache
    checking host system type... i386-pc-solaris2.8
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking if compiler supports -R... yes
    checking for re2c... exit 0;
    checking for ranlib... :
    checking whether ln -s works... yes
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking for bison... no
    checking for byacc... no
    configure: warning: You will need bison if you want to regenerate the PHP
    parser
    s.
    checking for flex... flex
    checking for yywrap in -lfl... no
    checking lex output file root... lex.yy
    checking whether yytext is a pointer... no
    checking for working const... yes
    checking flex version... 2.5.4 (ok)
    checking for pthreads_cflags ... -pthreads
    checking for pthreads_lib...

    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS...

    Sorry, I was not able to successfully run APXS. Possible reasons:

    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    The output of /usr/local/apache/bin/apxs follows
    ../configure: /usr/local/apache/bin/apxs: not found
    configure: error: Aborting
    bash-2.03#


  • Steve Holdoway

    #2
    Re: soalris and php compile error

    On Fri, 5 Mar 2004 16:07:03 -0800, "Tony" <tonyw@suse.sta nford.edu>
    wrote:
    [color=blue]
    >bash-2.03#
    >/configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr
    >/local --with-db3=/opt/sfw --with-openssl=/usr/local/ssl/ --enable-module=so
    >loading cache ./config.cache
    >checking host system type... i386-pc-solaris2.8
    >checking for gcc... gcc
    >checking whether the C compiler (gcc ) works... yes
    >checking whether the C compiler (gcc ) is a cross-compiler... no
    >checking whether we are using GNU C... yes
    >checking whether gcc accepts -g... yes
    >checking whether gcc and cc understand -c and -o together... yes
    >checking how to run the C preprocessor... gcc -E
    >checking for AIX... no
    >checking if compiler supports -R... yes
    >checking for re2c... exit 0;
    >checking for ranlib... :
    >checking whether ln -s works... yes
    >checking for gawk... no
    >checking for mawk... no
    >checking for nawk... nawk
    >checking for bison... no
    >checking for byacc... no
    >configure: warning: You will need bison if you want to regenerate the PHP
    >parser
    >s.
    >checking for flex... flex
    >checking for yywrap in -lfl... no
    >checking lex output file root... lex.yy
    >checking whether yytext is a pointer... no
    >checking for working const... yes
    >checking flex version... 2.5.4 (ok)
    >checking for pthreads_cflags ... -pthreads
    >checking for pthreads_lib...
    >
    >Configuring SAPI modules
    >checking for AOLserver support... no
    >checking for Apache 1.x module support via DSO through APXS...
    >
    >Sorry, I was not able to successfully run APXS. Possible reasons:
    >
    >1. Perl is not installed;
    >2. Apache was not compiled with DSO support (--enable-module=so);
    >3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    >The output of /usr/local/apache/bin/apxs follows
    >./configure: /usr/local/apache/bin/apxs: not found
    >configure: error: Aborting
    >bash-2.03#
    >[/color]

    I expect that the file /usr/local/bin/apxs is missing? Have you built
    apache yet? You need to do a dummy build first.

    Comment

    • Tony

      #3
      Re: soalris and php compile error

      I have apxs. Its already installed from the SUN package.

      any other ideas?
      "Steve Holdoway" <steve@itemfron t.ltd.uk> wrote in message
      news:s2ii40hb8l l514np98hfnphtf ujojjc0q5@4ax.c om...[color=blue]
      > On Fri, 5 Mar 2004 16:07:03 -0800, "Tony" <tonyw@suse.sta nford.edu>
      > wrote:
      >[color=green]
      > >bash-2.03#
      > >/configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr[/color]
      >
      >/local --with-db3=/opt/sfw --with-openssl=/usr/local/ssl/ --enable-module=s[/color]
      o[color=blue][color=green]
      > >loading cache ./config.cache
      > >checking host system type... i386-pc-solaris2.8
      > >checking for gcc... gcc
      > >checking whether the C compiler (gcc ) works... yes
      > >checking whether the C compiler (gcc ) is a cross-compiler... no
      > >checking whether we are using GNU C... yes
      > >checking whether gcc accepts -g... yes
      > >checking whether gcc and cc understand -c and -o together... yes
      > >checking how to run the C preprocessor... gcc -E
      > >checking for AIX... no
      > >checking if compiler supports -R... yes
      > >checking for re2c... exit 0;
      > >checking for ranlib... :
      > >checking whether ln -s works... yes
      > >checking for gawk... no
      > >checking for mawk... no
      > >checking for nawk... nawk
      > >checking for bison... no
      > >checking for byacc... no
      > >configure: warning: You will need bison if you want to regenerate the PHP
      > >parser
      > >s.
      > >checking for flex... flex
      > >checking for yywrap in -lfl... no
      > >checking lex output file root... lex.yy
      > >checking whether yytext is a pointer... no
      > >checking for working const... yes
      > >checking flex version... 2.5.4 (ok)
      > >checking for pthreads_cflags ... -pthreads
      > >checking for pthreads_lib...
      > >
      > >Configuring SAPI modules
      > >checking for AOLserver support... no
      > >checking for Apache 1.x module support via DSO through APXS...
      > >
      > >Sorry, I was not able to successfully run APXS. Possible reasons:
      > >
      > >1. Perl is not installed;
      > >2. Apache was not compiled with DSO support (--enable-module=so);
      > >3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
      > >The output of /usr/local/apache/bin/apxs follows
      > >./configure: /usr/local/apache/bin/apxs: not found
      > >configure: error: Aborting
      > >bash-2.03#
      > >[/color]
      >
      > I expect that the file /usr/local/bin/apxs is missing? Have you built
      > apache yet? You need to do a dummy build first.[/color]


      Comment

      Working...