help compiling Winzig from source
I download the winzig tarball and extract it. Open up the terminal navigate to the unzipped directory and type "make". It outputs this:
Code:
tidy -xml index.html >/dev/null |
Well according to the Readme:
Quickstart ========== After unpacking the archive (*.zip for Windows and *.gz for Linux/BSD) just run "./winzig.py". Note for Linux/BSD users ======================== The Python interpreter should be called "python2" and reside in the user's PATH. This can be changed by editing the first line in "winzig.py".) Alternatively, you can invoke the python interpreter directly, e.g.: /usr/bin/python2 winzig.py http://muth.org/Robert/Winzig/00readme |
Oh duh, should have realized that python is an intrepreted language. Also should have read the readme. Two followup questions. What does ./ mean/do? I think I've seen it used before for other but perhaps similar purposes. How do I make a link/shortcut that will run winzig?
|
"." is the current directory, so "./foo" is just the path to foo. If you hadn't done this and just typed "foo", the shell would have searched the directories in your $PATH and presumably wouldn't have found the executable, because "." isn't likely to be in there.
|
Neat. So why does navigating to my Winzig directory and typing "./winzig.py" work, but "~/Downloads/Winzig/winzig.py" bring up error messages? In theory should both commands do the same thing, but it is possible that they don't? If they should produce the same result what type of conditions would lead to conflicting results? If it helps the error message is that it can't read a database and local config files are not found.
|
All times are GMT -5. The time now is 03:17 PM. |