Re: [CinePaint] CinePaint 0.21-1 compilation error

Hartmut Sbosny <[email protected]>
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Hi Daniel,

Am Samstag, 19. August 2006 08:40 schrieb Daniel Fort:

>> First I wanted to provide a patch file, but I have to train yet
>> with diff and patch.
>
> I figured the best way to make a patch file was to use CVS sources,
> but when I tried your replacement files on it I got:
>
> In file included from ../../lib/plugin_main.h:23,
>                  from bracketing_to_hdr.cpp:61:
> /usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not
> permit named variadic macros
> /usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not
> permit named variadic macros
> /usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not
> permit named variadic macros
> /usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not
> permit named variadic macros
> In file included from ../../lib/wire/wire_types.h:9,
>                  from ../../lib/plugin_main.h:26,
>                  from bracketing_to_hdr.cpp:61:
> ../../lib/wire/enums.h:126: error: extra `;'
> make[3]: *** [bracketing_to_hdr.o] Error 1
>
>
> Not sure why it worked on 0.21-1 and not on CVS, diff shows no
> change in plugin_main.h and both builds should be using the same
> /usr/include/glib-1.2/glib.h (glib-1.2.10-r5 from Gentoo portage).

The current 'cinepaint' branch of the CVS is surely not in a coherent 
state. The structure of the bracketing_to_hdr directory has been 
changed from 0.20 to 0.21, and in `configure.in' the new structure is 
inscribed, but the bracketing_to_hdr directory is still the old one. 
(Kai-Uwe has obviously forgotten to update it. At present he is on 
holiday and will be back on the air in a week.)

Assuming the above is the only inconsictency, one could try the 
following (not tested):

Replace the CVS bracketing_to_hdr directory by the new version,
then the steps:
autoconf  (creates `configure' from `configure.in')
automake  (creates `Makefile.in' from `Makefile.in' + `configure')
./configure (creates `Makefile' from `Makefile.am')
make; make install

But as I said, not tested.

Hartmut

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.