ports@FreeBSD.org - ruby18

Florent Thoumie flz at FreeBSD.org
Fri Aug 4 10:29:56 UTC 2006


On Fri, 2006-08-04 at 11:46 +0400, Sergey Matveychuk wrote:
> Mariusz Kownacki wrote:
> > Hello,
> > 
> > Since few days i have problem with installing ruby from ports
> > (/usr/ports/lang/ruby18).
> > 
> > According to advices I attach additional information. I would be
> > grateful for any help.
> > 
> > OS version:
> > FreeBSD xxx 6.1-STABLE FreeBSD 6.1-STABLE
> > 
> > ---
> > [root at xxx:/usr/ports/lang/ruby18]$ make install clean
> > ===>   ruby-1.8.4_9,1 depends on file: /usr/local/lib/libcrypto.so.5 -
> > found
> > ===>  Configuring for ruby-1.8.4_9,1
> > /usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.4/configure
> > configure: WARNING: you should use --build, --host, --target
> > checking build system type... i386-portbld-freebsd6
> > checking host system type... i386-portbld-freebsd6
> > checking target system type... i386-portbld-freebsd6
> > checking for i386-portbld-freebsd6-gcc... cc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... Segmentation fault (core
> > dumped)
> > configure: error: cannot run C compiled programs.
> 
> Looks like your gcc compiler broken some way and can't compile a simple
> programm. Other reason could be your RAM or CPU starts "flicker".

Usually, compiling a mere helloworld is enough to detect faulty ram.

----snip----
#include <stdio.h>

int
main(int argc, char *argv[])
{
	printf("Hello World!\n");
	return 0;
}
----snip----

Note: I'm quite sure printing anything isn't important, I think the use
of cpp (via #include) is.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060804/a923354c/attachment.pgp


More information about the freebsd-ports mailing list