wiki:WtLAL

Wt au LAL

Wt implémente les fonctions graphiques au standard Qt dann un environnement Web.

Instructions complémentaires sur Windows

Installation de Wt sur le sl6-1

git clone http://www.webtoolkit.eu/git/winst.git
cd winst;aclocal;autoconf
./configure --prefix=/exp/pspa/dev/Wt-sl6-install/ --with-wt-version=3.2.0
make deps

xemacs deps/GraphicsMagick-1.3.12/configure  
-> Changer le 
   LDFLAGS="$LDFLAGS -L${xml2_prefix}/lib"
En
   LDFLAGS="-L${xml2_prefix}/lib64"

cd deps/libharu-kdeforche-git
ccmake . <- mettre le CMAKE_INSTALL_PREFIX au bon endroit
cd ../..
make deps-install
cd deps/libharu-kdeforche-git; make install
cd ../..
make wt
make wt-install
->
cd wt-build; ccmake .  et changer le contenu de la variable 'CONFIGDIR' : /tmp_mnt/www/Web/htdocs/users/garnier/Wt/install
cd ..; make wt-install

Installé sur xserv2

Ici : /Users/admin/Documents/wt-3.2.0/ Pour lancer un exemple (treeview-dragdrop):

cd  /Users/admin/Documents/wt-3.2.0/examples/treeview-dragdrop
../../build/examples/treeview-dragdrop/treeviewdragdrop.wt --docroot . --http-address 0.0.0.0 --http-port 8080

Notes (laurent)

ssh -Y vm-web-2;
cd /exp/pspa/dev;
curl http://www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz -o cmake-2.8.7.tar.gz; tar -xf cmake-2.8.7.tar.gz&; cd cmake-2.8.7; ./configure --prefix=../local/; make -j4; make install
-> Ok sur vm2

curl http://heanet.dl.sourceforge.net/project/boost/boost/1.49.0/boost_1_49_0.tar.gz -o boost_1_49_0.tar.gz; tar -xf boost_1_49_0.tar.gz ;cd boost_1_49_0; ./bootstrap.sh; ./b2;./bjam install --prefix=../local/
-> Ok sur vm2
 
curl ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz -o GraphicsMagick-LATEST.tar.gz; tar -xf GraphicsMagick-LATEST.tar.gz;cd GraphicsMagick-1.3.14/ ;./configure --prefix=../local/; make -j4&
-> Pb des lis zlib sur vm2
-> Pb aussi sur macserv2

curl http://fastcgi.com/dist/fcgi-2.4.0.tar.gz -o fcgi-2.4.0.tar.gz; tar -xf fcgi-2.4.0.tar.gz; ./configure --prefix=../local/; make -j4; make install

curl http://switch.dl.sourceforge.net/project/witty/wt/3.2.0/wt-3.2.0.tar.gz -o wt-3.2.0.tar.gz; tar -xf wt-3.2.0.tar.gz; cd wt-3.2.0;mkdir build; cd build;
/exp/pspa/dev/local/bin/cmake -DBOOST_ROOT=../../boost_1_49_0/ -DBOOST_INCLUDEDIR=../../local/include/boost/ -DBOOST_LIBRARYDIR=../../local/lib -DCMAKE_INSTALL_PREFIX=../../local/ -DCONFIGDIR=../../local/ ../
make -j8; make install; make -C examples
Last modified 12 years ago Last modified on Mar 6, 2012, 7:05:01 PM