I installed virtualbox-ose-additions which pulls in consolekit via
When running
So far so good, when compiling consolekit I get the following error message:
Compiling with
has no effect. I removed package libiconv and reinstalled it via the port system, had no effect either. /usr/local/lib/libiconv.la is indeed not there.
What am I doing wrong? What am I missing?
pkg install virtualbox-ose-additions
.When running
portmaster -a
I get presented with the following list:
Code:
===>>> The following actions will be taken if you choose to proceed:
Upgrade consolekit-0.4.3 to consolekit-0.4.3_1
Upgrade glib-2.36.3_3 to glib-2.36.3_4
Upgrade libffi-3.0.13_1 to libffi-3.0.13_2
Upgrade gobject-introspection-1.36.0_2 to gobject-introspection-1.36.0_3
Install devel/bison
Install devel/m4
Install graphics/cairo
Install graphics/png
Install devel/cmake
Install devel/cmake-modules
Install ftp/curl
Install security/ca_root_nss
Install textproc/py-sphinx
Install devel/py-Jinja2
Install devel/py-babel
Install devel/py-pytz
Install devel/py-setuptools27
Install textproc/py-MarkupSafe
Install textproc/py-docutils
Install textproc/py-pygments
Install x11-fonts/fontconfig
Install x11/xcb-util-renderutil
Install devel/xorg-macros
Install x11/xcb-util
So far so good, when compiling consolekit I get the following error message:
Code:
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: 'g_thread_init' declared here
void g_thread_init (gpointer vtable);
^
main.c:282:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
g_type_init ();
^
/usr/local/include/glib-2.0/gobject/gtype.h:669:23: note: 'g_type_init' declared here
void g_type_init (void);
^
23: note: 'g_type_init' declared here
void g_type_init (void); CC ck-job.o
^
2 warnings3 warnings generated.
generated.
CC ck-seat.o
CC ck-session-leader.o
ck-manager.c:2426:34: warning: 'polkit_authority_get' is deprecated [-Wdeprecated-declarations]
manager->priv->pol_ctx = polkit_authority_get ();
^
/usr/local/include/polkit-1/polkit/polkitauthority.h:50:18: note: 'polkit_authority_get' declared here
PolkitAuthority *polkit_authority_get (void) G_GNUC_DEPRECATED_FOR (polkit_authority_get_sync);
^
CC ck-session.o
CC ck-log.o
CC ck-run-programs.o
CC ck-marshal.o
1 warning generated.
CCLD libck.la
CCLD libck-event-log.la
CCLD test-tty-idle-monitor
CCLD test-vt-monitor
CCLD test-event-logger
CCLD console-kit-daemon
libtool: link: cannot find the library `/usr/local/lib/libiconv.la' or unhandled argument `/usr/local/lib/libiconv.la'
gmake[5]: *** [test-tty-idle-monitor] Error 1
gmake[5]: *** Waiting for unfinished jobs....
libtool: link: cannot find the library `/usr/local/lib/libiconv.la' or unhandled argument `/usr/local/lib/libiconv.la'
gmake[5]: *** [test-vt-monitor] Error 1
libtool: link: cannot find the library `/usr/local/lib/libiconv.la' or unhandled argument `/usr/local/lib/libiconv.la'
gmake[5]: *** [test-event-logger] Error 1
libtool: link: cannot find the library `/usr/local/lib/libiconv.la' or unhandled argument `/usr/local/lib/libiconv.la'
gmake[5]: *** [console-kit-daemon] Error 1
gmake[5]: Leaving directory `/usr/ports/sysutils/consolekit/work/ConsoleKit-0.4.3/src'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/sysutils/consolekit/work/ConsoleKit-0.4.3/src'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/sysutils/consolekit/work/ConsoleKit-0.4.3/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/consolekit/work/ConsoleKit-0.4.3'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/sysutils/consolekit/work/ConsoleKit-0.4.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
Compiling with
Code:
MAKE_JOBS_UNSAFE=yes
Code:
root@BSD:/usr/local/lib # ls libic*
libiconv.a libiconv.so libiconv.so.3
What am I doing wrong? What am I missing?