Dear all,

I have  allready installed octave version 3.3.3 on os open suse 11.2 

and I try now to install the database-1.0.4 package:

configure looks ok but make wasn't successfull.

Thanks in advance for any hints!

Best regards,

Andrea

=======configure =============

checking for gcc... gcc                                     
checking for C compiler default output file name... a.out   
checking whether the C compiler works... yes                
checking whether we are cross compiling... no               
checking for suffix of executables...                       
checking for suffix of object files... o                    
checking whether we are using the GNU C compiler... yes     
checking whether gcc accepts -g... yes                      
checking for gcc option to accept ISO C89... none needed    
checking for mkoctfile... mkoctfile                         
retrieving compile and link flags from mkoctfile            
checking for F77_FUNC... yes                                
checking for SLList.h... no                                 
checking for lo_ieee_nan_value... yes                       
checking for octave_idx_type... yes                         
checking for quit.h... yes                                  
checking for octave... octave                               
checking for OCTAVE_VERSION in Octave... 3.2.2              
checking for octave_config_info('canonical_host_type') in Octave... i686-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so                            
checking whether ln -s works... yes                                                  
checking for ranlib... ranlib                                                        
checking for strip... strip                                                          
checking how to run the C preprocessor... gcc -E                                     
checking for grep that handles long lines and -e... /usr/bin/grep                    
checking for egrep... /usr/bin/grep -E                                               
checking for ANSI C header files... yes                                              
checking for sys/types.h... yes                                                      
checking for sys/stat.h... yes                                                       
checking for stdlib.h... yes                                                         
checking for string.h... yes                                                         
checking for memory.h... yes                                                         
checking for strings.h... yes                                                        
checking for inttypes.h... yes                                                       
checking for stdint.h... yes                                                         
checking for unistd.h... yes                                                         
checking postgresql/libpq-fe.h usability... no                                       
checking postgresql/libpq-fe.h presence... no                                        
checking for postgresql/libpq-fe.h... no                                             
checking mysql/mysql.h usability... yes                                              
checking mysql/mysql.h presence... yes                                               
checking for mysql/mysql.h... yes                                                    
checking sqlite3.h usability... no                                                   
checking sqlite3.h presence... no                                                    
checking for sqlite3.h... no                                                         
checking sql.h usability... no                                                       
checking sql.h presence... no                                                        
checking for sql.h... no                                                             
configure: creating ./config.status                                                  
config.status: creating Makeconf                                                     
 
  "$prefix" is /usr/local
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.2.2/site/m/octave-forge   
   oct-files: /usr/lib/octave/3.2.2/site/oct/i686-pc-linux-gnu/octave-forge
   binaries:  /usr/lib/octave/3.2.2/site/exec/i686-pc-linux-gnu            
alternatives:
   m-files:   /usr/share/octave/3.2.2/site/octave-forge-alternatives/m
   oct-files: /usr/lib/octave/3.2.2/site/octave-forge-alternatives/oct/i686-pc-linux-gnu

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${datarootdir}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      octave (version 3.2.2)
   mkoctfile:   mkoctfile for Octave 2
   swig:        pre-generated
   postgres:    postgresql/libpq-fe.h not found
   mysql:       yes
   sqlite3:     sqlite3.h not found
   odbc:        sql.h not found

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

======= make ===============
make[1]: Entering directory `/home/andrea/bin_archive/database-1.0.4/src'
CXXFLAGS="-fomit-frame-pointer -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g" mkoctfile -DHAVE_OCTAVE_32 -v -o mysql.oct -lmysqlclient mysql_wrap.cpp                                                                 
g++ -c -DH5_USE_16_API -fPIC -I/usr/include/octave-3.2.2 -I/usr/include/octave-3.2.2/octave -mieee-fp -fomit-frame-pointer -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DHAVE_OCTAVE_32 mysql_wrap.cpp -o mysql_wrap.o                                                                                                                                          
mysql_wrap.cpp: In member function ‘void octave_swig_type::install_global()’:                                                              
mysql_wrap.cpp:1197: error: ‘curr_sym_tab’ was not declared in this scope                                                                  
mysql_wrap.cpp:1197: error: ‘link_to_global_variable’ was not declared in this scope                                                       
mysql_wrap.cpp:1204: error: ‘symbol_record’ was not declared in this scope
mysql_wrap.cpp:1204: error: ‘sr’ was not declared in this scope
mysql_wrap.cpp:1204: error: ‘global_sym_tab’ was not declared in this scope
mysql_wrap.cpp: In function ‘void SWIG_Octave_SetModule(void*, swig_module_info*)’:
mysql_wrap.cpp:2110: error: ‘curr_sym_tab’ was not declared in this scope
mysql_wrap.cpp:2110: error: ‘link_to_global_variable’ was not declared in this scope
mysql_wrap.cpp: In function ‘octave_value_list _wrap_MYSQL_connector_fd_set(const octave_value_list&, int)’:
mysql_wrap.cpp:7579: error: ‘gptr’ was not declared in this scope
mysql_wrap.cpp:7579: error: expected ‘;’ before ‘arg2’
mysql_wrap.cpp:7604: error: ‘arg2’ was not declared in this scope
mysql_wrap.cpp:7604: error: expected primary-_expression_ before ‘)’ token
mysql_wrap.cpp:7607: error: ‘arg2’ was not declared in this scope
mysql_wrap.cpp: In function ‘octave_value_list _wrap_MYSQL_connector_fd_get(const octave_value_list&, int)’:
mysql_wrap.cpp:7622: error: ‘gptr’ was not declared in this scope
mysql_wrap.cpp:7622: error: expected ‘;’ before ‘result’
mysql_wrap.cpp:7632: error: ‘result’ was not declared in this scope
mysql_wrap.cpp:7633: error: expected type-specifier before ‘gptr’
mysql_wrap.cpp:7633: error: expected ‘)’ before ‘gptr’
mysql_wrap.cpp:7633: error: expected ‘)’ before ‘;’ token
mysql_wrap.cpp: In function ‘octave_value_list _wrap_MYSQL_METHODS_advanced_command_set(const octave_value_list&, int)’:
mysql_wrap.cpp:17608: error: invalid conversion from ‘my_bool (*)(MYSQL*, enum_server_command, const char*, long unsigned int, const char*, long unsigned int, my_bool, MYSQL_STMT*)’ to ‘my_bool (*)(MYSQL*, enum_server_command, const unsigned char*, long unsigned int, const unsigned char*, long unsigned int, my_bool, MYSQL_STMT*)’
mysql_wrap.cpp: In function ‘octave_value_list Fmysql(const octave_value_list&, int)’:
mysql_wrap.cpp:20790: error: ‘curr_sym_tab’ was not declared in this scope
mysql_wrap.cpp:20790: error: ‘link_to_global_variable’ was not declared in this scope
mysql_wrap.cpp: At global scope:
mysql_wrap.cpp:1765: warning: ‘octave_value_list octave_set_immutable(const octave_value_list&, int)’ defined but not used
mysql_wrap.cpp:853: warning: ‘void Swig::swig_register_director(octave_swig_type*, void*, Swig::Director*)’ declared ‘static’ but never defined
make[1]: *** [mysql.oct] Error 1
make[1]: Leaving directory `/home/andrea/bin_archive/database-1.0.4/src'
make: *** [build] Error 2

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to