Fwd: make distcheck and minor Makefile discrepancies



2006/11/11, Philip Van Hoof <spam pvanhoof be>:
On Sat, 2006-11-11 at 13:42 +0100, Øystein Gisnås wrote:
> Hi,
>
> I tired to build tinymail today and found that ./autogen.sh modifies
> libtinymail-camel/camel-lite/COPYING. Why is the copyright notice just
> a reference? Either the full license should be commited to SVN or
> ./autogen.sh should not modify it.

I have no idea why this is happening. COPYING is a full copy in the
repository.

http://svn.tinymail.org/svn/tinymail/trunk/COPYING

I was referring to the COPYING in libtinymail-camel.
http://svn.tinymail.org/svn/tinymail/trunk/libtinymail-camel/camel-lite/COPYING

About the other problem, you need to --enable-gkt-doc followed by a
normal make before doing make distcheck, and then it works.

The normal make is to make that missing xml file.

Have you tried this yourself recently? I haven't completed the whole
run yet, but I at least have to run autogen.sh with:
./autogen.sh --enable-gtk-doc --with-html-component=mozembed
--enable-tests --enable-python-bindings

I also end up having gcc complain during 'make'. It can't resolve
TnyCamelFolder in libtinymail-camel/tny-camel-nntp-folder.h and
TnyCamelStoreAccount in
libtinymail-camel/tny-camel-nntp-store-account.h. Adding #includes as
shown in the patch (attached) works for me. It looks like for example
libtinymail-camel/tny-camel-imap-folder.h works in a similar way
without this #include, so I suspect something else is wrong. Ideas
anyone?

Later, during 'make distcheck' I get an error because some source
files in po/POTFILES are missing. 'xargs -a po/POTFILES.in ls >
/dev/null' gives me the clues.. *svn up* Seems like this and other
problems have been fixed recently ;)

I also get an error when distcheck is running ./configure for the new
dist. More precisely it happens when
libtinymail-camel/camel-lite/configure.in is being run by distcheck:
config.status: error: cannot find input file: camel/providers/imap4/Makefile.in
configure: error: ../../../libtinymail-camel/camel-lite/configure
failed for libtinymail-camel/camel-lite

It looks like the new libtinymail-camel/camel-lite/configure.in
includes camel/providers/imap4/Makefile in its AC_OUTPUT while the
source directory libtinymail-camel/camel-lite/camel/providers/imap4 is
left of the distribution.

Now, after updating fixes from svn, make distcheck succeeds! Nice
work! The only patches I still use are
libtinymail-camel/{tny-camel-nntp-folder.h,tny-camel-nntp-store-account.h}.
Index: libtinymail-camel/tny-camel-nntp-folder.h
===================================================================
--- libtinymail-camel/tny-camel-nntp-folder.h	(revisjon 1124)
+++ libtinymail-camel/tny-camel-nntp-folder.h	(arbeidskopi)
@@ -25,6 +25,7 @@
 
 #include <tny-camel-account.h>
 #include <tny-store-account.h>
+#include <tny-camel-folder.h>
 
 G_BEGIN_DECLS
 
Index: libtinymail-camel/tny-camel-nntp-store-account.h
===================================================================
--- libtinymail-camel/tny-camel-nntp-store-account.h	(revisjon 1124)
+++ libtinymail-camel/tny-camel-nntp-store-account.h	(arbeidskopi)
@@ -25,6 +25,7 @@
 
 #include <tny-camel-account.h>
 #include <tny-store-account.h>
+#include <tny-camel-store-account.h>
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]