bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64444] Building from git should NOT install swig in /usr/local!


From: T. Kurt Bond
Subject: [bug #64444] Building from git should NOT install swig in /usr/local!
Date: Tue, 1 Aug 2023 12:46:04 -0400 (EDT)

Follow-up Comment #2, bug #64444 (project gforth):

That works, but it leaves a bunch of files owned by root in
./local/share/swig/3.0.9.  

Since you are installing it into a subdirectory, you don't actually need the
sudo in install-swig.sh:


diff --git a/install-swig.sh b/install-swig.sh
index 07852f1c..0f9e0559 100755
--- a/install-swig.sh
+++ b/install-swig.sh
@@ -3,4 +3,4 @@ which sudo || alias sudo=eval
 which nproc || alias nproc="echo 1"

 git clone https://github.com/GeraldWodni/swig.git
-(cd swig && ./autogen.sh && ./configure "$@" && make -j`nproc` && sudo make
install)
+(cd swig && ./autogen.sh && ./configure "$@" && make -j`nproc` &&  make
install)




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64444>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]