weimingtom / llvm-lua

Automatically exported from code.google.com/p/llvm-lua
Other
0 stars 0 forks source link

llvm lua 1.1.0 pre2 compile problems on Mac OS X Leopard #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install cmake-2.8.0-Darwin-universal.dmg
2. Install llvm-2.6-i386-darwin9.tar.gz
3. Open a console
4. Uncompress llvm_lua-1.1.0_pre2.tar.gz
5. Enter the llvm_lua-1.1.0_pre2 directory
6. Type "cmake ."

What is the expected output? What do you see instead?

cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Curses: /usr/lib/libcurses.dylib
CMake Error at llvm-lua/CMakeLists.txt:268 (install):
  install TARGETS given target "llvm-lua" which does not exist in this
  directory.

CMake Warning (dev) at CMakeLists.txt:292 (add_subdirectory):
  The source directory

    /Users/NiCoX/Desktop/LUA_LLVM/llvm-lua-read-only/test

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

What version of the product are you using? On what operating system?
llvm lua 1.1.0 pre2 on Mac OS X Leopard

Please provide any additional information below.

Original issue reported on code.google.com by ni...@mageos.com on 15 Nov 2009 at 1:58

GoogleCodeExporter commented 9 years ago
Please try the attached patch to see if this fixes the build error.  I have also
committed the fix.

Original comment by rjakabo...@gmail.com on 16 Nov 2009 at 2:02

Attachments:

GoogleCodeExporter commented 9 years ago
Yes it works, thanks a lot :)

Original comment by ni...@mageos.com on 16 Nov 2009 at 11:17