On Wed, Oct 10, 2007 at 09:11:12AM +0200, Volker Knierim wrote:
> Hi,
> 
> I hope this does not annoy anyone but I'm lost at this time. I tried to 
> compile LyX Version 1.4.5.1 and always get an error during the make process.
> 
> Here is the output after the second make run (to let you know which 
> packeges compiled without problems):
> 
> gmake  all-recursive
> gmake[1]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src'
> Making all in mathed
> gmake[2]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/mathed'
> gmake  all-am
> gmake[3]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/mathed'
> gmake[3]: Nothing to be done for `all-am'.
> gmake[3]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/mathed'
> gmake[2]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/mathed'
> Making all in insets
> gmake[2]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/insets'
> gmake  all-am
> gmake[3]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/insets'
> gmake[3]: Nothing to be done for `all-am'.
> gmake[3]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/insets'
> gmake[2]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/insets'
> Making all in graphics
> gmake[2]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/graphics'
> gmake  all-am
> gmake[3]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/graphics'
> gmake[3]: Nothing to be done for `all-am'.
> gmake[3]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/graphics'
> gmake[2]: Leaving directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/graphics'
> Making all in support
> gmake[2]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/support'
> gmake  all-recursive
> gmake[3]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/support'
> Making all in .
> gmake[4]: Entering directory 
> `/export/home/knierim/installation/lyx-1.4.5.1/src/support'
> /bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
> -I. -I../../src   -I./.. -I../../boost -I/usr/openwin/include 
> -fno-exceptions -O2 -MT environment.lo -MD -MP -MF .deps/environment.Tpo 
> -c -o environment.lo environment.C
> g++ -DHAVE_CONFIG_H -I. -I../../src -I./.. -I../../boost 
> -I/usr/openwin/include -fno-exceptions -O2 -MT environment.lo -MD -MP 
> -MF .deps/environment.Tpo -c environment.C -o environment.o
> environment.C:82:2: #error No environment-setting function has been defined.
> environment.C: In function `bool lyx::support::setEnv(const 
> std::string&, const
>   std::string&)':
> environment.C:84: error: `retval' undeclared (first use this function)
> environment.C:84: error: (Each undeclared identifier is reported only 

Replace that line with 'return false;'

At least compilation should continue after that.

Andre'

Reply via email to