Skip to contentSkip to conversation

Problems with standalone ipp2p compilation

DISCUSSION Samuel Díaz García 3 participants 4 messages Aug 30, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

I've been sincronized ipp2p.org sources with pom sources to allow anybody compile it without need to use pom.

I atach 2 compressed files:
1) ipp2p-0.8.1_rc2.tar.bz2 (the same as rc1 but with pom-ng files
overwriten).
2) scripts.tar.bz2 (scripts to allow "detect", "compile" and
"install" the modules).

The scripts need to be reviewed to change some paths (iptables sources, kernel build, ipp2p sources, etc...). Perhaps modified to insert more testing cases, or finding headers, etc...

NOTES:
1) Create simbolic links in /usr/src/ipp2p and /usr/src/iptables to
ipp2p and iptables sources. The case of iptables, I downloaded iptables-xxxx.src.rpm and prepare it into /usr/src/redhat/BUILD/iptables-1.3.5, then make the simbolic link. For example, I had:

lrwxrwxrwx  1 root     root           16 ago 30 17:25 ipp2p -> ipp2p-0.8.1_rc2/
drwxr-xr-x  3 samueldg samueldg     4096 ago 30 17:42 ipp2p-0.8.1_rc2
lrwxrwxrwx  1 root     root           37 abr 11 13:29 iptables -> /usr/src/redhat/BUILD/iptables-1.3.5/

2) After that, (with kernel-devel package installed) only have tu use:
scripts/detectar/ipp2p.sh to detect ipp2p modules. scripts/compilar/ipp2p.sh to compile ipp2p modules. scripts/instalar/ipp2p.sh to install ipp2p modules.

I expect this will help anybody use ipp2p without need to recompile iptables/kernel sources, because it don't need it.

Regards

Signature · 17 lines
   Samuel Díaz García
    Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:[email protected]
msn: [email protected]

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83
#1 lore raw

Notes to get FC5 iptables sources (I forgot them before), as root:

#> yumdownloader --source iptables
#> rpm -ihv iptables-1.3.5-1.2.src.rpm
#> rpmbuild -bp /usr/src/redhat/SPECS/iptables.spec
#> ln -fs /usr/src/redhat/BUILD/iptables-1.3.5 /usr/src/iptables

Regards

Quoted 26 lines · Samuel Díaz García

I've been sincronized ipp2p.org sources with pom sources to allow anybody compile it without need to use pom.

I atach 2 compressed files:
1) ipp2p-0.8.1_rc2.tar.bz2 (the same as rc1 but with pom-ng files
overwriten).
2) scripts.tar.bz2 (scripts to allow "detect", "compile" and
"install" the modules).

The scripts need to be reviewed to change some paths (iptables sources, kernel build, ipp2p sources, etc...). Perhaps modified to insert more testing cases, or finding headers, etc...

NOTES:
1) Create simbolic links in /usr/src/ipp2p and /usr/src/iptables to
ipp2p and iptables sources. The case of iptables, I downloaded iptables-xxxx.src.rpm and prepare it into /usr/src/redhat/BUILD/iptables-1.3.5, then make the simbolic link. For example, I had:

lrwxrwxrwx  1 root     root           16 ago 30 17:25 ipp2p -> ipp2p-0.8.1_rc2/
drwxr-xr-x  3 samueldg samueldg     4096 ago 30 17:42 ipp2p-0.8.1_rc2
lrwxrwxrwx  1 root     root           37 abr 11 13:29 iptables -> /usr/src/redhat/BUILD/iptables-1.3.5/

2) After that, (with kernel-devel package installed) only have tu use:
scripts/detectar/ipp2p.sh to detect ipp2p modules. scripts/compilar/ipp2p.sh to compile ipp2p modules. scripts/instalar/ipp2p.sh to install ipp2p modules.

I expect this will help anybody use ipp2p without need to recompile iptables/kernel sources, because it don't need it.

Regards

Signature · 17 lines
   Samuel Díaz García
    Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:[email protected]
msn: [email protected]

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83
#2 lore raw
Quoted 8 lines · Samuel D?az Garc?a

Notes to get FC5 iptables sources (I forgot them before), as root:

#> yumdownloader --source iptables
#> rpm -ihv iptables-1.3.5-1.2.src.rpm
#> rpmbuild -bp /usr/src/redhat/SPECS/iptables.spec
#> ln -fs /usr/src/redhat/BUILD/iptables-1.3.5 /usr/src/iptables

Regards

Hi,

I was unable to compile ipp2p for 2.6.17.11 untill I patched it with this patch:
http://www.sieglitzhof.net/~doc/ipp2p/patch-ipp2p-0.8.1_rc1_v2.6.17.diff

After that, I compiled it like this:

make KERNEL_SRC=/usr/src/linux-2.6.17.11 IPTABLES_SRC=/usr/src/iptables-1.3.5

(both kernel and iptables source are vanilla)

and copying libipt_ipp2p.so and ipt_ipp2p.ko to where they need to be

kind regards,
-- Steven

Signature · 2 lines
My amazon wishlist:
http://www.amazon.com/gp/registry/1DB4XNEIEQBPB
#3 lore raw
Quoted 8 lines · Steven Van Acker
Quoted 7 lines · Samuel D?az Garc?a

Notes to get FC5 iptables sources (I forgot them before), as root:

#> yumdownloader --source iptables
#> rpm -ihv iptables-1.3.5-1.2.src.rpm
#> rpmbuild -bp /usr/src/redhat/SPECS/iptables.spec
#> ln -fs /usr/src/redhat/BUILD/iptables-1.3.5 /usr/src/iptables

Quoted 7 lines
Quoted 1 line

Regards

Hi,

I was unable to compile ipp2p for 2.6.17.11 untill I patched it with this patch:
http://www.sieglitzhof.net/~doc/ipp2p/patch-ipp2p-0.8.1_rc1_v2.6.17.diff

Why didn't you take a recent pom-ng and download it from a external repository (./runme --download)?

Best regards,

Krzysztof Olędzki