[zeromq-dev] problems with installation under MinGW

Laurent Alebarde l.alebarde at free.fr
Thu Jul 11 10:34:25 CEST 2013


Thanks a lot Shueng Chuan. I did a :

find libzmq/ -exec dos2unix.exe '{}' ';'

and then ./autogen.sh did its job without error.

Now, I have another problem when I run make :

test_sub_forward.cpp: In function 'int main()':
test_sub_forward.cpp:65:21: error: variable 'main()::timespec t' has 
initializer but incomplete type
test_sub_forward.cpp:66:24: error: 'nanosleep' was not declared in this 
scope
make[1]: *** [test_sub_forward.o] Error 1
make: *** [all-recursive] Error 1

It seems from

  * http://www.opendebug.com/article/489046
  * http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00032.html

that it is relative to the pthread implementation. I have to dig more, 
but if you have the solution, you are welcome of course.

Cheers,


Laurent.


Le 10/07/2013 23:35, KIU Shueng Chuan a écrit :
>
> One of the autogen related files has DOS line endings instead of Unix 
> line feeds. Run dos2unix on it. I think it's the m4 utility that is 
> choking on the DOS carriage returns.
>
> On Jul 11, 2013 4:22 AM, "Laurent Alebarde" <l.alebarde at free.fr 
> <mailto:l.alebarde at free.fr>> wrote:
>
>     Hi list,
>
>     I need to test my app under several versions of Windows, at least
>     XP 32, XP 64, and 7, in the MinGW and MinGW-64 environments. I
>     have Git Cloned from GitHub, and I am following the INSTALL file,
>     which starts with a ../autogen.sh which fails first :
>
>     $ ./autogen.sh
>     autogen.sh: error: could not find libtool. libtool is required to
>     run autogen.sh
>
>     I added libtool to the MinGW environment, then autogen runs, but
>     fails :
>
>     autoreconf-2.68: Entering directory `.'
>     autoreconf-2.68: configure.ac <http://configure.ac>: not using Gettext
>     autoreconf-2.68: running: aclocal -I config --force -I config
>     configure.ac:431 <http://configure.ac:431>: error: `\ ' is already
>     registered with AC_CONFIG_FILES.
>     /mingw/src/autoconf/26/autoconf2.5-2.68-1/src/autoconf-2.68/lib/autoconf/status.m4:290:
>     AC_CONFIG_FILES is expanded from...
>     configure.ac:431 <http://configure.ac:431>: the top level
>     /bin/m4: cannot remove temporary directory
>     /tmp/ar2800.3924/m4-kvQiAN: Directory not empty
>     autom4te-2.68: /bin/m4 failed with exit status: 1
>     aclocal-1.11: /mingw/bin/autom4te-2.68 failed with exit status: 1
>     autoreconf-2.68: aclocal failed with exit status: 1
>     autogen.sh: error: autoreconf exited with status 0
>
>     Any idea please ? Or a link to a working procedure for 0MQ under
>     MinGW ?
>
>     I know there exist a rubby script, but only for 32 bits, so I have
>     not given it a try.
>
>     Cheers,
>
>
>     Laurent.
>
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130711/bd0ca79c/attachment.htm>


More information about the zeromq-dev mailing list