Tuesday, June 24, 2008
Element 3.0.0 compile error - gelf.h
Q: Installing the new Element 3.0.0 release, I see a build error referring to gelf.h. What gives?
make[3]: Entering directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster/callouts'
--- Compiling elem_platform.c
--- Compiling elem_log_cfg_data.c
--- Compiling elem_web_cfg_data.c
--- Compiling elem_stage_get_digest.c
elem_stage_get_digest.c:36:18: gelf.h: No such file or directory
elem_stage_get_digest.c:37:20: libelf.h: No such file or directory
make[3]: *** [obj/native-linux-x86_64/elem_stage_get_digest.o] Error 1
make[3]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster/callouts'
make[2]: *** [toolplibs] Error 2
make[2]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster'
make: *** [tools] Error 2
A: Your linux machine does not have the optional package elfutils-libelf-devel installed. You can install it with "yum install elfutils-libelf-devel" if your system supports yum. Verify that it's installed by checking /usr/include/gelf.h. The requirement stems from the new Software Management release for this version of Element and is new requirement for those migrating to 3.0.0. It is discussed in the Getting Started Guide for this release, but (unfortunately) not in the Migration section of the release notes.
make[3]: Entering directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster/callouts'
--- Compiling elem_platform.c
--- Compiling elem_log_cfg_data.c
--- Compiling elem_web_cfg_data.c
--- Compiling elem_stage_get_digest.c
elem_stage_get_digest.c:36:18: gelf.h: No such file or directory
elem_stage_get_digest.c:37:20: libelf.h: No such file or directory
make[3]: *** [obj/native-linux-x86_64/elem_stage_get_digest.o] Error 1
make[3]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster/callouts'
make[2]: *** [toolplibs] Error 2
make[2]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/jmir/Element/Releases/3.0.0/element_3.0.0/ref_platforms/generic_cluster'
make: *** [tools] Error 2
A: Your linux machine does not have the optional package elfutils-libelf-devel installed. You can install it with "yum install elfutils-libelf-devel" if your system supports yum. Verify that it's installed by checking /usr/include/gelf.h. The requirement stems from the new Software Management release for this version of Element and is new requirement for those migrating to 3.0.0. It is discussed in the Getting Started Guide for this release, but (unfortunately) not in the Migration section of the release notes.
Labels: Element
free invisible web counter