Jump to content

Recommended Posts

Posted

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!
 
Posted

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

Posted

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
Posted

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!

  • 2 weeks later...
Posted

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

Posted

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...

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...