Jump to content
aarone

Installation (configure) problem

Recommended Posts

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!
 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×