Hi,

I'm the guy packaging Wt for Debian and Ubuntu.

What version of Ubuntu are you using? I will upload Wt 2.2.4 to my
Ubuntu PPA tonight. I will give priority to the Ubuntu version you are
using if you tell me what version you are testing with (I have several
funny combinations due to some versions of Boost being obsoleted in
Debian).

Packaging Wt 2.99.x will take at least a couple of weeks because I
want to split Wt in several packages.

Now, back to you problem: it's failing because the CMakeLists.txt is
wrong. Apply the attached patch (it will be in the 2.2.4 Ubuntu
package tonight). Koen, Wim, could you please apply it upstream?

On Mon, May 11, 2009 at 10:36 AM,  <[email protected]> wrote:
> Hi all,
>
> I should evaluate the toolkit for using it on a commercial project on an 
> embedded system. For testing I try to install it on a linux system. I have to 
> admit that I'm not very familiar with linux.
>
> I followed the instructions for ubuntu on the wt wiki for the prebuilt 
> packages. When I try to build the examples as described in the wiki and the 
> readme-file I get the following output. It seems that there is also something 
> wrong with the boost-lib. I installed boost 1.35 as described and a test of 
> an example worked well.
>
> x...@xx-desktop:~/dev/wtexamples$ cmake 
> -DWT_SOURCE_DIR=/usr/share/doc/witty-doc/ -DEXAMPLES_CONNECTOR="wt;wthttp" 
> /usr/share/doc/witty-doc/examples
> -- ** Filetreetable example needs boost_filesystem library... Skipping.
> -- ** Form example needs boost_date_time library... Skipping.
> CMake Error: Error in cmake code at
> /usr/share/doc/witty-doc/examples/hello-widgetset/CMakeLists.txt:1:
> IF had incorrect arguments: ${EXAMPLES_CONNECTOR} MATCHES "wthttp" (Unknown 
> arguments specified).
> Current CMake stack:
> [1]     /usr/share/doc/witty-doc/examples/hello-widgetset/CMakeLists.txt
> CMake Error: Error in cmake code at
> /usr/share/doc/witty-doc/examples/hello-widgetset/CMakeLists.txt:25:
> ELSE An ELSE command was found outside of a proper IF ENDIF structure. Or its 
> arguments did not match the opening IF command.
> Current CMake stack:
> [1]     /usr/share/doc/witty-doc/examples/hello-widgetset/CMakeLists.txt
> -- ** hello-widget set example requires the built-in http... Skipping.
> -- ** Mandelbrot example needs gd library... Skipping.
> -- ** Serverpush example needs boost with thread support... Skipping.
> -- ** Style example needs gd library... Skipping.
> -- ** hangman example needs mysql++-2.x library... Skipping.
> -- ** Wt/Qt interopability example (wtwithqt) needs Qt4... Skipping.
> -- Configuring done
>
> Another question: How do I have to configure an IDE like kdevelop for 
> developing wt projects?
>
> Kind regards,
> Sylvia
> --
> Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
> für nur 17,95 Euro/mtl.!* 
> http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
diff -rupd witty-2.2.4.orig/examples/hello-widgetset/CMakeLists.txt witty-2.2.4/examples/hello-widgetset/CMakeLists.txt
--- witty-2.2.4.orig/examples/hello-widgetset/CMakeLists.txt	2009-05-11 11:27:50.000000000 +0200
+++ witty-2.2.4/examples/hello-widgetset/CMakeLists.txt	2009-05-11 11:28:13.000000000 +0200
@@ -1,4 +1,4 @@
-IF (${EXAMPLES_CONNECTOR} MATCHES "wthttp")
+IF (EXAMPLES_CONNECTOR MATCHES "wthttp")
 
   ADD_EXECUTABLE(hello-widgetset.wt hello.C)
   TARGET_LINK_LIBRARIES(hello-widgetset.wt ${EXAMPLES_CONNECTOR})
@@ -22,8 +22,8 @@ IF (${EXAMPLES_CONNECTOR} MATCHES "wthtt
     ${CMAKE_CURRENT_BINARY_DIR}/deploy.sh
     )
 
-ELSE (${EXAMPLES_CONNECTOR} MATCHES "wthttp")
+ELSE (EXAMPLES_CONNECTOR MATCHES "wthttp")
 
   MESSAGE(STATUS "** hello-widget set example requires the built-in http... Skipping.")
 
-ENDIF (${EXAMPLES_CONNECTOR} MATCHES "wthttp")
+ENDIF (EXAMPLES_CONNECTOR MATCHES "wthttp")
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to