'Hardy'에 해당되는 글 3건

Compilation

To compile the sources of gsview-4.9, gtk-config is necessary.

apt-get install libgtk1.2-dev
wget -c http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv49src.zip

  unzip -aa gsv49src.zip
  unzip -o gsv49src.zip "gsview-4.9/binary/*"
  cd gsview-4.9
  cp srcunx/unx.mak Makefile
  make

cd gsview-4.9/bin/
gsview*  gvxct.htm  gvxde.htm  gvxen.htm  gvxes.htm  gvxfr.htm  gvxgr.htm  gvxit.htm  gvxnl.htm  gvxru.htm  gvxse.htm  gvxsk.htm

check your gs version
~$ gs -version
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc.  All rights reserved

Options -> Advanced Configure.. ->

Ghostscript Version -> 861
Ghostscript Shared Object : libgs.so.8

-> OK

Options -> Save Settings Now

The more detailed configuration will be found in the old posts.

2007/08/24 - [computer/linux] - gsview on ubuntu linux (6.10)
2008/01/01 - [computer/linux] - Gtk-WARNING **: Unable to locate loadable module in module_path


Installation

make install

more



Modification

emacs /usr/local/bin/gsview-help &

#!/bin/sh
# This script runs the GSview help
# $1 is the help file name
# $2 is the topic name

if [ -z "$1" ]
then
  echo "Usage: $0 URL [TAG]"
  echo "  URL: The URL to open"
  echo "  TAG: The anchor at that url"
  exit 1
fi

if [ -z "$2" ]
then
  TAG=''
else
  TAG="#$2"
fi

if mozilla -remote openFile\(file://$1$TAG\) ; then
    exit 0
else
    mozilla file://$1$TAG
fi
exit 0

you should change mozilla to firefox .
신고
블로그 이미지

citadel

memory, life, and logs


When I want to install the SMPlayer from http://smplayer.berlios.de/downloads.php?tr_lang=en,

I have a problem which is
W: GPG error: http://ppa.launchpad.net hardy Release: Release: The following signatures couldn’t be verified because the public key is not available:  NO_PUBKEY @@@@@@@@@@@@


The solution is
gpg --keyserver subkeys.pgp.net --recv @@@@@@@@@@@@
gpg --export --armor  @@@@@@@@@@@@  | apt-key add -


by using the following references 
신고
블로그 이미지

citadel

memory, life, and logs

The ROOT system is an object-oriented Data Analysis Framework.

http://root.cern.ch

OS: Ubuntu 8.04 / RHEL 5.3
GCC : gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3) / gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

Some useful reference  is http://root.cern.ch/twiki/bin/view/ROOT/SubversionHowto

1. Check the web site of ROOT system http://root.cern.ch/svn/root/tags/
http://root.cern.ch/viewcvs/tags/
  and decide one version that I want to install.

2. For example, v5-22-00.

  cd $HOME/programs/
  svn co http://root.cern.ch/svn/root/tags/v5-22-00 root.5.22

  root.5.22 is a local directory name and will be created by svn.


3.
cd $HOME/programs

Since I want to use a general directory name for ROOT system, thus
I create a symbolic link. Thus, my ROOT directory is
$HOME/programs/root/. N.B. if the file system is a fat32, symbolic links
cannot be created.

ln -s root.5.22 root

ln -s root.5.26a root


4. When I install a fresh ROOT system on my Linux, make sure to install proper packages by using.. 

ubuntu 8.04

apt-get install libjpeg62-dev libtiff4-dev  libxml2-dev libssl-dev libgnutls-dev libgmp3-dev libxmu-dev libpng12-dev libldap2-dev libkrb5-dev freeglut3-dev libxmu-dev fftw3 fftw3-dev  python-dev   libmysqlclient15-dev libgif-dev libungif4-dev libiodbc2 libiodbc2-dev

Debian 6 squeeze
apt-get install  comerr-dev freeglut3-dev krb5-multidev libfftw3-dev libgif-dev \
  libgl1-mesa-dev libglu1-mesa-dev libgmp3-dev libgmpxx4ldbl libiodbc2\
  libiodbc2-dev libkrb5-dev libldap2-dev libmysqlclient-dev libssl-dev\
  libtiff4-dev libtiffxx0c2 libxmu-dev libxmu-headers libxt-dev\
  mesa-common-dev libxpm-dev libpq-dev  libxft2 libxft-dev libgsl0-dev


5. set or change ROOTSYS to the your `root' directory:
5.1 First installation,

 export ROOTSYS=$HOME/softwares/root

 setenv ROOTSYS $HOME/softwares/root


   GOTO 6.

5.2 Update or new version
 
    5.2.1 Deactivate other export lines of ROOT system in ".bash_export" or ".bashrc" file
    #
    # ROOT path configuration
    #
    #    export ROOTSYS=$HOME/programs/root
    #    export PATH=$ROOTSYS/bin:$PATH
    #    export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

    5.2.2 Restart a xterm, and go to $HOME/programs/root
    5.2.3 Check the the ROOT path is empty by echo $ROOTSYS

    GOTO 6.

6.
./configure linux --enable-minuit2 --enable-roofit --enable-table --enable-gdml

./configure linux --enable-minuit2 --enable-roofit --enable-table --enable-gdml --enable-pgsql --enable-mysql

 or

./configure linuxx8664gcc  --enable-mysql --enable-roofit --enable-table --enable-gdml --enable-minuit2

more ouput


make


7.
7.1 First installation,
   Add the following paths in ".bash_export" or ".bashrc" file
     export ROOTSYS=$HOME/programs/root/
     export PATH=$ROOTSYS/bin:$PATH
     export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

Add the following paths in ".tcshrc" file
setenv HOME_PROGRAMS ${HOME}/programs
setenv ROOTSYS /opt/root
setenv PATH ${ROOTSYS}/bin:${PATH}
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH}



7.2 Update or new version
 
    7.2.1 Set ROOTSYS in current xterm
export ROOTSYS=$PWD
setenv ROOTSYS $PWD
    7.2.2 Configure and make
    7.2.3 add the new ROOTSYS in bashrc or tcshrc

8.
    Open a new xterm, type root
  

update revision
  • cd $HOME/programs/root.5.22
  • svn up
  • cd $HOME/programs/root
  • ./configure linux --enable-minuit2 --enable-roofit --enable-table --enable-gdml
  • make



svn info

더보기




On 64 bit machine, I failed to compile with the following message :

/usr/lib64/libgslcblas.a: could not read symbols: Bad value

Then rerun the following command

./configure linuxx8664gcc  --enable-roofit --enable-table --enable-gdml --enable-minuit2 --enable-gsl-shared

make


신고

'Computer > linux' 카테고리의 다른 글

turn off or reboot ubuntu 8.04 without passwd using sudo  (0) 2008.12.23
ROOT system installation and update  (0) 2008.12.20
convert bin and cue image files to iso file  (0) 2008.12.19
unicode in xterm  (0) 2008.12.18
블로그 이미지

citadel

memory, life, and logs

티스토리 툴바