Difference between revisions of "Solutions for technical problems with lab machines"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Install Coin3D with Simage)
(Install Coin3D with Simage)
Line 42: Line 42:
 
* 'make'
 
* 'make'
 
* copy libraries to extern_libs/lib64
 
* copy libraries to extern_libs/lib64
 +
* Undo change to libGL.so:
 +
** 'su'
 +
** mv /usr/lib/libGL.so.bak /usr/lib/libGL.so

Revision as of 12:15, 28 February 2008

Problem with fonts in Emacs

xset +fp /usr/X11R6/lib/X11/fonts/100dpi 
xset +fp /usr/X11R6/lib/X11/fonts/75dpi 
xset fp rehash

Permanent solution: add the following lines to /etc/X11/xorg.conf as root (under the "Files" section):

FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"

Install Coin3D with Simage

Simage:

  • Download simage 1.6.1
  • 'configure'
  • 'vi libtool'
  • comment out the line starting with "predep_objects" to avoid multiple definition errors
  • 'make'
  • 'make install'

Coin3D:

  • Download Coin3D 2.5.0
  • 'configure --disable-dl-simage'
  • make sure simage is listed to be statically linked, not at run-time
  • 'vi Makefile'
  • in line starting with 'CC' add '-fPIC'
  • to avoid linker problem with libGL.so:
    • 'su'
    • mv /usr/lib/libGL.so /usr/lib/libGL.so.bak
    • ln -s /usr/lib64/libGL.so /usr/lib/libGL.so
    • exit
  • Download Zlib 1.2.3
    • 'vi makefile'
    • edit the line starting with 'CC': add -fPIC
  • 'make'
  • copy libraries to extern_libs/lib64
  • Undo change to libGL.so:
    • 'su'
    • mv /usr/lib/libGL.so.bak /usr/lib/libGL.so