View Issue Details

IDProjectCategoryView StatusLast Update
0002582GNUnetbinary packagespublic2018-06-07 23:23
ReporterBrainSlugs83 Assigned ToChristian Grothoff  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionsuspended 
PlatformWindows 7 / MSys / MakeOSWindows 7 x 64OS Version6.1.7601
Product Version0.9.3 
Fixed in Version0.11.0pre66 
Summary0002582: Build instructions wrong / missing -- binary packages not available -- links in build instructions broken
DescriptionI am unable to find downloadable binaries for GNUNet for Windows.
I am unable to build GNUNet or it's dependencies (including libextractor 1.0) -- either with the provided instructions (which use MSys) or with Cygwin (full install of everything).

Most of the links provided to binary packages for the dependencies are either broken or out of date (libextractor for instance is not supported past version 0.5.23) and are therefore not suitable for compiling version 0.9.3.

I was able to download the sources for many of the required dependencies under MSys and compile them -- but this resulted in an 8+ hour "yak-shaving" session. I finally gave up and installed the latest cygwin -- telling it to install everything (resulting in almost 20 GB of used disk space!) -- I got farther, but was still unable to compile libextractor.

I tried using the out of date binaries for libextractor -- but gnunet wouldn't compile.
Steps To ReproduceAttempt to follow the Windows build instructions for version 0.9.3.
Additional InformationI also tried following the instructions for Ubuntu 12.0.4.1 from SVN -- got quite a bit farther and was able to compile everything but install spit back weird errors and I don't think it worked -- I even followed the instructions about "gnunet" & "gnunetdns" user/group stuff with directories, etc (I think make tells you to do this -- but it's *not* in the web site's installation instructions!)

I was not able to invoke gnunet-arm as the instructions asked to do; it gave zero details and just said something along the lines of "Operation Failed."
TagsNo tags attached.

Activities

Christian Grothoff

2012-10-07 02:44

manager   ~0006414

Could you be a bit more specific what "weird" errors install gave you?

LRN

2012-10-07 05:30

reporter   ~0006416

Try using https://www.gitorious.org/sbuild/sbuild
If you have troubles with it, ask me on the IRC.

BrainSlugs83

2012-10-08 06:50

reporter   ~0006420

Last edited: 2012-10-08 06:52

RE: "Could you be a bit more specific what "weird" errors install gave you?"
For which dependency?

I could try installing MSys again and post complete information -- but isn't just knowing that all of the links in the build instructions are broken and out of date good enough? (For example libextractor is 0.5.23)

For gnunet -- I think it died during ./configure with quite a few errors which would be expected since I was never able to build libextractor (or find up to date binaries) -- libextractor of course failed pointing me towards other dependencies and so on and so fourth -- I was able to find a *lot* of them -- and make most of them build -- but again -- towards the end I was able to ./configure libextractor to the point that it would just tell me that there were features missing (mind you, my experience with cygwin was much better -- it kind of started at this point) -- but it still didn't build.

I think I still have cygwin setup at work, I can try running ./configure and make and seeing what it spits out.

Is there a reason you don't just supply pre-compiled windows binaries? I mean signing a .tar.gz full of .exes shouldn't be any different than signing one full of source code that I can't build. :-/

RE: "Try using https://www.gitorious.org/sbuild/sbuild
If you have troubles with it, ask me on the IRC."

I *almost* didn't see that (so used to seeing ads on websites, my brain almost tuned it out -- sorry it has been a late night for me) -- I will definitely take a look at this tomorrow and get back to both of you with more specific details.

Thank you both for responding so quickly!

Christian Grothoff

2012-10-08 09:20

manager   ~0006421

I was talking about the error you got on ubuntu, not the MSys one.

Christian Grothoff

2012-10-08 09:21

manager   ~0006422

Also, note that it is NOT a problem if you build LE without all (or even most) of the dependencies. You'll just not get meta data extracted for some file types in that case.

BrainSlugs83

2012-10-09 05:01

reporter   ~0006429

Last edited: 2012-10-09 05:04

Okay, so I did a "./configure; make" and it failed.

then did a "make clean; ./configure; make" and it failed again (with seemingly the same error).

Under Cygwin -- here is an output log -- no idea why, but for some reason google's docx previewer refuses to keep my monospace font, and won't let me edit, sorry about that.

https://docs.google.com/open?id=0B8gtMPGkJelEbGE0Q2RiY1ZjNTA

FYI: First Make Error is on Page 9 -- second Make Error is on Page 47.

Christian Grothoff

2012-10-10 09:33

manager   ~0006431

You still didn't answer my question about the Ubuntu error. You just wrote:
"I was not able to invoke gnunet-arm as the instructions asked to do; it gave zero details and just said something along the lines of "Operation Failed.""

The message was most likely a bit different. Can you find the exact message?

Christian Grothoff

2012-10-10 09:37

manager   ~0006432

As for your LE build error on W32, LRN just recently fixed the test for libtidy (which your build issue relates to). So this might be fixed, but I do not know for sure. In any case, you can just run 'make install' anyway and simply _ignore_ the error. Or, you could uninstall libtidy and avoid the error (as the plugins are all optional!).

You won't get all the LE plugins for your system, but as the LE base library is installed (before the error is hit), you will be able to continue installing (and using) GNUnet even without the libextractor HTML plugin.

Naturally, we should still figure out what the problem is, but this should be a reasonable workaround.

Matthias Wachs

2012-10-15 14:26

reporter   ~0006438

For Ubuntu:

Tested building extractor from svn, revision 24298 with all plugins except ffmpeg and gstreamer:

compilation: OK
make check: OK

Also updated documentation on gnunet.org to contain extractor dependencies

Matthias Wachs

2012-10-15 14:28

reporter   ~0006439

For Ubuntu: I need more information what's not working

BrainSlugs83

2012-11-05 03:55

reporter   ~0006511

Last edited: 2012-11-05 04:05

Apologies guys, I haven't forgotten about this -- just been working 80hr weeks with no weekends for a big developer conference the evil empire is hosting that's coming up -- I've had to reformat my machines recently as well, and I don't know when I will get another chance to take a crack at this.

Way back when, before, the reformat, I tried the suggested "ignore the errors and try to build the next piece", but it didn't work for me, apologies that I wasn't able to take the time to post the results. Wish I could give you more details.

Bottom line, I've been a developer for 18 years, I'm very comfortable with command line stuff, I'm even moderately familiar with mingw (though it's been a while) -- and I was completely unable to build your product after days of trying (usually in 3 to 6 hour sessions).

Please, just provide signed binaries for windows. Right clicking on the .exe and going to the properties tab to see if the signature is valid should be enough for anybody.

Apologies that I can't be more help.

Edit: As for the Ubuntu stuff, I don't know, maybe it's changed, but at the time, I just downloaded the latest Ubuntu, and tried following the instructions line for line -- on a vanilla VM -- there is a spot in the build process where stuff is printed on the screen which differs quite a bit from what is in the script -- and there were a lot of things that were not clear at all -- I tried my best to do everything from both worlds (the script, and the instructions on screen) and it didn't work for me.

If you try the same exact thing, the missing steps from the online script should be very obvious to you -- there's something extra that you're doing to make it work. Maybe it's something simple that everybody from *nix land is supposed to know about, but I'm a windows developer, I had to do hours of blog/forum searching as it was to complete the instructions. I'm fairly confident that I did it correctly, but clearly, I must have done something wrong.

Good luck by the way, I really hope this project takes off, it looks really cool from the documentation; it could be fun to write a Windows UI for it someday. :)

Christian Grothoff

2018-06-07 23:23

manager   ~0013023

ng0 is revamping the entire installation handbook. Also, right now nobody's really working on W7, and I don't see anyone picking up W-porting until many, many other issues have been fixed first. Hence closing.

Issue History

Date Modified Username Field Change
2012-10-07 01:41 BrainSlugs83 New Issue
2012-10-07 02:44 Christian Grothoff Note Added: 0006414
2012-10-07 05:30 LRN Note Added: 0006416
2012-10-07 12:50 Christian Grothoff Severity block => text
2012-10-08 06:50 BrainSlugs83 Note Added: 0006420
2012-10-08 06:51 BrainSlugs83 Note Edited: 0006420
2012-10-08 06:52 BrainSlugs83 Note Edited: 0006420
2012-10-08 09:20 Christian Grothoff Note Added: 0006421
2012-10-08 09:21 Christian Grothoff Note Added: 0006422
2012-10-09 05:01 BrainSlugs83 Note Added: 0006429
2012-10-09 05:02 BrainSlugs83 Note Edited: 0006429
2012-10-09 05:04 BrainSlugs83 Note Edited: 0006429
2012-10-10 09:33 Christian Grothoff Note Added: 0006431
2012-10-10 09:37 Christian Grothoff Note Added: 0006432
2012-10-15 14:26 Matthias Wachs Note Added: 0006438
2012-10-15 14:28 Matthias Wachs Note Added: 0006439
2012-10-15 14:28 Matthias Wachs Status new => feedback
2012-11-04 22:34 Christian Grothoff Assigned To => LRN
2012-11-04 22:34 Christian Grothoff Status feedback => assigned
2012-11-05 03:55 BrainSlugs83 Note Added: 0006511
2012-11-05 03:57 BrainSlugs83 Note Edited: 0006511
2012-11-05 04:01 BrainSlugs83 Note Edited: 0006511
2012-11-05 04:04 BrainSlugs83 Note Edited: 0006511
2012-11-05 04:04 BrainSlugs83 Note Edited: 0006511
2012-11-05 04:05 BrainSlugs83 Note Edited: 0006511
2012-11-05 11:53 Christian Grothoff Priority urgent => normal
2018-06-07 01:21 Christian Grothoff Assigned To LRN =>
2018-06-07 01:21 Christian Grothoff Status assigned => confirmed
2018-06-07 23:23 Christian Grothoff Assigned To => Christian Grothoff
2018-06-07 23:23 Christian Grothoff Status confirmed => closed
2018-06-07 23:23 Christian Grothoff Resolution open => suspended
2018-06-07 23:23 Christian Grothoff Fixed in Version => 0.11.0pre66
2018-06-07 23:23 Christian Grothoff Note Added: 0013023