-
Notifications
You must be signed in to change notification settings - Fork 350
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 Problem on RedHat 5.5 #58
Comments
I solved it adding on libuiohook configure.ac the AM_PROG_CC_C_O flag |
RedHat 5.5, just a little legacy? ;) Thanks for the patch, I will put it in tonight. |
I think the problem is with kwhat/libuiohook@675f775#diff-67e997bcfdac55191033d57a16d1408a. Please pull 2.0 and try building again. |
Unfortunately we still use this release in our production environment :(. |
Huh, that is really strange. According to the docs, "this is an obsolescent macro that checks that the C compiler supports the -c and -o options together. Note that, since Automake 1.14, the AC_PROG_CC is rewritten to implement such checks itself, and thus the explicit use of AM_PROG_CC_C_O should no longer be required." What version of Automake does RHEL 5.5 ship with? Is it RHEL 5.5 or Old, really OLD Redhat 5? Try putting AM_PROG_CC_C_O in right after AM_PROG_CC. You're welcome ;) |
Can you also paste an error message? |
Hey, So I tried to test on CentOS 5.5 but it only comes with autotools 2.59 and the build process fails for autoconf version. If I change the version, I get a lot of errors related to missing macros. Please let me know what version of autoconfig you are using and the error you receive. Thanks. |
Sorry for the late reply. I'm using autoconf 2.64. configure.ac:76: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain cv to be cached |
I lost your comment about adding the AM_PROG_CC_C_O. I've added it as reported below: +# Checks for programs. Now everything works :) |
I was never able to fully reproduce this, but I do believe the version specified was incorrect. Autotools should have been 2.65, not 2.64. |
Hi,
I have some problem in compiling the library under Red Hat 5.5. I checked all the dependencies and they are ok but the ant script fails at line 351 (libuiohook bootstrap). Could you please help me? I've also tried to download libuiohook standalone but I've similar error in the bootsrap phase.
Thanks in advance
The text was updated successfully, but these errors were encountered: