Hello Wim,
Here's what I get with make VERBOSE=1
/opt/local/bin/cmake -H/Users/alexei/Dev/wt-3.1.2
-B/Users/alexei/Dev/wt-3.1.2/build --check-build-system
CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start
/Users/alexei/Dev/wt-3.1.2/build/CMakeFiles
/Users/alexei/Dev/wt-3.1.2/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f src/CMakeFiles/wt.dir/build.make src/CMakeFiles/wt.dir/depend
cd /Users/alexei/Dev/wt-3.1.2/build && /opt/local/bin/cmake -E
cmake_depends "Unix Makefiles" /Users/alexei/Dev/wt-3.1.2
/Users/alexei/Dev/wt-3.1.2/src /Users/alexei/Dev/wt-3.1.2/build
/Users/alexei/Dev/wt-3.1.2/build/src
/Users/alexei/Dev/wt-3.1.2/build/src/CMakeFiles/wt.dir/DependInfo.cmake
--color=
make -f src/CMakeFiles/wt.dir/build.make src/CMakeFiles/wt.dir/build
make[2]: Nothing to be done for `src/CMakeFiles/wt.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report
/Users/alexei/Dev/wt-3.1.2/build/CMakeFiles 31 32 33 34 35 36 37 38
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
[ 73%] Built target wt
make -f src/Wt/Dbo/CMakeFiles/wtdbo.dir/build.make
src/Wt/Dbo/CMakeFiles/wtdbo.dir/depend
cd /Users/alexei/Dev/wt-3.1.2/build && /opt/local/bin/cmake -E
cmake_depends "Unix Makefiles" /Users/alexei/Dev/wt-3.1.2
/Users/alexei/Dev/wt-3.1.2/src/Wt/Dbo /Users/alexei/Dev/wt-3.1.2/build
/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo
/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo/CMakeFiles/wtdbo.dir/DependInfo.cmake
--color=
make -f src/Wt/Dbo/CMakeFiles/wtdbo.dir/build.make
src/Wt/Dbo/CMakeFiles/wtdbo.dir/build
make[2]: Nothing to be done for `src/Wt/Dbo/CMakeFiles/wtdbo.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report
/Users/alexei/Dev/wt-3.1.2/build/CMakeFiles 82 83 84
[ 78%] Built target wtdbo
make -f src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/build.make
src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/depend
cd /Users/alexei/Dev/wt-3.1.2/build && /opt/local/bin/cmake -E
cmake_depends "Unix Makefiles" /Users/alexei/Dev/wt-3.1.2
/Users/alexei/Dev/wt-3.1.2/src/Wt/Dbo/backend
/Users/alexei/Dev/wt-3.1.2/build
/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo/backend
/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/DependInfo.cmake
--color=
make -f src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/build.make
src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/build
Linking CXX shared library libwtdbosqlite3.dylib
cd /Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo/backend &&
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/wtdbosqlite3.dir/link.txt --verbose=1
/usr/bin/c++ -mmacosx-version-min=10.6 -O2 -g -dynamiclib
-headerpad_max_install_names -compatibility_version 3.0.0
-current_version 3.1.2 -o libwtdbosqlite3.3.1.2.dylib -install_name
/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo/backend/libwtdbosqlite3.3.dylib
CMakeFiles/wtdbosqlite3.dir/Sqlite3.o
CMakeFiles/wtdbosqlite3.dir/amalgamation/sqlite3.o -L/opt/local/lib
-L/Users/alexei/Dev/wt-3.1.2/build/src/Wt/Dbo ../libwtdbo.3.1.2.dylib
-ldl
Undefined symbols:
"boost::gregorian::greg_month::get_month_map_ptr()", referenced from:
boost::gregorian::date
boost::date_time::parse_date<boost::gregorian::date>(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, int)in
Sqlite3.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [src/Wt/Dbo/backend/libwtdbosqlite3.3.1.2.dylib] Error 1
make[1]: *** [src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/all] Error 2
make: *** [all] Error 2
On Tue, May 4, 2010 at 3:24 PM, Wim Dumon <[email protected]> wrote:
> Hello Alexei,
>
> Can you show the link command that you see when you build with 'make
> VERBOSE=1'? This could be a bug in our CMakeLists.txt files.
>
> Wim.
>
> 2010/5/4 Alexei Vinidiktov <[email protected]>:
>> Hi Dmitriy,
>>
>> Thanks for your suggestion.
>>
>> I've tried it, but the result was the same.
>>
>> On Tue, May 4, 2010 at 2:05 PM, Dmitriy Igrishin <[email protected]> wrote:
>>> Hey Alexei,
>>>
>>> Please, try to pass BOOST_DIR and BOOST_VERSION only.
>>>
>>> Regards,
>>> Dmitriy
>>>
>>> 2010/5/4 Alexei Vinidiktov <[email protected]>
>>>>
>>>> I used this command:
>>>>
>>>> cmake -DBOOST_DIR=/opt/local -DBOOST_INCLUDE_DIRS=/opt/local/include
>>>> -DBOOST_VERSION=1_42 -DBOOST_COMPILER=xgcc42 ../
>>>>
>>>> On Tue, May 4, 2010 at 1:53 AM, Dmitriy Igrishin <[email protected]>
>>>> wrote:
>>>> > Hey Alexei,
>>>> >
>>>> > Did you try to pass BOOST_DIR and BOOST_VERSION to cmake?
>>>> >
>>>> > Regards,
>>>> > Dmitriy
>>>> >
>>>> > 2010/5/3 Alexei Vinidiktov <[email protected]>
>>>> >>
>>>> >> Thanks for your input, Dmitriy.
>>>> >>
>>>> >> I have libboost_date_time-mt.a, libboost_date_time-mt.dylib in
>>>> >> /opt/local/lib, and date_time and date_time.hpp in
>>>> >> /opt/local/include/boost
>>>> >>
>>>> >> All the other boost libs and hpp files are in the same directories.
>>>> >> They've got to be visible to the linker.
>>>> >>
>>>> >> Any thoughts?
>>>> >>
>>>> >> On Mon, May 3, 2010 at 9:35 PM, Dmitriy Igrishin <[email protected]>
>>>> >> wrote:
>>>> >> > Hey Alexei,
>>>> >> >
>>>> >> > Seems to Boost.Date_Time library not present on you system
>>>> >> > or not visible to linker.
>>>> >> >
>>>> >> > Regards,
>>>> >> > Dmitriy
>>>> >> >
>>>> >> > 2010/5/3 Alexei Vinidiktov <[email protected]>
>>>> >> >>
>>>> >> >> Hello,
>>>> >> >>
>>>> >> >> I'm trying to compile Wt on Snow Leopard. I'm using boost and cmake
>>>> >> >> from MacPorts.
>>>> >> >>
>>>> >> >> I've successfully built two libraries (libwt.3.1.2.dylib and
>>>> >> >> libwtdbo.3.1.2.dylib), but when it came to building
>>>> >> >> libwtdbosqlite3.dylib, I got the following error:
>>>> >> >>
>>>> >> >> Linking CXX shared library libwtdbosqlite3.dylib
>>>> >> >> Undefined symbols:
>>>> >> >> "boost::gregorian::greg_month::get_month_map_ptr()", referenced
>>>> >> >> from:
>>>> >> >> boost::gregorian::date
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> boost::date_time::parse_date<boost::gregorian::date>(std::basic_string<char,
>>>> >> >> std::char_traits<char>, std::allocator<char> > const&, int)in
>>>> >> >> Sqlite3.o
>>>> >> >> ld: symbol(s) not found
>>>> >> >> collect2: ld returned 1 exit status
>>>> >> >> make[2]: *** [src/Wt/Dbo/backend/libwtdbosqlite3.3.1.2.dylib] Error
>>>> >> >> 1
>>>> >> >> make[1]: *** [src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/all]
>>>> >> >> Error
>>>> >> >> 2
>>>> >> >> make: *** [all] Error 2
>>>> >> >>
>>>> >> >> --
>>>> >> >> Alexei Vinidiktov
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> ------------------------------------------------------------------------------
>>>> >> >> _______________________________________________
>>>> >> >> 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
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Alexei Vinidiktov
>>>> >>
>>>> >>
>>>> >>
>>>> >> ------------------------------------------------------------------------------
>>>> >> _______________________________________________
>>>> >> 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
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Alexei Vinidiktov
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Alexei Vinidiktov
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> 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
>
--
Alexei Vinidiktov
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest