Re: problem compiling from git head



Hi Jack:

Am 20.04.17 17:16 schrieb(en) Jack:
First minor point is that at compile time, in libbalsa/imap, I get "   make: *** No rule to make target 
'../../../balsa-git/libnetclient/libnetclient.a', needed by 'imap_tst'.  Stop."

It took me a while to figure this out - why would it need libnetclient.a under balsa-git, which is my SOURCE 
directory?  I'm building under a directory named build, parallel to balsa-git.  I think the issue is that in 
Albrecht's commit of 11 April to libbalsa/imap/Makefile.am, two lines were added, using $(top_srcdir) when I 
think they should have been $(top_builddir).

Your diagnosis is correct, unfortunately I did not consider an off-source build.  Using the attached patch, 
it works for me; the patch also fixes a warning about changing the permissions of a generated file.

However, other than the compile error, I don't think this should matter to me now, as I'm not using imap.

I don't think you will get a working executable, as imap is required...

I do suspect some network issue, as I see "Network is unavailable" when starting from command line, although I can ping 
external sites without problem.  also, I AM able to send out a message via SMTP, so at least part of the network does work.  When 
receiving (and I've tried all of the POP3 security settings) I don't see any messages on console except "Message: 157772800, 
0, POP3" followed by one line for each folder, and a Finished.

Sorry, I do not understand what goes wrong here.  Which executable do you start?  With the error above, there 
shouldn’t be a proper balsa executable...

Cheers,
Albrecht.
diff --git a/configure.ac b/configure.ac
index af13355..da36dea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -899,7 +899,7 @@ libnetclient/test/start-test-env.sh
 src/Makefile
 ui/Makefile
 ],
-[chmod +x libnetclient/test/start-test-env.sh])
+[test -f libnetclient/test/start-test-env.sh && chmod +x libnetclient/test/start-test-env.sh])
 AC_OUTPUT
 
 dnl ##########################################################################
diff --git a/libbalsa/imap/Makefile.am b/libbalsa/imap/Makefile.am
index ea9d16a..f379389 100644
--- a/libbalsa/imap/Makefile.am
+++ b/libbalsa/imap/Makefile.am
@@ -11,8 +11,8 @@ imap_tst_SOURCES = imap_tst.c
 
 imap_tst_LDADD = \
        libimap.a       \
-       ${top_srcdir}/libnetclient/libnetclient.a \
-        $(BALSA_LIBS)
+       ${top_builddir}/libnetclient/libnetclient.a \
+       $(BALSA_LIBS)
 
 #libimap_la_SOURCES =  
 libimap_a_SOURCES = \

Attachment: pgpi9NbRKQhGH.pgp
Description: PGP signature



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