Quoting Jean-Michel Caricand <[EMAIL PROTECTED]>:

Either you are still doing an in-tree build, or you did not remove the  
source-tree you had formerly used.

Remove the source tree, extract wt-2.1.3.tar.gz and do what Koen told you.

BTW, what Linux distribution are you using?

> Hmmm... I still have an error :-(
>
> -- Installing /usr/local/include/Ext/LineEdit
> -- Installing /usr/local/include/Ext/CMakeFiles
> CMake Error: Error in cmake code at
> /tmp/Wt/wt-2.1.3/src/Ext/cmake_install.cmake:45:
> FILE INSTALL cannot copy file "/tmp/Wt/wt-2.1.3/src/Ext/CMakeFiles" to
> "/usr/local/include/Ext/CMakeFiles".
> Current CMake stack:
> /tmp/Wt/wt-2.1.3/cmake_install.cmake;/tmp/Wt/wt-2.1.3/src/cmake_install.cmake;/tmp/Wt/wt-2.1.3/src/Ext/cmake_install.cmake
> make: *** [install] Erreur 255
> amande:/tmp/Wt/wt-2.1.3#
>
> ... same error
>
>> Hey Jean-Michel,
>>
>> 2008/6/20 Jean-Michel Caricand <[EMAIL PROTECTED]>:
>>> Hi,
>>>
>>> I'm trying to install Wt (Linux). I get an error when I do "make
>>> install" :
>>>
>>> -- Installing /usr/local/include/Ext/LineEdit
>>> -- Installing /usr/local/include/Ext/CMakeFiles
>>> CMake Error: Error in cmake code at
>>> /tmp/Wt/wt/src/Ext/cmake_install.cmake:45:
>>> FILE INSTALL cannot copy file "/tmp/Wt/wt/src/Ext/CMakeFiles" to
>>> "/usr/local/include/Ext/CMakeFiles".
>>> Current CMake stack:
>>> /tmp/Wt/wt/cmake_install.cmake;/tmp/Wt/wt/src/cmake_install.cmake;/tmp/Wt/wt/src/Ext/cmake_install.cmake
>>> make: *** [install] Erreur 255
>>> amande:/tmp/Wt/wt#
>>>
>>> Any ideas ?
>>
>> It looks like you have done an in-source build. This does not work
>> properly for Wt.
>> You should build like this:
>>
>> (unpack your src)
>> $ cd wt-x-y
>> $ mkdir build # create a separate build directory
>> $ cd build
>> $ cmake ../ # run cmake, add optional arguments
>> $ make
>> $ (sudo) make install

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to