Le Fri, 18 Aug 2017 14:38:21 +0200, Gianluigi <bagone...@gmail.com> a
écrit:
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
What errors were you getting ?
The git pull command definitely works when new files are (re-)added, and
I've been
updating to the latest versions using it without a problem.
--
Adrien Prokopowicz
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user