OpenVZ Forum


Home » General » Support » Where is the Source Code tar balls?
Re: Instructions for installing vzctl-3.0.0-8 from source? [message #3612 is a reply to message #3611] Wed, 07 June 2006 07:31 Go to previous messageGo to previous message
sgeorge is currently offline  sgeorge
Messages: 5
Registered: June 2006
Location: Brisbane
Junior Member

First prob was the rights were not set

ls -l
drwxr-xr-x 3 root root 4096 2006-06-07 10:56 src
drwxr-xr-x 3 root root 4096 2006-06-07 10:55 include
drwxr-xr-x 6 root root 4096 2006-06-07 10:55 etc
drwxr-xr-x 2 root root 4096 2006-06-07 10:55 man
-rw-rw-r-- 1 500 501 4564 2006-04-24 03:26 ChangeLog
-rw-rw-r-- 1 500 501 5096 2006-04-24 03:26 vzctl.spec
-rw-rw-r-- 1 500 501 17992 2006-04-19 06:19 COPYING
-rw-rw-r-- 1 500 501 1498 2006-04-19 06:19 Makefile
-rwxrwxr-x 1 500 501 2371 2006-04-19 06:19 vzcpucheck
-rwxrwxr-x 1 500 501 11802 2006-04-19 06:19 vzmigrate
-rwxrwxr-x 1 500 501 1513 2006-04-19 06:19 vzpid


easily sorted by

find . -exec chown root {} \;
find . -exec chgrp root {} \;

then we run make


$ make
for file in src; do \
(cd $file && make -f Makefile all) \
done
make[1]: Entering directory `/openVZ/work/vzctl-3.0.0-8/src'
Makefile:208: .depend: No such file or directory
gcc -M -I ../include vzctl.c vzctl-actions.c modules.c enter.c vzlist.c arpsend.c vzsplit.c vzmemcheck.c validate.c vzcfgvalidate.c vzcalc.c lib/env.c lib/ub.c lib/net.c lib/logger.c lib/exec.c lib/cap.c lib/cpu.c lib/res.c lib/util.c lib/dist.c lib/list.c lib/script.c lib/dev.c lib/config.c lib/lock.c lib/quota.c lib/modules.c lib/iptables.c lib/fs.c lib/create.c lib/readelf.c lib/cpt.c lib/fs_simfs.c >.depend
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from vzctl.c:25:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from vzctl-actions.c:31:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/modules.h:22,
from modules.c:29:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from enter.c:37:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/vzlist.h:21,
from vzlist.c:37:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/config.h:22,
from vzlist.c:38:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from validate.c:27:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/config.h:22,
from vzcfgvalidate.c:25:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/config.h:22,
from vzcalc.c:27:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from lib/env.c:34:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/ub.c:28:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from lib/net.c:30:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/exec.c:35:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/cpu.c:27:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/res.c:28:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/dev.c:33:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/config.h:22,
from lib/config.c:34:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/modules.h:22,
from lib/modules.c:24:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/config.h:22,
from lib/create.c:33:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from ../include/net.h:21,
from ../include/res.h:22,
from ../include/env.h:22,
from lib/cpt.c:35:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/openVZ/work/vzctl-3.0.0-8/src'
make: *** [all] Error 2

opps we seem to have a problem.

Normally when I compile source I do a ./configure
before I do a make and then a make install

If you have any ideas. That would be great.

Looks like I am off to
http://ep09.pld-li
...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Samba problem - Centos 4.3 - samba 3.0.10-1.4E.6
Next Topic: Using ISDN-Card in VPS possible?
Goto Forum:
  


Current Time: Mon Aug 18 21:31:01 GMT 2025

Total time taken to generate the page: 0.15357 seconds