Re: [CinePaint] Compiling on Fedora 13, access to CVS

Peter Langfelder <[email protected]> Thu, 10 Jun 2010 00:31:52 -0700
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
--===============3261630909498142813==
Content-Type: multipart/alternative; boundary=001636b144812332d70488a80497

--001636b144812332d70488a80497
Content-Type: text/plain; charset=ISO-8859-1

Me again here. It seems that there are two kinds of errors: one is missing
math library (missing -lm flag) and the X11 library (-lX11). As I said, I'm
autotools illiterate, but it seems that this is an omission in the
Makefile.am files within plugins and also within app/ ... but perhaps
there's a setting somewhere in the main configuration machinery that would
take care of that. Running autogen.sh produces all kinds of warnings which I
do not understand. However, ./configure runs apparently successfully.

Another class of errors is that libhalf/.libs is not added to the search
path like lib/.libs is. I hacked the cinepainttool script to produce the
desired output. This error came up in the compilation of icc_examin plugin,
which also complained of missing pthreads. This seems to have been another
bug in the cinepainttool script, where line 77 reads in part

 gtk_cflags="-pthread -I/usr/include/gtk-2.0

but should presumably read

 gtk_cflags="-lpthread -I/usr/include/gtk-2.0

I realized later that cinepainttools is also autogenerated and presumably
these errors should be fixed somewhere else.

In any case, after doing a lot of manual fixing in the Makefile's, I managed
to compile the whole thing... whew.

Peter


On Wed, Jun 9, 2010 at 10:48 PM, Peter Langfelder <
[email protected]> wrote:

> Hi Frank,
>
> thanks for the advice. Unfortunately, I am still getting the following
> error:
>
>
> /usr/bin/ld: logImageCore.o: undefined reference to symbol 'pow@
> @GLIBC_2.0'
> /usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so
> try adding it to the linker command line
> /lib/libm.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [cineon] Error 1
> make[2]: Leaving directory
> `/home/plangfelder/AASoftware/CinepaintModifications/cvs/cinepaint-project/cinepaint/plug-ins/cineon'
>
> I'm completely illeterate as far as the autotools are concerned, so I'll
> likely never find the errors, but perhaps I will succeed in
> removing/disabling cineon compilation altogether.
>
> Best,
>
> Peter
>
>
> On Mon, Jun 7, 2010 at 6:53 AM, Frank Peters <[email protected]>wrote:
>
>> On Sun, 6 Jun 2010 23:53:00 -0700
>> Peter Langfelder <[email protected]> wrote:
>>
>> >
>> > but only getting the error above. Is there a way for a mere mortal
>> > (non-developer) to get the current sources?
>> >
>>
>> You should not need to login.  Just use the following command:
>>
>> cvs -z3 -d:pserver:anonymous-umaFjWZdy0gO46yPcjbmJ5G/[email protected]:/cvsroot/cinepaint
>> co cinepaint-project/cinepaint
>>
>> This will download the CVS source.  Then:
>>
>> cd cinepaint-project/cinepaint/
>> ./autogen.sh
>> ./configure
>>
>> However, if using the latest gcc, you will need to apply the patch,
>> cinepaint_gcc-4.4.x.diff, which is available here:
>>
>>
>> https://sourceforge.net/tracker/?func=detail&atid=542706&aid=2981993&group_id=75029
>>
>> I just compiled the CVS source a few days ago because Gentoo upgraded
>> their tiff libraries and most image programs needed to be redone.
>>
>> Frank Peters
>>
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Cinepaint-users mailing list
>> Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/cinepaint-users
>>
>
>

--001636b144812332d70488a80497
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br>Me again here. It seems that there are two kinds of errors: one is miss=
ing math library (missing -lm flag) and the X11 library (-lX11). As I said,=
 I&#39;m autotools illiterate, but it seems that this is an omission in the=
 Makefile.am files within plugins and also within app/ ... but perhaps ther=
e&#39;s a setting somewhere in the main configuration machinery that would =
take care of that. Running autogen.sh produces all kinds of warnings which =
I do not understand. However, ./configure runs apparently successfully.<br>
<br>Another class of errors is that libhalf/.libs is not added to the searc=
h path like lib/.libs is. I hacked the cinepainttool script to produce the =
desired output. This error came up in the compilation of icc_examin plugin,=
 which also complained of missing pthreads. This seems to have been another=
 bug in the cinepainttool script, where line 77 reads in part<br>
<br>=A0gtk_cflags=3D&quot;-pthread -I/usr/include/gtk-2.0 <br><br>but shoul=
d presumably read <br><br>=A0gtk_cflags=3D&quot;-lpthread -I/usr/include/gt=
k-2.0<br><br>I realized later that cinepainttools is also autogenerated and=
 presumably these errors should be fixed somewhere else.<br>
<br>In any case, after doing a lot of manual fixing in the Makefile&#39;s, =
I managed to compile the whole thing... whew. <br><br>Peter<br><br>=A0<br><=
div class=3D"gmail_quote">On Wed, Jun 9, 2010 at 10:48 PM, Peter Langfelder=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">peter.=
[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Frank,<br><br>=
thanks for the advice. Unfortunately, I am still getting the following erro=
r:<div class=3D"im">
<br><br>/usr/bin/ld: logImageCore.o: undefined reference to symbol &#39;pow=
@@GLIBC_2.0&#39;<br>/usr/bin/ld: note: &#39;pow@@GLIBC_2.0&#39; is defined =
in DSO /lib/libm.so.6 so try adding it to the linker command line<br>
/lib/libm.so.6: could not read symbols: Invalid operation<br>collect2: ld r=
eturned 1 exit status<br>make[2]: *** [cineon] Error 1<br></div>make[2]: Le=
aving directory `/home/plangfelder/AASoftware/CinepaintModifications/cvs/ci=
nepaint-project/cinepaint/plug-ins/cineon&#39;<br>

<br>I&#39;m completely illeterate as far as the autotools are concerned, so=
 I&#39;ll likely never find the errors, but perhaps I will succeed in remov=
ing/disabling cineon compilation altogether.<br><br>Best,<br><font color=3D=
"#888888"><br>
Peter</font><div><div></div><div class=3D"h5"><br>
<br><div class=3D"gmail_quote">On Mon, Jun 7, 2010 at 6:53 AM, Frank Peters=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px s=
olid rgb(204, 204, 204); padding-left: 1ex;">

<div>On Sun, 6 Jun 2010 23:53:00 -0700<br>
Peter Langfelder &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; but only getting the error above. Is there a way for a mere mortal<br>
&gt; (non-developer) to get the current sources?<br>
&gt;<br>
<br>
</div>You should not need to login. =A0Just use the following command:<br>
<br>
cvs -z3 -d:pserver:anonymous-umaFjWZdy0gO46yPcjbmJ5G/[email protected]:/cvsroot/cinepai=
nt co cinepaint-project/cinepaint<br>
<br>
This will download the CVS source. =A0Then:<br>
<br>
cd cinepaint-project/cinepaint/<br>
./autogen.sh<br>
./configure<br>
<br>
However, if using the latest gcc, you will need to apply the patch,<br>
cinepaint_gcc-4.4.x.diff, which is available here:<br>
<br>
<a href=3D"https://sourceforge.net/tracker/?func=3Ddetail&amp;atid=3D542706=
&amp;aid=3D2981993&amp;group_id=3D75029" target=3D"_blank">https://sourcefo=
rge.net/tracker/?func=3Ddetail&amp;atid=3D542706&amp;aid=3D2981993&amp;grou=
p_id=3D75029</a><br>


<br>
I just compiled the CVS source a few days ago because Gentoo upgraded<br>
their tiff libraries and most image programs needed to be redone.<br>
<br>
Frank Peters<br>
<br>
---------------------------------------------------------------------------=
---<br>
ThinkGeek and WIRED&#39;s GeekDad team up for the Ultimate<br>
GeekDad Father&#39;s Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. =A0See the prize list and enter to win:<br>
<a href=3D"http://p.sf.net/sfu/thinkgeek-promo" target=3D"_blank">http://p.=
sf.net/sfu/thinkgeek-promo</a><br>
_______________________________________________<br>
Cinepaint-users mailing list<br>
<a href=3D"mailto:Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" target=3D"_blank">=
Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/cinepaint-users" ta=
rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/cinepaint-user=
s</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>

--001636b144812332d70488a80497--


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

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--===============3261630909498142813==
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

--===============3261630909498142813==--