help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HELP] Octave-1.1.1 Compilation with GCC-i2.6.3 on Pentium


From: John Utz
Subject: Re: [HELP] Octave-1.1.1 Compilation with GCC-i2.6.3 on Pentium
Date: Mon, 1 May 1995 15:39:00 -0700 (PDT)

Good day;

On Mon, 1 May 1995 address@hidden wrote:

> Hi there,
> 
> I have been trying to compile the octave-1.1.1 on my pentium 100MHz with 
> GCC-i2.6.3 to no avail.  The following is the warnings and errors generated 
> from './congifure --prefix=/home/local --srcdir=/home/local/octave-1.1.1
>  --enable-dld > /var/tmp/octave-bugs' and 'make', respectively:
> 
> +++++
> from './congifure ...'
>   configure: warning: Octave has only been tested with g++, and I can't find 
> it
>   configure: warning: Octave has only been tested with gcc, and I can't find 
> it

        this is the first warning that trouble lies ahead .... :-)

> 
> from 'make'
> ...
> Bounds.cc:28: warning: No include path in which to find iostream.h
> make[2]: Leaving directory `/home/local/octave-1.1.1/liboctave'
> make[2]: Entering directory `/home/local/octave-1.1.1/liboctave'
> c++ -c  -I. -I/home/local/octave-1.1.1/liboctave -I../src -I.. 
> -I../liboctave -I../src -I/home/local/octave-1.1.1 
> -I/home/local/octave-1.1.1/liboctave -I/home/local/octave-1.1.1/src 
> -DHAVE_CONFIG_H    -g -O Bounds.cc
> Bounds.cc:28: iostream.h: No such file or directory

ok, we cant find your include dirs either....

> make[2]: *** [Bounds.o] Error 1
> make[2]: Leaving directory `/home/local/octave-1.1.1/liboctave'
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/home/local/octave-1.1.1'
> make: *** [all] Error 2
> +++++
> 
> I have my gcc, g++, and g77 liasted on the path /usr/local/bin.  Also, 
> the cc, c++, gcc, g++, and f77 are symbollically linked from 
> /usr/local/bin to /usr/bin.  If I executed 'gcc -v', this is what I got:
> 

i would have thought this would work, it appears to at least in sofar as 
make ( btw are u using pmake or gmake ? octave's makefiles are written 
for gmake, and i know zip about linux's stock pmake.. )

> +++++
>     srse:/home/local/octave-1.1.1> gcc -v
>     Reading specs from /usr/local/lib/gcc-lib/pentium-linux/i2.6.3/specs
                                                ^^^^^^^^^^^^^
ummm. i think this is throwing it off...
>     gcc version i2.6.3
> +++++
> 

i would suggest either repathing your gcc setup to a more standard path ( 
which would basically be to do a mv up one level to get rid of the 
pentium-linux subdir ), or, probably a better idea would be to mske use 
of the gmake FLAGS argument when u invoke it....

gmake CFLAGS=-I/usr/local/lib/gcc-lib/pentium-linux/i2.6.3/include 
CXXFLAGS=/usr/local/lib/gcc-lib/pentium-linux/i2.6.3/( path to your 
include dirs go here ) 

this is documented more explicitly in the INSTALL file..


> So, seems like the gcc as well as others are available to octave.  If I 
> may ask what libraries does octave need?
> 
> BTW,  I also have fsqp.  Do this this really matter?  thank you for you 
> help in advanced.
> 

only matters if u are a math stud... :-)

>          .............................................................
> 
>                       COMPUTER VISION RESEARCH LABORATORY
> 
>                        Florida International University
>                 Electrical and Computer Engineering Department
>                            University Park, ECS-347
>                              Miami, FL 33199  USA
> 
>              PHONE: (305) 348-2807            FAX: (305) 348-3707
>                         EMAIL:  address@hidden
> 

*******************************************************************************
 John Utz       address@hidden
        idiocy is the impulse function in the convolution of life



reply via email to

[Prev in Thread] Current Thread [Next in Thread]