Maryam Posted August 21, 2015 Report Share Posted August 21, 2015 Hi I am a beginner. I'm installing systemc231 on Ubuntu and I have done this Tar -xzvf systemc-2.3.1.tgz Cd systemc-2.3.1 Sudo mkdir /usr/local/systemc231 Mkdir objdir Cd objdir Export cxx="<compiler>" Export cxx=g++ Export cxx=clang++ Seven cxx g++ It answers :command not found Then I continued: ../configure It took a moment and check something but finally it answered : Configure:error: in /home/Ubuntu/systemc-2.3.1/objdir': Configure:error:c++compiler cannot create executables see 'config.log' for more details And then I continued : Make And it answered : Make:*** no targets specified no makefile found. Stop. Now what can l do? Quote Link to comment Share on other sites More sharing options...
Markus Posted November 6, 2015 Report Share Posted November 6, 2015 Hi maryam Let's start from the beginning... In the terminal, the commandmv systemc-2.3.1.tgz systemc-2.3.1.tarwill create a folder named systemc-2.3.1 in the same folder as tarball file is present. Atsystemc-2.3.1/src/sysc/datatypes/bit there should be a file named sc_bit_proxies.h which containsthe keyword mutable. It specifies that the member which follows does not affect the externallyvisible state of the class - this led to linking problems in my first attempt. Therefore, all the occurrencesof mutable should be deleted.To install the package, the bash can be used again:cd systemc-2.3.1sudo mkdir /usr/local/systemc-2.3mkdir objdircd objdirsudo ../configure prefix=/usr/local/systemc-2.3sudo makesudo make install Optionally, the rather long path to the packet’s location can be exported into an environment variable:export SYSTEMC_HOME=/usr/local/systemc-2.3/To make the changes permanent, the environment file has to be edited:sudo gedit /etc/environmentSYSTEMC_HOME=/usr/local/systemc-2.3/Lastly the path in LD_LIBRARY_PATH needs to be updated:export LD_LIBRARY_PATH=/usr/local/systemc-2.3/lib-linux64:$LD_LIBRARY_PATH Regards, Markus Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted November 26, 2015 Report Share Posted November 26, 2015 To me, the incomplete transcript looks like a broken compiler installation. Please make sure to install a C++ compiler, e.g. sudo aptitude install g++-multilib If that doesn't help, please post a full transcript of the installation steps (your listing contains several typos, which are expected to fail). At systemc-2.3.1/src/sysc/datatypes/bit there should be a file named sc_bit_proxies.h which containsthe keyword mutable. It specifies that the member which follows does not affect the externallyvisible state of the class - this led to linking problems in my first attempt. Therefore, all the occurrencesof mutable should be deleted. Markus, can you please share some details? The error you describe should have been fixed in SystemC 2.2.0 and later. Thanks, Philipp 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.