<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Brent -<br>
<br>
Check out my message "[CentOS] Problem with rpmbuild - this works".  I
seem to have found a way around the problem, but I am not experienced
enough with Linux, especially with creating executables ad RPM's, to
know exactly why it works.  Nevertheless, I now have an RPM based (I
assume that it is since I used the src.rpm) version of PHP that has
Interbase integrated.<br>
<br>
Todd<br>
<br>
Brent wrote:
<blockquote
 cite="mid4245.192.168.1.1.1168788816.squirrel@webmail.regrafix.com"
 type="cite">
  <pre wrap="">first things first do you have the right libary installed. looks like your
missing the libphp.so file.

You could also have a compatibilty problem with you version installed.

  </pre>
  <blockquote type="cite">
    <pre wrap="">I added one line to the configuration in php.spec
(--with-interbase=shared,/opt/firebird) and now I get the error that it
cannot find libphp4.so, however libphp4.so is in /usr/lib/httpd/modules/

Is there some directive missing in the spec file?

<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/build.txt">http://209.204.172.137/misc/build.txt</a>
<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/build_errors.txt">http://209.204.172.137/misc/build_errors.txt</a>
<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/php.spec">http://209.204.172.137/misc/php.spec</a>

Todd

Todd Cary wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Aleksandar -

Thank you!  I forgot that I had created an interbase.so file by
compiling another version of php (tared).  Who knows where and what
that did!  So, I reinstalled Centos (I am just setting this server up,
so it was no big deal).  I was able to recompile the source without a
problem.

NOW, I am going to take the same src.rpm and add the Interbase to it
with a higher build number (e.g. -rtc.1) and see what happens.

Todd

Aleksandar Milivojevic wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Quoting Todd Cary <a class="moz-txt-link-rfc2396E" href="mailto:todd@aristesoftware.com"><todd@aristesoftware.com></a>:

        </pre>
        <blockquote type="cite">
          <pre wrap="">Matt -

I have the spec, build and error file on my server:

<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/php.spec">http://209.204.172.137/misc/php.spec</a>
<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/build.txt">http://209.204.172.137/misc/build.txt</a>
<a class="moz-txt-link-freetext" href="http://209.204.172.137/misc/build_errors.txt">http://209.204.172.137/misc/build_errors.txt</a>
          </pre>
        </blockquote>
        <pre wrap="">If you look at the output, it seems that the two testes failed
(bug26938 and proc_open01).  They did not fail because the things
they were testing were not working.  They failed because interbase.so
module couldn't be found (tests didn't even run).  Maybe they depend
on interbase module for whatever strange reason.  If I were you, I'd
just edit the spec file and remove them.  In the %prep section, just
after patches are applied, thre's couple of lines that remove some
other tests that fail for no good reason (preventing php rpm from
being built).

Just add these two lines inthere, and you should be fine:

rm -f ext/standard/tests/file/bug26938.phpt
rm -f ext/standard/tests/file/proc_open01.phpt

If you customize spec file to build more modules, some other tests
may also fail (again, usually for no good reason).  Check output for
details.  It tells you why test failed.  If it's just linking problem
(like with those two tests that are bugging you now), ignore it and
disable the test in spec file (by removing it in %prep section).


_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>


        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">--
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523

_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->

_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>


  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="65">-- 
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523
</pre>
</body>
</html>