Closed banancc closed 5 years ago
fatal: not a git repository (or any parent up to mount point /)
This shouldn't happen.....
Try cloning the repository instead of downloading it
I think you're missing the git submodules file
Try cloning the repository instead of downloading it
It's still the same :(
Can't reproduce. Do you mind sharing your configuration?
Workaround: try installing iniparser independently.
Do you mind sharing your configuration?
Intel® Pentium(R) CPU G6950 @ 2.80GHz × 2 integrated graphics
Apologies, I meant OS/distro.
Also interesting to note is:
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Are you using a remote filesystem by any chance?
Try below before running cmake.
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
Apologies, I meant OS/distro.
Ubuntu Budgie 18.04.3 LTS
Are you using a remote filesystem by any chance?
Nop
Try below before running cmake.
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
cmake .. -DCMAKE_BUILD_TYPE=Release
-- iniparser not found on system, building from source.
fatal: not a git repository (or any of the parent directories): .git
-- Not a Windows platform, can use POSIX now!
-- portaudio library not found
-- Configuring done
CMake Error at CMakeLists.txt:27 (add_library):
Cannot find source file:
lib/iniparser/src/dictionary.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:27 (add_library):
No SOURCES given to target: iniparser
CMake Generate step failed. Build files cannot be regenerated correctly.
are you sure there's a .git
folder in the root directory of the project?
fxp. /home/banancc/Downloads/xava/.git
because that's really not supposed to happen.....
are you sure there's a
.git
folder in the root directory of the project?
I think yes
xava-master - thats the zip file (not clone)
But I'll try to fix it for those who hadn't cloned anyway
xava-master - thats the zip file (not clone)
so i need to just zip it right?
No just do the following in the terminal:
git clone https://github.com/nikp123/xava
I'm too dumb for that or what? :|
try that but with export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
when i need to type that command?
just before you run cmake
I replaced my cmakelists.txt with the one you attached
just before you run cmake
-- iniparser not found on system, building from source.
fatal: not a git repository (or any of the parent directories): .git
-- Not a Windows platform, can use POSIX now!
-- portaudio library not found
-- Configuring done
CMake Error at CMakeLists.txt:27 (add_library):
Cannot find source file:
lib/iniparser/src/dictionary.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:27 (add_library):
No SOURCES given to target: iniparser
CMake Generate step failed. Build files cannot be regenerated correctly.
Do these steps instead:
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
git clone https://github.com/nikp123/xava
mkdir -p xava/build
cd xava/build
cmake ..
make -j$(nproc)
and that should be it. If that fails, then I seriously have no idea.
EDIT: You're trying to run cmake in a wrong directory. Of course it's going to fail. You forgot to cd xava
before you did the mkdir
command.
EDIT: You're trying to run cmake in a wrong directory. Of course it's going to fail. You forgot to
cd xava
before you did themkdir
command.
Thanks a lot! :) But now i have that:
qwerty@ubuntu:~/xava/build$ make -j$(nproc)
make: *** No targets specified and no makefile found. Stop.
did cmake succeed? show me the entire log if you can
I deleted all xava files on my pc and started again with
Do these steps instead:
these commands and all worked fine!
Thanks a lot for your support!
So how can i run xava on my desktop? Or i need something more?
just do ./xava
or to install do: make install
qwerty@ubuntu:~/xava/build$ cmake ..
-- iniparser not found on system, building from source.
-- Not a Windows platform, can use POSIX now!
-- portaudio library not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/qwerty/xava/build
qwerty@ubuntu:~/xava/build$ make -j$(nproc)
[ 21%] Built target iniparser
[100%] Built target xava
qwerty@ubuntu:~/xava/build$ make install
[ 21%] Built target iniparser
[100%] Built target xava
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/bin/xava
CMake Error at cmake_install.cmake:47 (file):
file INSTALL cannot copy file "/home/qwerty/xava/build/xava" to
"/usr/local/bin/xava".
Makefile:117: recipe for target 'install' failed
make: *** [install] Error 1
qwerty@ubuntu:~/xava/build$
you need to run it as sudo
OMG! It works! Thanks a lot! I hope to understand how to configure it!
I tryed to install xava and that happened:
cmake .. -DCMAKE_BUILD_TYPE=Release
Please help! Thanks!