New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assorted Fixes #1181
Assorted Fixes #1181
Conversation
Bah, broke it for running tests. Looks like it needs a bit more work to remove rpath usage. |
So it seems that the build system needs more work than I though, so I'm trimming this down. |
Can I ask you to take the vim change out also as an artifact of how our merges work? I'm about to commit a superset of that change. |
(And, once you've done that: @sgolemon, as the resident cmake expert, can you merge this if it looks good?) |
@scannell done |
Thanks. @sgolemon said she would look at it soon. |
See comments inline on the individual diffs. |
@sgolemon, what are we doing with the rest of this? |
I've been hesitating on this last diff because I don't particularly like the approach of making the user make the decision on linking the library. On the other hand, I haven't had time to come up with something better. If I don't put something together by tonight, I'll just merge this and go back and make a better fix later. |
btw... Just for the record, could you paste your c-client/linkage.h file somewhere? I'm curious what your build looks like that it both requires PAM and doesn't declare gss... |
@sgolemon this is my linkage.h file: extern DRIVER mboxdriver;
extern DRIVER imapdriver;
extern DRIVER nntpdriver;
extern DRIVER pop3driver;
extern DRIVER mixdriver;
extern DRIVER mxdriver;
extern DRIVER mbxdriver;
extern DRIVER tenexdriver;
extern DRIVER mtxdriver;
extern DRIVER mhdriver;
extern DRIVER mmdfdriver;
extern DRIVER unixdriver;
extern DRIVER newsdriver;
extern DRIVER philedriver;
extern DRIVER dummydriver;
extern AUTHENTICATOR auth_ext;
extern AUTHENTICATOR auth_md5;
extern AUTHENTICATOR auth_pla;
extern AUTHENTICATOR auth_log; Also, your patch causes ext_imap to not compile on my machine due to it (funnily enough) not finding |
I'm also now having problems with building on Gentoo:
|
Got ir building. For Gentoo, to have linkage.h auth_gss defined, net-libs/c-client must be rebuilt with kerberos USE flag enabled, which is disabled by default. Unfortunatelly, they have bug in app-crypt/mit-krb5-1.11.2-r1 package, which is dependency for c-client with kerberos, that fails to pull in required Python version for itself. Solution is to unmask app-crypt/mit-krb5-1.11.3 or upgrade python 2.7 by hand (didn't test myself, but should work). |
@kristapsk Thank you for posting that back. I was hit by the same issue. |
This is a bunch of small fixes, mostly to the build system.
.*.s??
)libpam
to be linked. The detection isn't 100% and fails on my machine, however, there does not seem to be a way to detect another wayRemoves the DEEPBIND flag in the call todlopen
for loading extensions. This seems to be the cause of DSO: Possible issue with thread-local data (affecting MemoryManager at least) #1174. At the very least, its removal fixed the issue for meStops CMake from using rpath. This was causing it to relinkhhvm
before installation, resulting in the systemlib disappearing, breakingmake install
.embed_systemlib
call. It has to be a link dependency, as the custom command is run as aPOST_BUILD
command, meaning it cannot have dependencies added. This should fix When compiling dynamic extension, <ext.so> is not dependent on <ext.php> #1180.