Your message dated Thu, 16 Oct 2008 12:26:03 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Re: cmake: CMAKE_JAVA_COMPILER{,_ENV_VAR} are not set
has caused the Debian Bug report #440570,
regarding cmake: CMAKE_JAVA_COMPILER{,_ENV_VAR} are not set
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
440570: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440570
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: cmake
Version: 2.4.7-1
Severity: important
Defining a java-enabled project fails:
cmake ..
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_JAVA_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_JAVA_COMPILER
CMake Error: Could not find cmake module
file:/home/fsateler/src/deb/csound/peo/csound-5.06.0/build/CMakeFiles/CMakeJAVACompiler.cmake
-- Check for working C compiler: /usr/lib/ccache/gcc
<snip unrelated config commands>
And indeed there is
/usr/share/cmake-2.4/Modules/CMakeJavaCompiler.cmake.in but no
CMakeJavaCompiler.cmake
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-felipe (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cmake depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libgcc1 1:4.2.1-4 GCC support library
ii libncurses5 5.6+20070825-1 Shared libraries for terminal hand
ii libstdc++6 4.2.1-4 The GNU Standard C++ Library v3
cmake recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
sekmadienis 02 Rugsėjis 2007, jūs rašėte:
> cmake ..
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_JAVA_COMPILER_ENV_VAR
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_JAVA_COMPILER
> CMake Error: Could not find cmake module
> file:/home/fsateler/src/deb/csound/peo/csound-5.06.0/build/CMakeFiles/CMake
>JAVACompiler.cmake -- Check for working C compiler: /usr/lib/ccache/gcc
The Java language can be enabled like:
project(projectmane Java)
see also enable_language command.
The error you make is casing - you use "JAVA" instead of "Java" (hence
CMakeJAVACompiler.cmake is searched for instead of CMakeJavaCompiler.cmake
which gets generated). Case is important on UNIX file systems since they are
case sensitive. Documentation does not imply anywhere you can use JAVA so this
is not a bug in cmake, but on your side. I'm closing this bug.
> And indeed there is
> /usr/share/cmake-2.4/Modules/CMakeJavaCompiler.cmake.in but no
> CMakeJavaCompiler.cmake
You should not mess with these files manually. They are internal cmake files.
--
Modestas Vainius <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part.
--- End Message ---