Re: 2 versions of LyX at the same time

2001-09-02 Thread Gerhard Schuck

 On Fri, 31 Aug 2001, Gerhard Schuck wrote:
  Is it possible to install two versions of LyX at the same time without
  any
[... ]
 ./configure --with-version-suffix=-cjk
 ./configure --with-version-suffix=-normal
 does it in one step, produces lyx-cjk and lyx-normal in the standard bin
 and share location, and dotted personal dirs as well.

Thank you. That worked for normal LyX. CJK-LyX didn't compile, though 
./configure was - like for normal lyx - o.k.
make failed with the following:

WorkArea.C:378: `dummy' undeclared (first use this function)
WorkArea.C:378: (Each undeclared identifier is reported only once
WorkArea.C:378: for each function it appears in.)
WorkArea.C:392: `num_bytes' undeclared (first use this function)
make[3]: *** [WorkArea.o] Error 1
make[3]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make: *** [all-recursive] Error 1


However, as I can use the rpm for cjk-lyx and the compiled version for 
normal LyX for me everything is fine.

Thanks again
Gerhard Schuck
[EMAIL PROTECTED]



Re: 2 versions of LyX at the same time

2001-09-02 Thread Gerhard Schuck

 On Fri, 31 Aug 2001, Gerhard Schuck wrote:
  Is it possible to install two versions of LyX at the same time without
  any
[... ]
 ./configure --with-version-suffix=-cjk
 ./configure --with-version-suffix=-normal
 does it in one step, produces lyx-cjk and lyx-normal in the standard bin
 and share location, and dotted personal dirs as well.

Thank you. That worked for normal LyX. CJK-LyX didn't compile, though 
./configure was - like for normal lyx - o.k.
make failed with the following:

WorkArea.C:378: `dummy' undeclared (first use this function)
WorkArea.C:378: (Each undeclared identifier is reported only once
WorkArea.C:378: for each function it appears in.)
WorkArea.C:392: `num_bytes' undeclared (first use this function)
make[3]: *** [WorkArea.o] Error 1
make[3]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make: *** [all-recursive] Error 1


However, as I can use the rpm for cjk-lyx and the compiled version for 
normal LyX for me everything is fine.

Thanks again
Gerhard Schuck
[EMAIL PROTECTED]



Re: 2 versions of LyX at the same time

2001-09-02 Thread Gerhard Schuck

> >>On Fri, 31 Aug 2001, Gerhard Schuck wrote:
> >>> Is it possible to install two versions of LyX at the same time without
> >>> any
[... ]
> ./configure --with-version-suffix=-cjk
> ./configure --with-version-suffix=-normal
> does it in one step, produces lyx-cjk and lyx-normal in the standard bin
> and share location, and dotted personal dirs as well.

Thank you. That worked for "normal" LyX. CJK-LyX didn't compile, though 
"./configure" was - like for normal lyx - o.k.
"make" failed with the following:

WorkArea.C:378: `dummy' undeclared (first use this function)
WorkArea.C:378: (Each undeclared identifier is reported only once
WorkArea.C:378: for each function it appears in.)
WorkArea.C:392: `num_bytes' undeclared (first use this function)
make[3]: *** [WorkArea.o] Error 1
make[3]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory 
`/home/gs/Install/CJK-LyX-1.1.6fix3-src/CJK-LyX-1.1.6 
 fix3/src'
make: *** [all-recursive] Error 1


However, as I can use the rpm for cjk-lyx and the compiled version for 
"normal" LyX for me everything is fine.

Thanks again
Gerhard Schuck
[EMAIL PROTECTED]



Re: 2 versions of LyX at the same time

2001-08-31 Thread Tuukka Toivonen

On Fri, 31 Aug 2001, Gerhard Schuck wrote:

 Is it possible to install two versions of LyX at the same time without any 

Everything is possible, it's just matter of work.

You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:

cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install

cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install

cat /usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D

cat /usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D

chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx

And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.




Re: 2 versions of LyX at the same time

2001-08-31 Thread Jean-Pierre.Chretien


Date: Fri, 31 Aug 2001 12:01:15 +0300 (EEST)
From: Tuukka Toivonen [EMAIL PROTECTED]
To: Gerhard Schuck [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: 2 versions of LyX at the same time

On Fri, 31 Aug 2001, Gerhard Schuck wrote:

 Is it possible to install two versions of LyX at the same time without any 

Everything is possible, it's just matter of work.

You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:

cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install

cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install

cat /usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D

cat /usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D

chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx

And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.

./configure --with-version-suffix=-cjk
./configure --with-version-suffix=-normal
does it in one step, produces lyx-cjk and lyx-normal in the standard bin
and share location, and dotted personal dirs as well.

-- 
Jean-Pierre





Re: 2 versions of LyX at the same time

2001-08-31 Thread Tuukka Toivonen

On Fri, 31 Aug 2001, Gerhard Schuck wrote:

 Is it possible to install two versions of LyX at the same time without any 

Everything is possible, it's just matter of work.

You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:

cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install

cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install

cat /usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D

cat /usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D

chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx

And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.




Re: 2 versions of LyX at the same time

2001-08-31 Thread Jean-Pierre.Chretien


Date: Fri, 31 Aug 2001 12:01:15 +0300 (EEST)
From: Tuukka Toivonen [EMAIL PROTECTED]
To: Gerhard Schuck [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: 2 versions of LyX at the same time

On Fri, 31 Aug 2001, Gerhard Schuck wrote:

 Is it possible to install two versions of LyX at the same time without any 

Everything is possible, it's just matter of work.

You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:

cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install

cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install

cat /usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D

cat /usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D

chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx

And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.

./configure --with-version-suffix=-cjk
./configure --with-version-suffix=-normal
does it in one step, produces lyx-cjk and lyx-normal in the standard bin
and share location, and dotted personal dirs as well.

-- 
Jean-Pierre





Re: 2 versions of LyX at the same time

2001-08-31 Thread Tuukka Toivonen

On Fri, 31 Aug 2001, Gerhard Schuck wrote:

> Is it possible to install two versions of LyX at the same time without any 

Everything is possible, it's just matter of work.

You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:

cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install

cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install

cat >/usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D

cat >/usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D

chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx

And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.




Re: 2 versions of LyX at the same time

2001-08-31 Thread Jean-Pierre.Chretien


>>Date: Fri, 31 Aug 2001 12:01:15 +0300 (EEST)
>>From: Tuukka Toivonen <[EMAIL PROTECTED]>
>>To: Gerhard Schuck <[EMAIL PROTECTED]>
>>cc: [EMAIL PROTECTED]
>>Subject: Re: 2 versions of LyX at the same time
>>
>>On Fri, 31 Aug 2001, Gerhard Schuck wrote:
>>
>>> Is it possible to install two versions of LyX at the same time without any 
>>
>>Everything is possible, it's just matter of work.
>>
>>You could install two LyXes easily from source into different directories
>>using the --prefix= with two different paths. However, LyX also writes
>>some configuration files into your home directory. This is almost
>>certainly taken from the HOME environment variable, so you could do
>>something like this:
>>
>>cd normal-lyx
>>./configure --prefix=/usr/normal-lyx
>>make
>>make install
>>
>>cd cjk-lyx
>>./configure --prefix=/usr/cjk-lyx
>>make
>>make install
>>
>>cat >/usr/bin/normal-lyx
>>#!/bin/sh
>>HOME=$HOME/normal-lyx
>>exec /usr/normal-lyx/bin/lyx
>>^D
>>
>>cat >/usr/bin/cjk-lyx
>>#!/bin/sh
>>HOME=$HOME/cjk-lyx
>>exec /usr/cjk-lyx/bin/lyx
>>^D
>>
>>chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx
>>
>>And then create subdirectories normal-lyx and cjk-lyx into your real home
>>directory. This solution might not work out-of-the-box but it should give
>>you some idea how to do it.
>>
./configure --with-version-suffix=-cjk
./configure --with-version-suffix=-normal
does it in one step, produces lyx-cjk and lyx-normal in the standard bin
and share location, and dotted personal dirs as well.

-- 
Jean-Pierre





2 versions of LyX at the same time

2001-08-30 Thread Gerhard Schuck

Hi

Is it possible to install two versions of LyX at the same time without any 
problems with configuration files and so on? I would like to install CJK-LyX 
parallel to the normal LyX, because the cjk-version has several 
disadvantages for non-cjk texts, e.g. it doesn't accept umlauts, compose key 
doesn't work if the XMODIFIERS variable is set (necessary for kinput) and 
overall it is quite instable (e.g. it crashes if you scroll through the users 
guide).

I'd prefer to install rpms, but probably it won't be possible that way.

Regards
Gerhard Schuck
[EMAIL PROTECTED]



2 versions of LyX at the same time

2001-08-30 Thread Gerhard Schuck

Hi

Is it possible to install two versions of LyX at the same time without any 
problems with configuration files and so on? I would like to install CJK-LyX 
parallel to the normal LyX, because the cjk-version has several 
disadvantages for non-cjk texts, e.g. it doesn't accept umlauts, compose key 
doesn't work if the XMODIFIERS variable is set (necessary for kinput) and 
overall it is quite instable (e.g. it crashes if you scroll through the users 
guide).

I'd prefer to install rpms, but probably it won't be possible that way.

Regards
Gerhard Schuck
[EMAIL PROTECTED]



2 versions of LyX at the same time

2001-08-30 Thread Gerhard Schuck

Hi

Is it possible to install two versions of LyX at the same time without any 
problems with configuration files and so on? I would like to install CJK-LyX 
parallel to the "normal" LyX, because the cjk-version has several 
disadvantages for non-cjk texts, e.g. it doesn't accept umlauts, compose key 
doesn't work if the XMODIFIERS variable is set (necessary for kinput) and 
overall it is quite instable (e.g. it crashes if you scroll through the users 
guide).

I'd prefer to install rpms, but probably it won't be possible that way.

Regards
Gerhard Schuck
[EMAIL PROTECTED]