إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

تثبيت ادوات vmware tools

تقليص
X
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • [مشكلة] تثبيت ادوات vmware tools

    السلام عليكم ورحمة الله وبركاته اخواني . عندما افتح الترمينال قصد تثبيت ادوات vmware tools يأتي سؤال لا اعرف كيف اجيب عنه وهو what is the location of the directory of c header files that match your running kernel علما اني نصبت wifislax 4.1.11 على vmware .فهل من حل ؟ وجزاكم الله كل خير

  • #2
    هل نزلت ما يماثل حزمة linux-headers و ( linux-source او kernel-source ) في دبيان؟ هذا هو المطلوب منك بإختصار.
    مدير التواصل الحي.ماجستير معلوماتية من استراليا.تحتاج مساعدة اضافية؟ ادخل اعلاه التواصل الحي.بيت شِعْر: العدل قبل الحب احيانا فلا تظلمي= سئمت الحب احيانا أﻻّ تعدلي.تطبيقاتي على متجر الاندرويد كلمة البحث: superlinux.

    تعليق


    • #3
      تحتاج تثبيت kernel headers أنا لا أعلم ما هي هذه التوزيعة لكن أظن أن تم بنائها على slackware وكان لي تجربة قصير على توزيعة salix المبنية أيضا على slackware لهذا


      1-أولا عليك أن تعرف أي إصدار نواة لديك من خلال الامر في الأسفل .

      كود PHP:
      uname -

      2-من مدير الحزم أيضا لا أعلم إذا ما كان slapt-get متوفر في التوزيعة لكن لا بأس من المحاولة على العموم من مدير الحزم إبحث عن كلمة headers .

      كود PHP:
      sudo slapt-get --search headers 


      3-ستحصل على إسم أكثر من حزمة لل headers سيكون أسماء هذه الحزم شبيه بهذا الإسم (kernel-headers-3.10.17) إختار الحزمة المناسبة لرقم إصدار النواة لديك ثم قم بتثبيتها مثال

      كود PHP:
      sudo slapt-get -i kernel-headers-3.10.17.................. 

      تعليق


      • #4
        هدا ما توصلت إليه اخي يوسف wifislax ~ # uname -r
        4.1.10-smp-wifislax
        wifislax ~ # slapt-get
        slapt-get - Jason Woodward <woodwardj at jaos dot org>
        An implementation of the Debian APT system to Slackware
        Usage:
        slapt-get [option(s)] [target]


        Targets:
        -u, --update retrieve pkg data from MIRROR
        --upgrade upgrade installed pkgs
        --dist-upgrade upgrade to newer release
        -i, --install [pkg name(s)] - install specified pkg(s)
        --install-set [disk set(s)] - install specified disk set(s)
        --remove [pkg name(s)] - remove specified pkg(s)
        --show [pkg name(s)] - show pkg(s) description
        --filelist [pkg name(s)] - show pkg(s) installed files
        --search [expression] - search available pkgs
        --list list pkgs
        --available list available pkgs
        --installed list installed pkgs
        --clean purge cached pkgs
        --autoclean only purge cache of older, unreacheable pkgs
        --add-keys retrieve GPG keys for sources
        -h, --help display this help and exit
        --version print version and license info


        Options:
        -d, --download-only only download pkg on install/upgrade
        -s, --simulate show pkgs to be installed/upgraded
        -y, --no-prompt do not prompt during install/upgrade
        -p, --prompt always prompt during install/upgrade
        --reinstall reinstall the pkg
        --ignore-excludes install/upgrade excludes
        --no-md5 do not perform md5 check sum
        --no-dep skip dependency check
        --ignore-dep ignore dependency failures
        --print-uris print URIs only, do not download
        -S, --show-stats show download statistics
        -c, --config [] specify alternate slapt-getrc location
        --remove-obsolete remove obsolete packages
        --retry [] specify number of download retry attempts
        --no-upgrade install package, do not attempt to upgrade
        --allow-unauthenticated allow unauthenticated packages
        wifislax ~ # sudo slapt-get --search headers
        Failed to open package_data
        package_data: No such file or directory
        Perhaps you want to run --update?
        perl-http-message-6.11-i586-1sw [inst=yes]: perl-http-message (HTTP style message base class)
        presentproto-1.0-i586-2 [inst=yes]: presentproto (X.Org Present protocol specification)
        werkzeug-0.9.4-i586-1sw [inst=yes]: werkzeug (WSGI utility library for Python)
        wifislax ~ #
        فهل من توضيح

        تعليق


        • #5
          الحل مكتوب تحتاج تحديث المرايا mirrors شيء ك apt-get update في التوزيعات الدبيانية

          كود PHP:
          sudo slapt-get --update 
          ثم أعد المحاولة

          تعليق


          • #6
            والافضل قم بتحديث النظام ثم أعد تشغيل الجهاز ثم من بعدها إبحث عن ال headers وقم بتثبيته


            كود PHP:
            sudo slapt-get --update &&sudo slapt-get --upgrade 
            ثم أعد تشغيل الجهاز

            تعليق


            • #7
              بقي المشكل كما هو wifislax ~ # ls
              Descargas Diccionarios-WPA Qbittorrent vmware-tools-distrib
              Desktop Downloads swireless
              wifislax ~ # cd vmware-tools-distrib
              wifislax vmware-tools-distrib # ls
              FILES INSTALL bin doc etc installer lib vmware-install.pl
              wifislax vmware-tools-distrib # ./vmware-install.pl
              A previous installation of VMware Tools has been detected.


              The previous installation was made by the tar installer (version 4).


              Keeping the tar4 installer database format.


              You have a version of VMware Tools installed. Continuing this install will
              first uninstall the currently installed version. Do you wish to continue?
              (yes/no) [yes]


              Uninstalling the tar installation of VMware Tools.


              Stopping services for VMware Tools


              Stopping VMware Tools services in the virtual machine:
              Guest operating system daemon: [ OK ]
              Virtual Printing daemon: [ OK ]
              Unmounting HGFS shares: [ OK ]
              Guest filesystem driver: [ OK ]


              File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up
              to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.3.


              File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up
              to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.2.


              File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules is backed up
              to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules.old.4.


              This program previously created the file
              /usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove
              it. Somebody else apparently did it already.


              File /etc/vmware-tools/vmware-user.desktop is backed up to
              /etc/vmware-tools/vmware-user.desktop.old.4.


              This program previously created the file
              /usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to
              remove it. Somebody else apparently did it already.


              This program previously created the file
              /usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to
              remove it. Somebody else apparently did it already.


              This program previously created the file
              /usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.
              Somebody else apparently did it already.


              File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to
              /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc.old.4.


              This program previously created the file
              /usr/lib/vmware-tools/libconf/etc/pango/pango.modules, and was about to remove
              it. Somebody else apparently did it already.


              File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
              backed up to
              /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.4.


              The removal of VMware Tools 8.1.4 build-227600 for Linux completed
              successfully.


              Installing VMware Tools.


              In which directory do you want to install the binary files?
              [/usr/bin]


              What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
              [/etc/rc.d]


              What is the directory that contains the init scripts?
              [/etc/rc.d/init.d]


              In which directory do you want to install the daemon files?
              [/usr/sbin]


              In which directory do you want to install the library files?
              [/usr/lib/vmware-tools]


              In which directory do you want to install the documentation files?
              [/usr/share/doc/vmware-tools]


              The path "/usr/share/doc/vmware-tools" does not exist currently. This program
              is going to create it, including needed parent directories. Is this what you
              want? [yes]


              The installation of VMware Tools 8.1.4 build-227600 for Linux completed
              successfully. You can decide to remove this software from your system at any
              time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".


              Before running VMware Tools for the first time, you need to configure it by
              invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
              this program to invoke the command for you now? [yes]


              Initializing...




              Stopping VMware Tools services in the virtual machine:
              Guest operating system daemon: [ OK ]
              Virtual Printing daemon: [ OK ]
              Unmounting HGFS shares: [ OK ]
              Guest filesystem driver: [ OK ]






              Before you can compile modules, you need to have the following installed...


              make
              gcc
              kernel headers of the running kernel




              Searching for GCC...
              Detected GCC binary at "/usr/bin/gcc".
              The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
              Would you like to change it? [no]


              Searching for a valid kernel header path...
              The path "" is not valid.
              Would you like to change it? [yes]


              What is the location of the directory of C header files that match your running
              kernel?


              The path "" is not valid.
              Would you like to change it? [yes]


              What is the location of the directory of C header files that match your running
              kernel?

              تعليق


              • #8
                1-جرب من جديد تثبيت هذه الأشياء .
                كود PHP:
                sudo slapt-get -i make kernel-headers 

                2-الان عند طلبه كما ظهر في الخطأ مسار kernel headers أي شيء كالذي في الأسفل .

                كود PHP:
                The path "" is not valid.
                 
                Would you like to change it? [yes]


                What is the location of the directory of C header files that match your running
                 kernel


                3-جرب أدخل أحد هذين المسارين جرب إلي بيمشي .
                كود PHP:
                /usr/include

                أو

                /usr/include/linux 

                بالمناسبة عندما تريد وضع الخطأ الأفضل ليظهر بالشكل المناسب في المنتدى إضغط على الوضع المتقدم ثم قم بالضغط على إدراج CODE ثم قم بوضع الخطأ داخلهم .

                تعليق

                يعمل...
                X