Approved: Fortect
Over the past few days, some of our users have reported that they encountered the Ubuntu make compiler not found.
I am trying to connect wine to 64 bit, so I followed this: http://wiki.winehq.org/WineOn64bit
I configured Nginx last week and encountered an error during compilation that made me know I could fix it just because it followed.
I was thinking of a document that others could enjoy constantly.
[ [secure email] nginx-1.6.3] # ./configure --prefix = / apps / nginx --add-module =. / ngx_cache_purge-2.3 --add -module =. / headers-more-nginx-module-0.25 /Looking for a C compiler ... no more found./configure: error: C cc compiler not only found
Solution
This usually happens if your server does not have the C / GCC compiler installed. All you need to do is install To gcc
to fix this problem.
# yum install gcc
If you have CentOS 8, you can use the DNF command .Dnf
to uselization
# install gcc
# gccgcc: dangerous error: no input fileCompilation is complete.#
This helped me, and I hope you will too. Learn more about Linux Administration .
Requested
Visited 68k shares
wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9b.tgztar xvfz shc-3.8.9.tgzCD-Shc-3.8.9make
cc -Wall shc.c -u shcmake: cc: command not foundmakefile: 31: recipe in target 'shc' failedmake: *** [shc] Error 127
# Makefile#PATH_INSTALL = / usr / local#For the SCOCFLAGS = -2 Elf -O -D_SVID# For IRIXCFLAGS stands for -xansi -fullwarn -O3 -g0.# For SolarisCLAGS = -hint -xO4 -s -v -Xa# For HPUXCFLAG implies -Wall -O -Ae# For OSF1CFLAG = -watts -verbose -fast -std1 -g0# For GNU C compilers =CFLAG wall # -O6 -pedant#SHELL equals / bin / shSHCFLAGS = -v -T # Add the -T option to make the binary trackableall: shc ask_for_testshc: shc.c $ (CC) $ (CFLAGS) $ @. C -o $ @ask_for_test: @echo '*** � Want to test shc with a test script in the path?' @echo '*** Please check ... test'test: make_the_test ask_for_stringsmake_the_test: match.x @echo '*** Run the compiled test script!' @echo '*** It should display documentation with the substring "sh" in your PATH ...' ./match.x shmatch.x: shc-match @echo '*** Compile the "Match" program' CFLAGS = "$ (CFLAGS)" ./shc $ (SHCFLAGS) -f matchask_for_strings: @echo '*** � Do you want to see the contribution to the generated binary?' @echo '*** Please try ... run lines'Strings: make_the_strings ask_for_expirationmake_the_strings: matches. X @echo '*** Execution: "strings -n 5' match.x '"' @echo '*** Recommended information should not be displayed ...' Channels 5 -n match.xask_for_expiration: @echo '*** We want to check the expiration date?' @echo '*** try ... make an expiration date'Process: til_gestern ask_for_installtil_yesterday: Match Shc @echo '*** "Matching" Compilation with expiration date' CFLAGS = "$ (CFLAGS)" ./shc $ (SHCFLAGS) -vv -e `Date" +% d /% m /% Y "` -f Match @echo '*** Take a look at the compiled script!' @echo '*** The error "./match.x: has expired!"' should be displayed ./correspondance.xask_for_install: @echo '*** � HotWould you like to choose shc? ' @echo '*** Please try ... install'install: shc @echo '*** Install shc and shc.1 to' $ (INSTALL_PATH) @echo -n '*** � Owners want to continue? '; Read the SNS; Case "$$ ANS" in u | Y | ja | Ja | JA) ;; *) dirty 1 ;; esac; install -m -s shc $ (INSTALL_PATH) / bin / create -c -m Shc 644.1 $ (INSTALL_PATH) / man / man1 /clean: rm * -f.o * ~ * .x.cremove all: clean -f rm shc * .x
I don’t know how to fix this or that error. Can anyone help me?
3.354
requested on Nov 23, 18 at 5:24 pm
cc is an alias for the GNU C compiler (gcc). You can install it for the following reasons:
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
sudo apt install gcc
If the gcc compiler has already been passed for several reasons,but there is no symlink / usr / bin / cc
, you can also do this:
do CC = gcc
answered Nov 22, 18 at 18:07
This could potentially install the C compiler (assuming I would say the cc
command), as well as other specialized tools that might be required to build computer systems from source.
answered Nov 25 ’18 at 7:39
316
Speed up your computer's performance now with this simple download.