SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP upgrade 4.1.2 > 4.2.3

    This makes no sense to me. I'm trying to upgrade PHP on one of our servers from 4.1.2 to 4.2.3. IT's RedHat 7.3 and I'm using the exact same configuration command as came with the original compilation. Now I haven't had to recompile so this is kind of throwing me. Any help would be appreciated.
    Code:
    ./configure --with-apxs=/hsphere/shared/apache/bin/apxs
    --with-zlib-dir 
    --with-jpeg-dir 
    --with-png-dir 
    --with-gd=/hsphere/shared 
    --with-mysql=/usr 
    --with-gettext 
    --disable-debug 
    --enable-versioning 
    --enable-sockets 
    --enable-track-vars 
    --with-imap=/hsphere/shared 
    --with-pgsql=/usr 
    --enable-ftp 
    --localstatedir=/var/hsphere/php
    I get this error:
    Code:
    configure: error: Cannot find header files under /usr
    I was tipped that it might be that I needed the Redhat postgresql-devel rpm. So I found postgresql-devel-7.1.3-2.i386.rpm and did this, with these results:
    Code:
    [root@master root]# rpm --install postgresql-devel-7.1.3-2.i386.rpm
    file /usr/lib/libecpg.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0
    file /usr/lib/libpgeasy.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0
    file /usr/lib/libpq.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0
    file /usr/bin/ecpg from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-7.1.3-0
    file /usr/bin/pg_config from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-7.1.3-0
    I also tried this with the same result:
    Code:
    rpm -Uvh postgresql-devel-7.1.3-2.i386.rpm postgresql-libs-7.1.3-2.i386.rpm
    I'm having a bear recompiling this and I don't undertand why. With the exact same build configuration working fine with 4.1.2, you would think it would work for 4.2.3. Any ideas?

    Aaron
    Aaron Brazell
    Technosailor



  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nevermind
    Aaron Brazell
    Technosailor




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •