Charm4py/charm++, GCC error when installingalias gcc='gcc -fpermissive' or modifying ./configure scriptgcc...

Where to refill my bottle in India?

Is domain driven design an anti-SQL pattern?

Calculate Levenshtein distance between two strings in Python

Is there any use for defining additional entity types in a SOQL FROM clause?

Creating a loop after a break using Markov Chain in Tikz

Crop image to path created in TikZ?

Map list to bin numbers

Where else does the Shulchan Aruch quote an authority by name?

What happens when a metallic dragon and a chromatic dragon mate?

Domain expired, GoDaddy holds it and is asking more money

What does 'script /dev/null' do?

How to move the player while also allowing forces to affect it

"listening to me about as much as you're listening to this pole here"

How to deal with fear of taking dependencies

Copycat chess is back

Are cabin dividers used to "hide" the flex of the airplane?

Why do we use polarized capacitors?

How can I add custom success page

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

How could a lack of term limits lead to a "dictatorship?"

LWC and complex parameters

What is GPS' 19 year rollover and does it present a cybersecurity issue?

Lied on resume at previous job



Charm4py/charm++, GCC error when installing


alias gcc='gcc -fpermissive' or modifying ./configure scriptgcc running out of memory in Ubuntu 12.10Error installing GCC on Fedoradowngrade gcc/g++ after upgrading; compiler errorInstalling a GCC/G++ for my mac OSX 10.8gcc --as-needed linker flag not workingError compiling gcc on Raspberry Pi (Raspbian): make: *** [bootstrap] errorError compiling gcc on Raspberry PiCygwin installation stops in make stepHP-UX Build GCC 4.8.5 fail during make






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















firstly I am going to explain the issue and at the bottom you'll find the question/-s.



I'm trying to install charm4py using pip/pip3/apt (all of em), after 1.5 hours it fails and I notice it's charm++ which fails to build and that




g++: internal compiler error: Killed (program cc1plus)



...



Fatal Error by charmc in directory /tmp/pip-install-xqzy2dk8/charm4py/charm_src/charm/netlrts-linux-x86_64-tcp/tmp
Command g++ -DCMK_GFORTRAN -DCMK_GFORTRAN -I./../include -D__CHARMC__=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -fPIC -I../bin/../include -D__CHARMC__=1 -I. -O3 -U_FORTIFY_SOURCE -fno-stack-protector -fno-lifetime-dse -fPIC -c HierarchicalLB.C -o HierarchicalLB.o returned error code 4




I also get the following red colored error message in terminal,



Command "/usr/bin/python3 -u -c "import setuptools, tokenize;
__file__='/tmp/pip-install-xqzy2dk8/charm4py/setup.py';
f=getattr(tokenize, 'open', open)(__file__);
code=f.read().replace('rn', 'n');
f.close();
exec(compile(code,__file__, 'exec'))
"install --record /tmp/pip-record-ft7q83g9/install-record.txt --single-version-externally-managed --compile"
failed with error code 1 in /tmp/pip-install-xqzy2dk8/charm4py/


So I, tried to install charm++ first manually. When building charm++ I get error as well it tells me that,



checking "C++ compiler as"... "g++  "   
checking "whether C++ compiler works"... "no"
Cannot compile C++ programs with g++
(check your charm++ version)
*** Please find detailed output in tmp/charmconfig.out ***
make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi- main.o'. Stop.
make[1]: Leaving directory '/home/raspberry/charm/multicore-linux/tmp'
Makefile:301: recipe for target 'headers' failed
make: *** [headers] Error 2


My gcc and g++ versions are 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)



is the problem that I cannot download charm++ on Rpi 3B+ or lies the error with my gcc? Or maybe the problem is something else?



Thank you.










share|improve this question







New contributor




z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    firstly I am going to explain the issue and at the bottom you'll find the question/-s.



    I'm trying to install charm4py using pip/pip3/apt (all of em), after 1.5 hours it fails and I notice it's charm++ which fails to build and that




    g++: internal compiler error: Killed (program cc1plus)



    ...



    Fatal Error by charmc in directory /tmp/pip-install-xqzy2dk8/charm4py/charm_src/charm/netlrts-linux-x86_64-tcp/tmp
    Command g++ -DCMK_GFORTRAN -DCMK_GFORTRAN -I./../include -D__CHARMC__=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -fPIC -I../bin/../include -D__CHARMC__=1 -I. -O3 -U_FORTIFY_SOURCE -fno-stack-protector -fno-lifetime-dse -fPIC -c HierarchicalLB.C -o HierarchicalLB.o returned error code 4




    I also get the following red colored error message in terminal,



    Command "/usr/bin/python3 -u -c "import setuptools, tokenize;
    __file__='/tmp/pip-install-xqzy2dk8/charm4py/setup.py';
    f=getattr(tokenize, 'open', open)(__file__);
    code=f.read().replace('rn', 'n');
    f.close();
    exec(compile(code,__file__, 'exec'))
    "install --record /tmp/pip-record-ft7q83g9/install-record.txt --single-version-externally-managed --compile"
    failed with error code 1 in /tmp/pip-install-xqzy2dk8/charm4py/


    So I, tried to install charm++ first manually. When building charm++ I get error as well it tells me that,



    checking "C++ compiler as"... "g++  "   
    checking "whether C++ compiler works"... "no"
    Cannot compile C++ programs with g++
    (check your charm++ version)
    *** Please find detailed output in tmp/charmconfig.out ***
    make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi- main.o'. Stop.
    make[1]: Leaving directory '/home/raspberry/charm/multicore-linux/tmp'
    Makefile:301: recipe for target 'headers' failed
    make: *** [headers] Error 2


    My gcc and g++ versions are 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)



    is the problem that I cannot download charm++ on Rpi 3B+ or lies the error with my gcc? Or maybe the problem is something else?



    Thank you.










    share|improve this question







    New contributor




    z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      firstly I am going to explain the issue and at the bottom you'll find the question/-s.



      I'm trying to install charm4py using pip/pip3/apt (all of em), after 1.5 hours it fails and I notice it's charm++ which fails to build and that




      g++: internal compiler error: Killed (program cc1plus)



      ...



      Fatal Error by charmc in directory /tmp/pip-install-xqzy2dk8/charm4py/charm_src/charm/netlrts-linux-x86_64-tcp/tmp
      Command g++ -DCMK_GFORTRAN -DCMK_GFORTRAN -I./../include -D__CHARMC__=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -fPIC -I../bin/../include -D__CHARMC__=1 -I. -O3 -U_FORTIFY_SOURCE -fno-stack-protector -fno-lifetime-dse -fPIC -c HierarchicalLB.C -o HierarchicalLB.o returned error code 4




      I also get the following red colored error message in terminal,



      Command "/usr/bin/python3 -u -c "import setuptools, tokenize;
      __file__='/tmp/pip-install-xqzy2dk8/charm4py/setup.py';
      f=getattr(tokenize, 'open', open)(__file__);
      code=f.read().replace('rn', 'n');
      f.close();
      exec(compile(code,__file__, 'exec'))
      "install --record /tmp/pip-record-ft7q83g9/install-record.txt --single-version-externally-managed --compile"
      failed with error code 1 in /tmp/pip-install-xqzy2dk8/charm4py/


      So I, tried to install charm++ first manually. When building charm++ I get error as well it tells me that,



      checking "C++ compiler as"... "g++  "   
      checking "whether C++ compiler works"... "no"
      Cannot compile C++ programs with g++
      (check your charm++ version)
      *** Please find detailed output in tmp/charmconfig.out ***
      make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi- main.o'. Stop.
      make[1]: Leaving directory '/home/raspberry/charm/multicore-linux/tmp'
      Makefile:301: recipe for target 'headers' failed
      make: *** [headers] Error 2


      My gcc and g++ versions are 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)



      is the problem that I cannot download charm++ on Rpi 3B+ or lies the error with my gcc? Or maybe the problem is something else?



      Thank you.










      share|improve this question







      New contributor




      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      firstly I am going to explain the issue and at the bottom you'll find the question/-s.



      I'm trying to install charm4py using pip/pip3/apt (all of em), after 1.5 hours it fails and I notice it's charm++ which fails to build and that




      g++: internal compiler error: Killed (program cc1plus)



      ...



      Fatal Error by charmc in directory /tmp/pip-install-xqzy2dk8/charm4py/charm_src/charm/netlrts-linux-x86_64-tcp/tmp
      Command g++ -DCMK_GFORTRAN -DCMK_GFORTRAN -I./../include -D__CHARMC__=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -fPIC -I../bin/../include -D__CHARMC__=1 -I. -O3 -U_FORTIFY_SOURCE -fno-stack-protector -fno-lifetime-dse -fPIC -c HierarchicalLB.C -o HierarchicalLB.o returned error code 4




      I also get the following red colored error message in terminal,



      Command "/usr/bin/python3 -u -c "import setuptools, tokenize;
      __file__='/tmp/pip-install-xqzy2dk8/charm4py/setup.py';
      f=getattr(tokenize, 'open', open)(__file__);
      code=f.read().replace('rn', 'n');
      f.close();
      exec(compile(code,__file__, 'exec'))
      "install --record /tmp/pip-record-ft7q83g9/install-record.txt --single-version-externally-managed --compile"
      failed with error code 1 in /tmp/pip-install-xqzy2dk8/charm4py/


      So I, tried to install charm++ first manually. When building charm++ I get error as well it tells me that,



      checking "C++ compiler as"... "g++  "   
      checking "whether C++ compiler works"... "no"
      Cannot compile C++ programs with g++
      (check your charm++ version)
      *** Please find detailed output in tmp/charmconfig.out ***
      make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi- main.o'. Stop.
      make[1]: Leaving directory '/home/raspberry/charm/multicore-linux/tmp'
      Makefile:301: recipe for target 'headers' failed
      make: *** [headers] Error 2


      My gcc and g++ versions are 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)



      is the problem that I cannot download charm++ on Rpi 3B+ or lies the error with my gcc? Or maybe the problem is something else?



      Thank you.







      raspberry-pi gcc g++






      share|improve this question







      New contributor




      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      z0zz0z0zz0

      1




      1




      New contributor




      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      z0zz0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          z0zz0 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422207%2fcharm4py-charm-gcc-error-when-installing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          z0zz0 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          z0zz0 is a new contributor. Be nice, and check out our Code of Conduct.













          z0zz0 is a new contributor. Be nice, and check out our Code of Conduct.












          z0zz0 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422207%2fcharm4py-charm-gcc-error-when-installing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...