How to install libgcj into centOS 7
Hello everyone
I'm puzzled. Now I want to install pkftk software to CentOS7. pkftk require libgcj. But libgcj didn't was installed into my OS and so I try to install libgcj. However I couldn't find libgcj for 64bit-OS and then I think that when gcj is installed, libgcj will is installed together. Is That right? However errors happen like following question 1: Is there libgcj for 64-bit OS? question 2: What I should do for avoiding errors? bellow error and message are translated from japanese to English as for libgcj-2.95.1 Configuring for a x86_64-unknown-linux-gnu host. *** Cannot currently configure in source tree. as for gcc-5.1.0 ./configure --disable-multilib --enable-languages=c,c++,java,objc,fortran make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g" "CXXFLAGS=-g" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make make[4]: directory enter `/home/yuu/desktop/gcc-5.1.0/host-x86_64-unknown-linux-gnu/zlib' if [ -z "32" ]; then \ true; \ else \ rootpre=`${PWDCMD-pwd}`/; export rootpre; \ srcrootpre=`cd ../.././zlib; ${PWDCMD-pwd}`/; export srcrootpre; \ lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \ compiler="gcc"; \ for i in `${compiler} --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ if [ "${dir}" = "." ]; then \ true; \ else \ if [ -d ../${dir}/${lib} ]; then \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ if (cd ../${dir}/${lib}; make \ CFLAGS="-g ${flags}" \ CCASFLAGS=" ${flags}" \ FCFLAGS=" ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/usr/local" \ exec_prefix="/usr/local" \ GCJFLAGS=" ${flags}" \ GOCFLAGS=" ${flags}" \ CXXFLAGS="-g ${flags}" \ LIBCFLAGS="-g -O2 ${flags}" \ LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="/usr/bin/install -c -m 644" \ INSTALL_PROGRAM="/usr/bin/install -c" \ INSTALL_SCRIPT="/usr/bin/install -c" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi make[5]: directory enter `/home/yuu/desktop/gcc-5.1.0/host-x86_64-unknown-linux-gnu/32/zlib' make[5]: *** target there isn't role to `all' for make. cancel. make[5]: directory go out from `/home/yuu/desktop/gcc-5.1.0/host-x86_64-unknown-linux-gnu/32/zlib' make[4]: *** [multi-do] error 1 make[4]: directory go out from`/home/yuu/desktop/gcc-5.1.0/host-x86_64-unknown-linux-gnu/zlib' make[3]: *** [all-multi] error 2 make[3]: directory go out from `/home/yuu/desktop/gcc-5.1.0/host-x86_64-unknown-linux-gnu/zlib' make[2]: *** [all-stage1-zlib] error 2 make[2]: directory go out from `/home/yuu/desktop/gcc-5.1.0' make[1]: *** [stage1-bubble] error 2 make[1]: directory `/home/ |
|
Thank you for answer.
If I understood correctly, There are not the ways that I install libgcj? Now I use CentOS 7 and not good at reading English. So Could anyone explain how to install libgcj easily? Sorry, as for libgcj-2.95.1 ./configure Configuring for a x86_64-unknown-linux-gnu host. *** Cannot currently configure in source tree. as for gcc-5.1.0 ./configure --disable-multilib --enable-languages=c,c++,java,objc,fortran |
BE WARNED!!!
if you overwrite the default gcc 4.8 with 5.1 you WILL CAUSE MAJOR PROBLEMS!!!! you need to use the sufix option and FORCE the name of the compiler to be "gcc-5.1" !!! and NOT!!! " gcc " also BE AWARE !!!! almost non of the software for Cent/rhel has been YET ported to build in gcc5.1 YOU!!! will have yo port the software YOUR SELF!!! |
ALSO
this is a almost dulpacate of YOUR OTHER thread on this please DO NOT double post http://www.linuxquestions.org/questi...-a-4175547568/ |
All times are GMT -5. The time now is 01:56 PM. |