Current time: 11-01-2024, 10:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MOD] Автоустановка скриптов на панель
Author Message
plastilin Offline
Junior Member
*

Posts: 82
Joined: Jan 2010
Reputation: 1
Post: #117
Question RE: [MOD] Автоустановка скриптов на панель
Товарищи, ошибки при установке на Ubuntu 10.04 версия ispCP_Installer_RC_4-1.0.7-build3.zip. Перед выполнением скрипта нужно доустановить flex и pkg-config "apt-get install flex pkg-config" Однако и это не спасает от ошибок.

1.

Code:
install: cannot stat `./newfiles/gui/themes/omega_original/client/{cronjobs_add.tpl': No such file or directory
install: cannot stat `cronjobs_edit.tpl': No such file or directory
install: cannot stat `cronjobs_overview.tpl': No such file or directory
install: cannot stat `index.tpl': No such file or directory
install: cannot stat `menu_webtools.tpl': No such file or directory
install: cannot stat `software.tpl': No such file or directory
install: cannot stat `software_install.tpl': No such file or directory
install: cannot stat `software_view.tpl': No such file or directory
install: cannot stat `webtools.tpl}': No such file or directory

2.

Code:
Create softwarefolders for softwaredepot  - Please wait
install: creating directory `/var/www/ispcp/gui/software/sw_depot/'
Creating softwaredepot subfolders succesful
Installing CronJob
pkg-config libdaemon
make: *** [HAVE_libdaemon] Error 1
gcc -std=c99 -pedantic -Wall -W   -c -o main.o main.c
main.c:34:25: error: mysql/mysql.h: No such file or directory
main.c:35:29: error: libdaemon/dfork.h: No such file or directory
main.c:36:28: error: libdaemon/dlog.h: No such file or directory
main.c:37:28: error: libdaemon/dpid.h: No such file or directory
main.c:38:31: error: libdaemon/dsignal.h: No such file or directory
main.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:89: error: expected ‘)’ before ‘*’ token
main.c:99: error: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:118: warning: implicit declaration of function ‘daemon_pid_file_kill’
main.c:120: warning: implicit declaration of function ‘daemon_log’
main.c:126: error: ‘daemon_log_ident’ undeclared (first use in this function)
main.c:126: error: (Each undeclared identifier is reported only once
main.c:126: error: for each function it appears in.)
main.c:127: error: ‘daemon_log_use’ undeclared (first use in this function)
main.c:127: error: ‘DAEMON_LOG_AUTO’ undeclared (first use in this function)
main.c:127: error: ‘DAEMON_LOG_STDERR’ undeclared (first use in this function)
main.c:131: warning: implicit declaration of function ‘daemon_retval_init’
main.c:132: warning: implicit declaration of function ‘daemon_fork’
main.c:134: warning: implicit declaration of function ‘daemon_retval_send’
main.c:138: warning: implicit declaration of function ‘daemon_retval_done’
main.c:141: warning: implicit declaration of function ‘daemon_retval_wait’
main.c:150: error: ‘daemon_pid_file_proc’ undeclared (first use in this function)
main.c:151: warning: implicit declaration of function ‘daemon_pid_file_create’
main.c:153: warning: implicit declaration of function ‘daemon_pid_file_is_running’
main.c:160: error: ‘daemon_pid_file_remove’ undeclared (first use in this function)
main.c:171: warning: implicit declaration of function ‘daemon_signal_init’
main.c:176: error: ‘daemon_signal_done’ undeclared (first use in this function)
main.c:198: warning: implicit declaration of function ‘daemon_pid_file_remove’
main.c:199: warning: implicit declaration of function ‘daemon_signal_done’
main.c: In function ‘run_jobs’:
main.c:220: warning: implicit declaration of function ‘daemon_signal_next’
main.c: At top level:
main.c:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:285: error: expected ‘)’ before ‘*’ token
main.c:313: error: expected ‘)’ before ‘*’ token
main.c: In function ‘refresh’:
main.c:337: error: ‘MYSQL’ undeclared (first use in this function)
main.c:337: error: ‘sql’ undeclared (first use in this function)
main.c:340: warning: implicit declaration of function ‘db_connect’
main.c:348: warning: implicit declaration of function ‘db_update’
main.c:370: warning: implicit declaration of function ‘mysql_close’
main.c:375: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:375: error: ‘res’ undeclared (first use in this function)
main.c:376: warning: implicit declaration of function ‘queryf’
main.c:376: warning: implicit declaration of function ‘mysql_store_result’
main.c:378: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:378: error: expected ‘;’ before ‘row’
main.c:379: error: ‘row’ undeclared (first use in this function)
main.c:379: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:438: warning: implicit declaration of function ‘mysql_free_result’
main.c: In function ‘run_this’:
main.c:481: warning: initialization discards qualifiers from pointer target type
make: *** [main.o] Error 1
cp: cannot stat `./newfiles/hcrond/hcrondrc': No such file or directory
./install: line 219: /etc/init.d/hcrondrc: No such file or directory
CronJob installed succesfully
(This post was last modified: 11-04-2011 05:32 AM by plastilin.)
11-04-2011 05:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [MOD] Автоустановка скриптов на панель - plastilin - 11-04-2011 05:12 AM

Forum Jump:


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