Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge vmware-server-tools [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ecosta
Guru
Guru


Joined: 09 May 2003
Posts: 477
Location: Brussels,BE

PostPosted: Thu Apr 26, 2007 9:08 am    Post subject: Can't emerge vmware-server-tools [SOLVED] Reply with quote

Hi all,
I'm having problems emerging vmware-server-tools. I realise it is not part of the portage but I imagine someone got it working if it found it's way into the overlay. ;)

My setup as all worthy gentooer is a gentoo server running vmware-server and a gentoo virtual host (which fails to install the tools).

Here is what I get from the virtual host

Code:

vmgentoo ~ # export CD_ROOT=/root && emerge vmware-server-tools
Calculating dependencies... done!

>>> Emerging (1 of 1) app-emulation/vmware-server-tools-1.0.2.39867 to /
 * checking ebuild checksums ;-) ...                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.20-gentoo-r6-vm_20070426
>>> Unpacking source...
 * You will need VMwareTools-1.0.2-39867.tar.gz from the VMware installation.
 * Select VM->Install VMware Tools from VMware's menu.
 * Found CD #1 root at /root
 * Applying various patches (bugfixes/updates) ...
 *   000_all_vmware-tools.patch ...                                                                                                                       [ ok ]
 * Done with patching
>>> Unpacking ./lib/modules/source/vmdesched.tar to /var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                                         [ ok ]
 * Done with patching
 * Converting vmware-tools-distrib/vmdesched-only/Makefile to use M= instead of SUBDIRS= ...                                                              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib ...
 * Preparing vmdesched module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo-r6'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/os.o
In file included from /var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/os.c:35:
/var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'compat_exit'
/var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/compat_kernel.h:21: error: expected declaration specifiers or '...' before 'exit_code'
/var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/compat_kernel.h:21: warning: type defaults to 'int' in declaration of '_syscall1'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only/os.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-server-tools-1.0.2.39867/work/vmware-tools-distrib/vmdesched-only] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r6'
make: *** [vmdesched.ko] Error 2

!!! ERROR: app-emulation/vmware-server-tools-1.0.2.39867 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4128:   Called src_compile
  ebuild.sh, line 1304:   Called linux-mod_src_compile
  linux-mod.eclass, line 516:   Called die

!!! Unable to make   auto-build VMWARE_VER=VME_V55 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/elog/app-emulation:vmware-server-tools-1.0.2.39867:20070426-090208.log'.

This ebuild used the following eclasses from overlays:

  /usr/portage/local/layman/vmware/eclass/vmware-mod.eclass
  /usr/portage/local/layman/vmware/eclass/vmware.eclass

!!! This ebuild is from an overlay: '/usr/portage/local/layman/vmware'


and this is the info you might need to sole this ;)

Code:

vmgentoo ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r6-vm_20070426 i686)
=================================================================
System uname: 2.6.20-gentoo-r6-vm_20070426 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 26 Apr 2007 04:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon64 -O2 -pipe -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=athlon64 -O2 -pipe -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="en fr it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog libg++ midi mmx ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl sse2 ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="en fr it" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Can you help me?

Thanks!
-Ed
_________________
Linux user #201331
A8N-SLI Delux / AMD64 X2 3800+ / 1024 MB RAM / 5 x 250 GB SATA RAID 1/5 / ATI Radeon X700 256MB.


Last edited by ecosta on Thu Apr 26, 2007 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Apr 26, 2007 10:07 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software. Stuff from overlays belongs here.

Not knowing anything about how vmware builds, could you see if it compiles against an older kernel version? Otherwise, you should probably contact the people responsible for the overlay and let them know about this error.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
ecosta
Guru
Guru


Joined: 09 May 2003
Posts: 477
Location: Brussels,BE

PostPosted: Thu Apr 26, 2007 4:44 pm    Post subject: Reply with quote

Hi mark_alec,
it was a good intuition you had... works fine in 2.6.19-r5 :)

Thanks for your help!
-Ed
_________________
Linux user #201331
A8N-SLI Delux / AMD64 X2 3800+ / 1024 MB RAM / 5 x 250 GB SATA RAID 1/5 / ATI Radeon X700 256MB.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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