Skip to content
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

compilation fixes (Solaris/nansleep and missing gcrypt.h) #201

Closed
wants to merge 2 commits into from

Conversation

ymettier
Copy link
Contributor

Hello,

Here are 2 commits in this branch because I had 2 problems when compiling on Solaris 10.

1st commit : missing nanosleep. You have to compile with -lrt on Solaris
2nd commit (not specific to Solaris) : when gcrypt.h is missing, libcollectdclient won't compile. I added some #if HAVE_LIBGCRYPT to compile even when gcrypt.h is missing.

Regards,
Yves

@dhilst
Copy link
Contributor

dhilst commented Nov 29, 2012

I successfully compile it on AIX61, using this pull request patch, and aplying this patch: http://pastebin.com/rD1Srn5V

Here is the configure and make line I use: OBJECT_MODE=64 ./configure LDFLAGS="-Wl,-brtl,-lpthread" CFLAGS="-maix64 -D_THREAD_SAFE_ERRNO" --disable-multimeter --enable-oracle
OBJECT_MODE=64 make

@octo
Copy link
Member

octo commented Nov 30, 2012

Hi Yves,

thank you very much for your patches! I've applied them as 49a37c7 and eda7887.

Best regards,
—octo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants