Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14th January 2007, 00:08
joelee joelee is offline
Member
 
Join Date: Sep 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pls Help - Problem installing OpenVZ with Debian Etch.

I am following this How-To: http://www.howtoforge.com/debian_etch_openvz

To getting OpenVZ installed on Debian Etch. I am getting the error below after
entering command:

make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 kernel_image

Below is the Error output and as you can see it complains about GCC command not found? Below is the error output:

* some of the repeated output has been Truncated *

Code:
debian:/usr/src/linux-source-2.6.18# make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 kernel_image

exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=1  APPEND_TO_VERSION=-1-openvz  KPKG_SELECTED_PATCHES="openvz"
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found

dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
====== making target minimal_debian [new prereqs: ]======
This is kernel package version .
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed         -e 's/=V/2.6.18-1-openvz/g'        \
                -e 's/=D/1/g'         -e 's/=A/i386/g'  \
                -e 's/=SA//g'   -e 's/=L/ /g' \
                -e 's/=I//g'                                    \
                -e 's/=CV/2.6/g'                       \
                -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                        \
                -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                         /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/2.6.18-1-openvz/g'             \
            -e 's/=D/1/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
            -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                            \
             /usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do                                      \
            cp -f  /usr/share/kernel-package/$file ./debian/;                               \
        done
for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
        done
test -d ./debian/stamps || mkdir debian/stamps
exec debian/rules  DEBIAN_REVISION=1  APPEND_TO_VERSION=-1-openvz  KPKG_SELECTED_PATCHES="openvz"  kernel_image
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
====== making target CONFIG-common [new prereqs: testdir]======

====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
            mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || \
            (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist && \
               (echo "# Dummy file "; echo "help:") >  scripts/package/Makefile)
test -d debian || mkdir ./debian
test ! -e stamp-building || rm -f stamp-building
test ! -f ./debian || test -f stamp-debian || test -f debian/official || \
               (rm -rf ./debian && mkdir ./debian)
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/apply/openvz ; do            \
          if test -x  $patch; then                    \
              if $patch; then                         \
                  echo "Patch $patch processed fine"; \
                  echo "$patch" >> applied_patches;   \
              else                                     \
                   echo "Patch $patch  failed.";      \
                   echo "Hit return to Continue";      \
                   read ans;                           \
              fi;                                      \
          fi;                                          \
        done
START applying openvz patch (OpenVZ kernel patch for virtual server support)
Testing whether "OpenVZ kernel patch for virtual server support" patch for 2.6.18 applies (dry run):
6 out of 30 hunks FAILED -- saving rejects to file net/ipv4/netfilter/ip_tables.c.rej
1 out of 8 hunks FAILED -- saving rejects to file net/ipv6/udp.c.rej
"OpenVZ kernel patch for virtual server support" patch for 2.6.18 does not apply cleanly
Patch /usr/src/kernel-patches/all/apply/openvz  failed.
Hit return to Continue
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.

Then I tryed to install gcc with apt-get install gcc and still getting the errors.
I've attached a text file of the errors in hope someone can help!


Would really appreciate any help! I am trying to get a good install done quickly!

PS: I think this how2 is good BUT think somewhere it is confusing or missing a step or so that is causing this error.

Joe
Attached Files
File Type: txt Apt-Get Install GCC - Error.txt (5.7 KB, 511 views)
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem upgrading/compiling debian - Pls Help! joelee Kernel Questions 3 10th January 2007 18:50
Needed some clarifications: OpenVZ in Debian Etch Howto! zenny HOWTO-Related Questions 4 9th January 2007 00:05
Debian Etch OpenVZ & Raid TonA HOWTO-Related Questions 1 30th December 2006 22:20
Problem installing 2.2 on Debian Sarge 3.1 bwrob Installation/Configuration 3 4th March 2006 00:40
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 15:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.