Current time: 11-26-2024, 07:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
Installation problem with Debian Etch
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #1
Question Installation problem with Debian Etch
I want to install ispCP Nightly Build from today (12-19-2007) on my fresh installed Debian Etch 4.0r1 system for the first time but I get a lot of errors after the "make" command:

Quote:# make
cd ./tools && make install
make[1]: Entering directory `/var/www/ispcp/tools'
(cd ./daemon; \
make ispcp_daemon;)
make[2]: Entering directory `/var/www/ispcp/tools/daemon'
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o ispcp_daemon.o ispcp_daemon.c
In file included from ispcp_daemon.c:2:
ispcp_daemon.h:11:20: error: stdlib.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:17:20: error: syslog.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:23:22: error: sys/stat.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:24:23: error: sys/types.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:25:24: error: sys/socket.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:31:24: error: netinet/in.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:37:22: error: sys/time.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:43:20: error: signal.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:49:20: error: string.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:55:19: error: errno.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:61:20: error: unistd.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:67:19: error: stdio.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.h:73:23: error: arpa/inet.h: Datei oder Verzeichnis nicht gefunden
ispcp_daemon.c: In function âmainâ:
ispcp_daemon.c:12: error: storage size of âservaddrâ isnât known
ispcp_daemon.c:15: error: storage size of âcliaddrâ isnât known
ispcp_daemon.c:20: error: âpid_tâ undeclared (first use in this function)
ispcp_daemon.c:20: error: (Each undeclared identifier is reported only once
ispcp_daemon.c:20: error: for each function it appears in.)
ispcp_daemon.c:20: error: expected â;â before âchildpidâ
ispcp_daemon.c:22: error: âsocklen_tâ undeclared (first use in this function)
ispcp_daemon.c:22: error: expected â;â before âclilenâ
ispcp_daemon.c:27: error: âEOFâ undeclared (first use in this function)
ispcp_daemon.c:37: error: âLOG_DAEMONâ undeclared (first use in this function)
ispcp_daemon.c:39: warning: implicit declaration of function âsocketâ
ispcp_daemon.c:39: error: âAF_INETâ undeclared (first use in this function)
ispcp_daemon.c:39: error: âSOCK_STREAMâ undeclared (first use in this function)
ispcp_daemon.c:41: warning: implicit declaration of function âmemsetâ
ispcp_daemon.c:41: warning: incompatible implicit declaration of built-in function âmemsetâ
ispcp_daemon.c:41: error: âsize_tâ undeclared (first use in this function)
ispcp_daemon.c:41: error: expected â)â before âsizeofâ
ispcp_daemon.c:45: warning: implicit declaration of function âhtonlâ
ispcp_daemon.c:47: warning: implicit declaration of function âhtonsâ
ispcp_daemon.c:49: warning: implicit declaration of function âbindâ
ispcp_daemon.c:50: warning: implicit declaration of function âstrerrorâ
ispcp_daemon.c:50: error: âerrnoâ undeclared (first use in this function)
ispcp_daemon.c:50: warning: passing argument 2 of âsayâ makes pointer from integer without a cast
ispcp_daemon.c:51: warning: implicit declaration of function âexitâ
ispcp_daemon.c:51: warning: incompatible implicit declaration of built-in function âexitâ
ispcp_daemon.c:54: warning: implicit declaration of function âlistenâ
ispcp_daemon.c:55: warning: passing argument 2 of âsayâ makes pointer from integer without a cast
ispcp_daemon.c:56: warning: incompatible implicit declaration of built-in function âexitâ
ispcp_daemon.c:61: warning: implicit declaration of function âcallocâ
ispcp_daemon.c:61: warning: incompatible implicit declaration of built-in function âcallocâ
ispcp_daemon.c:61: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:62: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:64: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:66: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:68: error: dereferencing pointer to incomplete type
ispcp_daemon.c:69: error: dereferencing pointer to incomplete type
ispcp_daemon.c:71: error: dereferencing pointer to incomplete type
ispcp_daemon.c:72: error: dereferencing pointer to incomplete type
ispcp_daemon.c:74: warning: implicit declaration of function âsignalâ
ispcp_daemon.c:74: error: âSIGCHLDâ undeclared (first use in this function)
ispcp_daemon.c:76: error: âSIGPIPEâ undeclared (first use in this function)
ispcp_daemon.c:79: error: âFILEâ undeclared (first use in this function)
ispcp_daemon.c:79: error: âfileâ undeclared (first use in this function)
ispcp_daemon.c:79: warning: implicit declaration of function âfopenâ
ispcp_daemon.c:80: warning: implicit declaration of function âfprintfâ
ispcp_daemon.c:80: warning: incompatible implicit declaration of built-in function âfprintfâ
ispcp_daemon.c:80: warning: implicit declaration of function âgetpidâ
ispcp_daemon.c:81: warning: implicit declaration of function âfcloseâ
ispcp_daemon.c:88: error: âclilenâ undeclared (first use in this function)
ispcp_daemon.c:88: error: expected â;â before âsizeofâ
ispcp_daemon.c:91: warning: implicit declaration of function âacceptâ
ispcp_daemon.c:99: error: âEINTRâ undeclared (first use in this function)
ispcp_daemon.c:103: warning: passing argument 2 of âsayâ makes pointer from integer without a cast
ispcp_daemon.c:104: warning: incompatible implicit declaration of built-in function âexitâ
ispcp_daemon.c:115: warning: implicit declaration of function âsetsockoptâ
ispcp_daemon.c:117: error: âSOL_SOCKETâ undeclared (first use in this function)
ispcp_daemon.c:118: error: âSO_RCVTIMEOâ undeclared (first use in this function)
ispcp_daemon.c:121: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:126: error: âSO_SNDTIMEOâ undeclared (first use in this function)
ispcp_daemon.c:129: error: invalid application of âsizeofâ to incomplete type âstruct timevalâ
ispcp_daemon.c:133: warning: implicit declaration of function âinet_ntopâ
ispcp_daemon.c:135: error: âchildpidâ undeclared (first use in this function)
ispcp_daemon.c:135: warning: implicit declaration of function âforkâ
ispcp_daemon.c:138: warning: implicit declaration of function âcloseâ
ispcp_daemon.c:142: warning: implicit declaration of function âsprintfâ
ispcp_daemon.c:142: warning: incompatible implicit declaration of built-in function âsprintfâ
ispcp_daemon.c:148: warning: implicit declaration of function âfreeâ
ispcp_daemon.c:150: warning: incompatible implicit declaration of built-in function âexitâ
ispcp_daemon.c:156: warning: implicit declaration of function âcloselogâ
ispcp_daemon.c:15: warning: unused variable âcliaddrâ
ispcp_daemon.c:12: warning: unused variable âservaddrâ
make[2]: *** [ispcp_daemon.o] Fehler 1
make[2]: Leaving directory `/var/www/ispcp/tools/daemon'
make[1]: *** [daemon/ispcp_daemon] Fehler 2
make[1]: Leaving directory `/var/www/ispcp/tools'
make: *** [install] Fehler 2

Is "make" not the first step to do or do I need more installed packages?
I cannot find an installation guide.
Thanks for help!

DaSilva
(This post was last modified: 12-19-2007 07:48 PM by DaSilva.)
12-19-2007 07:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Installation problem with Debian Etch
well it seems you run the make command in the wrong directory...

Install with these instructions:
http://www.isp-control.net/ispcp/wiki/us...ion/Debian
12-19-2007 07:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: Installation problem with Debian Etch
--> http://www.isp-control.net/documentation...ion/debian

Greez BeNe
12-19-2007 07:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Installation problem with Debian Etch
I already wondered where all the documentation was gone... Its a bit a mess until all is moved to the wiki...
12-19-2007 07:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #5
RE: Installation problem with Debian Etch
Thanks for the fast replies but this does not help.
After

apt-get install `cat ./docs/Debian/debian-packages-etch`

nothing happens and the next step with

make install

gives the same error message mentioned in my first post.
Please help.
Thanks.

EDIT: Do I need to install all of these packages: http://www.isp-control.net/component/opt...view/id,3/ ?
Is this list up-to-date?
Can I install all of these packages with one apt-get command in one line without problems and without installing older or duplicate packages (Apache for example is already installed)?
(This post was last modified: 12-19-2007 08:43 PM by DaSilva.)
12-19-2007 08:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kk-webservices Offline
Newbie
*

Posts: 6
Joined: Dec 2007
Reputation: 0
Post: #6
RE: Installation problem with Debian Etch
@DaSilva: Are you running Debian Etch and ispCP on a Hetzner Server?
If yes, check out Installation-Guide.
12-19-2007 08:53 PM
Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #7
RE: Installation problem with Debian Etch
No, Iam running it on a virtual machine on Virtual PC 2007.
12-19-2007 08:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #8
RE: Installation problem with Debian Etch
Now everything works but after make install the content of the nightly build directory has not changed.
So the step "cp -Rv /tmp/ispcp-1.0.0/* /" makes no sense because it copies the whole nightly build on / (root).
And that is my problem on the next step:
"# perl ./ispcp-setup
ERROR: File '/etc/ispcp/ispcp.conf' does not exist !"
What can I do?
Thank you.
01-08-2008 07:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #9
RE: Installation problem with Debian Etch
install it via installationguide step by step. I use it also on Debian without Errors.
01-08-2008 07:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: Installation problem with Debian Etch
Looks like you Did not really follow the Install Instruction step-by-step!
--> http://www.isp-control.net/documentation...ion/debian

With the "make install" the files are copied to /tmp/ispcp-1.0.0

Greez BeNe
01-08-2008 07:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)