Hi Diego,
yes I've checked (and updated) the boost macports (I use macports in all
the builds). They are installed at /opt/local/lib/ and there are all the
*.dlib files included the program_options one.
As you can see at the build script, the LDFLAGS variable is set to
"-l/opt/local/lib" as well as the CPPFLAGS is set to "-I/opt/local/include".
Maybe the m4 macros are ready only for /urs/local/ and not for /opt/local ?
Hmmm, the ax_boost_base.m4 macro looks at:
/usr /usr/local /opt
Maybe it worths to try to add there /opt/local ? I'll try that tomorrow.
Cheers!
2013/2/4 Diego Barrios Romero <[email protected]>
> Hey Carlos,
> I have no idea about the Mac platform but from what I see in the build
> report, have you checked that you have the actual library ready for linking
> and not only the headers?
>
> Maybe you could try with an example program.
>
> Best regards,
> Diego.
> On Feb 3, 2013 1:55 PM, "Carlos López González" <[email protected]>
> wrote:
>
>> Btw, my build script is this:
>>
>> #!/bin/sh
>> CPUS=4
>> cd synfig
>> prefix=$(pwd)/install
>> export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
>> export ACLOCAL_FLAGS="-I $prefix/share/aclocal"
>> export PATH=$(pwd)/synfig-core/src/tool/.libs:$PATH
>> #export CXX="/opt/local/bin/ccache /usr/bin/g++"
>> #export CPP="/usr/bin/cpp"
>> export CPPFLAGS="-I/opt/local/include"
>> export LDFLAGS="-L/opt/local/lib"
>>
>> cd ETL &&
>> autoreconf --install --force &&
>> ./configure --prefix $prefix &&
>> make --debug=b install &&
>> \
>> cd ../synfig-core &&
>> glibtoolize --copy --force &&
>> autoreconf --install --force &&
>> ./configure --prefix $prefix --enable-optimization=0 --enable-debug &&
>> make --debug=b -j $CPUS install &&
>> \
>> cd ../synfig-studio &&
>> autoreconf --install --force &&
>> ./configure --prefix $prefix --enable-optimization=0 --enable-debug &&
>> make --debug=b -j $CPUS install
>>
>> So it seems that it already looks into /opt/local/lib
>>
>>
>>
>> 2013/2/3 Carlos López González <[email protected]>
>>
>>> Hi!
>>> After a long hiatus I'm back trying to do some useful. :)
>>> I've checked the branch eldruin_toolbost and I have problems building it:
>>>
>>> ...
>>> checking ETL_LIBS... -lpthread
>>> checking for libxml++-2.6... yes
>>> checking LIBXMLPP_CFLAGS... -I/opt/local/include/libxml++-2.6
>>> -I/opt/local/lib/libxml++-2.6/include -I/opt/local/include/libxml2
>>> -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
>>> -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
>>> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
>>> -I/opt/local/include
>>> checking LIBXMLPP_LIBS... -L/opt/local/lib -lxml++-2.6 -lxml2
>>> -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 -lintl
>>> checking for sigc++-2.0... yes
>>> checking LIBSIGC_CFLAGS... -I/opt/local/include/sigc++-2.0
>>> -I/opt/local/lib/sigc++-2.0/include
>>> checking LIBSIGC_LIBS... -L/opt/local/lib -lsigc-2.0
>>> checking for boostlib >= 1.32.0... yes
>>> checking whether the Boost::Program_Options library is available... yes
>>> checking for main in -lboost_program_options... no
>>> checking for main in -lboost_program_options-gcc... no
>>> checking for main in -lboost_program_options-gcc-mt... no
>>> checking for main in -lboost_program_options-gcc-mt-s... no
>>> checking for main in -lboost_program_options-gcc-s... no
>>> checking for main in -llibboost_program_options... no
>>> checking for main in -llibboost_program_options-gcc... no
>>> checking for main in -llibboost_program_options-gcc-mt... no
>>> checking for main in -llibboost_program_options-gcc-mt-s... no
>>> checking for main in -llibboost_program_options-gcc-s... no
>>> checking for main in -lboost_program_options-mgw... no
>>> checking for main in -lboost_program_options-mgw... (cached) no
>>> checking for main in -lboost_program_options-mgw-mt... no
>>> checking for main in -lboost_program_options-mgw-mt-s... no
>>> checking for main in -lboost_program_options-mgw-s... no
>>> configure: error: Could not link against boost_program_options-mgw-s !
>>>
>>> I don't know how to tell the compiler to find the Boost::Program_Options
>>> library and I only have boost available for macports.
>>> My macport boost installation provides the Dynamic libraries placed on
>>> /opt/local/lib/*.dylib
>>> Does it has importance. How do I tell the compiler to look at that path?
>>>
>>>
>>>
>>> 2013/1/11 Konstantin Dmitriev <[email protected]>
>>>
>>>> Hi!
>>>> We have an unexpected project here and that lead me to add a few
>>>> unexpected features to synfig. I've arranged them into single pull
>>>> request - https://github.com/synfig/synfig/pull/4
>>>> I believe it's safe to merge it into master.
>>>> K.
>>>>
>>>>
>>>>
>>>> --
>>>> http://morevnaproject.org/
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
>>>> much more. Get web development skills now with LearnDevNow -
>>>> 350+ hours of step-by-step video tutorials by Microsoft MVPs and
>>>> experts.
>>>> SALE $99.99 this month only -- learn more at:
>>>> http://p.sf.net/sfu/learnmore_122812
>>>> _______________________________________________
>>>> Synfig-devl mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>>>>
>>>
>>>
>>>
>>> --
>>> Carlos
>>> http://synfig.org
>>>
>>
>>
>>
>> --
>> Carlos
>> http://synfig.org
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_jan
>>
>> _______________________________________________
>> Synfig-devl mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>>
>>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Synfig-devl mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>
>
--
Carlos
http://synfig.org
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl