Any success in compiling octave 1.93 for solaris2.5 ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Any success in compiling octave 1.93 for solaris2.5 ?

Dutt, Vinayak, Ph.D.
Bug report for Octave 1.93 configured for sparc-sun-solaris2.5

Description:
-----------

  I have been unable to compile octave for SPARC-Solaris 2.5. I
  have Sun's SPARC Compilers (3.0) (C/C++/F77) of which f77 is
  used for compiling FORTRAN code in Octave. I also have installed
  precompiled gcc packages: gcc/g++ in /opt/FSFgcc and libg++ in /opt/FSFlibg++
  which I am using for compiling the rest of the code. I find that
  I can compile more or less everything but finally compilation dies
  in src when it tries to link the code. I get huge number of undefined
  references and the compiler dies.

  So I wanted to know if anyone else has been able to install octave on
  Suns (SunOS 5.5).




Configuration (please do not edit this section):
-----------------------------------------------

uname output:     SunOS us0 5.5 Generic sun4m sparc SUNW,SPARCsystem-600
configure opts:   --prefix=/home/us0/vdp/local --enable-dld --enable-lite-kernel
Fortran compiler: f77
FFLAGS:           -O
F2C:              
F2CFLAGS:        
FLIBS:            -Xlinker -R -Xlinker /opt/SUNWspro/lib   -L /opt/SUNWspro/lib -L /opt/SUNWspro/SC3.0.1/lib -L /usr/ccs/lib -L /usr/lib /opt/SUNWspro/SC3.0.1/lib/libM77.a -lF77 -lsunmath
CPPFLAGS:        
INCFLAGS:         -I/home/us0/vdp/local/include -I/home/us0/vdp/local/include/octave-1.93
C compiler:       gcc, version 2.7.2
CFLAGS:           -DHAVE_CONFIG_H  -O -Wall
CPICFLAG:         -fPIC
C++ compiler:     c++, version 2.7.2
CXXFLAGS:         -DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O -Wall
CXXPICFLAG:       -fPIC
LDFLAGS:          -O
LIBFLAGS:         -L/home/us0/vdp/local/lib
RLD_FLAG:         -Xlinker -R -Xlinker /home/us0/vdp/local/lib
CXXLIBS:          -lsocket -lstdc++ -lm -L/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2 -L/opt/FSFlibg++/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/FSFgcc/lib -lsocket -lstdc++ -lm -lc -lgcc
TERMLIBS:         -ltermcap
LIBS:            
LEXLIB:           -ll
LIBPLPLOT:        
LIBDLFCN:        
DEFS:

  -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" -DUSE_GNU_INFO=1
  -DUSE_READLINE=1 -DOCTAVE_LITE=1 -DHAVE_LIBSOCKET=1 -DSIZEOF_SHORT=2
  -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
  -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1
  -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1
  -DHAVE_CURSES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1
  -DHAVE_FLOATINGPOINT_H=1 -DHAVE_GRP_H=1 -DHAVE_IEEEFP_H=1
  -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NAN_H=1 -DHAVE_PWD_H=1
  -DHAVE_SGTTY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
  -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=1
  -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1
  -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMIO_H=1
  -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VARARGS_H=1
  -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_ATEXIT=1
  -DHAVE_BCOPY=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1
  -DHAVE_ENDPWENT=1 -DHAVE_EXECVP=1 -DHAVE_FCNTL=1 -DHAVE_FORK=1
  -DHAVE_GETCWD=1 -DHAVE_GETEGID=