@@ -74,7 +74,9 @@ and that it is setup correctly, see:
74
74
75
75
http://root.cern.ch/root/Cygwin.html
76
76
77
- Before proceeding read the complete document.
77
+ Before proceeding read the complete document. Note: With the advent
78
+ of Cygwin 1.0 your system is mostly setup correctly by the setup.exe
79
+ program.
78
80
79
81
80
82
Choosing the installation method
@@ -121,14 +123,14 @@ Linux packages.
121
123
122
124
This scheme also makes it easier to make ROOT
123
125
distributions/installations that fit with an existing system. E.g.,
124
- it should be trivial to install ROOT via a RedHat (.rpm) or Debian
125
- GNU/Linux (.deb) package.
126
+ it is trivial to install ROOT via a RedHat (.rpm) or Debian
127
+ GNU/Linux (.deb) package (see also below).
126
128
127
129
It's _strongly_ recommended to enable version numbers in sonames
128
130
(if possible) using this method (see --enable-soversion
129
131
below). Also, using the --enable-rpath option to "configure" you
130
132
can set the load path to the ROOT libraries on the
131
- applications. However, this is not recommended if you have soome
133
+ applications. However, this is not recommended if you have some
132
134
other way (like /etc/ld.so.conf) of making the dynamic loader
133
135
aware of where you installed the ROOT libraries.
134
136
@@ -153,9 +155,11 @@ outlined above and cd into the source directory. Then just do
153
155
154
156
make redhat
155
157
156
- This will create a RPM spec file in "../". To build the packages do:
158
+ This will create a RPM spec file in the source tree. To build the
159
+ packages do:
160
+
161
+ 1) Make a tar-ball of the source tree.
157
162
158
- 1)
159
163
cd ../
160
164
tar -czvf root_v<version>.source.tar.gz root
161
165
@@ -172,11 +176,11 @@ This will create a RPM spec file in "../". To build the packages do:
172
176
B) However, if you don't have system privileges, you should set up a
173
177
build area by having the file ~/.rpmrc with a contents like
174
178
175
- %macros /usr/lib/rpm/macros:<your home dir>/.rpmmac
179
+ %macrofiles: /usr/lib/rpm/macros:<your home dir>/.rpmmac
176
180
177
181
and a file <your home dir>/.rpmmac with a contents like
178
182
179
- %_topdir: <some where you can write>/redhat
183
+ %_topdir <some where you can write>/redhat
180
184
181
185
Then you should make the appropiate directories:
182
186
@@ -197,16 +201,20 @@ This will create a RPM spec file in "../". To build the packages do:
197
201
198
202
rpm -ba root.spec
199
203
204
+ If you left the spec file in the source tree, you can build directly
205
+ from the tar-ball. You still need to have a proper build area
206
+ setup, as outlined above. All you need to do is
207
+
208
+ rpm -ta root_v<version>.source.tar.gz
209
+
200
210
Per default the binaries will be build in /tmp/rootrpm, but one may
201
211
change that at build time by passing the option --buildroot too rpm.
202
212
203
213
Please refer to man-page rpm(1) and http://www.rpm.org for more
204
- infomation on RPM.
214
+ information on RPM.
205
215
206
- Please note, that it is assumed you have OpenGL (Mesa), SHIFT, MySQL,
207
- CERNLIB, and true type fonts installed. If that is not the case,
208
- please see if there are pre-build rpms at http://root.cern.ch, or if
209
- you feel lucky, read build/package/common/README thourougly!
216
+ Please note, that all possible packages may not be specified in the
217
+ spec file. See also build/package/common/README.
210
218
211
219
Debian GNU/Linux packages:
212
220
--------------------------
@@ -215,11 +223,10 @@ outlined above and cd into the source directory. Then just do
215
223
216
224
make debian
217
225
218
- The packages will be build in "../". Please note, that it is assumed you
219
- have OpenGL (Mesa), SHIFT, MySQL, CERNLIB, and true type fonts
220
- install. If that is not the case, please see if there are pre-build
221
- debs at http://root.cern.ch, or if you feel lucky, read
222
- build/package/common/README thourougly!
226
+ The packages will be build in "../".
227
+
228
+ Please note, that all possible packages may not be specified in the
229
+ debian directory file. See also build/package/common/README.
223
230
224
231
Installation Location
225
232
=====================
@@ -392,7 +399,7 @@ The flags consist of two classes:
392
399
Compile ROOT thread safe, as well as a thread API library. This
393
400
options is strongly recommended. This requires the system library
394
401
libpthread (Posix threads). Default is false, except for the
395
- "linuxegcs " architecture.
402
+ "linux " architecture.
396
403
* ttf
397
404
True Type Font support for those OSs with no native TTF
398
405
support. This feature requires third-party library libtff, header
@@ -416,6 +423,14 @@ The flags consist of two classes:
416
423
library libmysqlclient and header files. Note that there may be
417
424
licensing issues regarding linking against libmysqlclient.
418
425
Default is true.
426
+ * psql
427
+ Build a thin PostGreSQL client for ROOT. This requires the
428
+ third-party library libpsql and header files.
429
+ Default is true.
430
+ * sapdb
431
+ Build a thin SapDB client for ROOT. This requires the
432
+ third-party library libsql and header files.
433
+ Default is true.
419
434
* shift
420
435
Interface to SHIFT managed tape robots. This option requires you
421
436
get the libshift.a from CERN. Please note, that this library is
@@ -439,7 +454,7 @@ The flags consist of two classes:
439
454
Build daemons rootd and proofd with AFS support. This requires
440
455
the third-party AFS libs and objects. Default is false.
441
456
442
- 2) " --with-<feature dir>=<dir>" flags:
457
+ 2) --with-<feature dir>=<dir> flags:
443
458
If "configure" isn't able to find some third-party library, header,
444
459
or other file, corresponding to one of the above features, you can
445
460
force it to look for these files in specific directories, using the
@@ -474,7 +489,7 @@ The flags consist of two classes:
474
489
Directory containing libttf.{so,a}, needed by feature ttf.
475
490
* ttf-fontdir
476
491
Directory containing TTF font files, needed by feature ttf.
477
- "configure" is looking for "arial.ttf", which must be present .
492
+ "configure" is looking for "arial.ttf".
478
493
* opengl-incdir
479
494
Directory containing GL/gl.h (note the sub-directory), needed by
480
495
feature opengl.
@@ -497,18 +512,27 @@ The flags consist of two classes:
497
512
needed by feature cern, for the ZEBRA file converters.
498
513
* shift-libdir
499
514
Directory containing libshift.a, needed for feature shify.
515
+ * srp-incdir
516
+ Path to header files for regular SRP library (not utilities)
517
+ This is needed for building the daemons rootd and proofd with
518
+ SRP support (authentication).
519
+ * srp-libdir
520
+ Path to regular SRP library (not utilities). This is needed for
521
+ building the daemons rootd and proofd with SRP support
522
+ (authentication).
500
523
* srp
501
524
Top directory of the SRP (Secure Remote Passwd). This directory
502
525
must contain:
503
526
base/libmisc/libmisc.a
504
527
base/lib/libshadow.a
528
+ base/lib/pwauth.h
505
529
lib/libsrp.a
506
530
include
507
531
And alternatively
508
532
lib/libgmp.a
509
533
lib/libcrack.a
510
- This is needed for building the daemons rootd and proofd with
511
- SRP support (authentication).
534
+ This is needed to build the utility programs for managing ROOT
535
+ related SRP access.
512
536
* afs
513
537
Top directory of the AFS distribution. This directory must
514
538
contain:
@@ -539,16 +563,14 @@ hugely increase the appearance of text on the screen.
539
563
540
564
Posix Thread usage
541
565
------------------
542
-
543
566
To build the library providing thread support you need to have the
544
567
library libpthread.{a,so} and header files installed. This is usually
545
- the case for any Un*x OS. For architecture "linuxegcs " thread support
568
+ the case for any Un*x OS. For architecture "linux " thread support
546
569
will always be build.
547
570
548
571
549
572
True Type Font library and fonts
550
573
--------------------------------
551
-
552
574
On how to get the True Type ttf directory see:
553
575
554
576
http://root.cern.ch/root/TrueType.html
@@ -566,7 +588,6 @@ get a minimal set of fonts from:
566
588
567
589
OpenGL library
568
590
--------------
569
-
570
591
On how to get an open source version of OpenGL see:
571
592
572
593
http://www.mesa3d.org
@@ -582,7 +603,6 @@ in XFree86 version 4 or above.
582
603
583
604
SHIFT managed tape I/O
584
605
----------------------
585
-
586
606
To build the library providing CERN RFIO (remote I/O) support you need
587
607
to get the "libshift.a" library from CERN. You can get pre-build
588
608
libraries from
@@ -606,7 +626,6 @@ Apply it with
606
626
607
627
ZEBRA file conversion tools
608
628
---------------------------
609
-
610
629
To build the HBOOK and Geant3 conversion programs `h2root' and
611
630
`g2root' you need the CERNLIB components "libpacklib.{a,so}" and
612
631
"libkernlib.{a,so}" from CERN. You can get it from
@@ -616,15 +635,26 @@ To build the HBOOK and Geant3 conversion programs `h2root' and
616
635
617
636
MySQL client
618
637
------------
619
-
620
638
To build the MySQL interface library you need to install MySQL first. See:
621
639
622
640
http://www.mysql.com/
623
641
642
+ PostGreSQL Client
643
+ -----------------
644
+ To build the PostGreSQL interface you need to install PostGreSQL
645
+ first. See
646
+
647
+ http://www.postgresql.org
648
+
649
+ SapDB Client
650
+ ------------
651
+ To build the SapDB interface you need to install the SapDB calling
652
+ interface first, which can be found in the rpm sapdb-callif-xxxx. See
653
+
654
+ http://www.sapdb.org
624
655
625
656
Pythia Event Generators
626
657
-----------------------
627
-
628
658
To build the event generator interfaces for Pythia and Pythia6, you
629
659
first have to get the pythia libraries. You can get pre-build
630
660
libraries from:
@@ -641,34 +671,32 @@ More information is avaliable from:
641
671
642
672
Venus Event Generators
643
673
----------------------
644
-
645
674
No information at this time.
646
675
647
676
648
677
Secure Remote Password (SRP) Authentication
649
678
-------------------------------------------
650
-
651
679
To build the strong authentication module used by rootd and proofd,
652
680
you first have to install the SRP (Secure Remote Password)
653
681
system. See:
654
682
655
683
http://srp.stanford.edu/
656
684
657
685
Please note, that the library "libsrp-dev" as distributed by Standford
658
- is not enough.
686
+ is not enough to build the two utility program in the srputil
687
+ directory of the ROOT source tree.
659
688
660
689
661
690
AFS Authentication
662
691
------------------
663
-
664
692
To build rootd and proofd with support for AFS authentication, you
665
693
first have to install AFS client libraries system. There are a few AFS
666
694
distributions avaliable.
667
695
668
696
* OpenAFS
669
697
IBMs OpenSource AFS distribution - see
670
698
671
- http://oss.software.ibm.com/developerworks/opensource/afs/?dwzone=opensource
699
+ http://www.openafs.org
672
700
673
701
* Transarc AFS
674
702
IBMs commercial AFS ditribution - see
0 commit comments