Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Wed Nov 26, 2014 4:02 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
Unread postPosted: Mon Jul 14, 2003 4:38 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
For a few years now I have periodically attempted to compile GNU Octave on my SGI, alway with less than marginal success. I recently downloaded the source from http://www.octave.org/ which is version 2.1.50. This is the first version I've gotten to compile with errors!!! Unfortunately, it immediatly Bus error (core dump) when I run the executable. I used
./configure --with-local-prefix=/usr/freeware --with-g77 --enable-shared --enable-dl --disable-readline
and gmake with gcc version 3.2.2.
I read in the octave README.Linux file
Quote:
If you can compile Octave, but it crashes with a segmentation fault
right away, you probably have incompatible versions of libc and
libstdc++ installed, or you have a version of the dynamic loader,
ld.so, that is incompatible with your versions of the libraries, or
both.

When I check ldd I get:
Quote:
ldd ./octave
liboctinterp.so => /usr/local/lib/octave-2.1.50/liboctinterp.so
liboctave.so => /usr/local/lib/octave-2.1.50/liboctave.so
libcruft.so => /usr/local/lib/octave-2.1.50/libcruft.so
libscs.so => /usr/lib32/libscs.so
libcurses.so => /usr/lib32/libcurses.so
libdl.so => /usr/lib32/libdl.so
libmpi.so => /usr/lib32/libmpi.so
libm.so => /usr/lib32/libm.so
libc.so.1 => /usr/lib32/libc.so.1
libftn.so => /usr/lib32/libftn.so
libCsup.so => /usr/lib32/libCsup.so
libC.so.2 => /usr/lib32/libC.so.2
libCio.so.1 => /usr/lib32/libCio.so.1
libarray.so => /usr/lib32/libarray.so

Which doesn't look to me like it is picking up the /usr/freeware libraries. Another funny thing is if I issue the same configure command as above, but with the --disable-readline I get
Quote:
...
checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

even though I have readline 4.3 from the freeware.sgi.com site installed and only versions 4.2 and up are required.
Quote:
versions | grep readline
I fw_readline 05/23/2003 readline-4.3 GNU command line prompt libraries
I fw_readline.man 05/23/2003 readline-4.3 man pages
I fw_readline.man.examples 05/23/2003 readline-4.3 example programs
I fw_readline.man.info 05/23/2003 readline-4.3 info pages
I fw_readline.man.readline 05/23/2003 readline-4.3 man pages
I fw_readline.man.relnotes 05/23/2003 readline-4.3 release notes
I fw_readline.src 03/27/2003 readline-4.3 original source code
I fw_readline.src.readline 03/27/2003 readline-4.3 original source code
I fw_readline.sw 05/23/2003 readline-4.3 execution only env
I fw_readline.sw.dev 05/23/2003 readline-4.3 archive libraries
I fw_readline.sw.hdr 05/23/2003 readline-4.3 header files
I fw_readline.sw.lib 05/23/2003 readline-4.3 shared libraries
I fw_readline.sw.readline 05/23/2003 readline-4.3 prompt utility
I fw_readline.sw64 05/23/2003 readline-4.3 execution only env
I fw_readline.sw64.lib 05/23/2003 readline-4.3 64-bit shared libraries
I gnu.sw.lib_readline 03/27/2003 GNU readline library

This software (an analytical package very MATLAB compatible) is the holy grail of freeware builts to me. If some one out there could help me build it on my machine I would be eternally grafteful. (I even paid The Written Word once to compile it for me...without much luck.) :?


Top
 Profile  
 
Unread postPosted: Tue Jul 15, 2003 2:32 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
Well I gave it a quick try using my preferred method for compiling against Freeware:

CFLAGS '-I/usr/freeware/include -O3'
LDFLAGS '-L/usr/freeware/lib32'

However, the configure script died with:

'configure error: linking to Fortran libraries from C fails'

I think my build of gcc-3.3 is missing Fortran support. Hopefully the August Freeware will be out soon so I can just go with an "official" gcc-3.3 (I really hope they include it!)

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
Unread postPosted: Thu Jul 17, 2003 4:09 pm 
Offline

Joined: Thu Jul 17, 2003 3:44 pm
Posts: 3
Location: Louisville, KY USA
Octave can compile, and like you've I've tried off and on for sometime but to no-avail.
Last March, I finally took it on and got it to compile nicely with the MipsPro 7.3
compiler. Here is what I used as a 'Build script'


#!/bin/bash
#
#
export CC="cc -n32 -mips4 -mp -apo -O3 "
export CXX="CC -n32 -mips4 -mp -apo -O3 "
export F77="f77 -n32 -mips4 -mp -apo -O3 "
export CFLAGS=" -apo -n32 -mips4 -O3 -mp -I/usr/freeware/include"
export CXXFLAGS="-apo -n32 -LANG:std -ptused -prelink -mips4 -O3 -mp -I/usr/freeware/include -woff 3333"
export FFLAGS="-apo -n32 -mips4 -O3 -mp "
export LDFLAGS="-apo -n32 -mips4 -L/usr/lib32/mips4 -L/usr/freeware/lib32"
export LIBS="-lfastm -lreadline -lncurses -lmp -lpthread"
export FLIBS="-lftn -lfastm -lmp -lpthread"
export MAKE="gmake -j35"
./configure --prefix=/sw/freeware --enable-shared --disable-static --enable-rpath='-rpath /usr/lib32:$(octlibdir):/usr/freeware/lib32' --with-blas=scs_mp

-------

There is one more thing:
You will need some special headers that fake the C++ ISO standard headers. I put these
over in /usr/freeware/include but you can place them where you need. I got these from
one of the Octave developers, but I don't think he would mind if I passed the along.
You can fetch them via ftp at ftp://egypt.spd.louisville.edu/pub/CC-isoheaders.tar


Also note: I've been told to expect precision problems with -lfastm so it's optional.
Double also note: This is for a parallel version of Octave. A single processor version
should be much easier. <Grin>

Best Regards,
CHuck


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jul 17, 2003 5:21 pm 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
This is so unbelievably incredible...I was dumbstruck for 5 minutes before I could respond.
:shock: :arrow: :o :arrow: :D
I'll give it a try tomorrow evening (parallel processing!!).

Thank you kind stranger.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jul 19, 2003 5:15 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
squeen wrote:
This is so unbelievably incredible...I was dumbstruck for 5 minutes before I could respond.
:shock: :arrow: :o :arrow: :D
I'll give it a try tomorrow evening (parallel processing!!).

Thank you kind stranger.


I'm still having some problems getting it to build; though it might just be me :) Anyone else getting this error?

Code:
cc-3234 CC: ERROR File = ./TEMPLATE-INST/Array-tc.cc, Line = 42
  Explicit specialization of function "Array<octave_value>::resize_fill_value"
          must precede its first use.

  Array<octave_value>::resize_fill_value (void)
                       ^

1 error detected in the compilation of "./TEMPLATE-INST/Array-tc.cc".

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jul 19, 2003 9:03 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
hmmm, i will attempt a build next week, when i'm at camp. Other builds i will attempt are:

Transcode
Jashakah
Celestia
Terragen
Faad2 (We almost had this!)
xmame/xmess-0.71
Lyx

If anyone can come up with some more packages to build, let me know...


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jul 19, 2003 9:58 am 
Offline
User avatar

Joined: Fri Feb 21, 2003 6:29 am
Posts: 786
Location: Ypsitucky, MI
I'd like to help out with porting unix software once I'm up and running with mips pro/GCC. :)


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 22, 2003 9:27 am 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 30, 2003 5:29 am
Posts: 2483
Location: Kabul, Afghanistan, Asia
That´s so nice... I´m off forum for a coupple of days and you guys lay down another quality plan to port stuff. Respect. Respect. Respect.

_________________
...only chemist in .af?
Eroteme.ch - eternally unfinished and never started


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 22, 2003 3:44 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
dexter1 wrote:
hmmm, i will attempt a build next week, when i'm at camp. Other builds i will attempt are:

Transcode
Jashakah
Celestia
Terragen
Faad2 (We almost had this!)
xmame/xmess-0.71
Lyx

If anyone can come up with some more packages to build, let me know...


Hmm, just a couple:

wxPython (for BitTorrent)
xine (with IRIX audio/OpenGL plugins - for AAC playback)

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
Unread postPosted: Thu Jul 24, 2003 1:14 pm 
Offline

Joined: Thu Jul 17, 2003 3:44 pm
Posts: 3
Location: Louisville, KY USA
Opps. I believe it's the only file that needs to be changed
to make Octave compile.

The template in Array-tc.cc is not used, and can be simply
remarked out.

#ifdef 0
template<>
octave_value
Array<octave_value>::resize_fill_value (void)
{
...blah
}
#endif

Sorry I forgot to mention that.

Have fun.


Top
 Profile  
 
Unread postPosted: Thu Jul 24, 2003 2:17 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
Great! I'll give it another go this evening. Thanks!

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jul 24, 2003 2:47 pm 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
I've been seriously tied up this week -- but the minute I have some time....

Is the MIPS Pro C++ compiler a pre-requist for this method? I assumed it is and so have been making arrangments to obtain a temporary license.

Thanks again. I'll let you know how it goes next week.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jul 24, 2003 2:54 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
squeen wrote:
I've been seriously tied up this week -- but the minute I have some time....

Is the MIPS Pro C++ compiler a pre-requist for this method? I assumed it is and so have been making arrangments to obtain a temporary license.

Thanks again. I'll let you know how it goes next week.


Yes, along with Fortran/APO licenses. I have everything set up, just can't do it from here (I'm at work) :)

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jul 25, 2003 12:10 am 
Offline
User avatar

Joined: Wed Feb 05, 2003 6:23 am
Posts: 274
Location: England
dexter1 wrote:
]Terragen


I wasn't aware of the source for this being available. Is it?

_________________
--
lisa


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jul 25, 2003 9:22 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7991
Location: Pleasanton, California
squeen wrote:
I've been seriously tied up this week -- but the minute I have some time....

Is the MIPS Pro C++ compiler a pre-requist for this method? I assumed it is and so have been making arrangments to obtain a temporary license.

Thanks again. I'll let you know how it goes next week.


Here it is:

http://www.nekochan.net/wiki/downloads/octav ... s4.tardist

This is built without -lfastm since I figured precision might be important for something like this. However, it's also optimized for multi-processor use.

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group