Re: Trouble building 2.1 on OS X

2012-06-07 Thread Vincent van Ravesteijn
Op 7-6-2012 4:41, Jerry schreef: With help from Benjamin on this list and Ryan from the Macports list, I discovered that I need to include -liconv in the LDFLAGS variable. That fixed the problem. Jerry Shouldn't this option be set by default ? Vincent

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Stephan Witt
Am 07.06.2012 um 11:05 schrieb Vincent van Ravesteijn: Op 7-6-2012 4:41, Jerry schreef: With help from Benjamin on this list and Ryan from the Macports list, I discovered that I need to include -liconv in the LDFLAGS variable. That fixed the problem. Jerry Shouldn't this option be set

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2012 11:58, Stephan Witt a écrit : When using a library from /opt/local/lib, e.g. QtCore, you are forced to use the libs used when building QtCore. If QtCore was build with libiconv from /opt/local/bin you have to use this one when linking LyX. But the linker does the implicit lookup

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Stephan Witt
Am 07.06.2012 um 12:02 schrieb Jean-Marc Lasgouttes: Le 07/06/2012 11:58, Stephan Witt a écrit : When using a library from /opt/local/lib, e.g. QtCore, you are forced to use the libs used when building QtCore. If QtCore was build with libiconv from /opt/local/bin you have to use this one

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 04/06/2012 22:54, Jerry a écrit : On Jun 4, 2012, at 5:09 AM, Pavel Sanda wrote: Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P On my OSX 10.7.4 system, gettext (and automake and autoconf) are provided by Macports and live in

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2012 12:09, Stephan Witt a écrit : Is there some pkgconfig (*.pc) information in these macports builds? In this case, the Qt detection code should be able to know what libraries to link against. Yes. [...] But I'm afraid using pkgconfig results in a LyX with hard macports

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Vincent van Ravesteijn
Op 7-6-2012 4:41, Jerry schreef: With help from Benjamin on this list and Ryan from the Macports list, I discovered that I need to include "-liconv" in the LDFLAGS variable. That fixed the problem. Jerry Shouldn't this option be set by default ? Vincent

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Stephan Witt
Am 07.06.2012 um 11:05 schrieb Vincent van Ravesteijn: > Op 7-6-2012 4:41, Jerry schreef: >> With help from Benjamin on this list and Ryan from the Macports list, I >> discovered that I need to include >> "-liconv" in the LDFLAGS variable. That fixed the problem. >> >> Jerry > > Shouldn't this

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2012 11:58, Stephan Witt a écrit : When using a library from /opt/local/lib, e.g. QtCore, you are forced to use the libs used when building QtCore. If QtCore was build with libiconv from /opt/local/bin you have to use this one when linking LyX. But the linker does the implicit lookup

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Stephan Witt
Am 07.06.2012 um 12:02 schrieb Jean-Marc Lasgouttes: > Le 07/06/2012 11:58, Stephan Witt a écrit : >> When using a library from /opt/local/lib, e.g. QtCore, you are forced to use >> the libs used when building QtCore. >> If QtCore was build with libiconv from /opt/local/bin you have to use this

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 04/06/2012 22:54, Jerry a écrit : On Jun 4, 2012, at 5:09 AM, Pavel Sanda wrote: Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P On my OSX 10.7.4 system, gettext (and automake and autoconf) are provided by Macports and live in

Re: Trouble building 2.1 on OS X

2012-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2012 12:09, Stephan Witt a écrit : Is there some pkgconfig (*.pc) information in these macports builds? In this case, the Qt detection code should be able to know what libraries to link against. Yes. [...] But I'm afraid using pkgconfig results in a LyX with hard macports

Re: Trouble building 2.1 on OS X

2012-06-06 Thread Jerry
On Jun 4, 2012, at 5:10 AM, Vincent van Ravesteijn wrote: Op 4-6-2012 14:05, Jerry schreef: I'm trying to build the 2.1 development branch on OS X and having some trouble. After git clone git://git.lyx.org/lyx ./autogen.sh ./configure make this happened and I don't

Re: Trouble building 2.1 on OS X

2012-06-06 Thread Jerry
On Jun 4, 2012, at 5:10 AM, Vincent van Ravesteijn wrote: > Op 4-6-2012 14:05, Jerry schreef: >> I'm trying to build the 2.1 development branch on OS X and having some >> trouble. After >> >> git clone git://git.lyx.org/lyx >> ./autogen.sh >> ./configure >> make >> >> this happened

Trouble building 2.1 on OS X

2012-06-04 Thread Jerry
I'm trying to build the 2.1 development branch on OS X and having some trouble. After git clone git://git.lyx.org/lyx ./autogen.sh ./configure make this happened and I don't understand why: snip CXX Dimension.o CXX PrinterParams.o CXX Thesaurus.o CXXLDlyx

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Pavel Sanda
Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Vincent van Ravesteijn
Op 4-6-2012 14:05, Jerry schreef: I'm trying to build the 2.1 development branch on OS X and having some trouble. After git clone git://git.lyx.org/lyx ./autogen.sh ./configure make this happened and I don't understand why: snip CXX Dimension.o CXX

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Jean-Marc Lasgouttes
Le 04/06/2012 14:09, Pavel Sanda a écrit : Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P You can also configure with --with-included-gettext. JMarc

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Jerry
On Jun 4, 2012, at 5:09 AM, Pavel Sanda wrote: Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P On my OSX 10.7.4 system, gettext (and automake and autoconf) are provided by Macports and live in /opt/local/bin. $ gettext --version gettext (GNU

Trouble building 2.1 on OS X

2012-06-04 Thread Jerry
I'm trying to build the 2.1 development branch on OS X and having some trouble. After git clone git://git.lyx.org/lyx ./autogen.sh ./configure make this happened and I don't understand why: CXX Dimension.o CXX PrinterParams.o CXX Thesaurus.o CXXLDlyx

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Pavel Sanda
Jerry wrote: > __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Vincent van Ravesteijn
Op 4-6-2012 14:05, Jerry schreef: I'm trying to build the 2.1 development branch on OS X and having some trouble. After git clone git://git.lyx.org/lyx ./autogen.sh ./configure make this happened and I don't understand why: CXX Dimension.o CXX PrinterParams.o

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Jean-Marc Lasgouttes
Le 04/06/2012 14:09, Pavel Sanda a écrit : Jerry wrote: __nl_find_msg in libintl.a(dcigettext.o) Do you have gettext installed? P You can also configure with --with-included-gettext. JMarc

Re: Trouble building 2.1 on OS X

2012-06-04 Thread Jerry
On Jun 4, 2012, at 5:09 AM, Pavel Sanda wrote: > Jerry wrote: >> __nl_find_msg in libintl.a(dcigettext.o) > > Do you have gettext installed? P On my OSX 10.7.4 system, gettext (and automake and autoconf) are provided by Macports and live in /opt/local/bin. $ gettext --version gettext