Opened 8 years ago

Closed 6 years ago

Last modified 5 years ago

#4520 closed enhancement (wontfix)

Update 'tor-win32-mingw-creation.txt' for Windows Tor build

Reported by: Shondoit Owned by: tom
Priority: Medium Milestone: Tor: 0.2.5.x-final
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Keywords: tor-client 024-backport
Cc: Sebastian Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

./doc/tor-win32-mingw-creation.txt is outdated and needs to be reviewed.

Child Tickets

Attachments (1)

tor-win32-mingw-creation-v1.txt (3.0 KB) - added by tom 7 years ago.

Download all attachments as: .zip

Change History (24)

comment:1 Changed 8 years ago by nickm

Cc: Sebastian added
Milestone: Tor: 0.2.3.x-final
Owner: set to erinn
Status: newassigned

Assigning this to Erinn, since she has the build process documented, and should be able to just review it for accuracy and copy the right portion of it into the right file. cc'ing sebastian, since he's written up instructions of this kind before.

comment:2 Changed 8 years ago by Sebastian

Glad to review here, but I hope someone else writes the patch

comment:3 Changed 8 years ago by nickm

See also #4260 here.

comment:4 Changed 7 years ago by nickm

Keywords: tor-client added

comment:5 Changed 7 years ago by nickm

Component: Tor ClientTor

comment:6 Changed 7 years ago by nickm

Milestone: Tor: 0.2.3.x-finalTor: 0.2.4.x-final

comment:7 Changed 7 years ago by nickm

Keywords: 024-deferrable added

Changed 7 years ago by tom

comment:8 Changed 7 years ago by tom

Owner: changed from erinn to tom

I've attached a first pass at this. Notes:

1) I believe this to be correct based on my work in #8401 but I need to confirm it in a completely clean VM.

2) The Windows packaging scripts are out of date and broken. On Windows 7 the installer does not work because it does not ask for elevation to Admin. Is producing an installer for bare tor.exe still desirable? If so I will see if I can wrangle NSIS enough to make it work. I don't know anything about it, so I'm merely assuming it is the best thing to use to produce the Windows installer.

3) I don't know enough about Linux automake to know when 'autogen' is required vs not required.

comment:9 Changed 7 years ago by nickm

Status: assignedneeds_review

comment:10 Changed 7 years ago by nickm

My biggest question here is whether this is actually the process we're using to make the 'tor only' bundles on the website.

comment:11 Changed 7 years ago by nickm

Also, I have no idea whether nsis is in fact the best thing to use; it *would* of course be good to have win7 support.

You need to invoke autogen if you checked out the code from git and you don't have a configure file.

comment:12 Changed 7 years ago by andrea

I think this looks okay, but echo Nick's question about whether this is actually the same process we use to make the downloadable binary bundles.

comment:13 Changed 6 years ago by andrea

Keywords: 024-backport added; 024-deferrable removed
Milestone: Tor: 0.2.4.x-finalTor: 0.2.5.x-final

comment:14 Changed 6 years ago by nickm

I've temporarily removed the current version from tor.git until we have a version (this one?) known to be accurate.

comment:15 Changed 6 years ago by andrea

Resolution: wontfix
Status: needs_reviewclosed

File is no more, no one seems to be bothered, so problem is no more.

comment:16 Changed 5 years ago by yarong

I am trying to build Tor on Windows and the correct instructions would be lovely.

comment:17 Changed 5 years ago by cypherpunks

If you removed file documenting the build process then how you supposed to produce tor.exe for expert and vidalia bundles? You should to document how you supposed to produce expert and vidalia bundles or stop to build them.

comment:18 Changed 5 years ago by Alan

I'm looking for instructions on how to build tor for Windows. Please reopen this ticket and fix it--it is a problem. Thanks.

comment:19 Changed 5 years ago by Alan

FYI, a blog article about building tor under windows, from someone outside the tor project: http://www.mictronics.de/2014/04/how-to-build-tor-for-win32/

comment:20 Changed 5 years ago by Alan

FYI, these are the build scripts that are said to be used by the tor "ci" (continuous integration aka nightly builds) project.
https://gitweb.torproject.org/project/jenkins/tools.git/tree/HEAD:/slaves/windows

comment:21 Changed 5 years ago by nickm

I'd be happy to replace the "how to build" documentation with a link to the build scripts, or a link to the part of the TBB build documentation that explains how to build the tor.exe file.

comment:22 Changed 5 years ago by nickm

I've opened a new #13694 for this. Gk says he'll try to solicit and vet instructions.

comment:23 Changed 5 years ago by Alan

FYI, these are instructions for setting up the build environment for torbrowser
https://gitweb.torproject.org/torbrowser.git/blob/HEAD:/docs/buildmachine_setups/windows.txt

Note: See TracTickets for help on using tickets.