File: README.unix

package info (click to toggle)
devil 1.7.8-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch, trixie
  • size: 9,796 kB
  • sloc: ansic: 45,835; sh: 15,558; cpp: 4,009; python: 1,300; pascal: 792; makefile: 307; cs: 192; fortran: 5
file content (60 lines) | stat: -rw-r--r-- 2,087 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How do I compile the 3 libraries?
--------------------------------

You will need autoconf, automake and libtool.

Just type:
autoreconf -i
./configure <your options here> 
make
sudo make install

If you want to use the ILU and ILUT parts of DevIL, you will want to run
./configure --enable-ILU --enable-ILUT

If you want configure to install in /usr instead of /usr/local, append
--prefix=/usr to the ./configure line.

It should find automatically what can (or cannot) be built on your system.  Libtool, autoconf and
automake will need to be installed.  You may need to copy files from your libtool
into the libtools directory and overwrite ltmain.sh if it will not compile with the
included files.

NB : ./configure --help gives you all compiling options available for the three
      libs. This includes enabling/disabling picture formats, ilut apis.
      
Enable/Disable:
All features are basically enabled, and a test will be performed
to verify if is possible to compile them in. If they are explicitly enabled
or disabled no test will occour.

Compiling under Cygwin or MingW in Windows:
------------------------------------------

Run the same commands as above.  You will need to have the following packages installed: gcc-core, gcc-mingw-core, gcc-g++, autoconf, automake, libtool.

Config.h and JasPer:
-------------------

If compiling with JasPer, you may need to modify config.h so that it does not
redefine things that are defined in JasPer's jas_config.h.  PACKAGE, PACKAGE_NAME,
etc. are generated for both projects, since they use a similar configuration
program.  If there are conflicts, just comment out the ones in DevIL's config.h.


Libraries needed to compile DevIL* :
-----------------------------------

They are all autodetected by the ./configure script. But if you want to include
one of those formats, you have just to install the corresponding lib :

(libs listed in libraries.txt)

or in your distro/port ftp/site/whatever_you_want :-)


Installation:
-------------

If #make succeeded, just type #make install, followed by #ldconfig
(as su, of course)