Re: LyX 2-dev on MacOSX compiled

2010-03-02 Thread BH
On Sat, Feb 27, 2010 at 10:42 AM, Joachim Osnabryg  wrote:
> Am 27.02.2010, 05:08 Uhr, schrieb BH :
>>
>> I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
>> proposed changes?
>
> Not yet, I'm going to make a proposal here:

Sorry it's taking me so long to respond. I'll propose a change along
these lines. Thanks for the suggestions.

> Thanks again for tutoring me! I did the compiling again with the corrected
> command and reinstalled LyX 1.6.5 from the .dmg - both versions of LyX
> working well now!

Good -- I'm glad it's working. (And you're welcome!)

BH


Re: LyX 2-dev on MacOSX compiled

2010-02-27 Thread Joachim Osnabryg

Am 27.02.2010, 05:08 Uhr, schrieb BH :

I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
proposed changes?


Not yet, I'm going to make a proposal here:

In the INSTALL.MacOSX, rows 91-96 it reads:

91 Then, cd to the top of the LyX source hierarchy, and enter:
92
93 ./autogen.sh
94 ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.6  
--with-qt4-dir=/path/to/QT4 --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug

95 make
96 make install-strip

For innocent people like me it should be made clear that inspite the "  
--with-version-suffix=-svn" (or whatever "-suffix=nn")
the new build LyX application will be installed under the name given in  
the " --prefix=/path/to/LyX.app " part of the command.
So I propose in this part of the INSTALL.MacOSX should be added an  
elucidating NOTE and then read as the following or similar:


-
Then, cd to the top of the LyX source hierarchy, and enter:

 ./autogen.sh

NOTE: in the following "configure"-command you decide, where and with what  
name the LyX application will later (with the "make install-strip"  
command) be installed.
For example: " ./configure --prefix=/Applications/LyX.app …" will later  
install the new build with the name LyX.app in the /Applications folder,  
thereby overwriting an existing LyX installation (if there is). If you  
want to keep a given LyX.app installations, you should give the new one  
another name, e. g. by typing " ./configure  
--prefix=/Applications/LyX-nn.app …", where the "-nn" name suffix here is  
free selectable. For a svn-Version of LyX the suffix "-svn" might be a  
good choice.


 ./configure --prefix=/path/to/LyX-svn.app --with-version-suffix=-svn  
--with-qt4-dir=/path/to/QT4 --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


 make

 make install-strip


To my question:

And, if I want to recover the mistake I made, what to do?

I guess the easyest way would be, to do the procedure of compiling the  
LyX

Version 2.0.0svn again but with a corrected $ ./configure command (which
one?) and then install LyX 1.6.5 again, right? Other recommendations?


BH responded:

Yes -- that's right.


Thanks again for tutoring me! I did the compiling again with the corrected  
command and reinstalled LyX 1.6.5 from the .dmg - both versions of LyX  
working well now!


joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX pre2svn



Re: LyX 2-dev on MacOSX compiled

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 2:29 PM, Joachim Osnabryg  wrote:
> But:
> this result, the _overwriting_ of the former LyX 1.6 had not been intended
> by me. To keep the actual LyX 1.6.5 installation, what should I had typed
> within the $ ./configure command?
>
> $ ./configure --prefix=/Applications/LyX-svn.app --with-…
> or
> $ ./configure --prefix=//LyX.app
> --with-…
>
> ??
> Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

You can do either approach -- it depends on what you want. I prefer to
distinguish the two versions of LyX by their file name, so I do the
former.

I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
proposed changes?

> And, if I want to recover the mistake I made, what to do?
>
> I guess the easyest way would be, to do the procedure of compiling the LyX
> Version 2.0.0svn again but with a corrected $ ./configure command (which
> one?) and then install LyX 1.6.5 again, right? Other recommendations?

Yes -- that's right.

BH


LyX 2-dev on MacOSX compiled

2010-02-26 Thread Joachim Osnabryg

Happy

to announce that I compiled successfully the LyX 2.0 svn version on MacOSX  
10.4 Tiger today.


Thanks to the hints from Julio Rojas and Guenter Milde, and the especially  
the kindly helping of "BH" , all on  
gmane.editors.lyx.general (ML lyx-users@lists.lyx.org) within the thread  
"Lyx 2.0".


The general way I followed is described in the INSTALL.MacOSX which you  
get if downloading the source files by

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

After assuring that the PREREQUISITES mentioned therein were already  
fullfilled on my Mac,

I made the following:

I cd'd to the top of the LyX source hierarchy (in my case: $ cd  
/Developer/Applications/lyx-devel/ ), and entered:


$ ./autogen.sh

after that - in the case of _my_ Mac - I continued with:

$ ./configure --prefix=/Applications/LyX.app --with-version-suffix=-svn  
--with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


$  make

$ make install

… and had a LyX Version 2.0.0svn on the place of my former LyX 1.6.

And it seems to work properly, so far.

But:
this result, the _overwriting_ of the former LyX 1.6 had not been intended  
by me. To keep the actual LyX 1.6.5 installation, what should I had typed  
within the $ ./configure command?


$ ./configure --prefix=/Applications/LyX-svn.app --with-…
or
$ ./configure --prefix=/Applications>/LyX.app --with-…


??
Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

And, if I want to recover the mistake I made, what to do?

I guess the easyest way would be, to do the procedure of compiling the LyX  
Version 2.0.0svn again but with a corrected $ ./configure command (which  
one?) and then install LyX 1.6.5 again, right? Other recommendations?


joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 2.0.0svn