help-octave
[Top][All Lists]
Advanced

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

Re: Problem with database package installation OS X - bug report?


From: vbec
Subject: Re: Problem with database package installation OS X - bug report?
Date: Thu, 22 Sep 2011 17:20:52 -0700 (PDT)

Are you sure this is a package maintainer problem?

I am on a Linux platform and I can install a package perfectly well on
octave version 3.2.4, but it fails with similar problems on version 3.5.0,
to be specific I get the following error messages : 

//usr/local/bin/mkoctfile -o cv.oct -I../../../cv/include
-I../../../cxcore/include -I../../../ml/include -I../..
/../otherlibs/highgui -DCV_NO_BACKWARD_COMPATIBILITY -L../../../cv/src/.libs
-lcv cv_wrap.cpp  cvshadow.cpp error.cpp octhelpers.cpp
cv_wrap.cpp:1480:24: *error: invalid covariant return type for ‘virtual
Octave_map octave_swig_type::map_value() const’*
/usr/local/include/octave-3.5.0+/octave/../octave/ov-base.h:560:22: error:  
overriding ‘virtual octave_map octave_base_value::map_value() const’
cv_wrap.cpp:1688:24: *error: invalid covariant return type for ‘virtual
Octave_map octave_swig_ref::map_value() const’*
/usr/local/include/octave-3.5.0+/octave/../octave/ov-base.h:560:22: error:  
overriding ‘virtual octave_map octave_base_value::map_value() const’
cv_wrap.cpp: In function ‘char* IplImage___str(IplImage*)’:
cv_wrap.cpp:4357:12: warning: deprecated conversion from string constant to
‘char*’
cv_wrap.cpp: In function ‘char* CvMat___str(CvMat*)’:
cv_wrap.cpp:4664:12: warning: deprecated conversion from string constant to
‘char*’
make: *** [cv.oct] Error 1/

The package that I try to compile is an OpenCV binding for Octave using
SWIG. This error happens only when I choose to compile with mkoctfile. If I
instead use "gcc -shared -fPIC" it compiles just fine, but I then get
problems when installing the package with pkg install instead. There seems
to be no way around this (that I can see) but to fix the problem that is
introduced in the higher versions of Octave (mkoctfile).

Thanks!
martin_helm wrote:
> 
> Am Samstag, 7. Mai 2011, 15:57:04 schrieb Stuart Edwards:
>> On May 4, 2011, at 2:15 PM, Martin Helm wrote:
>> > Am Mittwoch, 4. Mai 2011, 19:47:17 schrieb Julien Salort:
>> >> Stuart Edwards <address@hidden> writes:
>> >>>>> I'm trying, without success,  to install the package
>> >>>>> 'database-1.0.4'. My octave is the latest 3.4 Mac binary (4/8/11)
>> >>>>> running on OS X 10.6.7
>> >>> 
>> >>> That cleared up the first  five warnings, but the sqlite3 problem
>> (and
>> >>> some others) remain (see below)
>> >> 
>> >> Ok then I don't know.
>> >> Can someone confirm that this is a Mac-specific problem ?
>> >> (ie. does this work with Octave-3.4.0 on linux ?)
>> >> 
>> >> Julien
>> > 
>> > It is not Mac specific. Just tried that on openSUSE 11.4 64bit (octave 
>> > 3.4.0) with
>> > pkg install -forge database
>> > and get essentially the same errors
>> 
>> Can someone please advise on correct procedure for filing a package bug
>> report.
>> 
>> thx
>> 
>> Stu
> 
> The packages from octave forge are not part of the octave program but 
> additional software. So you have two options:
> 
> Look up who is the maintainer of the package in question and contact
> him/her 
> directly (I guess an email adress is given in the files of the package).
> For database this is
> Package Author:       Xavier Delacour
> Package Maintainer:   Xavier Delacour
> 
> See here: http://octave.sourceforge.net/database/index.html
> 
> Or send an email to the address@hidden mailing list
> https://lists.sourceforge.net/lists/listinfo/octave-dev
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 


--
View this message in context: 
http://octave.1599824.n4.nabble.com/how-to-install-octave-and-use-it-tp3490101p3835347.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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