Clay Fulcher wrote:
> Thank you Philip.
>
> Here is the information you asked for:
>
> - Octave version 3.2.4 (built with MinGW compiler) installed with
> Windows Installer
> - Packages that do not install:
> database-1.0.4
> fl-core-1.0.0
> nan-2.4.4
> octproj-1.0.2
> openmpi_ext-1.0.2
> parallel-2.0.5
> - Packages that did install (other than the ones included in the
> Installer):
> ad-1.0.6
> dataframe-0.8.2
> fuzzy-logic-toolkit-0.2.2
> multicore-0.2.15
> octclip-1.0.0
> tsa-4.1.1
> vrml-1.0.11
> - I have attached an Octave diary file that echoes all of the errors I
> get for the packages that did not install. I can the error message
> explicitly in email if the diary file doesn't work.

Thanks.

In Octave-3.4.2 MingW (a testing binary) the database-1.0.4 package 
didn't install either.

BTW I think it is preferrable to copy the error messages directly from 
the Octave terminal (in "Properties" of the terminal window, select 
"QuickEdit" under Options tab.
Then select all text by swiping the mouse cursor over it, and press 
Enter key.
Paste it into an editor or mail message using Ctrl-V.

Thus, for database-1.0.4, I get:

octave.exe:1> pkg install -verbose -forge database

<same configure messages as you>
Then (watch out for line wrap):

In file included from 
c:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\../octave/oct.h:31:0,
                  from odbc_wrap.cpp:149:
c:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\../octave/config.h:2686:25:
 
error: multiple types in one declaration
c:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\../octave/config.h:2686:25:
 
error: declaration does not declare anything
odbc_wrap.cpp:1442:24: error: invalid covariant return type for 'virtual 
Octave_map octave_swig_type::map_value() const'
c:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\../octave/ov-base.h:560:22:
 
error:
overriding 'virtual octave_map octave_base_value::map_value() const'
odbc_wrap.cpp: In member function 'void octave_swig_type::install_global()':
odbc_wrap.cpp:1197:28: error: 'curr_sym_tab' was not declared in this scope
odbc_wrap.cpp:1197:65: error: 'link_to_global_variable' was not declared 
in this scope
odbc_wrap.cpp:1204:8: error: 'symbol_record' was not declared in this scope
odbc_wrap.cpp:1204:23: error: 'sr' was not declared in this scope
odbc_wrap.cpp:1204:28: error: 'global_sym_tab' was not declared in this 
scope
odbc_wrap.cpp: At global scope:
odbc_wrap.cpp:1650:24: error: invalid covariant return type for 'virtual 
Octave_map octave_swig_ref::map_value() const'
c:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\../octave/ov-base.h:560:22:
 
error:
overriding 'virtual octave_map octave_base_value::map_value() const'
odbc_wrap.cpp: In function 'void SWIG_Octave_SetModule(void*, 
swig_module_info*)':
odbc_wrap.cpp:2110:27: error: 'curr_sym_tab' was not declared in this scope
odbc_wrap.cpp:2110:65: error: 'link_to_global_variable' was not declared 
in this scope
odbc_wrap.cpp: In function 'octave_value_list 
_wrap_SQLExtendedFetch(const octave_value_list&, int)':
odbc_wrap.cpp:5287:3: error: 'SQLROWSETSIZE' was not declared in this scope
odbc_wrap.cpp:5287:18: error: 'arg4' was not declared in this scope
odbc_wrap.cpp:5287:41: error: expected primary-expression before ')' token
odbc_wrap.cpp:5287:43: error: expected ';' before numeric constant
odbc_wrap.cpp:5324:26: error: expected primary-expression before ')' token
odbc_wrap.cpp: In function 'octave_value_list Fodbc(const 
octave_value_list&, int)':
odbc_wrap.cpp:9826:27: error: 'curr_sym_tab' was not declared in this scope
odbc_wrap.cpp:9826:65: error: 'link_to_global_variable' was not declared 
in this scope
g++: odbc_wrap.o: No such file or directory
make: *** [odbc.oct] Error 1
'make' returned the following error: make: Entering directory 
`/tmp/oct-2/database-1.0.4/src'
CXXFLAGS="-g" C:/Programs/Octave/3.4.2/bin/mkoctfile-3.4.2 
-Doctave_idx_type=int -DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_34 -v -o odbc.oct 
-lodbc32 odbc_wrap.cpp
g++ -shared-libgcc -c -I/c/Programs/gplibs/include 
-I/c/Programs/OctaveLibs/include -I/GnuWin32/include 
-Ic:\Programs\Octave\3.4.2\include\octave-3.4.2\octave\.. 
-Ic:\Programs\Octave\3.4.2\include\octave-3.4.2\octave 
-Ic:\Programs\Octave\3.4.2\include -mieee-fp 
-Ic:/Programs/gplibs/include/freetype2 -Ic:/Programs/gplibs/include 
-IC:/Programs/gplibs/include  -g    -Doctave_idx_type=int 
-DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_34 odbc_wrap.cpp -o odbc_wrap.o
g++ -shared-libgcc -shared -Wl,--export-all-symbols 
-Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc  -o odbc.oct 
  odbc_wrap.o   -lodbc32 -Lc:\Programs\Octave\3.4.2\lib\octave\3.4.2 
-Lc:\Programs\Octave\3.4.2\lib -loctinterp -loctave  -lcruft 
-L/c/Programs/gplibs/lib -L/c/Programs/OctaveLibs/lib -L/GnuWin32/lib 
-Wl,--allow-multiple-definition -Wl,--enable-auto-import 
-Wl,--enable-runtime-pseudo-reloc-v2 -lblas  -lfftw3  -lfftw3f -liberty 
-lm -lpthread -lgfortran -llapack -lgdi32 -lws2_32 -luser32 -lkernel32 
-lgdi32 -lws2_32 -luser32 -lkernel32 -Lc:/Programs/gplibs/lib 
-Lc:/Programs/OctaveLibs/lib -Lc:/Programs/GnuWin32/lib 
-Lc:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2 
-Lc:/programs/mingw/bin/../lib/gcc 
-Lc:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/lib 
-Lc:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2/../../.. -lm -lpthread 
-lgfortran -llapack -lmingw32-lmoldname -lmingwex -lmsvcrt -luser32 
-lkernel32 -ladvapi32 -lshell32
make: Leaving directory `/tmp/oct-2/database-1.0.4/src'
error: called from `pkg>configure_make' in file 
C:\Programs\Octave\3.4.2\share\octave\3.4.2\m\pkg\pkg.m near line 1339, 
column 9
error: called from:
error:   C:\Programs\Octave\3.4.2\share\octave\3.4.2\m\pkg\pkg.m at line 
790, column 5
error:   C:\Programs\Octave\3.4.2\share\octave\3.4.2\m\pkg\pkg.m at line 
361, column 9
octave.exe:3>

As you can see, debugging this may need some deep diving; but sometimes 
the bugs are just little things. A quick glance suggests that a number 
of declarations and some syntax need to be fixed in the source.

Perhaps (hopefully) you can have a first go yourself, but if you can't 
(i.e. if you're no c++ programmer) hopefully this can help others 
developers or users debug this.

Same goes for the other packages (I haven 't tried them).

I am interested in the database package myself, but at low priority in 
the foreseeable future (=until after the fall).

So I am sorry but I can't help much further :-(

Good luck, anyway

Philip

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to