[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new package versions released: optim-1.5.1, parallel-3.1.0, struct-1
From: |
Olaf Till |
Subject: |
Re: new package versions released: optim-1.5.1, parallel-3.1.0, struct-1.0.13 |
Date: |
Sat, 30 Apr 2016 10:51:38 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Apr 29, 2016 at 01:17:12PM -0700, PhilipNienhuis wrote:
> Olaf Till-2 wrote
> > On Fri, Apr 29, 2016 at 04:59:07AM -0700, PhilipNienhuis wrote:
> >> I've installed optim and struct on Windows 7 (dev version) using the
> >> -forge
> >> flag to avoid that doc building issue.
> >
> > Well, the known issue is only for cross-building ...
> >
> >> optim and struct install fine, parallel breaks with the following error
> >> message:
> >>
> >> :
> >> pconnect.cc:29:24: fatal error: sys/socket.h: No such file or directory
> >> #include <sys/socket.h>
> >
> > Is that MINGW? Or else, what compiler and which system specific macro
> > (__WIN32__ ?) ? Is 'winsock2.h' somewhere? Maybe we can just copy the
> > fix from JohnD for 'database'.
>
> Yes, mingw (cross-built with mxe). winsock.h and winsock2.h are present in
> /include.
> As to system macros, that's beyond me :-(
> AFAIK (I'm on Linux now) on mingw gcc = 4.9.3
>
> So, what are the suggestions a la "database'?
I've now found some information on porting to winsock, but it affects
quite a few things in 'parallel', so I can't fix this immediately. For
now, on MINGW 'parallel' should be configured with --disable-cluster
to avoid this problem.
Any further discussion on fixing this should go to the bug tracker,
where Tatsuro open a report for this.
> BTW, cross-building both the new optim and struct packages fails with:
>
> /bin/sh: -std-=gnu++11: command not found
This can happen for Makefile commands like:
ENV_VAR=$(ENV_VAR_VALUE) called_program ...
if the quotes around "$(ENV_VAR_VALUE)" have been forgotten and
$(ENV_VAR_VALUE) expands to more than one token. But there are
currently no such constructs in optim/src/Makefile.in or
struct/src/Makefile.in, so without further information I'd guess the
reason is in the cross building environment.
Olaf
--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net
signature.asc
Description: Digital signature