Re: LyX 2 over Mac OS X Snow Leopard make error
On Fri, Mar 5, 2010 at 12:02 AM, Yvon Thoraval wrote: >> >> Yes -- that fixes it for me. (Assuming this is the right fix, can >> someone check it in?) >> > > Unfortunately no ;-) You're not understanding. To "check in" the fix is to modify the official source so that everyone can get the fix by using svn to update the source code on local machines (by simply entering "svn up" -- you don't have to check out the code from the beginning as you did). So far no one has checked in the fix yet, so testing now won't change anything for you. You can either wait for the fix to be checked in, or you can manually make the change Lase proposed earlier in this thread. BH
Re: LyX 2 over Mac OS X Snow Leopard make error
> > > Yes -- that fixes it for me. (Assuming this is the right fix, can > someone check it in?) > > Unfortunately no ;-) Over Mac OS X 10.6.2 (snow leopard latest) Intel computer. I started from scratch get the latest svn version by : zsh-% svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel ... Checked out revision 33622. zsh-% cd lyx-devel zsh-% ./autogen.sh zsh-% ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app --with-version-suffix=-svn-2.0.0 --with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug ... Configuration Host type:i386-apple-darwin10.2.0 Special build flags: concept-checks assertions warnings C Compiler: gcc C Compiler LyX flags: C Compiler flags: -Wextra -Wall -g -O2 C++ Compiler: g++ (4.2.1) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall -g -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.6.2 Packaging:macosx LyX binary dir: /Applications/LyX/LyX-svn-2.0.0.app/Contents/MacOS LyX files dir: /Applications/LyX/LyX-svn-2.0.0.app/Contents/Resources Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. zsh-% make ... Again, ending by : /opt/local/bin/msgmerge --update ar.po LyX-svn-2.0.0.pot terminé. /opt/local/bin/msgmerge: `ar.po': No such file or directory make[3]: *** [ar.po] Error 1 make[2]: *** [stamp-po] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 with : zsh-% ls -al po/ar* -rw-r--r-- 1 yt staff 541426 5 mar 05:53 po/ar.po -rw--- 1 yt staff 541426 5 mar 05:53 po/ar.po~ zsh-% ls -al po/Ly* -rw-r--r-- 1 yt staff 473555 5 mar 05:54 po/LyX-svn-2.0.0.pot best, Yvon
Re: LyX 2 over Mac OS X Snow Leopard make error
On Thu, Mar 4, 2010 at 3:08 PM, Lasse Tuominen wrote: > On Thu, Mar 4, 2010 at 18:05, Yvon Thoraval wrote: >> 2010/3/4 BH >> >> >> then, doing : >> >> /opt/local/bin/msgmerge --update po/ar.po po/LyX-svn-2.0.0.pot >> >> terminé. >> /opt/local/bin/msgmerge: `po/ar.po': No such file or directory >> >> this is the same error as when doing make >> > > In msgmerge seems to be some bug: http://savannah.gnu.org/bugs/index.php?26149 > > I fixed this by changing one line in Makefile.in.in file in > ./lyx-dir/po directory. > > --- Makefile.in.in-old 2010-02-27 19:27:02.0 +0200 > +++ Makefile.in.in 2010-03-04 19:41:13.0 +0200 > @@ -56,7 +56,7 @@ > XGETTEXT_yes = @XGETTEXT_015@ > XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) > MSGMERGE = msgmerge > -MSGMERGE_UPDATE = @MSGMERGE@ --update > +MSGMERGE_UPDATE = @MSGMERGE@ --update --backup=none > MSGINIT = msginit > MSGCONV = msgconv > MSGFILTER = msgfilter > > And after that running ./autogen.sh etc. > > -- > Best Regards > Lasse Tuominen Yes -- that fixes it for me. (Assuming this is the right fix, can someone check it in?) Thanks. BH
Re: LyX 2 over Mac OS X Snow Leopard make error
On Thu, Mar 4, 2010 at 18:05, Yvon Thoraval wrote: > 2010/3/4 BH > > > then, doing : > > /opt/local/bin/msgmerge --update po/ar.po po/LyX-svn-2.0.0.pot > > terminé. > /opt/local/bin/msgmerge: `po/ar.po': No such file or directory > > this is the same error as when doing make > In msgmerge seems to be some bug: http://savannah.gnu.org/bugs/index.php?26149 I fixed this by changing one line in Makefile.in.in file in ./lyx-dir/po directory. --- Makefile.in.in-old 2010-02-27 19:27:02.0 +0200 +++ Makefile.in.in 2010-03-04 19:41:13.0 +0200 @@ -56,7 +56,7 @@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge -MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_UPDATE = @MSGMERGE@ --update --backup=none MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter And after that running ./autogen.sh etc. -- Best Regards Lasse Tuominen
Re: LyX 2 over Mac OS X Snow Leopard make error
2010/3/4 BH > On Thu, Mar 4, 2010 at 10:26 AM, Yvon Thoraval > wrote: > >> But did you do ./autogen.sh *again* since encountering this problem? > >> (You might also try first running "make clean" or even "make > >> distclean" before doing ./autogen.sh and configuring.) > >> > >> BH > > > > > > yes, obviously i did ./autogen.sh *again*, > > It wasn't obvious, or I wouldn't have asked! ;) > > The error says it can't find ar.po. Does that file exist in the po > directory? (It should be there.) > $ ls po/ar.* po/ar.po po/ar.po~ > I'm basically out of ideas > > BH > $ which msgmerge /opt/local/bin/msgmerge $ /opt/local/bin/msgmerge --update ar.po LyX-svn-2.0.0.pot /opt/local/bin/msgmerge: Erreur lors de l'ouverture de « ar.po » en lecture : No such file or directory may be the command isn't correct because ar.po is in po not in lyx-devel ??? also LyX-svn-2.0.0.pot is in the po subdir then, doing : /opt/local/bin/msgmerge --update po/ar.po po/LyX-svn-2.0.0.pot terminé. /opt/local/bin/msgmerge: `po/ar.po': No such file or directory this is the same error as when doing make
Re: LyX 2 over Mac OS X Snow Leopard make error
On Thu, Mar 4, 2010 at 10:26 AM, Yvon Thoraval wrote: >> But did you do ./autogen.sh *again* since encountering this problem? >> (You might also try first running "make clean" or even "make >> distclean" before doing ./autogen.sh and configuring.) >> >> BH > > > yes, obviously i did ./autogen.sh *again*, It wasn't obvious, or I wouldn't have asked! ;) The error says it can't find ar.po. Does that file exist in the po directory? (It should be there.) I'm basically out of ideas BH
RE: LyX 2 over Mac OS X Snow Leopard make error
>/opt/local/bin/msgmerge: `ar.po': No such file or directory > >someone (Manveru) said : > >Someone puts language file in makefiles but miss committing >the file on repository? That's not true. Does ar.po exist on your system ? Does msgmerge exist ? What happens if you run the command manually ? Vincent
Re: LyX 2 over Mac OS X Snow Leopard make error
2010/3/4 BH > On Thu, Mar 4, 2010 at 10:18 AM, Yvon Thoraval > wrote: > > >> Everything is working fine for me. Try running autogen.sh again. > > > > i did : > > $ make clean > > $ ./autogen.sh > >> > >> Are you using the correct configure line, as specified in > INSTALL.MacOSX? > >> > >> BH > > > > and then : > > $ ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app > > --with-version-suffix=-svn-2.0.0 > --with-qt4-dir=/opt/local/libexec/qt4-mac/ > > --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug > > seems to follow NSTALL.MacOSX ? > > best, > > YT > > But did you do ./autogen.sh *again* since encountering this problem? > (You might also try first running "make clean" or even "make > distclean" before doing ./autogen.sh and configuring.) > > BH > yes, obviously i did ./autogen.sh *again*, this time i did the whole : $ make clean $ make distclean $ ./autogen.sh $ ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app --with-version-suffix=-svn-2.0.0 --with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug and finally : $ make raising the same error ??? best, YT
Re: LyX 2 over Mac OS X Snow Leopard make error
On Thu, Mar 4, 2010 at 10:18 AM, Yvon Thoraval wrote: >> Everything is working fine for me. Try running autogen.sh again. > > i did : > $ make clean > $ ./autogen.sh >> >> Are you using the correct configure line, as specified in INSTALL.MacOSX? >> >> BH > > and then : > $ ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app > --with-version-suffix=-svn-2.0.0 --with-qt4-dir=/opt/local/libexec/qt4-mac/ > --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug > seems to follow NSTALL.MacOSX ? > best, > YT But did you do ./autogen.sh *again* since encountering this problem? (You might also try first running "make clean" or even "make distclean" before doing ./autogen.sh and configuring.) BH
Re: LyX 2 over Mac OS X Snow Leopard make error
2010/3/4 BH > On Thu, Mar 4, 2010 at 9:05 AM, Yvon Thoraval > wrote: > > with svn revision 33618 i get the error at make : > > /opt/local/bin/msgmerge --update ar.po LyX-svn-2.0.0.pot > > > > > > > > .. terminé. > > /opt/local/bin/msgmerge: `ar.po': No such file or directory > > make[3]: *** [ar.po] Error 1 > > make[2]: *** [stamp-po] Error 2 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > > > someone (Manveru) said : > > > > Someone puts language file in makefiles but miss committing the file on > > repository? > > > > see msg > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79647.html > > > > from preceeding post when i was using révision : 33588. > > > > > > no changes ? > > Everything is working fine for me. Try running autogen.sh again. > i did : $ make clean $ ./autogen.sh > > Are you using the correct configure line, as specified in INSTALL.MacOSX? > > BH > and then : $ ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app --with-version-suffix=-svn-2.0.0 --with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug seems to follow NSTALL.MacOSX ? best, YT
Re: LyX 2 over Mac OS X Snow Leopard make error
On Thu, Mar 4, 2010 at 9:05 AM, Yvon Thoraval wrote: > with svn revision 33618 i get the error at make : > /opt/local/bin/msgmerge --update ar.po LyX-svn-2.0.0.pot > > > .. terminé. > /opt/local/bin/msgmerge: `ar.po': No such file or directory > make[3]: *** [ar.po] Error 1 > make[2]: *** [stamp-po] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > someone (Manveru) said : > > Someone puts language file in makefiles but miss committing the file on > repository? > > see msg http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79647.html > > from preceeding post when i was using révision : 33588. > > > no changes ? Everything is working fine for me. Try running autogen.sh again. Are you using the correct configure line, as specified in INSTALL.MacOSX? BH
LyX 2 over Mac OS X Snow Leopard make error
with svn revision 33618 i get the error at make : /opt/local/bin/msgmerge --update ar.po LyX-svn-2.0.0.pot .. terminé. /opt/local/bin/msgmerge: `ar.po': No such file or directory make[3]: *** [ar.po] Error 1 make[2]: *** [stamp-po] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 someone (Manveru) said : Someone puts language file in makefiles but miss committing the file on repository? see msg http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79647.html from preceeding post when i was using révision : 33588. no changes ? YT
Re: LyX 2 over Mac OS X Snow Leopard make error
2010/2/27 Yvon Thoraval > [...] > however the make failed : > > /opt/local/bin/msgmerge: `ar.po': No such file or directory > make[3]: *** [ar.po] Error 1 > make[2]: *** [stamp-po] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > then i wonder wy ? > > best, > > YT > Someone puts language file in makefiles but miss committing the file on repository? -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
LyX 2 over Mac OS X Snow Leopard make error
I've used the svn version (Checked out revision 33588.) after installing MacPorts + selfupdate followed by : % sudo port install qt4-mac % sudo port install automake % sudo port install gettext % sudo port install pkgconfig cd to lyx-devel then : % ./autogen.sh Using automake (GNU automake) 1.11.1 Using autoconf (GNU Autoconf) 2.65 Building macros... Building config header template... Building Makefile templates... Building configure... Building po/POTFILES.in... run "./configure ; make" i did a configure like that : % ./configure --prefix=/Applications/LyX/LyX-svn-2.0.0.app --with-version-suffix=-svn-2.0.0 --with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext --enable-optimization=-O2 --disable-stdlib-debug (in order to get LyX in the right place and using the right qt4-dir) this ended by : Configuration Host type:i386-apple-darwin10.2.0 Special build flags: concept-checks assertions warnings C Compiler: gcc C Compiler LyX flags: C Compiler flags: -Wextra -Wall -g -O2 C++ Compiler: g++ (4.2.1) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall -g -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.6.2 Packaging:macosx LyX binary dir: /Applications/LyX/LyX-svn-2.0.0.app/Contents/MacOS LyX files dir: /Applications/LyX/LyX-svn-2.0.0.app/Contents/Resources Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. which seems to be OK. however the make failed : /opt/local/bin/msgmerge: `ar.po': No such file or directory make[3]: *** [ar.po] Error 1 make[2]: *** [stamp-po] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 then i wonder wy ? best, YT