{
  "id": 11304,
  "title": "anyone has successfully installed vowpalwabbit?",
  "url": "/competitions/avazu-ctr-prediction/discussion/11304",
  "author_name": "",
  "post_date": "2014-12-20T15:36:11.897Z",
  "votes": 1,
  "comment_count": 5,
  "views": 2953,
  "content": "<p>Hi there,</p>\n<p>I am not sure if this is the proper place to address this issue, but vw installation is driving me nuts. &nbsp;I followed all the steps in&nbsp;http://mlwave.com/install-vowpal-wabbit-on-windows-and-cygwin/, successfully cloned the code, but the problem is when I run the make.</p>\n<p>Error message below. &nbsp;If anyone can help, I would highly appreciate it.</p>\n<p>Thanks!</p>\n<p>A</p>\n\n<p>$ make<br>Making all in vowpalwabbit<br>make[1]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>make all-am<br>make[2]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c -o global_data.lo global_data.cc<br>libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c global_data.cc -DDLL_EXPORT -DPIC -o .libs/global_data.o<br>In file included from comp_io.h:7:0,<br> from global_data.h:17,<br> from global_data.cc:13:<br>io_buf.h: In member function 'virtual int io_buf::open_file(const char*, bool, int)':<br>io_buf.h:72:25: error: 'fileno' was not declared in this scope<br> ret = fileno(stdin);<br> ^<br>In file included from global_data.h:17:0,<br> from global_data.cc:13:<br>comp_io.h: In member function 'virtual int comp_io_buf::open_file(const char*, bool, int)':<br>comp_io.h:28:34: error: 'fileno' was not declared in this scope<br> fil = gzdopen(fileno(stdin), &quot;rb&quot;);<br> ^<br>global_data.cc: In constructor 'vw::vw()':<br>global_data.cc:295:32: error: 'fileno' was not declared in this scope<br> stdout_fileno = fileno(stdout);<br> ^<br>Makefile:619: recipe for target 'global_data.lo' failed<br>make[2]: *** [global_data.lo] Error 1<br>make[2]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>Makefile:390: recipe for target 'all' failed<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>Makefile:503: recipe for target 'all-recursive' failed<br>make: *** [all-recursive] Error 1</p>",
  "messages": [
    {
      "id": "61577",
      "postDate": "12/20/2014 15:36:11",
      "content": "<p>Hi there,</p>\n<p>I am not sure if this is the proper place to address this issue, but vw installation is driving me nuts. &nbsp;I followed all the steps in&nbsp;http://mlwave.com/install-vowpal-wabbit-on-windows-and-cygwin/, successfully cloned the code, but the problem is when I run the make.</p>\n<p>Error message below. &nbsp;If anyone can help, I would highly appreciate it.</p>\n<p>Thanks!</p>\n<p>A</p>\n\n<p>$ make<br>Making all in vowpalwabbit<br>make[1]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>make all-am<br>make[2]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c -o global_data.lo global_data.cc<br>libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c global_data.cc -DDLL_EXPORT -DPIC -o .libs/global_data.o<br>In file included from comp_io.h:7:0,<br> from global_data.h:17,<br> from global_data.cc:13:<br>io_buf.h: In member function 'virtual int io_buf::open_file(const char*, bool, int)':<br>io_buf.h:72:25: error: 'fileno' was not declared in this scope<br> ret = fileno(stdin);<br> ^<br>In file included from global_data.h:17:0,<br> from global_data.cc:13:<br>comp_io.h: In member function 'virtual int comp_io_buf::open_file(const char*, bool, int)':<br>comp_io.h:28:34: error: 'fileno' was not declared in this scope<br> fil = gzdopen(fileno(stdin), &quot;rb&quot;);<br> ^<br>global_data.cc: In constructor 'vw::vw()':<br>global_data.cc:295:32: error: 'fileno' was not declared in this scope<br> stdout_fileno = fileno(stdout);<br> ^<br>Makefile:619: recipe for target 'global_data.lo' failed<br>make[2]: *** [global_data.lo] Error 1<br>make[2]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>Makefile:390: recipe for target 'all' failed<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'<br>Makefile:503: recipe for target 'all-recursive' failed<br>make: *** [all-recursive] Error 1</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "61578",
      "postDate": "12/20/2014 15:46:56",
      "content": "<p>I haven't installed the newest version yet (7.8). You can always download a previous build from&nbsp;https://github.com/JohnLangford/vowpal_wabbit/releases and make it work with this install tutorial.</p>\n<p>If you are on Windows 64-bit, I created a cygwin executable of VW 7.6.1. Then you can skip the build process:</p>\n<p>https://github.com/MLWave/vowpal-wabbit-cygwin-executables</p>\n<p>Good luck, and please let us know if you do manage to install 7.8, what to update in the tutorial, so it will work for everyone.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "61594",
      "postDate": "12/20/2014 18:48:52",
      "content": "<p>Hi Triskellon,</p>\n<p>Thanks so much! That makes things definitely easier &nbsp;Something very awkward though: when I click on the executable, I get an error message that the program cannot be initialized because file&nbsp;cyggcc_s-seh-1.dll is missing (original version in Portuguese since I use a PT Windows version. &nbsp;I am advised to install the file and try the executable again.</p>\n<p>I browsed the web for that file but cannot find it. &nbsp;I did find&nbsp;cyggcc_s-1.dll and installed it, but problem did not subside. &nbsp;</p>\n<p>Any idea what the problem might be?</p>\n<p>Thanks again!</p>\n<p>Best,</p>\n<p>A</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "61596",
      "postDate": "12/20/2014 19:08:29",
      "content": "<p>Yeah, I think you clicked on the file from inside Windows.</p>\n<p>You need to start a Cygwin console, then execute the file from there.</p>\n<p>If you want a pure Windows executable build (no need for Cygwin .dll's), I only have 7.1 here:</p>\n<p>https://github.com/MLWave/Kaggle_Rotten_Tomatoes</p>\n<p>To run that use &quot;cmd&quot; to open a console, don't click on the file.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "61604",
      "postDate": "12/20/2014 21:48:25",
      "content": "<p>Thanks so much Triskelion!</p>\n<p>Beautiful, it is working now! unfortunately I cannot say the same about the log loss that my model produced, but that is a different story :).</p>\n<p>Thanks so much again!</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "61766",
      "postDate": "12/23/2014 17:18:43",
      "content": "<p>I have the same problem with this version. I found this guy. He has an executable of vowpal wabbit (7.7)</p>\n<p>&nbsp;http://www.picnet.com.au/blogs/guido/post/2014/11/13/vowpal-wabbit-for-windows-and-binary-for-win-x64/</p>\n<p>It is rare but I built vw previous versions with the same installation of cygwin.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 61578,
      "author_name": "triskelion",
      "author_url": "",
      "post_date": "12/20/2014 15:46:56",
      "content": "<p>I haven't installed the newest version yet (7.8). You can always download a previous build from&nbsp;https://github.com/JohnLangford/vowpal_wabbit/releases and make it work with this install tutorial.</p>\n<p>If you are on Windows 64-bit, I created a cygwin executable of VW 7.6.1. Then you can skip the build process:</p>\n<p>https://github.com/MLWave/vowpal-wabbit-cygwin-executables</p>\n<p>Good luck, and please let us know if you do manage to install 7.8, what to update in the tutorial, so it will work for everyone.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 61594,
      "author_name": "asimkievich",
      "author_url": "",
      "post_date": "12/20/2014 18:48:52",
      "content": "<p>Hi Triskellon,</p>\n<p>Thanks so much! That makes things definitely easier &nbsp;Something very awkward though: when I click on the executable, I get an error message that the program cannot be initialized because file&nbsp;cyggcc_s-seh-1.dll is missing (original version in Portuguese since I use a PT Windows version. &nbsp;I am advised to install the file and try the executable again.</p>\n<p>I browsed the web for that file but cannot find it. &nbsp;I did find&nbsp;cyggcc_s-1.dll and installed it, but problem did not subside. &nbsp;</p>\n<p>Any idea what the problem might be?</p>\n<p>Thanks again!</p>\n<p>Best,</p>\n<p>A</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 61596,
      "author_name": "triskelion",
      "author_url": "",
      "post_date": "12/20/2014 19:08:29",
      "content": "<p>Yeah, I think you clicked on the file from inside Windows.</p>\n<p>You need to start a Cygwin console, then execute the file from there.</p>\n<p>If you want a pure Windows executable build (no need for Cygwin .dll's), I only have 7.1 here:</p>\n<p>https://github.com/MLWave/Kaggle_Rotten_Tomatoes</p>\n<p>To run that use &quot;cmd&quot; to open a console, don't click on the file.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 61604,
      "author_name": "asimkievich",
      "author_url": "",
      "post_date": "12/20/2014 21:48:25",
      "content": "<p>Thanks so much Triskelion!</p>\n<p>Beautiful, it is working now! unfortunately I cannot say the same about the log loss that my model produced, but that is a different story :).</p>\n<p>Thanks so much again!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 61766,
      "author_name": "jbm1966",
      "author_url": "",
      "post_date": "12/23/2014 17:18:43",
      "content": "<p>I have the same problem with this version. I found this guy. He has an executable of vowpal wabbit (7.7)</p>\n<p>&nbsp;http://www.picnet.com.au/blogs/guido/post/2014/11/13/vowpal-wabbit-for-windows-and-binary-for-win-x64/</p>\n<p>It is rare but I built vw previous versions with the same installation of cygwin.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "61577": "",
    "61578": "",
    "61594": "",
    "61596": "",
    "61604": "",
    "61766": ""
  },
  "source": "meta"
}