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

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