shadow / shadow-plugin-tor

A Shadow plug-in that runs the Tor anonymity software
https://shadow.github.io
Other
49 stars 39 forks source link

~/.shadow/bin/tgen is not valid path #99

Closed GitZinger closed 4 years ago

GitZinger commented 4 years ago

So I install the shadow, TGen, Plug-in-Tor, following the book step by step. and tried to run shadow shadow.config.xml > shadow.log according to the https://github.com/shadow/shadow-plugin-tor/wiki it prompts ~/.shadow/bin/tgen is not valid path for the TGen I followed the https://github.com/shadow/tgen (README.md) there is no specific specification for the TGen to be installed in the ~/.shadow/bin/ folder, and I tried to change the TGen path in shadow.config.xml in the Tor/resource folder, still it does not work, please help what else I should do to make these things working together ?

jtracey commented 4 years ago

If you want to run TGen in Shadow, you should be following Shadow's instructions, not TGen's. Specifically, you need to point the install prefix at the ~/.shadow directory, not ~/.local.

jtracey commented 4 years ago

You need to run the cmake command to configure, make to build, then make install to install to that directory. If you have problems, try removing the build directory and start over.

GitZinger commented 4 years ago

You need to run the cmake command to configure, make to build, then make install to install to that directory. If you have problems, try removing the build directory and start over.

ah thank you so much! I am not being myself today. figured it out. but I encounter another error. any chance you could help me here? I really appreciate it! I tried to run the following command in the tor/resource/minimal folder shadow shadow.config.xml > shadow.log and it stops with -1 code as return shadow.log

jtracey commented 4 years ago

That's likely because of a similar issue to https://github.com/shadow/shadow/issues/742; I don't think the examples in shadow-plugin-tor have been updated to the new TGen version.

robgjansen commented 4 years ago

I'm looking into this now.

robgjansen commented 4 years ago

Opened GH-100 for the config issue, where we need to update the minimal and toy examples. The original issue reported here, i.e., the install location of tgen, has been fixed so I am closing this now.