Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Posts
    3

    Unanswered: Compiling PHP with Sybase

    Alright all...after 2 grueling days trying to get Sybase working properly on my Redhat 9.0 machine only to realize it was because the system was using /usr/bin/isql instead of the Sybase version, I got it working.

    The problem is that I have to recompile PHP with Sybase support. I'm fairly new to all this so it's not going real well. I have to ensure that I keep my Oracle support in PHP when I recompile. I'm attempting to run the following:

    rpmbuild --rebuild --define `oracle 1` php-4.2.2-17.2.src.rpm

    I added the following to php.spec:

    --with-config-sybase-ct=/opt/sybase-11.9.2 \

    When I run the rpmbuild command, I get the following errors:

    -bash: oracle: command not found
    rpmbuild: no packages files given for rebuild

    What am I doing wrong here?

    Please help me before I rip every last hair out of my head.

  2. #2
    Join Date
    Oct 2003
    Posts
    3
    Ok...

    Does anyone know how to manually edit the php.spec file? When I add in the above line with sybase, it simply removes that later on. How do I get that configure line to remain when I do the recompile?

  3. #3
    Join Date
    Oct 2003
    Posts
    3
    What are the chances of me find the PhP source code with Sybase support already built in?

Posting Permissions

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