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

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

[Octave-bug-tracker] [bug #47810] parallel package cannot be install due


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #47810] parallel package cannot be install due to the lack of <sys/socket.h> on windows
Date: Sat, 30 Apr 2016 08:26:22 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

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

                 Summary: parallel package cannot be install due to the lack
of <sys/socket.h> on windows
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2016年04月30日 08時26分21秒
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Tatsuro MATSUOKA
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This is discussed in the octave-maintainers list:
http://octave.1599824.n4.nabble.com/new-package-versions-released-optim-1-5-1-parallel-3-1-0-struct-1-0-13-td4676603.html

parallel package cannot be install due to the lack of <sys/socket.h> on
windows


>> pkg install -verbose parallel-3.1.0.tar.gz
mkdir (C:\Users\MATSUO~1\AppData\Local\Temp\oct-1B8Dca)
untar (parallel-3.1.0.tar.gz,
C:\Users\MATSUO~1\AppData\Local\Temp\oct-1B8Dca)
checking for mkoctfile... C:/octave/Octave-4.0.2/bin/mkoctfile-4.0.2.exe
--verbose
checking for octave-config...
C:/octave/Octave-4.0.2/bin/octave-config-4.0.2.exe
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 g++ option to enable C++11 features... -std=gnu++11
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 enable C11 features... -std=gnu11
checking how to run the C preprocessor... gcc -std=gnu11 -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 gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for gnutls_global_init in -lgnutls... yes
checking for pkg-config... pkg-config
checking for gnutls_global_init_extra in -lgnutls-extra... no
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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
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 stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
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 termios.h usability... no
checking termios.h presence... no
checking for termios.h... no
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int32_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint32_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 _LARGEFILE_SOURCE value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for select... no
checking for socket... no
checking for strchr... yes
checking for strdup... yes
checking for uname... no
checking for getpass... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make: Entering directory `/tmp/oct-1B8Dca/parallel-3.1.0/src'
CXX="g++ -std=gnu++11" CXXFLAGS="-g -O2 -IC:/octave/Octave-4.0.2/include 
-Wno-int-to-pointe
r-cast" C:/octave/Octave-4.0.2/bin/mkoctfile-4.0.2.exe --verbose -c
pconnect.cc
g++ -std=gnu++11 -c -I/scratch/jwe/mxe-octave/usr/i686-w64-mingw32/include 
-IC:\octave\Octa
ve-4.0.2\include\octave-4.0.2\octave\..
-IC:\octave\Octave-4.0.2\include\octave-4.0.2\octave
 -IC:\octave\Octave-4.0.2\include -pthread -mieee-fp -g -O2
-IC:/octave/Octave-4.0.2/include
  -Wno-int-to-pointer-cast    pconnect.cc -o pconnect.o
pconnect.cc:29:24: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>
                        ^
compilation terminated.
make: *** [pconnect.o] Error 1
make: Leaving directory `/tmp/oct-1B8Dca/parallel-3.1.0/src'

pkg: error running `make' for the parallel package.
error: called from 'configure_make' in file
C:\octave\Octave-4.0.2\share\octave\4.0.2\m\pkg\
private\configure_make.m near line 96, column 9


Apparently configure reports the lack of sys/socket.h.

In octave build tree for 4.0.2 on Ubunu 
sys/socket.h
is defined in libgnu directory.

In octave build, sys/socket.h is defined in libgnu and there is no problem.

However, gnulib stuff is completely removed in the binary distribution of
octave for windows.
The native windows does not have sys/socket.h.
This causes the error above.

Questions
1. gnulib stuff is completely removed in the binary distribution of octave for
windows. Is this intentional?

2. Octave-forge package is build outside of octave build trees. 
Removal of the gnulib stuff from the binary distribution suggests that their
own implementations of cross-platform development stuff.    





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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