Problem in installing opensees through open gl
Moderators: silvia, selimgunay, Moderators
-
- Posts: 12
- Joined: Fri Jul 20, 2007 10:02 am
- Location: IIT, Bombay
Problem in installing opensees through open gl
Dear Sukumar and all,
As mentioned by u, I looked at ur post to pallavi where u have suggested the way of installing opensees through open gl. There are some problems:
while installing gcc, gcc-g++, etc, the yum command gives the following error,
"Cannot find a valid baseurl for repo:core"
One of the forums suggested of changing the files in the yum directory, i.e. to uncomment the base url line and comment the mirrorlist line. I am not sure whether to make such change or not.
i have installed tcl and tk versions 8.4.15 and i have 1.7.4 version of opensees. I hope they are compatible.
installation of mesa(eqv to open gl)..how to do this installatio or it comes default with fedora 5.
i have dowloaded the blitz library. but where and how is this library to be installed. u have mentioned that it should be installed in /home/user_name. Is it to be installed where i have the other directories. viz tcl, tk and finally opensees.??
finally what are the changes to be made in the makefile that is where and how the paths are to be changed.
Do i need to have software developement packages be installed along with fedora 5 for runnning opensees ?
Please reply if anything is familiar to you all.
Regards,
Vishal Bhatia
As mentioned by u, I looked at ur post to pallavi where u have suggested the way of installing opensees through open gl. There are some problems:
while installing gcc, gcc-g++, etc, the yum command gives the following error,
"Cannot find a valid baseurl for repo:core"
One of the forums suggested of changing the files in the yum directory, i.e. to uncomment the base url line and comment the mirrorlist line. I am not sure whether to make such change or not.
i have installed tcl and tk versions 8.4.15 and i have 1.7.4 version of opensees. I hope they are compatible.
installation of mesa(eqv to open gl)..how to do this installatio or it comes default with fedora 5.
i have dowloaded the blitz library. but where and how is this library to be installed. u have mentioned that it should be installed in /home/user_name. Is it to be installed where i have the other directories. viz tcl, tk and finally opensees.??
finally what are the changes to be made in the makefile that is where and how the paths are to be changed.
Do i need to have software developement packages be installed along with fedora 5 for runnning opensees ?
Please reply if anything is familiar to you all.
Regards,
Vishal Bhatia
Re: Problem in installing opensees through open gl
VISHAL BHATIA wrote:Dear Sukumar and all,
As mentioned by u, I looked at ur post to pallavi where u have suggested the way of installing opensees through open gl. There are some problems:
while installing gcc, gcc-g++, etc, the yum command gives the following error,
"Cannot find a valid baseurl for repo:core"
One of the forums suggested of changing the files in the yum directory, i.e. to uncomment the base url line and comment the mirrorlist line. I am not sure whether to make such change or not.
i have installed tcl and tk versions 8.4.15 and i have 1.7.4 version of opensees. I hope they are compatible.
installation of mesa(eqv to open gl)..how to do this installatio or it comes default with fedora 5.
---------------------
some sort of opengl (it may be mesa) gets installed by default with fedora 5.
I use ubuntu, and the library files are in /usr/lib
-------------
i have dowloaded the blitz library. but where and how is this library to be installed. u have mentioned that it should be installed in /home/user_name. Is it to be installed where i have the other directories. viz tcl, tk and finally opensees.??
finally what are the changes to be made in the makefile that is where and how the paths are to be changed.
Do i need to have software developement packages be installed along with fedora 5 for runnning opensees ?
----------------------------------
yes, you will need it in order to be able to compile the source code - then gcc, g++, gfortran will get installed for you by defualt.
cheers,
alisa
-----------------------------------
Please reply if anything is familiar to you all.
Regards,
Vishal Bhatia
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Dear Vishal,
Please see my earlier post dated Feb21, 2007, where instructions for compiling using X11 is given. Detailed help to install blitz etc are also given in the same post. After u follow the initial instructions, the Makefile.def file given in the post can directly be copied. If u have root permission on ur system, then install everything as root, with home directory as /usr/local. This will make OpenSees available to all other users of ur system, with appropriate modification of the ".bash_profile" file in their home dir. (Note the dot in the beginning of the file name--used to keep the file hidden to avoid accidental modification).
Hope the post referred above would be helpful to u. Reg yum installation, pl check ur internet connectivity. Many a times, due to slow connection, timed-out error occurs; but in that case system should try other mirrors automatically. In fact while installing Fedora, one should install all the glibs and legacy software support (in the development menu during installinf Fedora)
Since ur earlier installation did not succeed, type "make clean" (without the quotes) in the shell before u try to re-install. (The above post also gives detailed instruction for this.)
Regards and waiting to listen from u.
(Sukumar)
Please see my earlier post dated Feb21, 2007, where instructions for compiling using X11 is given. Detailed help to install blitz etc are also given in the same post. After u follow the initial instructions, the Makefile.def file given in the post can directly be copied. If u have root permission on ur system, then install everything as root, with home directory as /usr/local. This will make OpenSees available to all other users of ur system, with appropriate modification of the ".bash_profile" file in their home dir. (Note the dot in the beginning of the file name--used to keep the file hidden to avoid accidental modification).
Hope the post referred above would be helpful to u. Reg yum installation, pl check ur internet connectivity. Many a times, due to slow connection, timed-out error occurs; but in that case system should try other mirrors automatically. In fact while installing Fedora, one should install all the glibs and legacy software support (in the development menu during installinf Fedora)
Since ur earlier installation did not succeed, type "make clean" (without the quotes) in the shell before u try to re-install. (The above post also gives detailed instruction for this.)
Regards and waiting to listen from u.
(Sukumar)
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
-
- Posts: 12
- Joined: Fri Jul 20, 2007 10:02 am
- Location: IIT, Bombay
Problem in installing make file for opensees
Dear Sukumar,
Well i went through ur mail posted to pallavi and got the procedure for installing opensees through X11. I made all the installations but in the end, when i try to install opensees, when i give the 'make' command, it shows the following error:
Makefile.def:193: *** missing separator. Stop.
I dont understand this error. Could you please suggest something for this error.Also, do we have to replace the makefile.def already existing in the opensees directory by the new makefile..which u posted. Please suggest something.
Regards,
Vishal
Well i went through ur mail posted to pallavi and got the procedure for installing opensees through X11. I made all the installations but in the end, when i try to install opensees, when i give the 'make' command, it shows the following error:
Makefile.def:193: *** missing separator. Stop.
I dont understand this error. Could you please suggest something for this error.Also, do we have to replace the makefile.def already existing in the opensees directory by the new makefile..which u posted. Please suggest something.
Regards,
Vishal
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Re: Reg Installing OpenSees using X11
Dear Vishal,
Yes, you need to replace the original Makefile.def by the new Makefile you got. Save the original makefile.def in some other name and rename the new one as Makefile.def and place it in the same folder where the earlier one was.
Best wishes
Yes, you need to replace the original Makefile.def by the new Makefile you got. Save the original makefile.def in some other name and rename the new one as Makefile.def and place it in the same folder where the earlier one was.
Best wishes
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-
- Posts: 12
- Joined: Fri Jul 20, 2007 10:02 am
- Location: IIT, Bombay
Problem in opensees make file
Dear Sukumar,
I have replaced the makefile.def, but I am not able to debug the error message that i mentioned in the previous post. Can u suggest something regarding the error, because the make installation doesnot get completed due to that error.
Regards,
Vishal Bhatia
I have replaced the makefile.def, but I am not able to debug the error message that i mentioned in the previous post. Can u suggest something regarding the error, because the make installation doesnot get completed due to that error.
Regards,
Vishal Bhatia
Re: Problem in installing make file for opensees
It's a general typo kind of error for make.
The two things I can think of that cause it is that you need a \ to show that the thing you're writing wraps onto the next line, e.g.
WIPE_LIBS = $(FE_LIBRARY) \
$(NDARRAY_LIBRARY) \
etc.
The other thing is that in certain places the makefile expects tabs, (particularly on the next line after a \ ) and if you have spaces instead, make gets unhappy.
So I'd check your makefile carefully for those 2 conditions.
The two things I can think of that cause it is that you need a \ to show that the thing you're writing wraps onto the next line, e.g.
WIPE_LIBS = $(FE_LIBRARY) \
$(NDARRAY_LIBRARY) \
etc.
The other thing is that in certain places the makefile expects tabs, (particularly on the next line after a \ ) and if you have spaces instead, make gets unhappy.
So I'd check your makefile carefully for those 2 conditions.
VISHAL BHATIA wrote:Dear Sukumar,
Well i went through ur mail posted to pallavi and got the procedure for installing opensees through X11. I made all the installations but in the end, when i try to install opensees, when i give the 'make' command, it shows the following error:
Makefile.def:193: *** missing separator. Stop.
I dont understand this error. Could you please suggest something for this error.Also, do we have to replace the makefile.def already existing in the opensees directory by the new makefile..which u posted. Please suggest something.
Regards,
Vishal
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Pl copy the Makfile.def carefully
I think Aneeman's message gives u an idea what might have happened. Pl recopy carefully the Makefile.def from this site. Be sure not to leave any character unselected before copying.
The same file has worked for me, Pllavi and others in quite a large nos of PCs. So I think it should work for u as well.
Regards
The same file has worked for me, Pllavi and others in quite a large nos of PCs. So I think it should work for u as well.
Regards
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-
- Posts: 12
- Joined: Fri Jul 20, 2007 10:02 am
- Location: IIT, Bombay
Problem in installing make fie for opensees
Dear Sukumar and all,
As suggested by Aneeman and you, I put tabs around the lines giving error and those errors were removed. But now a new error has crept in..........
"make: *** No rule to make target `make', needed by `@echo'. Stop."
What should i do with this error. There is one more file in the opensees directory called makefile, is the error related to that file. Please solve my query.
Regards,
Vishal Bhatia
As suggested by Aneeman and you, I put tabs around the lines giving error and those errors were removed. But now a new error has crept in..........
"make: *** No rule to make target `make', needed by `@echo'. Stop."
What should i do with this error. There is one more file in the opensees directory called makefile, is the error related to that file. Please solve my query.
Regards,
Vishal Bhatia
Vishal:
Makefile is a file that is first called when you type "make".
You will notice that the first (non-comment) line of Makefile is,
include Makefile.def
so basically that links the 2 files together. You basically don't want to mess with Makefile. (Or, if for some reason it is corrupted, just download a new copy).
You need to start fresh with Makefile.def- that problem you mentioned is too difficult to debug remotely. What you might could do is go to OpenSees/MAKES and find a Makefile.def that is the most similar to the other one you want to use and try modifying it, instead of doing the copy-paste thing.
good luck,
alisa
Makefile is a file that is first called when you type "make".
You will notice that the first (non-comment) line of Makefile is,
include Makefile.def
so basically that links the 2 files together. You basically don't want to mess with Makefile. (Or, if for some reason it is corrupted, just download a new copy).
You need to start fresh with Makefile.def- that problem you mentioned is too difficult to debug remotely. What you might could do is go to OpenSees/MAKES and find a Makefile.def that is the most similar to the other one you want to use and try modifying it, instead of doing the copy-paste thing.
good luck,
alisa
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Dear Vishal,
I hope u did not modify the Makefile ! It is the Makefile.def file which i had put in this site and NOT the Makefile. If u have accidentally modified the Makefile, then pl. replace it by the one extracted from ur tar ball archive, i.e. opensees1.7.x.tar.gz u downloaded.
I think it would be best 4 u to start the whole process afresh, i.e., after u do makeclean of ur OpenSees. If possible, pl try to follow what Alisa has advised, by i) verifying ur location of lib files and ii) matching them to the declared locations in ur Makefile.def file. Infact this is how the Makefile.def u r using now was prepared. It is time taking but a rewarding experience.
However, I strongly believe that the Makefile.def file i posted should be useful for most of the usual Fedora 5 installations.
All the Best
I hope u did not modify the Makefile ! It is the Makefile.def file which i had put in this site and NOT the Makefile. If u have accidentally modified the Makefile, then pl. replace it by the one extracted from ur tar ball archive, i.e. opensees1.7.x.tar.gz u downloaded.
I think it would be best 4 u to start the whole process afresh, i.e., after u do makeclean of ur OpenSees. If possible, pl try to follow what Alisa has advised, by i) verifying ur location of lib files and ii) matching them to the declared locations in ur Makefile.def file. Infact this is how the Makefile.def u r using now was prepared. It is time taking but a rewarding experience.
However, I strongly believe that the Makefile.def file i posted should be useful for most of the usual Fedora 5 installations.
All the Best
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Dear Vishal,
I did not listen anything from u regarding ur installation. BTW, if u r interested, i can send my Makefile.def provided u let me know ur mail id through this forum.
Best Wishes
I did not listen anything from u regarding ur installation. BTW, if u r interested, i can send my Makefile.def provided u let me know ur mail id through this forum.
Best Wishes
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-
- Posts: 12
- Joined: Fri Jul 20, 2007 10:02 am
- Location: IIT, Bombay
Please send the make file
Dear Sukumar,
Thanks for ur concern. I have not achieved success with installation of opensess till now. Actually I shifted my attention to some other stuff of my project from some time.. But i will be really thankful if you could send ur makefile.def. I am using Fedora Core 5. My mail id is
vishalbhatia@iitb.ac.in
Regards,
Vishal Bhatia
Thanks for ur concern. I have not achieved success with installation of opensess till now. Actually I shifted my attention to some other stuff of my project from some time.. But i will be really thankful if you could send ur makefile.def. I am using Fedora Core 5. My mail id is
vishalbhatia@iitb.ac.in
Regards,
Vishal Bhatia