shadow / shadow-plugin-tor

A Shadow plug-in that runs the Tor anonymity software

Home Page:https://shadow.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GitZinger opened this issue · comments

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 ?

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.

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.

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

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

I'm looking into this now.

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.