_______ .__ .__ .__ .__ \ \ ____ __ __ _______ |__|| | | | |__| ____ ____ / | \ _/ __ \ | | \\_ __ \| || | | | | | / _ \ / \ / | \\ ___/ | | / | | \/| || |__| |__| |( <_> )| | \ \____|__ / \___ >|____/ |__| |__||____/|____/|__| \____/ |___| / =========\/======\/=================================================\/== v0.01 04/JUL/2007 (C) Copyright 2007-2007 Scott D. Yelich SOME RIGHTS RESERVED .,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.-*~'`^`'~*-,._.,-*~'`^`'~*-,. This is the "INSTALL" file for the Neurillion free web page counter "bug" v1 http://www.neurillion.com/p/33/counters/bug/v1/INSTALL The software is released under Creative Commons - Attribution 3.0 unported see: http://creativecommons.org/licenses/by/3.0/legalcode This counter requires sqlite3 to be available. Although it's possible to include the single amalgamated sqlite3.h file and compile, the current configuration uses sqlite3 as a library. The counter source is in the "src" sub directory. There is a unix makefile in the directory. Basically, compile counter_bug_v1.cpp and add -lsqlite3 to the link line, ie: g++ counter_bug_v1.cpp -o counter_bug_v1 -lsqlite There is only a single item that needs to be changed in the source code. The path to the database needs to be set in the "DBNAME" definition. Change: static const char DBNAME[] = "/www/neurillion/p/33/databases/hits.sq3"; to something else, such as: static const char DBNAME[] = "/tmp/data.db"; After the program has compiled successfully, the resulting binary needs to be put into a location where it may be executed via a URL. Please refer to your web server manual for information on how to enable this. Finally, add the link to the "bug" to the HTML for a page: