Hi All,
I tried to compile git source but I have this error:
make – CMAKE_BUILD_TYPE: Debug – Configuring done – Generating done – Build files have been written to: /root/Downloads/RawTherapee-master/build [ 0%] Creating the about file – git command found: /usr/bin/git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CMake Error at /root/Downloads/RawTherapee-master/AboutThisBuild.cmake:27 (string):
_ string sub-command REGEX, mode REPLACE needs at least 6 arguments total to_
_ command._
CMakeFiles/AboutFile.dir/build.make:57: set di istruzioni per l’obiettivo “CMakeFiles/AboutFile” non riuscito make[2]: *** [CMakeFiles/AboutFile] Errore 1 CMakeFiles/Makefile2:67: set di istruzioni per l’obiettivo “CMakeFiles/AboutFile.dir/all” non riuscito make[1]: *** [CMakeFiles/AboutFile.dir/all] Errore 2 Makefile:127: set di istruzioni per l’obiettivo “all” non riuscito make: *** [all] Errore 2
I’m very noob and I don’t know what could be . Can you help me??
Yes it’s better to check for the dependencies first.
It looks to me form your error message that you didn’t issue your command from the right directory. After cloning the github repo, you need to change directory to the newly created local repo. For example if your local cloned repo is in ~/rt-repo, type cd ~/rt-repo and then issue the cmake and make commands.
Hi All,
my dependencies are ok… and I follow the advice …
but I have the error:
_fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at /root/Downloads/RawTherapee-gtk3/AboutThisBuild.cmake:27 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
What do it means?? Repository ??
Can you help me ??
You haven’t described what you have done or what instructions you followed. In the future please paste the whole build log, from and including the clone command.
Delete your cloned source code folder. Start over. Follow Linux - RawPedia
Do not run this as root.
Do not compile a “debug” build unless you are doing so to get a more detailed bug report. If you are compiling for everyday use, compile a “release” build.
If you run into any trouble, provide the whole log from and including the clone command. Also let me know which version of git, cmake and gcc you’re using.
P.S. I see you have a /root/Downloads/ folder, that is likely a sign that you’ve got a bad habit of using the root account when you should be using your user account.
Hi Morgan,
Usually I do not login as root, but now I’m in Virtualbox to test my new release distro.
If I compile not as root, could it change ??
However now I try to post what you ask me.
Hi Morgan,
Last try I done with the zip file from source git “rawtherapee-master or rawtherapee-gtk” and it didn’t work.
Now I download git with “git clone” and the compiling has worked.
One question… now with this compiling the final files are all into a single directory where I find the main executable rawtherapee.
There isn’t the linux file hierarchy. Why is it choosen this policy??