On 5/21/2012 11:25 AM, Carnë Draug wrote:
> On 20 May 2012 22:38, Sergei Steshenko <sergst...@yahoo.com> wrote:
>> Hello,
>>
>> while installing tsa-4.2.4.tar.gz package I've noticed the following strange 
>> messages:
>>
>>
>> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
>> make: Entering directory 
>> `/mnt/sdb8/sergei/AFSWD_debug/build/octave_forge_bundle/oct-eXZ1Jq/tsa/src'
>> make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
>> make: Nothing to be done for `mex4o'.
>> ...
>> /home/qemu/octave-3.6.1/tsa-4.2.4/i686-pc-linux-gnu-api-v48+/covm_mex.mex: 
>> failed to load: 
>> /home/qemu/octave-3.6.1/tsa-4.2.4/i686-pc-linux-gnu-api-v48+/covm_mex.mex: 
>> wrong ELF class: ELFCLASS64
>> .
>>
>> Any idea what this all can be ?
>>
>> I.e., for example, why Matlab is called during Octave package installation ?
>>
>> What is that "ELFCLASS64" ? My machine is a 32 bit one.
>>
>> Thanks,
>>    Sergei.
>
> Hi Sergei,
>
> this belongs to the octave-forge mailing list. I'm CC'ing this e-mail
> there. I'm also CC'ing Alois Schloegl, the author and package
> maintaner of tsa.
>
> Carnë

the tsa-4.2.4 package is incorrectly including the mex files
built for a specific platform.

tsa/src/covm_mex.mexw32
tsa/src/covm_mex.mexa64
tsa/src/sumskipnan_mex.cpp
tsa/src/covm_mex.mexw64
tsa/src/covm_mex.mex
tsa/src/sumskipnan_mex.mexa64
tsa/src/sumskipnan_mex.mexw32
tsa/src/sumskipnan_mex.mex
tsa/src/Makefile
tsa/src/sumskipnan_mex.mexw64
tsa/src/covm_mex.cpp

so the Makefile will not recompile them for the right platform.

On my cygwin :

$ file *.mex
covm_mex.mex:       ELF 64-bit LSB shared object, x86-64, version 1 
(SYSV), dynamically linked, 
BuildID[sha1]=0x7b9f63a496a41bb490ebb7d6239da5c7dbb2e130, not stripped
sumskipnan_mex.mex: ELF 64-bit LSB shared object, x86-64, version 1 
(SYSV), dynamically linked, 
BuildID[sha1]=0x38057facd70b6f315b722c6749d6b872d425b619, not stripped

while before

$ file *.mex
covm_mex.mex:       PE32 executable (DLL) (console) Intel 80386, for MS 
Windows
sumskipnan_mex.mex: PE32 executable (DLL) (console) Intel 80386, for MS 
Windows

can the package source be cleaned and released ?

I will also appreciate a more clean build (same on NaN)
avoiding the usage of mexext if not present.


mkdir (/tmp/oct-28cc1c.39)
untar (tsa-4.2.4.tar.gz, /tmp/oct-28cc1c.39)
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: Entering directory `/tmp/oct-28cc1c.39/tsa/src'
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: Entering directory `/tmp/oct-28cc1c.39/tsa/src'
make: Entering directory `/tmp/oct-28cc1c.39/tsa/src'
make: Nothing to be done for `mex4o'.
make: Leaving directory `/tmp/oct-28cc1c.39/tsa/src'
copyfile /tmp/oct-28cc1c.39/tsa/src/covm_mex.mex 
/tmp/oct-28cc1c.39/tsa/src/sumskipnan_mex.mex 
/tmp/oct-28cc1c.39/tsa/inst/i686-pc-cygwin-api-v48+

Regards
MArco




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to