Wim Dumon a écrit :
> Hello,
>
> I just tested both current git, 2.99.2 and 2.2.4 on an ubuntu 9.04,
> and all had no promblems compiling with the same instructions as you
> provided (I even recompiled boost).
>
> I see that you do not have -DBOOST_ASIO in your compile options,
> apparantly there is something wrong with the auto-detection of this
> compile option.
>
> Could you remove this block of code from cmake/WtFindAsio.txt?
>
> FIND_PATH(PLAIN_ASIO_INCLUDE
> NAMES
> asio.hpp
> PATHS
> ${BOOST_INCLUDE_DIRS}
> /usr/include
> /usr/local/include
> )
>
> Let me know if this works, so that I can fix it. WtFindAsio.txt needs
> some attention anyway as we don't support separate asio libraries
> anymore.
>
> Best regards,
> Wim.
>
> 2009/7/9 Jean-Michel Caricand <[email protected]>:
>
>> Wim Dumon a écrit :
>>
>>> Hello Jean-Michel,
>>>
>>> I build Wt with boost 1.39 on my development system (linux). As Guy
>>> points out, it installed the libraries in the wrong place, but
>>> otherwise it works fine. Your problem seems to be a header file
>>> problem, apparently a mixup with a previous version of boost or asio.
>>>
>>> If you want to use a new version of boost (or whatever dependency) on
>>> your old build tree, I strongly suggest to erase the entire build
>>> tree, especially the CMakeCache.txt file, and rerun cmake from
>>> scratch. Cmake is very bad at forgetting things that it has found
>>> before. Also, build with 'make VERBOSE=1' to see the actual compile
>>> commands, that may reveal configuration errors.
>>>
>>> Regards,
>>> Wim.
>>>
>>>
>>> 2009/7/7 Jean-Michel Caricand <[email protected]>:
>>>
>>>
>>>> Wim Dumon a écrit :
>>>>
>>>>
>>>>> Hello Jean-Michel,
>>>>>
>>>>> I just tested this with the current development version of Wt, and
>>>>> your code works: the dialog closes after clicking OK just once. You're
>>>>> using a pre-2.99 version of Wt (where the signals are still accessed
>>>>> by value rather than trough a function). Can you upgrade to the most
>>>>> recent version and retest? If not, what version of Wt are you using?
>>>>>
>>>>> Thank you,
>>>>> Wim.
>>>>>
>>>>> 2009/7/6 Jean-Michel Caricand <[email protected]>:
>>>>>
>>>>>
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I created this method to authenticate my users :
>>>>>>
>>>>>> void BibtexUpload::doLogin()
>>>>>> {
>>>>>> Wt::WDialog dialog("Connexion");
>>>>>>
>>>>>> new Wt::WText("User: ", dialog.contents());
>>>>>> Wt::WLineEdit user(dialog.contents());
>>>>>> new Wt::WBreak(dialog.contents());
>>>>>> new Wt::WText("Password: ", dialog.contents());
>>>>>> Wt::WLineEdit password(dialog.contents());
>>>>>> new Wt::WBreak(dialog.contents());
>>>>>>
>>>>>> Wt::WPushButton ok("Ok", dialog.contents());
>>>>>>
>>>>>> ok.clicked.connect(SLOT(&dialog, Wt::WDialog::accept));
>>>>>>
>>>>>> if (dialog.exec() == Wt::WDialog::Accepted) {
>>>>>> authenticate( user.text(), password.text() );
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> I must click twice on ok button to close my dialog. Why ?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> --
>>>>>> Jean-Michel Caricand
>>>>>>
>>>>>> Laboratoire Informatique de l'Université de Franche-Comté
>>>>>> 16 route de Gray
>>>>>> 25000 Besançon
>>>>>>
>>>>>> Tél : 03 81 66 20 63
>>>>>> Courriel : [email protected]
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> witty-interest mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> witty-interest mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>>>
>>>>>
>>>>>
>>>> Hello,
>>>>
>>>> I can't build git version of Wt with boost 1.39 :
>>>>
>>>> /home/jmcaricand/wt/src/http/Server.C: In member function 'void
>>>> http::server::Server::select_read(int)':
>>>> /home/jmcaricand/wt/src/http/Server.C:295:24: erreur: 'null_buffers' is
>>>> not a member of 'asio'
>>>> /home/jmcaricand/wt/src/http/Server.C: In member function 'void
>>>> http::server::Server::select_write(int)':
>>>> /home/jmcaricand/wt/src/http/Server.C:325:23: erreur: 'null_buffers' is
>>>> not a member of 'asio'
>>>> make[2]: *** [src/http/CMakeFiles/wthttp.dir/Server.o] Erreur 1
>>>>
>>>> Which boost version do you have to build Wt ?
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Jean-Michel Caricand
>>>>
>>>> Laboratoire Informatique de l'Université de Franche-Comté
>>>> 16 route de Gray
>>>> 25000 Besançon
>>>>
>>>> Tél : 03 81 66 20 63
>>>> Courriel : [email protected]
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Enter the BlackBerry Developer Challenge
>>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>>> vendors submitting new applications to BlackBerry App World(TM) will have
>>>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>>>> details at: http://p.sf.net/sfu/blackberry
>>>> _______________________________________________
>>>> witty-interest mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>>
>>>>
>>>>
>>> ------------------------------------------------------------------------------
>>> Enter the BlackBerry Developer Challenge
>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>> vendors submitting new applications to BlackBerry App World(TM) will have
>>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>>> details at: http://p.sf.net/sfu/blackberry
>>> _______________________________________________
>>> witty-interest mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>
>>>
>> Hello,
>>
>> On a new minimal system (Debian Lenny), I have installed boost 1.39 and
>> wt (git version). I have done :
>>
>> # tar xvfj boost_1_39_0.tar.bz2
>> # cd boost_1_39_0/
>> # sed -i -e "s/EXPREFIX/EPREFIX/" ./bootstrap.sh
>> # ../bootstrap.sh --prefix=/usr/local
>>
>> boost headers files are in /usr/local/include/boost-1_39/ directory and
>> boost libs in /usr/local/lib directory
>>
>> # bjam install
>> # cd ~/wt
>> # mkdir build
>> # cd build
>> # cmake -D BOOST_DIR=/usr/local -D BOOST_VERSION=1_39 -D
>> BOOST_COMPILER=gcc43 ../
>> # make VERBOSE=1
>> .......
>> [ 95%] Building CXX object src/http/CMakeFiles/wthttp.dir/Request.o
>> cd /home/jm/wt/build/src/http && /usr/bin/c++ -DWT_THREADED
>> -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE -DHTTP_WITH_SSL
>> -DWTHTTP_WITH_ZLIB -Dwthttp_EXPORTS -O2 -g -fPIC
>> -I/usr/local/include/boost-1_39 -I/home/jm/wt/build
>> -I/home/jm/wt/src/web -I/home/jm/wt/src -I/home/jm/wt/build/src
>> -I/home/jm/wt/src/mxml -I/usr/local/include
>> -I/home/jm/wt/src/http/../web -I/home/jm/wt/src/http/../wt
>> -I/home/jm/wt/build/src/http -o CMakeFiles/wthttp.dir/Request.o -c
>> /home/jm/wt/src/http/Request.C
>> /usr/bin/cmake -E cmake_progress_report /home/jm/wt/build/CMakeFiles 71
>> [ 97%] Building CXX object src/http/CMakeFiles/wthttp.dir/RequestHandler.o
>> cd /home/jm/wt/build/src/http && /usr/bin/c++ -DWT_THREADED
>> -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE -DHTTP_WITH_SSL
>> -DWTHTTP_WITH_ZLIB -Dwthttp_EXPORTS -O2 -g -fPIC
>> -I/usr/local/include/boost-1_39 -I/home/jm/wt/build
>> -I/home/jm/wt/src/web -I/home/jm/wt/src -I/home/jm/wt/build/src
>> -I/home/jm/wt/src/mxml -I/usr/local/include
>> -I/home/jm/wt/src/http/../web -I/home/jm/wt/src/http/../wt
>> -I/home/jm/wt/build/src/http -o CMakeFiles/wthttp.dir/RequestHandler.o
>> -c /home/jm/wt/src/http/RequestHandler.C
>> /usr/bin/cmake -E cmake_progress_report /home/jm/wt/build/CMakeFiles
>> [ 97%] Building CXX object src/http/CMakeFiles/wthttp.dir/RequestParser.o
>> cd /home/jm/wt/build/src/http && /usr/bin/c++ -DWT_THREADED
>> -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE -DHTTP_WITH_SSL
>> -DWTHTTP_WITH_ZLIB -Dwthttp_EXPORTS -O2 -g -fPIC
>> -I/usr/local/include/boost-1_39 -I/home/jm/wt/build
>> -I/home/jm/wt/src/web -I/home/jm/wt/src -I/home/jm/wt/build/src
>> -I/home/jm/wt/src/mxml -I/usr/local/include
>> -I/home/jm/wt/src/http/../web -I/home/jm/wt/src/http/../wt
>> -I/home/jm/wt/build/src/http -o CMakeFiles/wthttp.dir/RequestParser.o
>> -c /home/jm/wt/src/http/RequestParser.C
>> /usr/bin/cmake -E cmake_progress_report /home/jm/wt/build/CMakeFiles
>> [ 97%] Building CXX object src/http/CMakeFiles/wthttp.dir/Server.o
>> cd /home/jm/wt/build/src/http && /usr/bin/c++ -DWT_THREADED
>> -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE -DHTTP_WITH_SSL
>> -DWTHTTP_WITH_ZLIB -Dwthttp_EXPORTS -O2 -g -fPIC
>> -I/usr/local/include/boost-1_39 -I/home/jm/wt/build
>> -I/home/jm/wt/src/web -I/home/jm/wt/src -I/home/jm/wt/build/src
>> -I/home/jm/wt/src/mxml -I/usr/local/include
>> -I/home/jm/wt/src/http/../web -I/home/jm/wt/src/http/../wt
>> -I/home/jm/wt/build/src/http -o CMakeFiles/wthttp.dir/Server.o -c
>> /home/jm/wt/src/http/Server.C
>> /home/jm/wt/src/http/Server.C: In member function 'void
>> http::server::Server::select_read(int)':
>> /home/jm/wt/src/http/Server.C:295: error: 'null_buffers' is not a member
>> of 'asio'
>> /home/jm/wt/src/http/Server.C: In member function 'void
>> http::server::Server::select_write(int)':
>> /home/jm/wt/src/http/Server.C:325: error: 'null_buffers' is not a member
>> of 'asio'
>> make[2]: *** [src/http/CMakeFiles/wthttp.dir/Server.o] Erreur 1
>> make[2]: quittant le répertoire « /home/jm/wt/build »
>> make[1]: *** [src/http/CMakeFiles/wthttp.dir/all] Erreur 2
>> make[1]: quittant le répertoire « /home/jm/wt/build »
>> make: *** [all] Erreur 2
>> amande:/home/jm/wt/build#
>>
>> I always have theses errors :(
>>
>> Any ideas ?
>>
>> Thanks
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
Hi Wim,
That works fine.
Thanks for your help.
--
Jean-Michel Caricand
Laboratoire Informatique de l'Université de Franche-Comté
16 route de Gray
25000 Besançon
Tél : 03 81 66 20 63
Courriel : [email protected]
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest