Changeset 1309
- Timestamp:
- May 13, 2013 11:11:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ioctest/doc/install_medm.rst
r1307 r1309 29 29 sudo apt-get install -y libmotif-dev xfonts-100dpi 30 30 sudo apt-get install -y libxp-dev libxmu-dev libxpm-dev 31 32 .. 33 perhaps these:: (``apt-cache pkgnames`` shows all of these already installed) 34 35 sudo apt-get install -y build-essential libmotif-dev 36 sudo apt-get install -y x11proto-print-dev 37 sudo apt-get install -y libxmu-dev libxpm-dev 38 sudo apt-get install -y xfonts-100dpi 39 sudo apt-get install -y libxp-dev 31 sudo apt-get install -y build-essential 40 32 41 33 downloads … … 67 59 cd /usr/local/epics 68 60 tar xzf ~/Downloads/extensionsTop_20120904.tar.gz 69 cd src61 cd extensions/src 70 62 tar xzf ~/Downloads/msi1-6.tar.gz 71 63 ln -s msi1-6 ./msi … … 89 81 X11_LIB = /usr/lib 90 82 MOTIF_LIB = /usr/lib 83 GNU_X11_LIB=/usr/lib/x86_64-linux-gnu 91 84 92 85 #XRTGRAPH_EXTENSIONS = YES … … 110 103 add (or modify) these definitions:: 111 104 112 Xm_DIR = $( MOTIF_LIB)113 Xt_DIR = $( X11_LIB)114 X11_DIR = $( X11_LIB)115 Xmu_DIR = $( X11_LIB)116 Xp_DIR = $( X11_LIB)117 Xext_DIR = $( X11_LIB)105 Xm_DIR = $(GNU_X11_LIB) 106 Xt_DIR = $(GNU_X11_LIB) 107 X11_DIR = $(GNU_X11_LIB) 108 Xmu_DIR = $(GNU_X11_LIB) 109 Xp_DIR = $(GNU_X11_LIB) 110 Xext_DIR = $(GNU_X11_LIB) 118 111 119 112 USR_LIBS_Linux += dl xcb Xft fontconfig SM ICE Xau Xdmcp 120 dl_DIR = $( X11_LIB)121 xcb_DIR = $( X11_LIB)122 Xft_DIR = $( X11_LIB)123 fontconfig_DIR = $( X11_LIB)124 SM_DIR = $( X11_LIB)125 ICE_DIR = $( X11_LIB)126 Xau_DIR = $( X11_LIB)127 Xdmcp_DIR = $( X11_LIB)113 dl_DIR = $(GNU_X11_LIB) 114 xcb_DIR = $(GNU_X11_LIB) 115 Xft_DIR = $(GNU_X11_LIB) 116 fontconfig_DIR = $(GNU_X11_LIB) 117 SM_DIR = $(GNU_X11_LIB) 118 ICE_DIR = $(GNU_X11_LIB) 119 Xau_DIR = $(GNU_X11_LIB) 120 Xdmcp_DIR = $(GNU_X11_LIB) 128 121 129 122 … … 136 129 137 130 sudo su 138 cd /usr/lib 139 ln -s x86_64-linux-gnu/libX11.a ./ 140 ln -s x86_64-linux-gnu/libXm.a ./ 141 ln -s x86_64-linux-gnu/libXmu.a ./ 142 ln -s x86_64-linux-gnu/libXp.a ./ 143 ln -s x86_64-linux-gnu/libXt.a ./ 144 ln -s x86_64-linux-gnu/libXext.a ./ 145 ln -s x86_64-linux-gnu/libXp.so.6 ./ 146 ln -s libXp.so.6 libXp.so 147 ln -s x86_64-linux-gnu/libdl.so ./ 148 ln -s x86_64-linux-gnu/libXft.so.2 ./libXft.so 149 ln -s x86_64-linux-gnu/libfontconfig.so.1 ./libfontconfig.so 150 ln -s x86_64-linux-gnu/libSM.so ./ 151 ln -s x86_64-linux-gnu/libxcb.a ./ 152 ln -s x86_64-linux-gnu/libICE.a ./ 153 ln -s x86_64-linux-gnu/libXau.a ./ 154 ln -s x86_64-linux-gnu/libXau.so ./ 155 ln -s x86_64-linux-gnu/libXdmcp.so ./ 156 157 .. note:: The lines from ``libXp.so.6`` on were needed on a 158 Kubuntu 13.04 system 159 160 .. Isn't there a better way than making all these soft links as su? 161 Perhaps defining an additional symbol in CONFIG_SITE.${HOST_ARCH}-${T_A} 162 to specify the GNU_X11_LIB. 163 164 Still, some libraries are .so.N while .so is the one to be found. 131 cd /usr/lib/x86_64-linux-gnu 132 ln -s libXft.so.2 ./libXft.so 133 ln -s libfontconfig.so.1 ./libfontconfig.so 165 134 166 135 .. rubric:: x86 136 137 possibly do similar to x86_64? 138 167 139 168 140 :: … … 197 169 Here's one way to install the MEDM font aliases. :: 198 170 199 sudo cat ~/Downloads/medmfonts.ali.txt >> /usr/share/fonts/X11/misc/fonts.alias200 201 Another way is to open both files (as root) in a graphical editor202 and append them directly::203 204 171 gksudo gedit ~/Downloads/medmfonts.ali.txt /usr/share/fonts/X11/misc/fonts.alias & 205 172
Note: See TracChangeset
for help on using the changeset viewer.