All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with standalone ipp2p compilation
@ 2006-08-30 15:54 Samuel Díaz García
  2006-08-30 16:03 ` Samuel Díaz García
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Díaz García @ 2006-08-30 15:54 UTC (permalink / raw)
  To: ipp2p, Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]

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

-- 
    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:samueldg@arcoscom.com
msn: samueldg@arcoscom.com

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

[-- Attachment #2: ipp2p-0.8.1_rc2.tar.bz2 --]
[-- Type: application/x-bzip, Size: 17930 bytes --]

[-- Attachment #3: scripts.tar.bz2 --]
[-- Type: application/x-bzip, Size: 850 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with standalone ipp2p compilation
  2006-08-30 15:54 Problems with standalone ipp2p compilation Samuel Díaz García
@ 2006-08-30 16:03 ` Samuel Díaz García
  2006-08-30 19:16   ` Steven Van Acker
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Díaz García @ 2006-08-30 16:03 UTC (permalink / raw)
  To: ipp2p, Netfilter Development Mailinglist

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

Samuel Díaz García escribió:
> 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
> 

-- 
    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:samueldg@arcoscom.com
msn: samueldg@arcoscom.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with standalone ipp2p compilation
  2006-08-30 16:03 ` Samuel Díaz García
@ 2006-08-30 19:16   ` Steven Van Acker
  2006-08-30 20:39     ` Krzysztof Oledzki
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Van Acker @ 2006-08-30 19:16 UTC (permalink / raw)
  To: Samuel D?az Garc?a; +Cc: ipp2p, Netfilter Development Mailinglist

On Wed, Aug 30, 2006 at 06:03:05PM +0200, Samuel D?az Garc?a wrote:
> 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

-- 
My amazon wishlist:
http://www.amazon.com/gp/registry/1DB4XNEIEQBPB

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with standalone ipp2p compilation
  2006-08-30 19:16   ` Steven Van Acker
@ 2006-08-30 20:39     ` Krzysztof Oledzki
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Oledzki @ 2006-08-30 20:39 UTC (permalink / raw)
  To: Steven Van Acker
  Cc: ipp2p, Netfilter Development Mailinglist, Samuel D?az Garc?a

[-- Attachment #1: Type: TEXT/PLAIN, Size: 744 bytes --]



On Wed, 30 Aug 2006, Steven Van Acker wrote:

> On Wed, Aug 30, 2006 at 06:03:05PM +0200, Samuel D?az Garc?a wrote:
>> 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

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

Best regards,

 				Krzysztof Olędzki

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-30 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 15:54 Problems with standalone ipp2p compilation Samuel Díaz García
2006-08-30 16:03 ` Samuel Díaz García
2006-08-30 19:16   ` Steven Van Acker
2006-08-30 20:39     ` Krzysztof Oledzki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.