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

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

[Octave-bug-tracker] [bug #41148] parallel package: fails to build in wi


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw
Date: Sat, 30 Apr 2016 19:39:00 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Follow-up Comment #18, bug #41148 (project octave):

Copied from duplicated post.

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

>> pkg install -verbose parallel-3.1.0.tar.gz
<snip>
checking sys/socket.h usability... no
checking sys/socket.h presence... no
checking for sys/socket.h... no
<snip>
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:octaveOcta
ve-4.0.2includeoctave-4.0.2octave..
-IC:octaveOctave-4.0.2includeoctave-4.0.2octave
 -IC:octaveOctave-4.0.2include -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:octaveOctave-4.0.2shareoctave4.0.2mpkg
privateconfigure_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/?41148>

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




reply via email to

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