View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Wed Oct 19, 2016 7:11 am Post subject: unable to emerge x11vnc |
|
|
Code: | [ebuild N ] x11-misc/x11vnc-0.9.13_p20150111::gentoo USE="-avahi -crypt -fbcon -ssl -xinerama" 0 KiB |
config.log:
http://pastebin.com/1fB62inn
build.log:
http://pastebin.com/90H3kWYY
Code: |
checking for X... libraries /usr/lib, headers
checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lbsd... no
checking for connect... no
checking for connect in -lsocket... no
checking for remove... no
checking for remove in -lposix... no
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking for XGetImage in -lX11... no
configure: error:
==========================================================================
*** A working X window system build environment is required to build ***
x11vnc. Make sure any required X development packages are installed.
If they are installed in non-standard locations, one can use the
--x-includes=DIR and --x-libraries=DIR configure options or set the
CPPFLAGS and LDFLAGS environment variables to indicate where the X
window system header files and libraries may be found. On 64+32 bit
machines you may need to point to lib64 or lib32 directories to pick up
the correct word size.
If you want to build x11vnc without X support (e.g. for -rawfb use only
or for native Mac OS X), specify the --without-x configure option.
========================================================================== |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
eleaffar n00b
Joined: 09 May 2011 Posts: 43
|
Posted: Wed Oct 19, 2016 9:13 am Post subject: |
|
|
???? _________________ Ho visto il film Memento ... non me lo ricordo ! |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Wed Oct 19, 2016 2:39 pm Post subject: |
|
|
this machine is not connected to the internet at the moment, I do not have eix installed, let me know if this is sufficient: Code: |
pc ~ # emerge -pv xorg-server
* Last emerge --sync was 53d 23h 47m 15s ago.
* IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-base/xorg-server-1.16.4-r5:0/1.16.1::gentoo USE="glamor nptl suid systemd udev xorg -dmx -doc -ipv6 -kdrive -minimal (-selinux) -static-libs -tslib -unwind -wayland -xnest -xvfb" 5,681 KiB |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Wed Oct 19, 2016 11:00 pm Post subject: |
|
|
The problem is in your build environment, but I can't quite lay my hands on it yet. config.log clearly shows the root of the problem
Code: |
configure:4276: checking how to run the C preprocessor
configure:4307: -E conftest.c
./configure: line 1738: -E: command not found
|
If I try the emerge here (identical USE flags) and compare logs, I find that prior to the preprocesser check, configure runs various checks related to the compiler, which is what I would expect as prerequesite (in autoconf speak, the AC_PROG_CPP declaration includes AC_REQUIRE([AC_PROG_CC])). It looks like your generated configure script is faulty. For comparison:
Code: |
-rw-r--r-- 1 portage portage 53376 Oct 19 23:29 aclocal.m4
-rwxr-xr-x 1 portage portage 38225 Oct 19 23:29 config.status
-rwxr-xr-x 1 portage portage 36378 Oct 19 23:29 config.sub
-rwxr-xr-x 1 portage portage 282799 Oct 19 23:29 configure
-rw-r--r-- 1 portage portage 17747 Oct 19 23:29 configure.ac
|
Anything interesting when you run equery check "auto*"? |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Oct 20, 2016 12:35 pm Post subject: |
|
|
nope not at all:
pc ~ # equery check "auto*"
* Checking sys-devel/autoconf-2.13 ...
23 out of 23 files passed
* Checking sys-devel/autoconf-2.69 ...
69 out of 69 files passed
* Checking sys-devel/autoconf-wrapper-13 ...
12 out of 12 files passed
* Checking sys-devel/autogen-5.18.1 ...
101 out of 101 files passed
* Checking sys-devel/automake-1.12.6 ...
126 out of 126 files passed
* Checking sys-devel/automake-1.14.1 ...
124 out of 124 files passed
* Checking sys-devel/automake-1.15 ...
123 out of 123 files passed
* Checking sys-devel/automake-wrapper-10 ...
7 out of 7 files passed |
|
Back to top |
|
|
funkyFlash n00b
Joined: 02 Apr 2008 Posts: 36 Location: Anoka, MN
|
Posted: Thu Oct 20, 2016 2:33 pm Post subject: |
|
|
Silly question, is gcc-config happy, and did you do the . /etc/profile afterwards? _________________ "You could walk around announcing that the variable lives at 0x22ff7c, but that's not going to get you very far in life." |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Thu Oct 20, 2016 2:49 pm Post subject: |
|
|
You must do
before anything because
Adel Ahmed wrote: | * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files. |
_________________ Paul |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Oct 20, 2016 3:02 pm Post subject: |
|
|
I have chosen the more recent gcc-config, and ran . /etc/profile
pc ~ # gcc-config -l
[1] x86_64-pc-linux-gnu-4.8.5
[2] x86_64-pc-linux-gnu-4.9.3 *
and ran dispatch-conf
neither have worked |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Thu Oct 20, 2016 3:16 pm Post subject: |
|
|
X11vnc will only emerge if an Xorg server is already install because without X, there is no display on the local machine to serve by X11vnc and to be view by Vnc clients for this machine on the network using the Vnc protocol. _________________ Paul |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Fri Oct 21, 2016 6:55 am Post subject: |
|
|
xorg-server:
[ebuild R ] x11-base/xorg-server-1.16.4-r5:0/1.16.1::gentoo USE="glamor nptl suid systemd udev xorg -dmx -doc -ipv6 -kdrive -minimal (-selinux) -static-libs -tslib -unwind -wayland -xnest -xvfb" 5,681 KiB
vncserver is running fine, I want to setup vnc for the main display :0 |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Sun Oct 23, 2016 8:21 pm Post subject: |
|
|
Did you compare file sizes with my earlier posting? |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Sun Oct 23, 2016 8:24 pm Post subject: |
|
|
Did you compare file sizes with my earlier posting? |
|
Back to top |
|
|
|