octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42197] install of octave-forge parallel packa


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #42197] install of octave-forge parallel package fails on windows
Date: Fri, 25 Apr 2014 22:02:39 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?42197>

                 Summary: install of octave-forge parallel package fails on
windows
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2014年04月25日 22時02分38秒
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This issue was originally post to the Octave ML.

Version of octave for windows is 3.8.1 downloaded from
http://mxeoctave.osuv.de/

http://octave.1599824.n4.nabble.com/installation-errors-of-octave-forge-parallel-on-windows-td4663534.html


octave:1> pkg -forge -verbose install parallel
mkdir (C:UsersTMACCH~1AppDataLocalTempoct-2)
untar (C:Userstmacchantparallel-2.2.0.tar.gz,
C:UsersTMACCH~1AppDataLocalTempoct-2)
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
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... C:/octave/Octave-3.8.1/bin/mkoctfile-3.8.1.exe
checking for octave... C:/octave/Octave-3.8.1/bin/octave-3.8.1.exe
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 arpa/inet.h usability... no
checking arpa/inet.h presence... no
checking for arpa/inet.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... no
checking netdb.h presence... no
checking for netdb.h... no
checking netinet/in.h usability... no
checking netinet/in.h presence... no
checking for netinet/in.h... no
checking sys/socket.h usability... no
checking sys/socket.h presence... no
checking for sys/socket.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for error_at_line... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for getcwd... yes
checking for gethostbyaddr... no
checking for gethostbyname... no
checking for gethostname... no
checking for modf... yes
checking for select... no
checking for socket... no
checking for strchr... yes
checking whether Octave version is <= 3.2.4... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make: Entering directory `/tmp/oct-2/parallel-2.2.0/src'
C:/octave/Octave-3.8.1/bin/mkoctfile-3.8.1.exe -s sclose.cc sock-stream.cc
sclose.cc:37:24: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>
                        ^
compilation terminated.
sock-stream.cc: In function 'void handle_errno(std::string, int)':
sock-stream.cc:89:10: error: 'ETXTBSY' was not declared in this scope
     case ETXTBSY:
          ^
g++: error: sclose.o: No such file or directory
g++: error: sock-stream.o: No such file or directory
strip: 'sclose.oct': No such file
make: *** [sclose.oct] Error 1
make: Leaving directory `/tmp/oct-2/parallel-2.2.0/src'

pkg: error running `make' for the parallel package.
error: called from 'configure_make' in file C:octaveOctave-3.8.1shareoctave
3.8.1mpkgprivateconfigure_make.m near line 82, column 9
error: called from:
error:   C:octaveOctave-3.8.1shareoctave3.8.1mpkgprivateinstall.m at li
ne 199, column 5
error:   C:octaveOctave-3.8.1shareoctave3.8.1mpkgpkg.m at line 394, column 9


The lack of sys/socket related feature on windows are obviously origin of the
errors.

One idea to overcome this issue to use gnulib implementation of posix headers
and libraries.   I have tried this approach but have not gotten the successful
results.

The other way is to write windows related parts using the winsock on Windows
compiler (MSVC and MinGW). Unfortunately, I do not have knowledge of winsock
programming.
  

# The current optim(-1.3.0) package requires parallel package:


octave:1> pkg -forge install optim
error: the following dependencies were unsatisfied:
   optim needs parallel >= 2.0.5

So this issue is better to be solve as soon as possible.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42197>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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