[Gambas-user] Git compilation report

Gianluigi bagonergi at ...626...
Fri Aug 18 14:38:21 CEST 2017


The last update fails due to missing files.
It seems that the git pull command can delete but can not restore the files.
I uninstalled with:

cd gambasdevel
sudo make uninstall

But having received error, I searched with "local" and manually uninstalled
files.
Then I gave these commands:

git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel
cd gambasdevel
./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C
make && sudo make install

Then I updated (with git pull) at 38a6017 so:

cd gambasdevel
git pull
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 12 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (12/12), done.
Da https://gitlab.com/gambas/gambas
   4aed62d..38a6017  master     -> origin/master
Aggiornamento di 4aed62d..38a6017
Fast-forward
 main/gbx/gbx_c_process.c | 16 ++++++++++++++--
 main/gbx/gbx_c_process.h |  1 +
 2 files changed, 15 insertions(+), 2 deletions(-)
./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C
make && sudo make install

This time it worked.
Now all it's ok, but my doubts remain about using the git pull command,
maybe update it should be done like this:

cd gambasdevel
sudo make uninstall
cd
rm -rf gambasdevel/
git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel
cd gambasdevel
./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C
make && sudo make install

Regards
Gianluigi



More information about the User mailing list