Ah ok. So, I need to type "cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..". Then, I type "make -j1 install". Is it correct?
2021년 6월 30일 (수) 오후 3:01, Bruno Turcksin <[email protected]>님이 작성: > Hyungeun, > > It looks like you are trying to install the library in /path/usr/local/share/ > but I guess you meant to install it in /usr/local/share/. You need to > reconfigure the library to install it at the correct place. > > Best, > > Bruno > > On Tuesday, June 29, 2021 at 6:32:45 PM UTC-4 [email protected] wrote: > >> I finally proceeded with installation by increasing the amount of memory >> and typing “make -j1 install”, but I have a question. >> >> At the end of the installation, I had the message below. >> >> >> >> [100%] Linking CXX executable ../bin/step-37.release >> >> [100%] Built target step-37.release >> >> Install the project... >> >> -- Install configuration: "DebugRelease" >> >> CMake Error at cmake/scripts/cmake_install.cmake:41 (file): >> >> file cannot create directory: /path/usr/local/share/deal.II/scripts. >> Maybe >> >> need administrative privileges. >> >> Call Stack (most recent call first): >> >> cmake_install.cmake:42 (include) >> >> >> >> make: *** [Makefile:96: install] Error 1 >> >> >> >> Could you tell me what happened and how can I fixt it? >> >> >> >> Then, I typed “make test” and a message was shown “100% tests passed, 0 >> tests failed out of 8. >> >> >> >> Best regards >> >> >> >> Hyungeun >> >> >> >> >> >> *보낸 사람: *Wolfgang Bangerth >> *보낸 날짜: *2021년 6월 29일 화요일 오후 8:11 >> *받는 사람: *[email protected] >> *제목: *Re: [deal.II] About installation >> >> >> >> On 6/29/21 10:06 AM, Hyun-Geun Shin wrote: >> >> > [ 10%] Building CXX object >> >> > source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o >> >> > >> >> > c++: fatal error: Killed signal terminated program cc1plus >> >> >> >> Hyungeun: >> >> This typically means that the compiler is running out of memory. If you >> did >> >> make -j4 install >> >> or similar, try to reduce the number of jobs running concurrently to >> >> make -j1 install >> >> If you didn't specify -j at all, then you don't even have enough memory >> to run >> >> the compiler just once and you need to increase the memory you give the >> >> virtual machine. >> >> >> >> Best >> >> W. >> >> >> >> >> >> -- >> >> ------------------------------------------------------------------------ >> >> Wolfgang Bangerth email: [email protected] >> >> www: http://www.math.colostate.edu/~bangerth/ >> >> >> >> -- >> >> The deal.II project is located at http://www.dealii.org/ >> >> For mailing list/forum options, see >> https://groups.google.com/d/forum/dealii?hl=en >> >> --- >> >> You received this message because you are subscribed to the Google Groups >> "deal.II User Group" group. >> >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/dealii/6a4384c9-07cf-6ca8-559e-c1bc6aa603d3%40colostate.edu >> . >> >> >> > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/4c91d882-7125-4b57-9b00-24f1043de163n%40googlegroups.com > <https://groups.google.com/d/msgid/dealii/4c91d882-7125-4b57-9b00-24f1043de163n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAFYNkNNO3sL8dxXck1HQzdFxwYSY7Rod%2BbR-Pid6j7QDR7fhfQ%40mail.gmail.com.
