# compile script for flower, a universal web service # ################################################################ # # Copyright (C) 2007 Thomas Lord # Licensed under the Open Software License version 3.0 # Patents Pending # # The "Open Software License version 3.0" refers to the # license that should be included with this software as a file # named "LICENSE-FOR-SOURCE-CODE" but that is # in any event the license recognized by that name by the # Open Source Initiative (opensource.org). # ################################################################ # # BEGIN COMPILATION SCRIPT # # # You will need to modify this script for your environment. # ################################################################ g++ -g \ -O2 \ -I/home/lord/work/flower/0.5/install/include \ -o flower.cgi \ source-code.cpp \ -L/home/lord/work/flower/0.5/install/lib \ -L/lib \ -lcgicc \ -lfcgi++ \ -lxqilla \ -lxerces-c \ -ldbxml-2.3 \ -ldb_cxx-4.5 \ -luuid++ \ -lssl ################################################################ # # You will need to modify this script for your environment. # # # END COMPILATION SCRIPT # ################################################################ # That's all there is to it. Explanation: # # -I/home/lord/Desktop[...] # That's in my home directory on my local machine. # You will (obviously) need "-I" arguments to find # header files for the libraries listed below. # "flower" does not itself include any new header # files. # # -L/home/lord/Desktop[...] # Similar to -I. # # # And the interesting part, the libraries you'll need: # # # -lcgicc # A popular CGI "helper library". # # I use "cgicc-3.2.3" as published by the GNU project # (via the Free Software Foundation). # # -lfcgi++ # A popular FAST CGI "helper library". # # I use "fcgi-2.4.0" as copyrighted by "Open Market Inc." # and widely available. ("Open Market Inc." has no # affiliation with "flower" and no endorsements are # implied here.) # # -lxqilla # -lxerces-c # -ldbxml-2.3 # -ldb_cxx-4.5 # An ACID XML database with XQuery support. # # CAREFUL! THE PATCH LEVEL ACTUALLY MATTERS! # I use "dbxml-2.3.10" as published by "Oracle Inc." # and have applied patches #1..#9 (from the same # distributor). ("Oracle Inc." has no # affiliation with "flower" and no endorsements are # implied here.) # # -luuid++ # A popular unique identifier generator. # # I use the "OSSP uuid" library as published and # copyright by "Ralf S. Engelshall" and "The OSSP Project". # ("Ralf S. Engelshall" and "The OSSP Project" have no # affiliation with "flower" and no endorsements are # implied here.) # # -lssl # Used here for its SHA1 library. # (Well known library.) #