Re: [PHP-DEV] fun with autoconf on Tru64

[email protected] ("David Hill") Fri, 7 Mar 2003 10:07:31 -0500
Newsgroups php.dev
Message-ID <040301c2e4bb$7e6041d0$e3008d10@little1>

> >I set up a debian linux box and after getting the right versions of
> >things I am still getting the same results from configure. I am
> >getting a syntax error saying "else" unexpected.
>
>     With php5 module HEAD?

No - php4 HEAD, should I be doing this with php5 instead ?

>     What line is the error at?
>     What does running the build/buildcheck.sh script output
>     for the tool versions?

# ./buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.5 (ok)
buildconf: libtool version 1.4.3 (ok)
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in


# CC='cc -std1' ./configure   (I normally add more options - but I am
trying to get the simple case to work)
...
checking style of sigwait... other
checking style of sigwait... other
checking for mysqli support... no
-l
./configure[53629]: syntax error at line 53630 : `else' unexpected


$ODBC_LIBDIR/lib${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.so
"
  echo
"*********************************************************************
"
else
  ODBC_LFLAGS=-L$ODBC_LIBDIR
  ODBC_LIBS=-l${ac_solid_prefix}${ac_solid_os}${ac_solid_version}
fi

  echo "$ac_t""`echo $ODBC_LIBS | sed -e 's!.*/!!'`" 1>&6

  else        <<<<<< 53629
    echo "$ac_t""no" 1>&6
  fi