LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help compiling Winzig from source (https://www.linuxquestions.org/questions/linux-newbie-8/help-compiling-winzig-from-source-573046/)

Ryzol 07-28-2007 06:09 PM

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
line 23 column 70 - Warning: unescaped & or unknown entity "&item_name"
line 23 column 107 - Warning: unescaped & or unknown entity "&return"
line 45 column 1 - Error: unexpected </p> in <dl>
line 57 column 35 - Error: unexpected </a> in <li>
line 89 column 1 - Error: unexpected </ul> in <li>
line 149 column 1 - Error: unexpected </body> in <li>
line 150 column 1 - Error: unexpected </html> in <li>
2 warnings, 5 errors were found!

This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.

To learn more about HTML Tidy see http://tidy.sourceforge.net
Please send bug reports to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium
make: *** [htmlcheck] Error 2

Thanks in advance. :)

bsdunix 07-28-2007 08:09 PM

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

Ryzol 07-29-2007 06:24 PM

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?

Nylex 07-29-2007 11:52 PM

"." 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.

Ryzol 07-30-2007 09:54 AM

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.