<@U016EM8L91B> I was trying to update `magic` toda...
# magic
v
@Tim Edwards I was trying to update
magic
today but getting following error. Please suggest.
m
@vks Did you run
./configure
before make?
v
@Mitch Bailey I didn't ran
./configure
. I was trying to update existing open pdk. I ran
git pull
make
and to be followed by
sudo make install
. Is this the right sequence for update ?
m
Compiling magic should not effect the pdk. I don’t know the default magic installation directory or the directory where you want to install. It might be best to be explicit. ./configure sets the install directory and other variables necessary for compilation (make). Run which magic to find the installation directory. For example, if it’s installed at /usr/local/bin/magic the install directory you should specify is /usr/local Run ./configure —prefix=/usr/local make sudo make install Note that there are 2 - before prefix
t
@vks: You have lost an intermediate script file that is not rebuilding. Do a
make clean
, possibly
(sudo) make veryclean
, and re-run
./configure
, and it should be okay. However, since when you did
git pull
it said "Already up to date", you presumably have the most recent version installed.
👍 1