Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile OnionKit #2

Open
semanticyong opened this issue Jul 31, 2014 · 8 comments
Open

Cannot compile OnionKit #2

semanticyong opened this issue Jul 31, 2014 · 8 comments

Comments

@semanticyong
Copy link

bash build-libssl.sh
COULD NOT VERIFY PACKAGE SIGNATURE...

bash build-libevent.sh
COULD NOT VERIFY PACKAGE SIGNATURE...

bash build-tor.sh
Branch tor-0.2.4.21-chatsecure set up to track remote branch tor-0.2.4.21-chatsecure from origin.
Switched to a new branch 'tor-0.2.4.21-chatsecure'
autogen.sh: line 20: aclocal: command not found

@chrisballinger
Copy link
Member

You'll need to install the GPG keys for those packages as well as brew install autotools

On Thursday, July 31, 2014, semanticyong notifications@github.com wrote:

bash build-libssl.sh
COULD NOT VERIFY PACKAGE SIGNATURE...

bash build-libevent.sh
COULD NOT VERIFY PACKAGE SIGNATURE...

bash build-tor.sh
Branch tor-0.2.4.21-chatsecure set up to track remote branch
tor-0.2.4.21-chatsecure from origin.
Switched to a new branch 'tor-0.2.4.21-chatsecure'
autogen.sh: line 20: aclocal: command not found


Reply to this email directly or view it on GitHub
#2.

@semanticyong
Copy link
Author

Would you please guide me more? How to install keys for those packages. How to use those packages?
I've already installed GPG Suite from gpgtools.org.
I downloaded package and compatible GPG key from http://libevent.org/.
$ ./configure
$ make
$ make verify
$ sudo make install

Clicking 'libevent-2.0.21-stable.tar.gz.asc' to install key does not work.
Thank you in advance!

screen shot 2014-08-05 at 8 52 26 pm

@semanticyong
Copy link
Author

When I ran 'brew install autotools' on Mac OS 10.8.5, I got an 'Error: No available formula for autotools'
Any suggestion?

@Kage2021
Copy link

Kage2021 commented Aug 9, 2014

semantic, I have a copy of this gentleman's OnionKit in a repo which if cloned may build and run for you. I have changed the TOR init options for my own purposes and so on but it will probably build, and they are easy to alter. That being said, all credit to Mr. Ballinger and his hard work on the kit and all of his work on privacy related projects. I've just compiled it and begun to play with it.

FYI the test in my version will not work as I'm using it to implement a controller. You'll want to use torrootviewcontroller.m from this gentleman's original repo for the test to return. TOR however, will bootstrap up.

https://github.com/Kage2021/OnionKit.git

  • You should be able to clone that repo, open the Xcode WORKSPACE file and build a working version of this gentleman's work. I have multiple dev computers and have loaded it up so I can do just that.

If you haven't yet, you will need to install cocoa pods. From your terminal

$ [sudo] gem install cocoapods

Remember to open the WORKSPACE and not the Xcode project file.

And once again, all credit to this gentleman and the others doing the hard work for the right reasons.

@chrisballinger
Copy link
Member

@Kage2021 People like you are the reason why I love open source software so much. I am on a brief hiatus from working on this, but getting OnionKit to build w/ Travis is one of my next "todos" along with a complete refactor/rewrite of the wrapper because I'm no longer a big fan of Tor.framework's approach of patching Tor so heavily.

@Kage2021
Copy link

Kage2021 commented Aug 9, 2014

Yeah, TOR seems really well written and maintained, but what do I know? I will be looking forward to your efforts and seeing what direction you take this in. I have just enough experience with development to get myself into trouble. From looking at your projects, your head is certainly in the right place.

I hope I haven't given any offense by working on this kit or whatever. I have no experience with github or open source so if I use your work incorrectly or without proper acknowledgements or whatever, let me know what the status quo is.

Keep on kicking developing kick ass shit for the people man.

@mdabbagh88
Copy link

OpenSSL:
Import these keys via GPG Keychain Access
http://www.citi.umich.edu/u/provos/pgp.key
http://www.wangafu.net/~nickm/public_key.asc
then execute:
./build-libssl.sh

LibEvent
execute:
./build-libevent.sh
If script 'build-libevent.sh' fails, try open it in TextEditor and change value:
VERIFYGPG=false

Tor:
Execute 'build-tor.sh' script
if this error appear '-bash: ./build-tor.sh: Permission denied'
then execute script like this:
bash build-tor.sh

@bulusoy
Copy link

bulusoy commented Aug 28, 2014

chmod +x build-tor.sh

Then again
./build-tor.sh

Sent from my iPhone

Am 28.08.2014 um 18:01 schrieb mdabbagh88 notifications@github.com:

OpenSSL:
Import these keys via GPG Keychain Access
http://www.citi.umich.edu/u/provos/pgp.key
http://www.wangafu.net/~nickm/public_key.asc
then execute:
./build-libssl.sh

LibEvent
execute:
./build-libevent.sh
If script 'build-libevent.sh' fails, try open it in TextEditor and change value:
VERIFYGPG=false

Tor:
Execute 'build-tor.sh' script
if this error appear '-bash: ./build-tor.sh: Permission denied'
then execute script like this:
bash build-tor.sh


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants