SVN Toolchain failure

tim moore <tcruiser60-gM/[email protected]> Sat, 7 Feb 2015 13:25:58 +0000
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <CALLTnVpUxnG3LkciuxoTHSgatMkPe48-JwhFmpROjsc-DDEQmA@mail.gmail.com>
--===============5045910928285674733==
Content-Type: multipart/alternative; boundary=001a11362d9844c744050e7f7a53

--001a11362d9844c744050e7f7a53
Content-Type: text/plain; charset=UTF-8

Hi

Working on building IPcop from SVN first time so not 100% sure on the
process.

Working on a Suse 13.1 32bit machine.

I can get the svn down OK,
When I do the prefetch I get a couple of errors but these are fixed by
manually downloading the packages. (ran prefetch again to test md5).

First question why is it always downloaded 205 of 215 packages ? , is this
an error or just because I'm compiling for i486 only ?

If I then run a make.sh build the process fails at perl module, although I
think this may be a red herring as when you look at the log file you can
see an error which stops the process -

Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/home/tim/svn/ipcop/trunk/build_i486/tools_i486/bin/../lib/gcc/i486-linux-gnu/4.4.5/include-fixed
/tools_i486/lib /usr/local/lib /lib /usr/lib]
What is the file extension used for shared libraries? [so]
Make shared library basenames unique? [n]
Build Perl for SOCKS? [n]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -ldb -ldl -lm -lcrypt -lutil -lc]
What optimizer/debugger flag should be used? [-O2]
Any additional cc flags?
[-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -fstack-protector -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        cc -o try -O2 -fwrapv -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -fstack-protector -L/usr/local/lib try.c -lnsl -ldb
-ldl -lm -lcrypt -lutil -lc
         ./try

and I got the following output:

/home/tim/svn/ipcop/trunk/build_i486/tools_i486/bin/../lib/gcc/i486-linux-gnu/4.4.5/../../../../i486-linux-gnu/bin/ld:
cannot find -ldb
collect2: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.
perl:90: recipe for target
'/home/tim/svn/ipcop/trunk/files_i486/01_toolchain/perl-5.20.1' failed
make: *** [/home/tim/svn/ipcop/trunk/files_i486/01_toolchain/perl-5.20.1]
Error 1


Getting a bit desperate as this is for a project to allow the local school
to use ipcop, and I need to add ssl_bump I understand this may not be
popular with the general user group but it is essential for a primary
school.

So if any one can help with this I would be great full, any hints or tips
also welcome in regard of adding  the extra compile options to Squid and
cresting a MOD  for SSL_Bump

cheers

Tim

Apologies to Olaf as he has already had a mail from my self regarding this
issue and it's obvious that he has a lot on, so I wanted to ask the rest of
the DEV crew.

I will also post in general section on forum.

--001a11362d9844c744050e7f7a53
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div><div><div><di=
v>Hi <br><br></div>Working on building IPcop from SVN first time so not 100=
% sure on the process.<br><br></div>Working on a Suse 13.1 32bit machine.<b=
r><br></div>I can get the svn down OK, <br></div>When I do the prefetch I g=
et a couple of errors but these are fixed by manually downloading the packa=
ges. (ran prefetch again to test md5).<br><br></div>First question why is i=
t always downloaded 205 of 215 packages ? , is this an error or just becaus=
e I&#39;m compiling for i486 only ?<br><br></div>If I then run a make.sh bu=
ild the process fails at perl module, although I think this may be a red he=
rring as when you look at the log file you can see an error which stops the=
 process - <br><br>Build Perl for multiplicity? [n]<br>Use which C compiler=
? [cc]<br>Checking for GNU cc in disguise and/or its version number...<br>N=
ow, how can we feed standard input to your C preprocessor...<br>Directories=
 to use for library searches?<br>[/home/tim/svn/ipcop/trunk/build_i486/tool=
s_i486/bin/../lib/gcc/i486-linux-gnu/4.4.5/include-fixed /tools_i486/lib /u=
sr/local/lib /lib /usr/lib]<br>What is the file extension used for shared l=
ibraries? [so]<br>Make shared library basenames unique? [n]<br>Build Perl f=
or SOCKS? [n]<br>Try to use long doubles if available? [n]<br>Checking for =
optional libraries...<br>What libraries to use? [-lnsl -ldb -ldl -lm -lcryp=
t -lutil -lc]<br>What optimizer/debugger flag should be used? [-O2]<br>Any =
additional cc flags?<br>[-fwrapv -fno-strict-aliasing -pipe -fstack-protect=
or -I/usr/local/include]<br>Let me guess what the preprocessor flags are...=
<br>Any additional ld flags (NOT including libraries)?<br>[ -fstack-protect=
or -L/usr/local/lib]<br>Checking your choice of C compiler and flags for co=
herency...<br>I&#39;ve tried to compile and run the following simple progra=
m:<br><br>#include &lt;stdio.h&gt;<br>int main() { printf(&quot;Ok\n&quot;)=
; return(0); }<br><br>I used the command:<br><br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 cc -o try -O2 -fwrapv -fno-strict-aliasing -pipe -fstack=
-protector -I/usr/local/include -fstack-protector -L/usr/local/lib try.c -l=
nsl -ldb -ldl -lm -lcrypt -lutil -lc<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 ./try<br><br>and I got the following output:<br><br>/home/t=
im/svn/ipcop/trunk/build_i486/tools_i486/bin/../lib/gcc/i486-linux-gnu/4.4.=
5/../../../../i486-linux-gnu/bin/ld: cannot find -ldb<br>collect2: ld retur=
ned 1 exit status<br>I can&#39;t compile the test program.<br>You have a BI=
G problem.=C2=A0 Shall I abort Configure [y]<br>Ok.=C2=A0 Stopping Configur=
e.<br>perl:90: recipe for target &#39;/home/tim/svn/ipcop/trunk/files_i486/=
01_toolchain/perl-5.20.1&#39; failed<br>make: *** [/home/tim/svn/ipcop/trun=
k/files_i486/01_toolchain/perl-5.20.1] Error 1<br><br><br></div>Getting a b=
it desperate as this is for a project to allow the local school to use ipco=
p, and I need to add ssl_bump I understand this may not be popular with the=
 general user group but it is essential for a primary school.<br><br></div>=
So if any one can help with this I would be great full, any hints or tips a=
lso welcome in regard of adding=C2=A0 the extra compile options to Squid an=
d cresting a MOD=C2=A0 for SSL_Bump<br><br></div>cheers <br><br></div>Tim <=
br><br></div>Apologies to Olaf as he has already had a mail from my self re=
garding this issue and it&#39;s obvious that he has a lot on, so I wanted t=
o ask the rest of the DEV crew.<br><br></div>I will also post in general se=
ction on forum.<br><div><div><div><div><div><div>=C2=A0 <br></div></div></d=
iv></div></div></div></div>

--001a11362d9844c744050e7f7a53--


--===============5045910928285674733==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
--===============5045910928285674733==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPCop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-devel

--===============5045910928285674733==--