Re: problem compiling from git head



On 4/20/2017 2:29 PM, Albrecht Dreß wrote:
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...

I'm not absolutely certain, but I think the problem is that with "make -k" even if there is a failure, "make install" will install whatever did compile. Then, I end up using most files from that compile, but the binary from some previous compile - which make all results invalid.

Now, I'm getting:
make[3]: Entering directory '/usr/local/src/balsa/build/libbalsa/imap'
  CC       auth-cram.o
../../../balsa-git/libbalsa/imap/auth-cram.c:30:30: fatal error: net-client-utils.h: No such file or directory
 #include "net-client-utils.h"

which I suspect is a similar type of problem. net-client-utils.h is in sourcedir/libnetclient. So far, however, I have not been able to see exaclty what include dirs are being used.

Jack


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