Date: Tue, 28 Feb 2006 10:40:38 +0200 From: "a" <a@zeos.net> To: <freebsd-questions@freebsd.org> Subject: elinks-0.11.1: "make install" fails Message-ID: <000001c63c42$aace4230$d188a0d5@privateew99bf2>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I cannot install a port elinks-0.11.1.
make
works perfectly, but
make install
fails.
An output of
make install
is attached.
The first error is in line 251.
#include <ruby.h>
in file core.c cannot find the file ruby.h.
The file ruby.h is present in
/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/ruby,
together with the file core.c.
But this file is included in line 19 of file core.c.
The last one is attached too.
There is no ruby.h in /usr/include, indeed.
Any ideas?
Elisej Babenko
mailto:a@zeos.net
[-- Attachment #2 --]
/* Ruby interface (scripting engine) */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <ruby.h>
#undef _
#include "elinks.h"
#include "bfu/dialog.h"
#include "config/home.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/scripting.h"
#include "scripting/ruby/core.h"
#include "scripting/ruby/ruby.h"
#include "util/error.h"
#include "util/file.h"
#include "util/string.h"
#define RUBY_HOOKS_FILENAME "hooks.rb"
/* I've decided to use `erb' to refer to this ELinks/ruby thingy. */
VALUE erb_module;
/* Error reporting. */
void
alert_ruby_error(struct session *ses, unsigned char *msg)
{
report_scripting_error(&ruby_scripting_module, ses, msg);
}
/* Another Vim treat. */
void
erb_report_error(struct session *ses, int error)
{
VALUE eclass;
VALUE einfo;
unsigned char buff[MAX_STR_LEN];
unsigned char *msg;
/* XXX: Ew. These are from the Ruby internals. */
#define TAG_RETURN 0x1
#define TAG_BREAK 0x2
#define TAG_NEXT 0x3
#define TAG_RETRY 0x4
#define TAG_REDO 0x5
#define TAG_RAISE 0x6
#define TAG_THROW 0x7
#define TAG_FATAL 0x8
#define TAG_MASK 0xf
switch (error) {
case TAG_RETURN:
msg = "unexpected return";
break;
case TAG_NEXT:
msg = "unexpected next";
break;
case TAG_BREAK:
msg = "unexpected break";
break;
case TAG_REDO:
msg = "unexpected redo";
break;
case TAG_RETRY:
msg = "retry outside of rescue clause";
break;
case TAG_RAISE:
case TAG_FATAL:
eclass = CLASS_OF(ruby_errinfo);
einfo = rb_obj_as_string(ruby_errinfo);
if (eclass == rb_eRuntimeError && RSTRING(einfo)->len == 0) {
msg = "unhandled exception";
} else {
VALUE epath;
unsigned char *p;
epath = rb_class_path(eclass);
snprintf(buff, MAX_STR_LEN, "%s: %s",
RSTRING(epath)->ptr, RSTRING(einfo)->ptr);
p = strchr(buff, '\n');
if (p) *p = '\0';
msg = buff;
}
break;
default:
snprintf(buff, MAX_STR_LEN, "unknown longjmp status %d", error);
msg = buff;
break;
}
alert_ruby_error(ses, msg);
}
/* The ELinks module: */
/* Inspired by Vim this is used to hook into the stdout write method so written
* data is displayed in a nice message box. */
static VALUE
erb_module_message(VALUE self, VALUE str)
{
unsigned char *message, *line_end;
str = rb_obj_as_string(str);
message = memacpy(RSTRING(str)->ptr, RSTRING(str)->len);
if (!message) return Qnil;
line_end = strchr(message, '\n');
if (line_end) *line_end = '\0';
if (list_empty(terminals)) {
usrerror("[Ruby] %s", message);
mem_free(message);
return Qnil;
}
info_box(terminals.next, MSGBOX_NO_TEXT_INTL | MSGBOX_FREE_TEXT,
N_("Ruby Message"), ALIGN_LEFT, message);
return Qnil;
}
/* The global Kernel::p method will for each object, directly write
* object.inspect() followed by the current output record separator to the
* program's standard output and will bypass the Ruby I/O libraries.
*
* Inspired by Vim we hook into the method and pop up a nice message box so it
* can be used to easily debug scripts without dirtying the screen. */
static VALUE
erb_stdout_p(int argc, VALUE *argv, VALUE self)
{
int i;
struct string string;
if (!init_string(&string))
return Qnil;
for (i = 0; i < argc; i++) {
VALUE substr;
unsigned char *ptr;
int len;
if (i > 0)
add_to_string(&string, ", ");
substr = rb_inspect(argv[i]);
/* The Ruby p() function writes variable number of objects using
* the inspect() method, which adds quotes to the strings, so
* gently ignore them. */
ptr = RSTRING(substr)->ptr;
len = RSTRING(substr)->len;
if (*ptr == '"')
ptr++, len--;
if (ptr[len - 1] == '"')
len--;
add_bytes_to_string(&string, ptr, len);
}
if (list_empty(terminals)) {
usrerror("[Ruby] %s", string.source);
done_string(&string);
return Qnil;
}
info_box(terminals.next, MSGBOX_NO_TEXT_INTL | MSGBOX_FREE_TEXT,
N_("Ruby Message"), ALIGN_LEFT, string.source);
return Qnil;
}
/* ELinks::method_missing() is a catch all method that will be called when a
* hook is not defined. It might not be so elegant but it removes NoMethodErrors
* from popping up. */
/* FIXME: It might be useful for user to actually display them to debug scripts,
* so maybe it should be optional. --jonas */
static VALUE
erb_module_method_missing(VALUE self, VALUE arg)
{
return Qnil;
}
static void
init_erb_module(void)
{
unsigned char *home;
erb_module = rb_define_module("ELinks");
rb_define_const(erb_module, "VERSION", rb_str_new2(VERSION_STRING));
home = elinks_home ? elinks_home : (unsigned char *) CONFDIR;
rb_define_const(erb_module, "HOME", rb_str_new2(home));
rb_define_module_function(erb_module, "message", erb_module_message, 1);
rb_define_module_function(erb_module, "method_missing", erb_module_method_missing, -1);
rb_define_module_function(erb_module, "p", erb_stdout_p, -1);
}
void
init_ruby(struct module *module)
{
unsigned char *path;
/* Set up and initialize the interpreter. This function should be called
* before any other Ruby-related functions. */
ruby_init();
ruby_script("ELinks-ruby");
ruby_init_loadpath();
/* ``Trap'' debug prints from scripts. */
rb_define_singleton_method(rb_stdout, "write", erb_module_message, 1);
rb_define_global_function("p", erb_stdout_p, -1);
/* Set up the ELinks module interface. */
init_erb_module();
if (elinks_home) {
path = straconcat(elinks_home, RUBY_HOOKS_FILENAME, NULL);
} else {
path = stracpy(CONFDIR "/" RUBY_HOOKS_FILENAME);
}
if (!path) return;
if (file_can_read(path)) {
int error;
/* Load ~/.elinks/hooks.rb into the interpreter. */
//rb_load_file(path);
rb_load_protect(rb_str_new2(path), 0, &error);
if (error)
erb_report_error(NULL, error);
}
mem_free(path);
}
[-- Attachment #3 --]
===> Installing for elinks-0.11.1
===> elinks-0.11.1 depends on file: /usr/local/lib/libfsp.a - found
===> elinks-0.11.1 depends on executable: js - found
===> elinks-0.11.1 depends on file: /usr/local/bin/perl5.8.6 - found
===> elinks-0.11.1 depends on shared library: ruby18 - found
===> elinks-0.11.1 depends on shared library: guile - found
===> elinks-0.11.1 depends on shared library: lua - found
===> elinks-0.11.1 depends on shared library: idn - found
===> elinks-0.11.1 depends on shared library: expat - found
===> elinks-0.11.1 depends on shared library: nspr4 - found
===> elinks-0.11.1 depends on shared library: iconv.3 - found
===> elinks-0.11.1 depends on shared library: intl - found
===> Generating temporary packing list
===> Checking if www/elinks already installed
[[27mMAKE install] doc
gmake[1]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc'
[[27mMAKE install] doc/man
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man'
[[27mMAKE install] doc/man/man1
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man/man1'
[[27mINSTALL] doc/man/man1/elinks.1 -> /usr/local/man/man1
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man/man1'
[[27mMAKE install] doc/man/man5
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man/man5'
[[27mINSTALL] doc/man/man5/elinks.conf.5 -> /usr/local/man/man5
[[27mINSTALL] doc/man/man5/elinkskeys.5 -> /usr/local/man/man5
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man/man5'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc/man'
gmake[1]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/doc'
[[27mMAKE install] po
gmake[1]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/po'
../config/mkinstalldirs /usr/local/share/locale
[[27mINSTALL] po/be.gmo -> /usr/local/share/locale/be/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/bg.gmo -> /usr/local/share/locale/bg/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/ca.gmo -> /usr/local/share/locale/ca/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/cs.gmo -> /usr/local/share/locale/cs/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/da.gmo -> /usr/local/share/locale/da/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/de.gmo -> /usr/local/share/locale/de/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/el.gmo -> /usr/local/share/locale/el/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/es.gmo -> /usr/local/share/locale/es/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/et.gmo -> /usr/local/share/locale/et/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/fi.gmo -> /usr/local/share/locale/fi/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/fr.gmo -> /usr/local/share/locale/fr/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/gl.gmo -> /usr/local/share/locale/gl/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/hr.gmo -> /usr/local/share/locale/hr/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/hu.gmo -> /usr/local/share/locale/hu/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/id.gmo -> /usr/local/share/locale/id/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/is.gmo -> /usr/local/share/locale/is/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/it.gmo -> /usr/local/share/locale/it/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/lt.gmo -> /usr/local/share/locale/lt/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/nl.gmo -> /usr/local/share/locale/nl/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/nb.gmo -> /usr/local/share/locale/nb/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/pl.gmo -> /usr/local/share/locale/pl/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/pt.gmo -> /usr/local/share/locale/pt/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/pt_BR.gmo -> /usr/local/share/locale/pt_BR/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/ro.gmo -> /usr/local/share/locale/ro/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/ru.gmo -> /usr/local/share/locale/ru/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/sk.gmo -> /usr/local/share/locale/sk/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/sr.gmo -> /usr/local/share/locale/sr/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/sv.gmo -> /usr/local/share/locale/sv/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/tr.gmo -> /usr/local/share/locale/tr/LC_MESSAGES/elinks.mo
[[27mINSTALL] po/uk.gmo -> /usr/local/share/locale/uk/LC_MESSAGES/elinks.mo
gmake[1]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/po'
[[27mMAKE install] src
gmake[1]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src'
[[27mMAKE install] src/bfu
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bfu'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bfu'
[[27mMAKE install] src/bookmarks
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bookmarks'
[[27mMAKE install] src/bookmarks/backend
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bookmarks/backend'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bookmarks/backend'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/bookmarks'
[[27mMAKE install] src/cache
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/cache'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/cache'
[[27mMAKE install] src/config
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/config'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/config'
[[27mMAKE install] src/cookies
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/cookies'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/cookies'
[[27mMAKE install] src/dialogs
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dialogs'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dialogs'
[[27mMAKE install] src/document
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document'
[[27mMAKE install] src/document/css
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/css'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/css'
[[27mMAKE install] src/document/dom
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/dom'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/dom'
[[27mMAKE install] src/document/html
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/html'
[[27mMAKE install] src/document/html/parser
gmake[4]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/html/parser'
gmake[4]: Nothing to be done for `install'.
gmake[4]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/html/parser'
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/html'
[[27mMAKE install] src/document/plain
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/plain'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document/plain'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/document'
[[27mMAKE install] src/dom
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom'
[[27mMAKE install] src/dom/css
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/css'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/css'
[[27mMAKE install] src/dom/sgml
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml'
[[27mMAKE install] src/dom/sgml/html
gmake[4]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/html'
gmake[4]: Nothing to be done for `install'.
gmake[4]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/html'
[[27mMAKE install] src/dom/sgml/rss
gmake[4]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/rss'
gmake[4]: Nothing to be done for `install'.
gmake[4]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/rss'
[[27mMAKE install] src/dom/sgml/xbel
gmake[4]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/xbel'
gmake[4]: Nothing to be done for `install'.
gmake[4]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml/xbel'
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom/sgml'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/dom'
[[27mMAKE install] src/ecmascript
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/ecmascript'
[[27mMAKE install] src/ecmascript/spidermonkey
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/ecmascript/spidermonkey'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/ecmascript/spidermonkey'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/ecmascript'
[[27mMAKE install] src/encoding
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/encoding'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/encoding'
[[27mMAKE install] src/formhist
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/formhist'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/formhist'
[[27mMAKE install] src/globhist
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/globhist'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/globhist'
[[27mMAKE install] src/intl
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/intl'
[[27mMAKE install] src/intl/gettext
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/intl/gettext'
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/intl/gettext'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/intl'
[[27mMAKE install] src/main
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/main'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/main'
[[27mMAKE install] src/mime
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/mime'
[[27mMAKE install] src/mime/backend
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/mime/backend'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/mime/backend'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/mime'
[[27mMAKE install] src/network
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/network'
[[27mMAKE install] src/network/ssl
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/network/ssl'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/network/ssl'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/network'
[[27mMAKE install] src/osdep
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/osdep'
[[27mMAKE install] src/osdep/unix
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/osdep/unix'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/osdep/unix'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/osdep'
[[27mMAKE install] src/protocol
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol'
[[27mMAKE install] src/protocol/auth
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/auth'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/auth'
[[27mMAKE install] src/protocol/bittorrent
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/bittorrent'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/bittorrent'
[[27mMAKE install] src/protocol/file
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/file'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/file'
[[27mMAKE install] src/protocol/finger
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/finger'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/finger'
[[27mMAKE install] src/protocol/fsp
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/fsp'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/fsp'
[[27mMAKE install] src/protocol/ftp
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/ftp'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/ftp'
[[27mMAKE install] src/protocol/gopher
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/gopher'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/gopher'
[[27mMAKE install] src/protocol/http
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/http'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/http'
[[27mMAKE install] src/protocol/nntp
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/nntp'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/nntp'
[[27mMAKE install] src/protocol/rewrite
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/rewrite'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/rewrite'
[[27mMAKE install] src/protocol/smb
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/smb'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol/smb'
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/protocol'
[[27mMAKE install] src/scripting
gmake[2]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting'
[[27mMAKE install] src/scripting/guile
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/guile'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/guile'
[[27mMAKE install] src/scripting/lua
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/lua'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/lua'
[[27mMAKE install] src/scripting/perl
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/perl'
gmake[3]: Nothing to be done for `install'.
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/perl'
[[27mMAKE install] src/scripting/ruby
gmake[3]: Entering directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/ruby'
[[27mCC] src/scripting/ruby/core.o
core.c:7:18: ruby.h: No such file or directory
In file included from core.c:18:
../../.././src/scripting/ruby/core.h:10: error: syntax error before "erb_module"
../../.././src/scripting/ruby/core.h:10: warning: type defaults to `int' in declaration of `erb_module'
../../.././src/scripting/ruby/core.h:10: warning: data definition has no type or storage class
core.c:29: error: syntax error before "erb_module"
core.c:29: warning: type defaults to `int' in declaration of `erb_module'
core.c:29: warning: data definition has no type or storage class
core.c: In function `erb_report_error':
core.c:44: error: syntax error before "eclass"
core.c:78: error: `eclass' undeclared (first use in this function)
core.c:78: error: (Each undeclared identifier is reported only once
core.c:78: error: for each function it appears in.)
core.c:78: warning: implicit declaration of function `CLASS_OF'
core.c:78: error: `ruby_errinfo' undeclared (first use in this function)
core.c:79: error: `einfo' undeclared (first use in this function)
core.c:79: warning: implicit declaration of function `rb_obj_as_string'
core.c:81: error: `rb_eRuntimeError' undeclared (first use in this function)
core.c:81: warning: implicit declaration of function `RSTRING'
core.c:81: error: invalid type argument of `->'
core.c:85: error: syntax error before "epath"
core.c:88: error: `epath' undeclared (first use in this function)
core.c:88: warning: implicit declaration of function `rb_class_path'
core.c:90: error: invalid type argument of `->'
core.c:90: error: invalid type argument of `->'
core.c: At top level:
core.c:112: error: syntax error before "erb_module_message"
core.c:112: error: syntax error before "self"
core.c:113: warning: return type defaults to `int'
core.c: In function `erb_module_message':
core.c:116: error: `str' undeclared (first use in this function)
core.c:117: error: invalid type argument of `->'
core.c:117: error: invalid type argument of `->'
core.c:118: error: `Qnil' undeclared (first use in this function)
core.c: At top level:
core.c:142: error: syntax error before "erb_stdout_p"
core.c:142: error: syntax error before "VALUE"
core.c:143: warning: return type defaults to `int'
core.c: In function `erb_stdout_p':
core.c:148: error: `Qnil' undeclared (first use in this function)
core.c:150: error: `argc' undeclared (first use in this function)
core.c:151: error: syntax error before "substr"
core.c:158: error: `substr' undeclared (first use in this function)
core.c:158: warning: implicit declaration of function `rb_inspect'
core.c:158: error: `argv' undeclared (first use in this function)
core.c:164: error: invalid type argument of `->'
core.c:165: error: invalid type argument of `->'
core.c: At top level:
core.c:194: error: syntax error before "erb_module_method_missing"
core.c:194: error: syntax error before "self"
core.c:195: warning: return type defaults to `int'
core.c: In function `erb_module_method_missing':
core.c:196: error: `Qnil' undeclared (first use in this function)
core.c: In function `init_erb_module':
core.c:204: warning: implicit declaration of function `rb_define_module'
core.c:205: warning: implicit declaration of function `rb_define_const'
core.c:205: warning: implicit declaration of function `rb_str_new2'
core.c:210: warning: implicit declaration of function `rb_define_module_function'
core.c: In function `init_ruby':
core.c:223: warning: implicit declaration of function `ruby_init'
core.c:224: warning: implicit declaration of function `ruby_script'
core.c:225: warning: implicit declaration of function `ruby_init_loadpath'
core.c:228: warning: implicit declaration of function `rb_define_singleton_method'
core.c:228: error: `rb_stdout' undeclared (first use in this function)
core.c:229: warning: implicit declaration of function `rb_define_global_function'
core.c:248: warning: implicit declaration of function `rb_load_protect'
gmake[3]: *** [core.o] Error 1
gmake[3]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting/ruby'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src/scripting'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/www/elinks/work/elinks-0.11.1/src'
gmake: *** [install-recursive] Error 1
*** Error code 2
Stop in /usr/ports/www/elinks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c63c42$aace4230$d188a0d5>
