You are not logged in.
i tried to build polyester-1.98.0 from aur
and i built it successfully several times before
but this time . .
makepkg -c
==> Making package: kdestyle-polyester 1.98.0-2 i686 (Fri May 1 18:05:40 IDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found polyester-1.98.0.tar.bz2 in build dir
==> Validating source files with md5sums...
polyester-1.98.0.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f polyester-1.98.0.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/ash/computer/polyester/src/polyester-1.98.0/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/ash/computer/polyester/src/polyester-1.98.0/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
==> ERROR: Build Failed.
Aborting...
update
i added-D CMAKE_MAKE_PROGRAM=/usr/bin/cmake inside the pkgbuild
now it became
makepkg
==> Making package: kdestyle-polyester 1.98.0-2 i686 (Fri May 1 19:24:26 IDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found polyester-1.98.0.tar.bz2 in build dir
==> Validating source files with md5sums...
polyester-1.98.0.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f polyester-1.98.0.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/ash/computer/polyester/src/polyester-1.98.0/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/cmake "cmTryCompileExec/fast"
CMake Error: The source directory
"/home/ash/computer/polyester/src/polyester-1.98.0/CMakeFiles/CMakeTmp/cmTryCompileExec/fast"
does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
==> ERROR: Build Failed.
Aborting...
Last edited by ash (2009-05-01 20:43:03)
Offline
Looks like your make or gcc is broke, try reinstalling both. If that doesn't work create a new user and try to build.
Offline
pacman -S gcc
pacman -S cmake
new user
started from scratch (pkgbuild + source.tar.bz2)
same errors
Offline
i added-D CMAKE_MAKE_PROGRAM=/usr/bin/cmake inside the pkgbuild
Try
-D CMAKE_MAKE_PROGRAM=/usr/bin/make
or whatever path to make is, NOT cmake.
Offline
same error as with /usr/bin/cmake
Offline
make is not installed. installing it solved the issue
thanks !
Last edited by ash (2009-05-01 20:45:19)
Offline