public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem compile ipsec-tools
@ 2005-08-10 23:14 Walter Willis
  2005-08-11  9:20 ` Andreas Fredriksson
  0 siblings, 1 reply; 2+ messages in thread
From: Walter Willis @ 2005-08-10 23:14 UTC (permalink / raw
  To: gentoo-user

the install openswan ok but install ipsec-tools and error:

gcc -L../libipsec/.libs -o plainrsa-gen plainrsa-gen.o plog.o vmbuf.o
crypto_openssl.o logger.o misc.o -lssl -lcrypto  -lresolv -lipsec
-lflsha2.o
gcc: sha2.o: No such file or directory
make[3]: *** [plainrsa-gen] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.4-r1/work/ipsec-tools-0.4/src/racoon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.4-r1/work/ipsec-tools-0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.4-r1/work/ipsec-tools-0.4'
make: *** [all] Error 2

!!! ERROR: net-firewall/ipsec-tools-0.4-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

how to fix the error???

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] problem compile ipsec-tools
  2005-08-10 23:14 [gentoo-user] problem compile ipsec-tools Walter Willis
@ 2005-08-11  9:20 ` Andreas Fredriksson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Fredriksson @ 2005-08-11  9:20 UTC (permalink / raw
  To: gentoo-user

On 8/11/05, Walter Willis <walterwn@gmail.com> wrote:
> the install openswan ok but install ipsec-tools and error:
> 
> gcc -L../libipsec/.libs -o plainrsa-gen plainrsa-gen.o plog.o vmbuf.o
> crypto_openssl.o logger.o misc.o -lssl -lcrypto  -lresolv -lipsec
> -lflsha2.o
> gcc: sha2.o: No such file or directory
> make[3]: *** [plainrsa-gen] Error 1
> make[3]: *** Waiting for unfinished jobs....

(SNIP)

It sounds as if the ebuild is incompatible with the -j make flag. Try
exporting MAKEOPTS (IIRC, I'm not at my gentoo box) to an empty string
or -j1 (which limits the number of concurrent jobs to one) when
merging it:

MAKEOPTS="-j1" emerge ipsec-tools

Regards,
Andreas

-- 
And I hate redundancy, and having different functions for the same thing.
        - Linus Torvalds on linux-kernel

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-08-11  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 23:14 [gentoo-user] problem compile ipsec-tools Walter Willis
2005-08-11  9:20 ` Andreas Fredriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox