Re: lyx make error on ubuntu feisty 7.04

2009-09-24 Thread BuZZ-dEE

Enrico Forestieri schrieb:

BuZZ-dEE writes:

  
Hello, I want to install lyx-1.6.4.1 from source but i get an error 
during make. configure before was successfull. i want to install lyx in 
a non-standard directory. further i have the newest qt version installed 
from source in a non-standard directory.


what can i do now?


[...]
  

checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... /usr/bin/moc-qt4
checking for uic-qt4... /usr/bin/uic-qt4
checking for rcc-qt4... no
checking for rcc... /home/schlatow/Programme/bin/rcc



The configure script is using the system moc and uic. This is because
moc-qt4 and uic-qt4 are tried first and I bet they are the Qt 4.2 versions.
In the /home/schlatow/Programme/bin directory you should have moc and uic,
so try renaming them as moc-qt4 and uic-qt4 and reconfigure. If that does
not help, try using --with-qt4-dir=/home/schlatow/Programme with the
configure command. If it still fails, rename /usr/bin/moc-qt4 and
/usr/bin/uic-qt4 as /usr/bin/moc-qt4.old and /usr/bin/uic-qt4.old,
for example. Now it should definitely work.

  
Hello, thank you for your answer. :) That was the problem, but i have 
already solved the problem. :) I have edited the Makefiles. I replaced 
/usr/bin/moc-qt4 with /home/schlatow/Programme/bin/moc and 
/usr/bin/uic-qt4 with /home/schlatow/Programme/bin/uic.


Another possibility is:

ln -s ~/Programme/bin/uic ~/Programme/bin/uic-qt4
ln -s ~/Programme/bin/moc ~/Programme/bin/moc-qt4


I think.


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Enrico Forestieri
BuZZ-dEE writes:

> Hello, I want to install lyx-1.6.4.1 from source but i get an error 
> during make. configure before was successfull. i want to install lyx in 
> a non-standard directory. further i have the newest qt version installed 
> from source in a non-standard directory.
> 
> what can i do now?
[...]
> checking for QT4_CORE... yes
> checking for QT4_FRONTEND... yes
> checking for moc-qt4... /usr/bin/moc-qt4
> checking for uic-qt4... /usr/bin/uic-qt4
> checking for rcc-qt4... no
> checking for rcc... /home/schlatow/Programme/bin/rcc

The configure script is using the system moc and uic. This is because
moc-qt4 and uic-qt4 are tried first and I bet they are the Qt 4.2 versions.
In the /home/schlatow/Programme/bin directory you should have moc and uic,
so try renaming them as moc-qt4 and uic-qt4 and reconfigure. If that does
not help, try using --with-qt4-dir=/home/schlatow/Programme with the
configure command. If it still fails, rename /usr/bin/moc-qt4 and
/usr/bin/uic-qt4 as /usr/bin/moc-qt4.old and /usr/bin/uic-qt4.old,
for example. Now it should definitely work.

-- 
Enrico



Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread rgheck

On 09/23/2009 05:27 AM, Vincent van Ravesteijn - TNW wrote:


   

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?

 


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

   

I've seen this error myself. make clean && make distclean, then start over.

rh



Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE

I have removed the *_moc.cpp but it does not work.  :(

Vincent van Ravesteijn - TNW schrieb:
 
  

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?





In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent
  


RE: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Vincent van Ravesteijn - TNW
 
>Hello, I want to install lyx-1.6.4.1 from source but i get
>an error during make. configure before was successfull. I
>want to install lyx in a non-standard directory. further i
>have the newest qt version installed from source in a non-
>standard directory.
>
>what can i do now?
>


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE 

> Hello, I want to install lyx-1.6.4.1 from source but i get an error during
> make. configure before was successfull. i want to install lyx in a
> non-standard directory. further i have the newest qt version installed from
> source in a non-standard directory.
>
> what can i do now?
>
> schla...@64pc27:~/Programme/src/lyx-1.6.4.1 > ./configure
> --prefix=/home/schlatow/Programme/
> [...]
>
> schla...@64pc27:~/Programme/src/lyx-1.6.4.1 > make
> [...]
> In file included from SignalSlotPrivate.cpp:15:
> SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
> using the moc from 4.2.3. It"
> SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
> include files from this version of Qt."
> SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
> much.)"
> [...]
>
>
>
Too new QT?

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl