1 |
Dear Thierry, |
2 |
It works great but now I've got another problem, I'm trying to compile GNAP |
3 |
with nylon, a sock proxy and the following error occurs: |
4 |
|
5 |
File: myspecs/extensions.conf |
6 |
extensions: nylon |
7 |
|
8 |
nylon/packlist: nylon libevent |
9 |
nylon/cleanup: /usr/share |
10 |
|
11 |
Portage: http://mirrors.tds.net/gentoo/snapshots/portage-20051227.tar.bz2 |
12 |
|
13 |
|
14 |
# gnap_make -t extensions -e myspecs -p portage-20051227.tar.bz2 |
15 |
GNAP Core Building tool gnap_make version 1.8.2 |
16 |
* Checking parameters... [ |
17 |
ok ] |
18 |
* 'livecd-stage1' or 'extensions' was selected without 'stage3'. |
19 |
* Should I use the seed stage as stage3 result ? [N]: y |
20 |
* The following targets will be called: |
21 |
* [extensions] |
22 |
* Preparing portage snapshot... [ |
23 |
ok ] |
24 |
* [extensions] stage start... [ |
25 |
ok ] |
26 |
* Building nylon extension... [ |
27 |
!! ] |
28 |
* Extension build failed, see ./gnap_make-20051228.err and .out for det [ |
29 |
!! ] |
30 |
* Cleaning temporary directories... [ |
31 |
ok ] |
32 |
Build failed, try man gnap_make for more help |
33 |
|
34 |
|
35 |
# cat gnap_make-20051228.err |
36 |
>>> Regenerating /etc/ld.so.cache... |
37 |
|
38 |
|
39 |
Performing Global Updates: /usr/portage/profiles/updates/4Q-2005 |
40 |
(Could take a couple of minutes if you have a lot of binary packages.) |
41 |
.='update pass' *='binary update' @='/var/db move' |
42 |
s='/var/db SLOT move' S='binary SLOT move' p='update |
43 |
/etc/portage/package.*' |
44 |
|
45 |
|
46 |
# cat gnap_make-20051228.out |
47 |
........................ |
48 |
Calculating dependencies |
49 |
|
50 |
!!! Problem in sys-apps/portage dependencies. |
51 |
!!! [Errno 38] Function not implemented: |
52 |
'/var/cache/edb/dep//usr/portage/sys-apps/.update.8098.portage-2.0.53' |
53 |
exceptions |
54 |
Calculating dependencies |
55 |
|
56 |
!!! Problem in net-proxy/nylon dependencies. |
57 |
!!! [Errno 38] Function not implemented: |
58 |
'/var/cache/edb/dep//usr/portage/net-proxy/.update.8144.nylon-1.2-r2' |
59 |
exceptions |
60 |
Gentoo Catalyst, version 1.1.10.10 |
61 |
Copyright 2003-2005 The Gentoo Foundation |
62 |
Distributed under the GNU General Public License version 2 |
63 |
|
64 |
Using command line specified Catalyst configuration file, |
65 |
/etc/catalyst/catalyst.conf |
66 |
Setting storedir to config file value "/var/tmp/catalyst" |
67 |
Setting portdir to default value "/usr/portage" |
68 |
Setting distdir to config file value "/usr/portage/distfiles" |
69 |
Setting options to config file value "pkgcache kerncache" |
70 |
Setting sharedir to config file value "/usr/lib/catalyst" |
71 |
Package cache support enabled. |
72 |
Kernel cache support enabled. |
73 |
|
74 |
WARNING: No value set for key: grp/use |
75 |
deleting key: grp/use |
76 |
|
77 |
Building natively for x86 |
78 |
Checking for processes running in chroot and killing them. |
79 |
Running command "/bin/bash /usr/lib/catalyst/targets/support/kill- |
80 |
chroot-pids.sh" |
81 |
Running action sequence: dir_setup |
82 |
Setting up directories... |
83 |
Running action sequence: unpack_and_bind |
84 |
Unpacking stage tarball... |
85 |
Running command "/bin/tar xjpf /var/tmp/catalyst/builds/gnap/stage3- |
86 |
x86-20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228" |
87 |
Unpacking portage tree snapshot... |
88 |
Running command "/bin/tar xjpf /var/tmp/catalyst/snapshots/portage- |
89 |
20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/usr" |
90 |
Configuring profile link... |
91 |
Running command "rm -f |
92 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.profile" |
93 |
Running command "ln -sf ../usr/portage/profiles/uclibc/x86/hardened |
94 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.profile" |
95 |
Running action sequence: chroot_setup |
96 |
Setting up chroot... |
97 |
Running command "cp /etc/resolv.conf |
98 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc" |
99 |
Running command "mv /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts |
100 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts.bck" |
101 |
Running command "cp /etc/hosts |
102 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts" |
103 |
Running command "rm -f |
104 |
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.conf" |
105 |
Running action sequence: setup_environment |
106 |
Running action sequence: run_local |
107 |
Running command "/bin/bash /usr/lib/catalyst/targets/grp/grp.sh run pkgset |
108 |
nylon 'nylon' 'libevent'" |
109 |
|
110 |
Traceback (most recent call last): |
111 |
File "modules/grp_target.py", line 44, in run_local |
112 |
cmd("/bin/bash "+self.settings["sharedir"]+\ |
113 |
File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd |
114 |
raise CatalystError,myexc |
115 |
CatalystError: <unprintable instance object> |
116 |
None |
117 |
|
118 |
!!! catalyst: GRP build aborting due to error. |
119 |
|
120 |
On 12/28/05, Thierry Carrez <koon@g.o> wrote: |
121 |
> |
122 |
> João Brázio wrote: |
123 |
> |
124 |
> > I've been trying to configure GNAP as a VPN server without any success. |
125 |
> > |
126 |
> > I want to allow 10 clients connected to the VPN server at the same time |
127 |
> > and each one of them should have a different local IP address. This is |
128 |
> > possible to do with a bridge. |
129 |
> |
130 |
> This is also possible to do without a bridge, using OpenVPN 2.0 "server" |
131 |
> mode. See http://openvpn.net/howto.html |
132 |
> |
133 |
> > I need to create br0 bridge with eth0 with tap0. The problem is that I |
134 |
> > can't see the interfaces when I do ifconfig -a altought i can see |
135 |
> > /dev/net/tun so I think TUN/TAP module is loaded. |
136 |
> |
137 |
> GNAP vanilla kernel is missing bridge support. |
138 |
> |
139 |
> > Can this be done with a vanilla GNAP system ? |
140 |
> > How is supposed to use the USE_VPN flag on GNAP, p2p VPN or a |
141 |
> > Server-to-many solution ? |
142 |
> |
143 |
> USE_VPN triggers the use of OpenVPN. It supports both modes. |
144 |
> |
145 |
> -- |
146 |
> Thierry Carrez (Koon) |
147 |
> GNAP Developer |
148 |
> -- |
149 |
> gentoo-embedded@g.o mailing list |
150 |
> |
151 |
> |
152 |
|
153 |
|
154 |
-- |
155 |
|
156 |
Cumprimentos, |
157 |
João Brázio. |