<div>I&#39;ve never used dnl check before, can you give me a quick tutorial or link me somewhere?<br></div><div><br></div><div>Bug I&#39;m trying to fix is this: <a href="https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305">https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305</a></div>
<div><br></div><div>You can see my section under jmadero, that&#39;s what I&#39;m trying to pintpoint.</div><div><br></div><div>I&#39;m installing version 2.1.0 from OOo to see if the bug still exists, if it doesn&#39;t I&#39;ll start comparing code to see if I can find out why it currently exists, part of compiling from source is just to get the experience, also this way if I make a patch or an alteration I should be able to recompile relatively easily. </div>
<div><br></div><div><br></div><div>Thank you</div><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 3:58 AM, Michael Meeks <span dir="ltr">&lt;<a href="mailto:michael.meeks@suse.com">michael.meeks@suse.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br>
On Mon, 2011-12-12 at 15:52 -0800, Joel Madero wrote:<br>
&gt; Trying to compile older versions of OOo in order to track down a bug<br>
&gt; but I&#39;m hitting a missing cups.h when trying to compile. I have the<br>
&gt; appropriate cups dev files installed. I have tried on Bodhi as well as<br>
&gt; Ubuntu 11.10. I also have verified that cups.h exists in the<br>
&gt; appropriate folder<br>
<br>
</div></div>        Your configure should fail if cups/cups.h is not included:<br>
<br>
dnl check for cups support<br>
dnl ===================================================================<br>
if test &quot;$test_cups&quot; = &quot;yes&quot;; then<br>
    AC_MSG_CHECKING([whether cups support is present])<br>
    AC_CHECK_LIB(cups, cupsPrintFiles)<br>
    AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))<br>
    if test &quot;$ac_cv_lib_cups_cupsPrintFiles&quot; != &quot;yes&quot; -a &quot;$ac_cv_header_cups_cups_h&quot; != &quot;yes&quot;; then<br>
        AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or cups???-devel.])<br>
    fi<br>
fi<br>
<br>
        Can you provide some more details on exactly what you&#39;re trying to<br>
compile ? and what the error is ? Really - compiling OO.o is not<br>
advisable ;-) you would prolly do better with a root cause analysis than<br>
trying to do that. What is the bug ?<br>
<br>
        ATB,<br>
<br>
                Michael.<br>
<font color="#888888"><br>
--<br>
<a href="mailto:michael.meeks@suse.com">michael.meeks@suse.com</a>  &lt;&gt;&lt;, Pseudo Engineer, itinerant idiot<br>
<br>
</font></blockquote></div><br>