Octave 3.0.1 does not build on RHEL WS 4

Johann Cohen-Tanugi cohen at slac.stanford.edu
Wed Apr 30 10:03:51 CDT 2008


well, as a matter of fact I dont see -I/usr/include in the compiler 
command. Maybe it is related....
Could you issue the command by hand adding this to it?
Again, no expertise here.....
Johann


Ernest L. Williams Jr. wrote:
> Johann Cohen-Tanugi wrote:
>> hello, I am no expert, but might it be that you are missing 
>> zlib-devel package?
>>   
> Where did you get that idea?
> I am new to octave and would like to get started on RHEL 4
>
> In any case I do have zlib-devel installed:
>
>
> =============================================================================== 
>
> RHEL WS 4 (Nahant Update 6)       2.6.9-67.0.7.ELsmp (8x2793MHz 
> PowerEdge 2850)
> =============================================================================== 
>
> [ernesto at lcls-dev2 ~]$ rpm -qa |grep zlib
> zlib-devel-1.2.1.2-1.2
> zlib-1.2.1.2-1.2
>
>
>
> Cheers,
> Ernesto
>
>> cheers,
>> Johann
>>
>> Ernest L. Williams Jr. wrote:
>>  
>>> Hi,
>>>
>>> Please help:
>>> [ernesto at lcls-dev2 octave-3.0.1-build]$ more /etc/redhat-release
>>> Red Hat Enterprise Linux WS release 4 (Nahant Update 6)
>>> [ernesto at lcls-dev2 octave-3.0.1-build]$ uname -a
>>> Linux lcls-dev2 2.6.9-67.0.7.ELsmp #1 SMP Wed Feb 27 04:48:20 EST 
>>> 2008 i686 i686 i386 GNU/Linux
>>>
>>>
>>>
>>> =============================================================
>>> Octave 3.0.x does not build for our production Linux OS: RHEL WS4
>>> =============================================================
>>>
>>> g++ -c -I/usr/include/pcre -fPIC -I. -I../../octave-3.0.1/src -I.. 
>>> -I../liboctave -I../src -I../libcruft/misc -I../../octav         
>>> ctave-3.0.1/liboctave -I../../octave-3.0.1/src 
>>> -I../../octave-3.0.1/libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall 
>>> -W -Wsha         ast -g -O2 
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc -o pic/c-file-ptr-stream.o
>>> In file included from ../../octave-3.0.1/src/c-file-ptr-stream.cc:28:
>>> ../../octave-3.0.1/src/c-file-ptr-stream.h: In member function `void 
>>> c_zfile_ptr_buf::clear()':
>>> ../../octave-3.0.1/src/c-file-ptr-stream.h:189: error: `gzclearerr' 
>>> was not declared in this scope
>>> ../../octave-3.0.1/src/c-file-ptr-stream.h:189: warning: unused 
>>> variable 'gzclearerr'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc: In member function `int 
>>> c_zfile_ptr_buf::underflow_common(bool)':
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:231: error: `gzungetc' 
>>> was not declared in this scope
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:231: warning: unused 
>>> variable 'gzungetc'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc: In member function 
>>> `virtual int c_zfile_ptr_buf::pbackfail(int)':
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:247: error: `gzungetc' 
>>> was not declared in this scope
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:247: warning: unused 
>>> variable 'gzungetc'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc: In member function 
>>> `virtual std::streamsize c_zfile_ptr_buf::xsputn(const char         
>>> e)':
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:258: error: invalid 
>>> conversion from `const void*' to `void*'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:258: error:   
>>> initializing argument 2 of `int gzwrite(void*, void*, unsigned in
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc: At global scope:
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:292: warning: unused 
>>> parameter 'offset'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:275: warning: unused 
>>> parameter 'offset'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:275: warning: unused 
>>> parameter 'dir'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:148: warning: unused 
>>> parameter 'offset'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:131: warning: unused 
>>> parameter 'offset'
>>> ../../octave-3.0.1/src/c-file-ptr-stream.cc:131: warning: unused 
>>> parameter 'dir'
>>> make[2]: *** [pic/c-file-ptr-stream.o] Error 1
>>> make[2]: Leaving directory 
>>> `/afs/slac.stanford.edu/u/cd/ernesto/sandbox/octave-3.0.1-build/src'
>>> make[1]: *** [src] Error 2
>>> make[1]: Leaving directory 
>>> `/afs/slac.stanford.edu/u/cd/ernesto/sandbox/octave-3.0.1-build'
>>> make: *** [all] Error 2
>>>
>>> Any ideas?
>>>
>>>
>>>
>>>
>>>
>>> Also, here is the result of my configure command:
>>> ============================================================
>>> Octave is now configured for i686-pc-linux-gnu
>>>
>>>  Source directory:     ../octave-3.0.1
>>>  Installation prefix:  /nfs/slac/g/lcls/build/package/octave
>>>  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -g -O2
>>>  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow 
>>> -Wold-style-cast -g -O2
>>>  Fortran compiler:     g77 -O -mieee-fp
>>>  Fortran libraries:     -L/usr/lib/gcc/i386-redhat-linux/3.4.6 
>>> -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lz -lfrtbegin -lg2c 
>>> -lm
>>>  BLAS libraries:       -llapack -lblas
>>>  FFTW libraries:
>>>  GLPK libraries:
>>>  UMFPACK libraries:
>>>  AMD libraries:
>>>  CAMD libraries:
>>>  COLAMD libraries:
>>>  CCOLAMD libraries:
>>>  CHOLMOD libraries:
>>>  CXSPARSE libraries:
>>>  HDF5 libraries:
>>>  CURL libraries:
>>>  REGEX libraries:      -L/usr/lib -lpcre
>>>  QHULL libraries:
>>>  LIBS:                 -lreadline  -lncurses -ldl -lz -lm
>>>  Default pager:        less
>>>  gnuplot:              gnuplot
>>>
>>>  Do internal array bounds checking:  false
>>>  Build static libraries:             false
>>>  Build shared libraries:             true
>>>  Dynamic Linking:                    true (dlopen)
>>>  Include support for GNU readline:   true
>>>  64-bit array dims and indexing:     false
>>>
>>> configure: WARNING: I didn't find gperf, but it's only a problem if 
>>> you need to reconstruct oct-gperf.h
>>> configure: WARNING: UMFPACK not found.  This will result in some 
>>> lack of functionality for sparse matrices.
>>> configure: WARNING: COLAMD not found. This will result in some lack 
>>> of functionality for sparse matrices.
>>> configure: WARNING: CCOLAMD not found. This will result in some lack 
>>> of functionality for sparse matrices.
>>> configure: WARNING: CHOLMOD not found. This will result in some lack 
>>> of functionality for sparse matrices.
>>> configure: WARNING: CXSparse not found. This will result in some 
>>> lack of functionality for sparse matrices.
>>> configure: WARNING: FFTW library not found.  Octave will use the 
>>> (slower) FFTPACK library instead.
>>> configure: WARNING: GLPK library not found.  The glpk function for 
>>> solving linear programs will be disabled.
>>> configure: WARNING: HDF5 library not found.  Octave will not be able 
>>> to save or load HDF5 data files.
>>> configure: WARNING: Qhull library not found --- This will result in 
>>> loss of functionality of some geometry functions.
>>> configure:
>>>
>>> NOTE: libraries may be skipped if a library is not found OR
>>>      if the library on your system is missing required features.
>>>
>>>
>>>
>>> Thanks,
>>> Ernesto
>>> _______________________________________________
>>> Help-octave mailing list
>>> Help-octave at octave.org
>>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>>       
>> _______________________________________________
>> Help-octave mailing list
>> Help-octave at octave.org
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>   
>


More information about the Help-octave mailing list