LINUX.ORG.RU

Сообщения Pandion

 

pexpect

Форум — General

Добрый день

Пытаюсь установить pexpect на вдс с Debian 7

apt-get install python3

apt-get install python3-pip

pip-3.2 install pexpect

получаю

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1195: ordinal not in range(128)

 

Pandion
()

3proxy

Форум — Admin

Установил-настроил 3proxy на вдс на Debian

Запускаю /usr/local/3proxy/3proxy.c /usr/local/3proxy/3proxy.cfg

Выдает:

line 10: typedef: command not found
/usr/local/3proxy/3proxy.c: line 11: pthread_mutex_t: command not found
/usr/local/3proxy/3proxy.c: line 12: pthread_mutex_t: command not found
/usr/local/3proxy/3proxy.c: line 13: pthread_mutex_t: command not found
/usr/local/3proxy/3proxy.c: line 14: pthread_mutex_t: command not found
/usr/local/3proxy/3proxy.c: line 17: pthread_mutex_t: command not found
/usr/local/3proxy/3proxy.c: line 20: syntax error near unexpected token `('
/usr/local/3proxy/3proxy.c: line 20: `int readconfig(FILE * fp);'

Что делать? Начало файла 3proxy.c выглядит так:

#include "proxy.h"
#ifndef _WIN32
#ifndef NOPLUGINS
#include <dlfcn.h>
#endif
#endif
#ifndef DEFAULTCONFIG
#define DEFAULTCONFIG conf.stringtable[25]
#endif
typedef int \(*MAINFUNC\)\(int, char**\);
pthread_mutex_t bandlim_mutex;
pthread_mutex_t tc_mutex;
pthread_mutex_t pwl_mutex;
pthread_mutex_t hash_mutex;

#ifndef NOODBC
pthread_mutex_t odbc_mutex;
#endif

int readconfig(FILE * fp);


int haveerror = 0;
int linenum = 0;

time_t basetime = 0;

void doschedule(void);

............. и т.д.

 ,

Pandion
()

RSS подписка на новые темы