Problems building 5.2.4 on Solaris 9 SPARC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tried this for weeks with no success, so I am asking for help
with this.  Something seems really off with the PHP 5.2.4 build
process.

I am trying to build PHP 5.2.4 with Apache 2.2.6 and PostgreSQL
8.2.5 support using the following configuration (from a file which I
source):

CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib" \
# EXTRA_LIBS=-lxml2 \
/local/software/SOURCE/26-Oct-2007/php-5.2.4/configure \
        --prefix=/local \
        --with-apxs2=/local/httpd-2.2.6/bin/apxs \
        --with-config-file-path=/local/httpd-2.2.6 /conf \
        --disable-cgi \
        --with-libxml-dir=/usr/local \
        --enable-dba=shared \
        --with-db4=/usr/local/BerkeleyDB.4.2 \
        --with-pcre-regex=/local \
        --with-openssl=/local \
        --with-zlib=/usr/local \
        --with-zlib-dir=/usr/local \
        --with-bz2 \
        --with-gd=shared \
        --with-jpeg-dir=/usr/local \
        --with-png-dir=/usr/local \
        --with-gettext=/usr/local \
#       --with-mcrypt=/local \
#       --with-mhash=/local \
        --with-ncurses \
        --disable-pdo \
        --with-pgsql=shared,/local/postgresql-8.2.5 \
        --with-readline=/local \
        --with-mm=/usr/local \
        --enable-sockets=shared \
        --enable-sysvmsg \
        --enable-sysvsem \
        --enable-sysvshm \
        --with-xsl=/usr/local \
        --with-pear=/local/httpd-2.2.6/php/lib \

Yes, this is VPATH build.  The --with-mhash directive was removed
when PHP utterly failed to find the installed mhash library, which
was installed from a package downloaded from sunfreeware.com

bash-2.05$ pkginfo -l SMCmhash
   PKGINST:  SMCmhash
      NAME:  mhash
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  0.9.9
   BASEDIR:  /usr/local
    VENDOR:  Nikos Mavroyanopoulos and Sascha Schumann
    PSTAMP:  Steve Christensen
  INSTDATE:  Oct 27 2007 06:37
     EMAIL:  steve@xxxxxxxxxxxx
    STATUS:  completely installed
     FILES:       41 installed pathnames
                   5 shared pathnames
                   9 directories
                   2 executables
                2442 blocks used (approx)

Now, its having problems finding the ncurses library, which is also
installed from sunfreeware.com.  My 4.x builds of PHP had various
problems, God knows, but nothing like this -- just wholesale inability
to locate libraries.

bash-2.05$ pkginfo -l SMCncurs
   PKGINST:  SMCncurs
      NAME:  ncurses
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  5.6
   BASEDIR:  /usr/local
    VENDOR:  FSF
    PSTAMP:  Steve Christensen
  INSTDATE:  Apr 09 2007 01:50
     EMAIL:  steve@xxxxxxxxxxxx
    STATUS:  completely installed
     FILES:     3559 installed pathnames
                  10 shared pathnames
                  62 directories
                  13 executables
               25902 blocks used (approx)

"crle" shows:

bash-2.05$ crle

Configuration file [version 4]: /var/ld/ld.config
  Default Library Path (ELF):
/usr/local/BerkeleyDB.4.2/lib:/local/lib:/usr/local/lib:/usr/lib:/local/postgresql-
7.3.4/lib
.
.

And to top off the weirdness

Has anyone seen this problem before?  If so, how did you resolve
it?  I'm not a programmer, but I've dealt with linking issues before.
However, I'm at a loss as to why PHP's configure script won't even
look for libraries when I tell it where to find them!

Thanks in advance to anyone who wades in on this one!



-- 
"You can choose your friends, you can choose the deals."
        - Equity Private

"But love is also a very dangerous game because it makes
you do what you really don't want to do."
        - Sylvain Raines

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux