Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge vnc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
redo_fr
n00b
n00b


Joined: 15 Nov 2005
Posts: 20
Location: Toulouse(France)

PostPosted: Fri May 25, 2007 8:25 am    Post subject: Can't emerge vnc Reply with quote

Hi all,
I'm trying to emerge vnc on my U60 but it can't compile.

The error:
Code:

/bin/sh ../../../../libtool --tag=CC   --mode=compile sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I/usr/include/drm    -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_XORG_CONFIG_H -DXF86PM  -DHAVE_APM  -DXFree86Server  -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2   -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow  -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb  -O2 -mcpu=ultrasparc -pipe -c -o lnx_kbd.lo lnx_kbd.c
make[5]: *** [lnx_io.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
 sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I/usr/include/drm -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_APM -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -O2 -mcpu=ultrasparc -pipe -c lnx_kbd.c  -fPIC -DPIC -o .libs/lnx_kbd.o
lnx_kbd.c:107:22: asm/kbio.h: No such file or directory
lnx_kbd.c: In function `SetKbdRepeat':
lnx_kbd.c:196: warning: unused variable `i'
lnx_kbd.c:197: warning: unused variable `timeout'
lnx_kbd.c:198: warning: unused variable `value'
lnx_kbd.c:208: warning: unused variable `valid_rates'
lnx_kbd.c:214: warning: unused variable `valid_delays'
make[5]: *** [lnx_kbd.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86/os-support/linux'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86/os-support'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/vnc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  vnc-4.1.2.ebuild, line 132:   Called die


system info:
Code:

Portage 2.1.2.7 (default-linux/sparc/sparc64/2006.1, gcc-3.4.6, glibc-2.5-r2, 2.6.20.11 sparc64)
=================================================================
System uname: 2.6.20.11 sparc64 sun4u
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 24 May 2007 01:47:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://mirror.switch.ch/mirror/gentoo/"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/datas/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 arts bash-completion berkdb bitmap-fonts cairo cli cracklib crypt cups dbus dri dvd eds emboss encode esd fbcon foomaticdb fortran gcc64 gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib isdnlog jpeg ldap libwww lm-sensors mad midi mikmod motif mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python readline reflection sdl session sparc spell spl ssl startup-notification tcpd threads truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="sunffb"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I've tried to emerge vnc-4.1.2-r1 but same error...

Newer versions need a testing version of xorg-server and i prefer use stable packages.

Any idea?
_________________
--
Redo.
Back to top
View user's profile Send private message
SnakeByte
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 177
Location: Europe - Germany

PostPosted: Tue May 29, 2007 7:48 pm    Post subject: Reply with quote

Hi,

no sparc expert here but
Quote:
lnx_kbd.c:107:22: asm/kbio.h: No such file or directory

looks like missing dependencies.

Please check if the
Code:
x11-libs/libxkbfile

and probably other parts of X are correctly installed.


regards
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Tue May 29, 2007 7:55 pm    Post subject: Reply with quote

asm/kbio.h is a part of linux-headers and basically this was fixed in xorg-server via the 1.1.1-sparc-includes.patch when the new linux-headers (which lack kbio.h) were stabled.
Since vnc is a lame ass (so to say) by shipping it's own xorg-server thingie it needs the patch as well, i'll look into it when i get some free time.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
redo_fr
n00b
n00b


Joined: 15 Nov 2005
Posts: 20
Location: Toulouse(France)

PostPosted: Tue May 29, 2007 8:22 pm    Post subject: Reply with quote

Quote:

vnc is a lame ass (so to say)


lol
you're right ;-)

I use it because ma sparc is far from my desk.
Never mind, i'll walk and wait for stables packages.
;-)

Thanks for your help.
_________________
--
Redo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum