~ubuntu-branches/ubuntu/hoary/psi/hoary

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2002-04-19 02:28:44 UTC
  • Revision ID: james.westby@ubuntu.com-20020419022844-za7xgai5qyfd9xv6
Tags: upstream-0.8.5
ImportĀ upstreamĀ versionĀ 0.8.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installation
 
2
------------
 
3
 
 
4
If this is a source package, then you need to compile before installing.
 
5
Skip down to the "Compiling" section in that case.
 
6
 
 
7
Otherwise, make sure you are root and type:
 
8
 
 
9
  ./install.sh
 
10
 
 
11
That will install the program.  Have a look at the 'install.sh'
 
12
file yourself if you want to see what it does (it's only like 20 lines).
 
13
 
 
14
That's it!  You're done!
 
15
Once installed, launch the program by running "psi"
 
16
 
 
17
 
 
18
Compiling
 
19
---------
 
20
 
 
21
Psi requires Qt 3.0.1, nothing less!  Psi will compile against Qt 3.0.0,
 
22
but it will not function properly.  Please upgrade!
 
23
 
 
24
To build Psi, do:
 
25
 
 
26
  % cd src
 
27
  % qmake psi.pro
 
28
  % make
 
29
 
 
30
If you get an error running qmake, then you don't have a proper Qt3
 
31
development environment setup.  Please make sure you have Qt3 installed,
 
32
and direct any questions towards the package maintainer of wherever you
 
33
got Qt3.  Please don't ask me how to setup Qt3, I get enough mail already.
 
34
 
 
35
Now, if the compile fails, then you're allowed to email me :)
 
36
 
 
37
Notes about compiling:
 
38
    * If you are using the non-threaded version of Qt, you will need to
 
39
      take out the word "thread" from the CONFIG line in psi.pro.  Psi
 
40
      does not actually use threads, but is configured to use the threaded
 
41
      version of Qt since it is more likely to be the one you have.
 
42
 
 
43
    * Some systems don't have a separate libXss library (like
 
44
      Solaris).  In this case it is safe to remove the -lXss line from
 
45
      psi.pro.
 
46
 
 
47
    * Some systems might not have XScreenSaver at all.  In this case,
 
48
      remove -lXss from psi.pro, and also #define NO_PS_IDLE in idle.cpp.
 
49
 
 
50
Alright, if the compile succeeded, you should have an executable called
 
51
"psi" in the src folder.  Move it down to the base folder:
 
52
 
 
53
  % mv psi ..
 
54
  % cd ..
 
55
 
 
56
Ok now you can go back up to the Installation instructions.
 
57