Current time: 11-22-2024, 10:09 PM 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: #119
RE: [MOD] Автоустановка скриптов на панель
По первой ошибке - все в норме. По второй

Code:
[size=xx-small]Create softwarefolders for softwaredepot  - Please wait
Creating softwaredepot subfolders succesful
Installing CronJob
flex  -t options.l > options.c
echo \#define VERSION \"`cat VERSION`\" > version.h
gcc -std=gnu99 -pedantic -Wall -W   -c -o options.o options.c
<stdout>:1398: warning: ‘yyunput’ defined but not used
<stdout>:1439: warning: ‘input’ defined but not used
gcc -std=gnu99 -pedantic -Wall -W   -c -o main.o main.c
main.c:42:25: error: mysql/mysql.h: No such file or directory
main.c: In function ‘refresh’:
main.c:241: error: ‘MYSQL’ undeclared (first use in this function)
main.c:241: error: (Each undeclared identifier is reported only once
main.c:241: error: for each function it appears in.)
main.c:241: error: ‘sql’ undeclared (first use in this function)
main.c:241: warning: implicit declaration of function ‘mysql_init’
main.c:246: warning: implicit declaration of function ‘mysql_real_connect’
main.c:260: warning: implicit declaration of function ‘mysql_query’
main.c:290: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:290: error: ‘res’ undeclared (first use in this function)
main.c:291: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:291: error: expected ‘;’ before ‘row’
main.c:293: warning: implicit declaration of function ‘mysql_store_result’
main.c:295: error: ‘row’ undeclared (first use in this function)
main.c:295: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:353: warning: implicit declaration of function ‘mysql_free_result’
main.c:364: warning: implicit declaration of function ‘mysql_close’
make: *** [main.o] Error 1
gcc -std=gnu99 -pedantic -Wall -W   -c -o main.o main.c
main.c:42:25: error: mysql/mysql.h: No such file or directory
main.c: In function ‘refresh’:
main.c:241: error: ‘MYSQL’ undeclared (first use in this function)
main.c:241: error: (Each undeclared identifier is reported only once
main.c:241: error: for each function it appears in.)
main.c:241: error: ‘sql’ undeclared (first use in this function)
main.c:241: warning: implicit declaration of function ‘mysql_init’
main.c:246: warning: implicit declaration of function ‘mysql_real_connect’
main.c:260: warning: implicit declaration of function ‘mysql_query’
main.c:290: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:290: error: ‘res’ undeclared (first use in this function)
main.c:291: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:291: error: expected ‘;’ before ‘row’
main.c:293: warning: implicit declaration of function ‘mysql_store_result’
main.c:295: error: ‘row’ undeclared (first use in this function)
main.c:295: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:353: warning: implicit declaration of function ‘mysql_free_result’
main.c:364: warning: implicit declaration of function ‘mysql_close’
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[/size]

P.S. А можно обойтись как то без кронджоба, а то сборка из исходников - совсем не DebianWay. Может реально собрать deb пакет? Пробовал сам сделать с помощью checkinstall, однако фигушки. Нашел в сети версию 0.3.2 в deb http://download.nnover.ru/data/uf2/34683...1_i386.deb
(This post was last modified: 11-04-2011 09:21 PM by plastilin.)
11-04-2011 07:24 PM
Find all posts by this user Quote this message in a reply
Post Reply 


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

Forum Jump:


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