compile in linux

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
solomona
Posts: 7
Joined: Wed Aug 30, 2006 2:11 am
Location: MFKG

compile in linux

Post by solomona »

Dear all,
J compile source in linux Mandriva and get this error ,can you help me?

LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
/bin/sh: ./OSverCreate.sh: Permission denied
make[1]: Entering directory `/home/zile/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/zile/OpenSees/SRC/tcl'
/bin/sh: ./OSverRemove.sh: Permission denied
make: *** [all] Error 126
simon
Posts: 4
Joined: Wed Aug 30, 2006 1:14 pm
Location: Los Angeles

Post by simon »

"OSverCreate.sh" and "OSverRemove.sh" need to have executable permission. You can change the permission by using "chmod" command.

1). open a terminal / shell prompt

2). change to the tcl directory by

Code: Select all

cd /home/zile/OpenSees/SRC/tcl
3). type

Code: Select all

chmod a+x OSverCreate.sh
chmod a+x OSverRemove.sh
4). recompile
solomona
Posts: 7
Joined: Wed Aug 30, 2006 2:11 am
Location: MFKG

Post by solomona »

yes j do that ,but now j have some other problem with tcl :

LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
: bad interpreter: No such file or directory
make[1]: Entering directory `/home/zile/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/zile/OpenSees/SRC/tcl'
: bad interpreter: No such file or directory
make: *** [all] Error 126
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

try version 1.7.3 as i recommend in your other thread on compiling in windows.
Post Reply