Hey Sean, 2009/4/8 Sean DeNigris <[email protected]>: > I tried everything I could think of and made some progress... > > I got wt to build and install using: > ../../usr/bin/cmake -DBOOST_COMPILER=gcc34 -DBOOST_VERSION=1_38 > -DBOOST_DIR=/home/~/usr -DCMAKE_INSTALL_PREFIX=/home/~/usr > -DCONFIGDIR=/home/~/etc/wt/ - DCONNECTOR_FCGI=YES -DCONNECTOR_HTTP=NO > -DEXAMPLES_CONNECTOR=wtfcgi -DRUNDIR=/home/~/usr/wt/run -DWEBUSER=~ > -DWEBGROUP=~ -DCMAKE_BUILD_TYPE=Release > -DWTHTTP_CONFIGURATION=/home/~/etc/wt/wthttpd ../ > > But when I try to run the bobsmith example, I get: > $ ./bobsmith.wt > [2009-Apr-07 22:57:33.525975] 28110 - [notice] "Wt: initializing FastCGI > session process manager" > [2009-Apr-07 22:57:33.526160] 28110 - [notice] "Reading Wt config file: > /home/~/etc/wt/wt_config.xml (location = './bobsmith.wt')" > [2009-Apr-07 22:57:33.526972] 28110 - [notice] "Spawned session process: > pid = 28111" > [2009-Apr-07 22:57:33.527106] 28110 - [fatal] "accept(): Socket operation > on non-socket" > $ [2009-Apr-07 22:57:33.536058] 28111 - [notice] "Wt: initializing > session process" > [2009-Apr-07 22:57:33.536250] 28111 - [notice] "Reading Wt config file: > /home/~/etc/wt/wt_config.xml (location = './bobsmith.wt')" > What does this mean? Please, any suggestions very welcome - I've been at it > for hours :(
You compiled your examples against the FastCGI connector, and therefore these examples expect to be started from within a web server. If you want to start the examples using the built-in web server (what it looks like you tried), you should use the build options: -DCONNECTOR_HTTP=YES -DEXAMPLES_CONNECTOR=wthttp Or, if you want to start the examples using a third-party web server (like apache), you should edit your fastcgi.conf (or similar file) to bind them to a path in your server. Regards, koen ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
