Hi All

I'm trying to install the 1.0.6 version of the 'sockets' package, but
fail. I get the following error when calling 'pkg install':

        mkoctfile: unrecognized argument version
        make: *** [sockets.oct] Fejl 1
        'make' returned the following error: make: Går til katalog
        '/tmp/oct-TPeZSL/sockets/src'
        mkoctfile -DMAJORVERSION=mkoctfile, version 3.3.50+
        -DMINORVERSION=mkoctfile, version 3.3.50+
        -DMICROVERSION=mkoctfile, version 3.3.50+ -s sockets.cc
        make: Forlader katalog '/tmp/oct-TPeZSL/sockets/src'
        error: called from `pkg>configure_make' in
        file /home/hauberg/Programmer/share/octave/3.3.50+/m/pkg/pkg.m
        near line 1251, column 2
        error: called from:
        error:   /home/hauberg/Programmer/share/octave/3.3.50
        +/m/pkg/pkg.m at line 712, column 5
        error:   /home/hauberg/Programmer/share/octave/3.3.50
        +/m/pkg/pkg.m at line 287, column 7
        
Looking at the Makefile I see the following:

        majorversion :=$(shell mkoctfile --version 2>&1 |sed -e 's/^.*
        \([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\1/g')
        minorversion:=$(shell mkoctfile --version 2>&1 |sed -e 's/^.*
        \([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\2/g')
        microversion:=$(shell mkoctfile --version 2>&1 |sed -e 's/^.*
        \([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\3/g')

If I evaluate the shell commands in a shell I get

        mkoctfile --version 2>&1 |sed -e 's/^.* \([0-9]*\)\.\([0-9]*
        \).\([0-9]*\)$$/\1/g'
        mkoctfile, version 3.3.50+
        
        mkoctfile --version 2>&1 |sed -e 's/^.* \([0-9]*\)\.\([0-9]*
        \).\([0-9]*\)$$/\2/g'
        mkoctfile, version 3.3.50+
        
        mkoctfile --version 2>&1 |sed -e 's/^.* \([0-9]*\)\.\([0-9]*
        \).\([0-9]*\)$$/\3/g'
        mkoctfile, version 3.3.50+

So, it seems like the 'sed' magic doesn't quite work. Does anybody else
see this? And does anybody have a solution?

Thanks,
Søren


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to