aarone Posted August 11, 2015 Report Share Posted August 11, 2015 Hi!, I'm trying to install SystemC by following the INSTALL doc instructions. > mkdir objdir > cd objdir > setenv CXX g++ > ../configure ../configure: Command not found. > There is no information about which command is not found. XTERM_SHELL=/usr/intel/pkgs/tcsh/6.15.00/bin/tcsh HOSTTYPE=x86_64 MACHTYPE=x86_64-suse-linux HOSTYPE=x86-64_linux_sles11 VER=sles11 Thanks in advance! Quote Link to comment Share on other sites More sharing options...
ralph.goergen Posted August 11, 2015 Report Share Posted August 11, 2015 Hi. configure is a file to be executed that should reside in your SystemC install directory. Did you create the objdir directory in the SystemC directory? Do you see the the file 'configure' in your SystemC directory? Greetings Ralph Quote Link to comment Share on other sites More sharing options...
aarone Posted August 11, 2015 Author Report Share Posted August 11, 2015 Hi Ralph, yes, to both questions. Thanks, Aaron Quote Link to comment Share on other sites More sharing options...
ralph.goergen Posted August 11, 2015 Report Share Posted August 11, 2015 Hi again, is the configure file marked as executable? ls -l ... -rwxr--r-- 1 myuser mygroup 576K Apr 17 2014 configure ... If not, add the executable flag. If yes, you could try sh ../configure Greetings Ralph Quote Link to comment Share on other sites More sharing options...
aarone Posted August 11, 2015 Author Report Share Posted August 11, 2015 Hi Ralph, yes, the program is executable. Running with sh I get: > sh ../configure : command not found16: ../configure: line 31: syntax error near unexpected token `newline' './configure: line 31: ` ;; > Thanks, Aaron Quote Link to comment Share on other sites More sharing options...
ralph.goergen Posted August 11, 2015 Report Share Posted August 11, 2015 Did you possibly open the file in an editor end change the line endings to Windows style? Line endings should be unix style. Quote Link to comment Share on other sites More sharing options...
aarone Posted August 11, 2015 Author Report Share Posted August 11, 2015 Yes, probably the problem was that I untar'd with Windows's winzip. I removed all and unpacked again, and the configure script run properly. Thanks Ralph! Quote Link to comment Share on other sites More sharing options...
Maryam Posted August 24, 2015 Report Share Posted August 24, 2015 Hello Aaron Could you configure that? Because I have an error in configuration: "Compiler not supported" Have you had that error? Do you know how can I fix this? Regards Maryam Quote Link to comment Share on other sites More sharing options...
Maryam Posted August 24, 2015 Report Share Posted August 24, 2015 Hello again Aarone, I am sorry for my mistake in spelling your name. Quote Link to comment Share on other sites More sharing options...
aarone Posted August 24, 2015 Author Report Share Posted August 24, 2015 NP, the name is indeed Aaron :-) No, that is not the problem I had (which was due to un-taring the package in Windows before using it in Linux). For your issue, check that you have g++ installed and you run > setenv CXX g++ Hope this helps... Quote Link to comment Share on other sites More sharing options...
Maryam Posted August 25, 2015 Report Share Posted August 25, 2015 Thanks Aarone Quote Link to comment Share on other sites More sharing options...
dakupoto Posted August 26, 2015 Report Share Posted August 26, 2015 NP, the name is indeed Aaron :-) No, that is not the problem I had (which was due to un-taring the package in Windows before using it in Linux). For your issue, check that you have g++ installed and you run > setenv CXX g++ Hope this helps... Hello, In addition to the excellent details that Ralph has provided, please note that there is no real need to creating the 'objdir'. After de-compressing the compressed file, simply 'cd' into the newly created directory with the source files and without making any changes to any of the shell scripts, just type './configure'. It should work. The final executable library, 'lib-linux' is stored in the same directory and may be accessed during compilation(absolute or relative directory path) and execution(LD_LIBRARY ....). Hope that helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.