Re: SVN Toolchain failure
Administrator <admin-JJaFKVBkT/[email protected]> Sat, 07 Feb 2015 16:42:36 +0000
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Organization | different perspectives |
| Message-ID | <2946223.clZi0laGPB@epping> |
It sounds like you don't have enough software installed. What patterns did
you install?
A quick look makes me think, as a minimum, you'd need:
patterns-openSUSE-devel_C_C++
patterns-openSUSE-devel_perl
patterns-openSUSE-devel_kernel
patterns-openSUSE-devel_basis
you may also need:
patterns-openSUSE-devel_java
David
On Saturday 07 Feb 2015 13:25:58 tim moore wrote:
> 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-g
> nu/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-gn
> u/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.
------------------------------------------------------------------------------
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/