2006-09-12 04:58:33 +02:00
|
|
|
## Instructions for building the official rpms.
|
2009-01-30 00:19:56 +01:00
|
|
|
##
|
|
|
|
The process used to create the official rpms is as follows:
|
2006-02-17 05:50:26 +01:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
Download latest stable libevent from
|
|
|
|
http://www.monkey.org/~provos/libevent/
|
2006-02-17 05:50:26 +01:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
The first step of compiling libevent is to configure it as follows:
|
|
|
|
./configure --enable-static --disable-shared
|
2006-02-17 05:50:26 +01:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
Complete the "make" and "make install". You will need to be root,
|
|
|
|
or sudo -s, to complete the "make install".
|
2006-02-17 05:50:26 +01:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
Check for a successful universal binary of libevent.a in, by default,
|
|
|
|
/usr/local/lib by using the following command:
|
|
|
|
"file /usr/local/lib/libevent.a"
|
2007-07-14 04:32:19 +02:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
Download and Extract the latest tor source code from
|
|
|
|
https://www.torproject.org/download
|
2007-07-14 04:32:19 +02:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
In the resulting directory:
|
|
|
|
LIBS=-lrt ./configure
|
|
|
|
make dist-rpm
|
2007-07-14 04:32:19 +02:00
|
|
|
|
2009-07-02 23:57:47 +02:00
|
|
|
You should have at least two, maybe three, rpms. There should be the binary
|
|
|
|
i386.rpm, a src.rpm, and on redhat/centos machines, a debuginfo.rpm.
|