INSTALL.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. Normal procedure:
  2. source setenv.sh
  3. make
  4. After that executables and libraries should be available in BUILD_*. Settings for libraries can be changed in Makefile.config. Please note that this file will be created after running make for the first time.
  5. The following is just a list of typical pitfalls:
  6. (1) On some systems (openSuSE) some library links are not set appropiately
  7. ln -s /lib/libbz2.so.1 /lib/libbz2.so
  8. ln -s /usr/lib/libg2c.so.0 /usr/lib/libg2c.so
  9. (2) For running unit tests with "make check" you need
  10. zypper install cppunit-devel
  11. (3)
  12. BZLIB not found (see Makefile.config) ...
  13. /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lbz2
  14. This error occurs when the link to libbz2 is not set properly
  15. 32bit: ln -s /lib/libbz2.so.1 /lib/libbz2.so
  16. 64bit: ln -s /lib64/libbz2.so.1 /lib64/libbz2.so
  17. The bz2 lib check successfully detects this mistake, however, Magick++-config uses -lbz2 anyway.
  18. (4) compilation problems when ICE library is available somewhere in your system
  19. => in older version, subroutines of ICE where used. Currently, the system is working independent from ICE. However, if ICEDIR is set on your machine, it will try to link against some methods and classes.
  20. => unset ICEDIR (perhaps also in your bashrc)