Diffstat (limited to 'noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt index 9b84b6d..7e359dd 100644 --- a/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt +++ b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt | |||
@@ -1,18 +1,30 @@ | |||
1 | For GCC 3 based system you should OpenEmbedded for building | ||
2 | |||
3 | |||
4 | For gcc 2.95 cross compiler: | ||
1 | Steps for building libetpan for arm-zaurus environment: | 5 | Steps for building libetpan for arm-zaurus environment: |
2 | 1. export PATH=$PATH:/usr/local/arm/2.95.3/bin | 6 | |
3 | 2. cd into the libetpan sourcedir | 7 | 1. Get the sources from etpan-cvs with command |
4 | 3. run | 8 | |
9 | cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co libetpan | ||
10 | |||
11 | when try to get the 0.33b release | ||
12 | cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co -r rel-0-33-b libetpan | ||
13 | |||
14 | 2. export PATH=$PATH:/usr/local/arm/2.95.3/bin | ||
15 | 3. cd into the libetpan sourcedir | ||
16 | 4. run | ||
5 | ./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug | 17 | ./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug |
6 | 18 | ||
7 | the disable-db is required!!!! | 19 | the disable-db is required!!!! |
8 | 4. check the output of configure, you MUST find a line | 20 | 5. check the output of configure, you MUST find a line |
9 | "checking for openssl/ssl.h... yes" and | 21 | "checking for openssl/ssl.h... yes" and |
10 | "checking for SSL_library_init in -lssl... yes" | 22 | "checking for SSL_library_init in -lssl... yes" |
11 | 23 | ||
12 | If not, you don't have SSL installed into your crosscompiling chain. Thats bad. | 24 | If not, you don't have SSL installed into your crosscompiling chain. Thats bad. |
13 | SSL is strongly needed! | 25 | SSL is strongly needed! |
14 | 26 | ||
15 | 5. Check the file Rules in top-srcdir. There is a line | 27 | 6. Check the file Rules in top-srcdir. There is a line |
16 | "CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H" | 28 | "CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H" |
17 | 29 | ||
18 | remove the -g option | 30 | remove the -g option |
@@ -20,7 +32,7 @@ SSL is strongly needed! | |||
20 | For remote debugging this is not required, but the local copy must contain debug | 32 | For remote debugging this is not required, but the local copy must contain debug |
21 | code for that. | 33 | code for that. |
22 | 34 | ||
23 | 6. make, make install | 35 | 7. make, make install |
24 | Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib | 36 | Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib |
25 | 37 | ||
26 | If you're using other pathes then you should give that of course instead of 2.95.3. | 38 | If you're using other pathes then you should give that of course instead of 2.95.3. |