Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building native code fails #13

Closed
Zubnix opened this issue Apr 14, 2016 · 4 comments
Closed

Building native code fails #13

Zubnix opened this issue Apr 14, 2016 · 4 comments

Comments

@Zubnix
Copy link

Zubnix commented Apr 14, 2016

bash: ./configure: No such file or directory

It seems cmake is configured to run a ./configure command, yet nowhere is it configured to generate a configure file.

@ashleyj
Copy link
Owner

ashleyj commented Apr 14, 2016

what are you trying to build?
Which OS?

@Zubnix
Copy link
Author

Zubnix commented Apr 14, 2016

gentoo linux, x86_64, cmake version 3.5.1

-- ARCH: x86_64
-- OS: linux
-- SYSROOT: 
-- CMAKE_BUILD_TYPE: debug
-- CMAKE_C_COMPILER: /usr/bin/gcc
-- CMAKE_CXX_COMPILER: /usr/bin/g++
-- CMAKE_C_FLAGS: 
-- CMAKE_CXX_FLAGS: 
-- CMAKE_C_FLAGS_DEBUG: -g  -Wall -fdata-sections -ffunction-sections -fPIC -m64  -std=gnu99 -fPIC
-- CMAKE_CXX_FLAGS_DEBUG: -g  -Wall -fdata-sections -ffunction-sections -fPIC -m64  -std=gnu++11 -fPIC
-- CMAKE_C_FLAGS_RELEASE: -Os -DNDEBUG  -Wall -fdata-sections -ffunction-sections -fPIC -m64  -std=gnu99 -fPIC
-- CMAKE_CXX_FLAGS_RELEASE: -Os -DNDEBUG  -Wall -fdata-sections -ffunction-sections -fPIC -m64  -std=gnu++11 -fPIC
-- CMAKE_EXE_LINKER_FLAGS:   -fPIC -m64
-- CMAKE_SHARED_LINKER_FLAGS:   -fPIC -m64
-- CMAKE_MODULE_LINKER_FLAGS:   -fPIC -m64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zubzub/git/aura/vm/target/build/linux-x86_64-debug
[  1%] Built target libatomic_ops
[  1%] Performing configure step for 'extgc'
bash: ./configure: No such file or directory
CMakeFiles/extgc.dir/build.make:106: recipe for target 'extgc-prefix/src/extgc-stamp/extgc-configure' failed
make[2]: *** [extgc-prefix/src/extgc-stamp/extgc-configure] Error 127
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/extgc.dir/all' failed
make[1]: *** [CMakeFiles/extgc.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
linux-x86_64-debug build failed

@Zubnix
Copy link
Author

Zubnix commented Apr 14, 2016

I see extgc and other are external git modules, I'll check them out and see if that fixes it.

It seem running git submodule init git submodule update fixes it. I suggest adding it to the wiki :)

@ashleyj
Copy link
Owner

ashleyj commented Apr 14, 2016

Done, thanks for picking that up

@ashleyj ashleyj closed this as completed Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants