On Ubuntu 10.10 - the Maverick Meerkat, I found Wt is there in
universe repository as transition package, of version 3.1.2-2. When I
install it, witty-doc is supposed to include examples. But I found
/usr/share/doc/witty-doc/examples contain no example, though this
folder is there and have three files namely changelog.Debian.gz,
changelog.gz and  copyright

If I copy example from other installation, and try following commands:

tcc@tcc:~/Wt$ cmake -DWT_SOURCE_DIR=/usr/share/doc/witty-doc/
-DEXAMPLES_CONNECTOR="wt;wthttp" /usr/share/doc/witty-doc/examples >
a.txt
** Enabling multi threading.
tcc@tcc:~/Wt$ make >> a.txt

It gave following error:

/usr/share/doc/witty-doc/examples/bobsmith/bobsmith.C:7: fatal error:
Wt/WApplication: No such file or directory
compilation terminated.
make[2]: *** [bobsmith/CMakeFiles/bobsmith.wt.dir/bobsmith.o] Error 1
make[1]: *** [bobsmith/CMakeFiles/bobsmith.wt.dir/all] Error 2
make: *** [all] Error 2
tcc@tcc:~/Wt$

File a.txt is below signature.

If I install using pre-built package (ref:
http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Ubuntu#Installing-from-prebuilt-packages
), with ppa:pgquiles/wt

It showed examples in /usr/lib/Wt/examples

When I issue command as given below, it results in error:

tcc@tcc:~/Wt$ cmake -DWT_SOURCE_Dir=/usr/lib/Wt/
-DEXAMPLES_CONNECTOR="wt;wthttp" /usr/lib/Wt/examples
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:366 ] boost 1.42.0
is already in the cache.  For debugging messages, please clear the
cache.
-- Found the Wt libraries at
/usr/lib/libwt.so;/usr/lib/libwtext.so;/usr/lib/libwthttp.so;/usr/lib/libwtdbo.so;/usr/lib/libwtdbosqlite3.so;/usr/lib/libwtdbopostgres.so
-- Found the Wt headers at /usr/include
-- Found the Wt debug libraries at
/usr/lib/libwt.so;/usr/lib/libwtext.so;/usr/lib/libwthttp.so;/usr/lib/libwtdbo.so;/usr/lib/libwtdbosqlite3.so;/usr/lib/libwtdbopostgres.so
-- Found the Wt debug headers at /usr/include
** Enabling multi threading.
CMake Error at feature/widgetset/CMakeLists.txt:12 (TARGET_LINK_LIBRARIES):
  Cannot specify link libraries for target "hello-widgetset.wt" which is not
  built by this project.


-- Configuring incomplete, errors occurred!
tcc@tcc:~/Wt$

Please help me to install Wt on Ubuntu.

-- 
H.S.Rai

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- ** Mandelbrot example needs gd library... Skipping.
-- ** Style example needs gd library... Skipping.
-- ** hangman example needs mysql++-2.x library... Skipping.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tcc/Wt
Scanning dependencies of target bobsmith.wt
[  1%] Building CXX object bobsmith/CMakeFiles/bobsmith.wt.dir/bobsmith.o

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to