Compile on Linux MInt 16

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

Moderators: silvia, selimgunay, Moderators

Post Reply
rubinho
Posts: 4
Joined: Wed Sep 19, 2012 5:51 am
Location: New University of Lisbon - Faculty Science and Technology

Compile on Linux MInt 16

Post by rubinho »

Dear fmk and all,

I am trying to compile OpenSees on linux Mint with the svn of University of Edinburgh and its giving me the following error:


make[1]: Leaving directory `/home/ruben/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/ruben/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/ruben/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/ruben/OpenSees/SRC/tcl'
g++: error: /home/ruben/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/ruben/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2


-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
Some additional relevant information:
Processor: 64 bits
SVN URL:https://svn.ecdf.ed.ac.uk/repo/see/OpenSeesEd/OpenSees/
Makefile: Makefile.def.EC2-UBUNTU
my changes to the Makefile:
TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl8.5.so

I already followed the instructions on this link: http://opensees.berkeley.edu/community/ ... =4&t=61445

If I use this changes with the svn of Berkeley ( svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk ) it works well.

please help me,
thanks in advance.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Compile on Linux MInt 16

Post by fmk »

cd to OpenSees/SRC and type make there and tell me what the errors you get there are.
rubinho
Posts: 4
Joined: Wed Sep 19, 2012 5:51 am
Location: New University of Lisbon - Faculty Science and Technology

Re: Compile on Linux MInt 16

Post by rubinho »

Thanks for the answer fmk. The problem is solved.

How to get the last command in the OpenSees terminal in Linux? The up key just gives me characters "^[[A" .

thanks in advance.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Compile on Linux MInt 16

Post by fmk »

you can't .. you can execute the previous command or an previous command with unix commands like ! and history.
userav
Posts: 7
Joined: Thu Oct 27, 2011 12:57 pm
Location: -

Re: Compile on Linux MInt 16

Post by userav »

> How to get the last command in the OpenSees terminal in Linux? The up key just gives me characters "^[[A" .

Try "rlwrap OpenSees".

man page:
rlwrap - readline wrapper.
rlwrap runs the specified command, intercepting user input in order to provide readline's line editing, persistent history and completion.
fangming
Posts: 11
Joined: Tue Nov 25, 2014 5:38 pm
Location: Harbin Institute of Technology

Re: Compile on Linux MInt 16

Post by fangming »

Dear rubinho,

As you said:

>Thanks for the answer fmk. The problem is solved.

I met the same problem with you. Could you kindly tell me how you figured this problem?
Thanks a lot !
Post Reply