Thread: Compiling in Windows (Supreme infernal task)

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    52

    Compiling in Windows (Supreme infernal task)

    Hello!
    I'm trying to compile my modified Tor in windows, I have no choice ATM anyway it may be good to learn.

    There's no documentation about Tor's compilation on Windows, only in linux.
    I have this files in that folders I posted bellow.
    I have Makefiles .in and .am, don't knowwhat to do with them.

    How do i compile this stuff?

    The principal folders:
    Thank you!

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You need automake to convert Makefile.am into a regular makefile.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    52
    Quote Originally Posted by matsp View Post
    You need automake to convert Makefile.am into a regular makefile.

    --
    Mats
    After that i can use CMake to compile that regular makefile right?


    Edit:

    I Installed this automake: http://gnuwin32.sourceforge.net/packages/automake.htm
    But i can find any .EXE, and the documentation only talks about linux console commands.

    What can i do?
    Last edited by NeMewSys; 05-22-2008 at 07:07 AM.

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    52
    Can anyone get me Automake.EXE?

    I cant find one!!!!

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by NeMewSys View Post
    After that i can use CMake to compile that regular makefile right?
    Not sure if it produces a CMake type makefile, or a standard type makefile. gmake would be one choice (probably a good one, as the code probably compiles on Linux, using gnumake as the make system).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    Registered User
    Join Date
    May 2008
    Posts
    52
    OMG I NEED AUTOMAKE TO COMPILE AUTOMAKE!!!

    Insanity here i go!

  7. #7
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Look into Cygwin perhaps?

  8. #8
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Wow, amazing what Googling "compiling Tor on Windows" brings up!

    Wiki

  9. #9
    Registered User
    Join Date
    May 2008
    Posts
    52
    I'm gonna kill myself.

    I'm using cygwin and everything is going great UNTIL i do "make" in tor (wich is the last step of this compilation that took 3 days).

    But i got this error:

    No rule to make target 'am--refresh'. Stop
    Is there any solution or its just the real world against me? :'''(


    Edit:

    The full error is this one:

    cd ../.. && make am--refresh
    make[1]: Entering directory '/cygdrive'
    make[1]: *** No rule to make target 'am--refresh'. Stop.
    make[1]: Leaving directory '/cygdrive'
    make: *** [../../config.status] Error 2
    Last edited by NeMewSys; 05-22-2008 at 02:31 PM.

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    If you RTM, you would have found out that you should have used mingw32 instead.

    See r2r's post above.

  11. #11
    Registered User
    Join Date
    May 2008
    Posts
    52
    Quote Originally Posted by robwhit View Post
    If you RTM, you would have found out that you should have used mingw32 instead.

    See r2r's post above.
    I tried everything!!!!!!!!! Didnt work!!!!
    The makefiles are all wrong, this guys make sources that people cant compile!! DAMN IT!!!

    I tried all the tuts, mingw32, cygwin, EVERYTHING!!!!!

    omg.....

  12. #12
    Registered User
    Join Date
    May 2008
    Posts
    52
    Someone try to compile it (to .exe).
    I cant, no matter how, i'm cursed here...

    http://legaliza-te.com/tor-0.2.0.26-rc.rar

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. Scheduling Algo
    By BigDaddyDrew in forum C++ Programming
    Replies: 41
    Last Post: 03-08-2003, 11:00 AM
  3. Windows Task Manager
    By 1234567890 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 08-05-2002, 06:17 AM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. Problem with Borland 5.5 Compiling Windows Programs
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 08-28-2001, 09:04 AM