126
edits
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Return to [[coot]] | |||
These instructions are current as of coot release 0.5. | These instructions are current as of coot release 0.5. | ||
Line 154: | Line 156: | ||
The configure command is all one line; I've escaped the return. Using --prefix=$PWD simply keeps everything self-contained. You can use any install prefix you want to (it defaults to /usr/local; another sensible choice is /usr/local/xtal. Avoid /usr as a prefix, as it can mess with your system). | The configure command is all one line; I've escaped the return. Using --prefix=$PWD simply keeps everything self-contained. You can use any install prefix you want to (it defaults to /usr/local; another sensible choice is /usr/local/xtal. Avoid /usr as a prefix, as it can mess with your system). | ||
The make -i install is needed if you choose --prefix=$PWD because it tries to install some files where they are presently situated. | The''' make -i install''' is needed if you choose --prefix=$PWD because it tries to install some files where they are presently situated. | ||
---- | ---- | ||
==If you want to make it portable== | ==If you want to make it more portable== | ||
You don't need to do this to run coot; this is only handy if you need to redistribute it (or make say a debian package). | You don't need to do this to run coot; this is only handy if you need to redistribute it (or make say a debian package). | ||
Line 177: | Line 179: | ||
<pre> | <pre> | ||
cd /usr/local/xtal/coot | cd /usr/local/xtal/coot/bin | ||
foreach dylib in $(ldd coot-real | awk '{print $3}' | grep -v fff | grep -v "usr/local/xtal/coot" | sort -u ) | foreach dylib in $(ldd coot-real | awk '{print $3}' | grep -v fff | grep -v "usr/local/xtal/coot" | sort -u ) | ||
print copying $dylib | print copying $dylib | ||
sudo cp -i $dylib /usr/local/xtal/coot | sudo cp -i $dylib /usr/local/xtal/coot/lib/. | ||
end | end | ||
</pre> | </pre> | ||
Line 186: | Line 188: | ||
In addition, the guile modules can all be put in one centralized location: | In addition, the guile modules can all be put in one centralized location: | ||
cp -R /usr/share/guile* /usr/local/xtal/coot | cp -R /usr/share/guile* /usr/local/xtal/coot/share/. | ||
Return to [[coot]] |
edits