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-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-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.


lyx make error on ubuntu feisty 7.04

2009-09-23 Thread 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/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE buzz-...@jabjab.de

 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


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 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 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 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



lyx make error on ubuntu feisty 7.04

2009-09-23 Thread 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/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE buzz-...@jabjab.de

 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


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 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 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 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



lyx make error on ubuntu feisty 7.04

2009-09-23 Thread 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/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

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


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 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 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 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