Hello!

FYI, the autobuild script doesn't use libstdc++ compilation.
Why won't you use autobuild script in the same way ad you do for windows? ^__^

(BTW, it would be nice to mention, which exact main.cpp file produces tis error)

Regards,
K.


2014-03-09 15:22 GMT+07:00 Carlos López González <genet...@gmail.com>:
> Hi! Unfortunately only the autobuild scripts works with this new Mavericks.
> I have not been able to build Synfig using native compiler (aka clang) and
> Macports.
> It raises an error that I've not been able to fix yet.
>
> If someone want to reproduce it, this is the recipe:
> 1) Macports needs to be updated and the easier way is start from scratch.
> Follow the recipe to uninstall macports from here: 2.5. Uninstall
> 2) Reinstall macports following the recipe here: 2.2.1. Install Xcode on OS
> X 10.9 or later and here:2.3.1. Mac OS X Package Install. Notice that the
> command xcode-select --install didn't work for me (maybe it is your case
> too) because Xcode was already installed and it complained that there were
> not connection to the server to download the command line tools. So i went
> to Xcode>Open Developer Tool>More Developer Tools, and on the download
> website, select the command line tools for Mavericks and installed it.
> 3) Once reinstalled Macports you need minimum this to be able to build
> synfig-core:
> $ sudo port install automake autoconf libtools intltool pkgconfig glibmm
> libxmlxx cairo pango boost
> 4) Then I used this script to build synfig (this script is the same that I
> used on Lion)
>
> ---------------
>
> #!/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 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 &&
>
> /bin/sh ./bootstrap.sh &&
>
> ./configure --prefix $prefix --enable-optimization=0 --enable-debug &&
>
> make --debug=b -j $CPUS install
>
> ---------------
>
> I needed to run the script using sudo to make work.
>
> then, apart of some warnings, I got this error:
>
> main.cpp:196:21: error: use of undeclared identifier '__gnu_cxx'
>
>         std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
>
>
> I have not been able to properly fix the error. It is related to the need of
> libstdc++ and the incompatibilities of its replacement on Mavericks.
> Read here about this:
> http://libcxx.llvm.org
> if I force to use libstdc++ (aka CXXFLAGS="-stdlib=libstdc++") would avoid
> that error but would raise a lot of missing symbols at linking time.
>
> Anyone has tried this and/or know how to fix it?
>
> Thanks!
>
>
> El viernes, 28 de febrero de 2014, Konstantin Dmitriev
> <ksee.zelga...@gmail.com> escribió:
>>
>> I'm glad to know you got that fixed!
>> K.
>>
>> "Carlos López González" <genet...@gmail.com> пишет:
>> >Hi!
>> >Finally I was able to update my Macports so I can run the build
>> >scripts. A
>> >lot of warnings and some errors are raised from the new compiler of OSX
>> >10.9 so I'm trying to fix them.
>> >
>> >Once I have them finished I'll send a pull request.
>> >Cheers!
>>
>> --
>> Отправлено через К-9 Mail.
>>
>>
>> ------------------------------------------------------------------------------
>> Flow-based real-time traffic analytics software. Cisco certified tool.
>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
>> Customize your own dashboards, set traffic alerts and generate reports.
>> Network behavioral analysis & security monitoring. All-in-one tool.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Synfig-devl mailing list
>> Synfig-devl@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/synfig-dev0
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Synfig-devl mailing list
> Synfig-devl@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>



-- 
http://morevnaproject.org/

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to