Changeset 1309


Ignore:
Timestamp:
May 13, 2013 11:11:24 AM (9 years ago)
Author:
jemian
Message:

revisions to the build on linux mint - slightly easier when root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ioctest/doc/install_medm.rst

    r1307 r1309  
    2929    sudo apt-get install -y libmotif-dev  xfonts-100dpi
    3030    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
    4032
    4133downloads
     
    6759   cd /usr/local/epics
    6860   tar xzf ~/Downloads/extensionsTop_20120904.tar.gz
    69    cd src
     61   cd extensions/src
    7062   tar xzf ~/Downloads/msi1-6.tar.gz
    7163   ln -s msi1-6 ./msi
     
    8981      X11_LIB = /usr/lib
    9082      MOTIF_LIB = /usr/lib
     83      GNU_X11_LIB=/usr/lib/x86_64-linux-gnu
    9184
    9285      #XRTGRAPH_EXTENSIONS = YES
     
    110103   add (or modify) these definitions::
    111104
    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)
    118111
    119112      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)
    128121
    129122
     
    136129   
    137130      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
    165134   
    166135   .. rubric::  x86
     136
     137      possibly do  similar to x86_64?
     138
    167139
    168140   ::
     
    197169Here's one way to install the MEDM font aliases. ::
    198170
    199     sudo cat ~/Downloads/medmfonts.ali.txt >> /usr/share/fonts/X11/misc/fonts.alias
    200 
    201 Another way is to open both files (as root) in a graphical editor
    202 and append them directly::
    203 
    204171    gksudo gedit ~/Downloads/medmfonts.ali.txt /usr/share/fonts/X11/misc/fonts.alias &
    205172
Note: See TracChangeset for help on using the changeset viewer.