rpmbuild make Compiler error #14
Comments
not enough info. plz check the file here. > ' /var/tmp/rpm-tmp.kRKvUn' |
Also note that this script is only designed for RHEL5 or RHEL6. If you're using another distro, unfortunately I can't afford to fix the issue. Patches are welcomed. |
not support centos? |
I believe CentOS is built from RHEL source codes, but I only test on RHEL5 and RHEL6. |
oh,i test on centos5 and centos6.all as above error,Don't know why,can you help me。if you need some message ,i can paste it |
as I said, plz check the file here. check your error message first. > ' /var/tmp/rpm-tmp.kRKvUn' |
[root@testlog SPECS]# cat /root/rpmbuild/TMP/rpm-tmp.58713 RPM_SOURCE_DIR="/root/rpmbuild//SOURCES" PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig" set -x cd 'td-agent-1.1.11' ./autogen.sh CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export CFLAGS ; |
before i check /root/rpmbuild/TMP/rpm-tmp.58713 ,content is as above ,that's so poor |
Seems like your compiler unexpectedly exists with Segmentation Fault
Sounds like your compiler or OS problem. Could you check if you can build the Ruby interpreter from source code? > http://www.ruby-lang.org/en/ Hard to debug from my side, though. |
are you test on rh5 and rh6? |
thx kzk,i slove it on redhat5 |
./make-rpm.sh
.......
.......
linking miniruby
generating encdb.h
make[1]: *** [.rbconfig.time] Segmentation fault
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [encdb.h] Segmentation fault
make[1]: Leaving directory `/root/rpmbuild/td-agent/rpmbuild/BUILD/td-agent-1.1.11/deps/ruby'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.kRKvUn (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.kRKvUn (%build)
~/rpmbuild/td-agent
The text was updated successfully, but these errors were encountered: