Building OpenSees on Mac OS X 10.8 (mountain lion)
Moderators: silvia, selimgunay, Moderators
-
- Posts: 4
- Joined: Tue Nov 18, 2008 6:11 pm
- Location: UCSD Structural Engineering
Building OpenSees on Mac OS X 10.8 (mountain lion)
Has anyone sucessfully built OpenSees on Mountain Lion? I get the following error after running the 'make' command:
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error: unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error: unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
-
- Posts: 4
- Joined: Tue Nov 18, 2008 6:11 pm
- Location: UCSD Structural Engineering
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
Or possibly on OS X 10.7?
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
The error message is the same I got on OpenSuse Linux (http://opensees.berkeley.edu/community/ ... =3&t=56335).
The work-around was to edit Makefile.def and change the linkflags options. The compilation succeeded once the option -Wl was commented out (#):
LINKFLAGS = -rdynamic #-Wl
The work-around was to edit Makefile.def and change the linkflags options. The compilation succeeded once the option -Wl was commented out (#):
LINKFLAGS = -rdynamic #-Wl
-
- Posts: 4
- Joined: Tue Nov 18, 2008 6:11 pm
- Location: UCSD Structural Engineering
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
If I comment out the -Wl linkflag then I get the following errors instead. I have installed gfortran from a number of sources... but can't seem to get it to work.
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
Undefined symbols for architecture x86_64:
"_quadmath_snprintf", referenced from:
_write_float in libgfortran.a(write.o)
"_strtoflt128", referenced from:
__gfortrani_convert_real in libgfortran.a(read.o)
__gfortrani_convert_infnan in libgfortran.a(read.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
Anyone been able to build on 10.7 or 10.8 yet?
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
Undefined symbols for architecture x86_64:
"_quadmath_snprintf", referenced from:
_write_float in libgfortran.a(write.o)
"_strtoflt128", referenced from:
__gfortrani_convert_real in libgfortran.a(read.o)
__gfortrani_convert_infnan in libgfortran.a(read.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
Anyone been able to build on 10.7 or 10.8 yet?
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
Please, could you show your make file?
It seems a problem in linking with fortran libraries.
mida
It seems a problem in linking with fortran libraries.
mida
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
i have added a Makefile.def.MacOS10.8 to the MAKES directory.
i downloaded and installed the latest version of gcc (at time i installed it) before i built OpenSees
the config options i used to build the gcc Makefile is in the Makefile.def
i downloaded and installed the latest version of gcc (at time i installed it) before i built OpenSees
the config options i used to build the gcc Makefile is in the Makefile.def
Re: Building OpenSees on Mac OS X 10.8 (mountain lion)
hi
can anyone say me ,what should i do to run opensees on mac os x 10.8? means which programs should i dw beside opensees and ... ??
i'm realy confused .
can anyone say me ,what should i do to run opensees on mac os x 10.8? means which programs should i dw beside opensees and ... ??
i'm realy confused .