Re: [CinePaint] Fedora 15 compile error

Tom Dryden <[email protected]> Sat, 11 Feb 2012 15:33:02 -0500
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
--===============5739445918013352370==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Thank you Frank and Peter,<br>
    <br>
    The LDADD suggestion got me moving here are the files that were
    updated and what was added<br>
    -lstdc++ was added to:<br>
    <meta http-equiv="CONTENT-TYPE" content="text/html;
      charset=ISO-8859-1">
    <title></title>
    <meta name="GENERATOR" content="LibreOffice 3.3 (Unix)">
    <style type="text/css">
	<!--
		@page { margin: 0.79in }
		PRE.western { font-family: "Liberation Serif" }
		PRE.cjk { font-family: "WenQuanYi Zen Hei", monospace }
		P { margin-bottom: 0.08in }
	-->
	</style>
    <pre class="western">./plug-ins/tiff/Makefile
/plug-ins/mblur/Makefile
/plug-ins/noisify/Makefile
./plug-ins/retinex/Makefile
./plug-ins/edge/Makefile
./plug-ins/jpeg/Makefile
./plug-ins/sobel/Makefile
./plug-ins/snoise/Makefile
./plug-ins/sharpen/Makefile
./plug-ins/blur/Makefile
./plug-ins/gbr/Makefile

./app/Makefile needed -lstdc++ added in two places, in cinepaint and cinepaint_remote. It also needed -lX11 added to it.  

I am using the default release from CVS.  

Thanks again!
Tom
</pre>
    <br>
    On 02/11/2012 01:07 PM, Frank Peters wrote:
    <blockquote
      cite="mid:20120211130711.34d48cd2.frank.peters-Wuw85uim5zDR7s880joybQ@public.gmane.org"
      type="cite">
      <pre wrap="">On Sat, 11 Feb 2012 08:59:33 -0800
Peter Langfelder <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">
I modified the
final Makefiles (that, to the best of my understanding, are
autogenerated) after running ./configure . Why? Because I don't
understand autotools and couldn't figure out where to make the change
earlier. The changes are, of course, undone every time one runs
./configure.

</pre>
      </blockquote>
      <pre wrap="">
I am also completely in the dark when it comes to autotools and make.
But in this case the solution is rather straightforward.

Every directory in the cinepaint source contains a Makefile.in which
is used during the configure process to produce the actual Makefiles.
In the Makefile.in there is a variable called LDADD which is defined
to include several library links.  To fix the dso problem, all that need
be done is to append the suitable library link (-lc, -lm, -lstdc++, etc.)
to the LDADD definition.

If someone using Redhat/Fedora would take the time to determine, by
doing an ordinary configure/make with cinepaint-1.0, what links need
to be included in what Makefile, then a patch for all the Makefile.in
files could be created.

Maybe just patching all the Makefile.in files with several extra links
would also work.  Maybe someone using Redhat/Fedora could also do this.

Frank Peters


------------------------------------------------------------------------------
Virtualization &amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
<a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfnl/114/51521223/">http://www.accelacomm.com/jaw/sfnl/114/51521223/</a>
_______________________________________________
Cinepaint-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/cinepaint-users">https://lists.sourceforge.net/lists/listinfo/cinepaint-users</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>


--===============5739445918013352370==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
--===============5739445918013352370==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cinepaint-users mailing list
Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cinepaint-users

--===============5739445918013352370==--