проблемма с Obex (не могу установить)

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

foxIG
Сообщения: 261
ОС: Mandriva 2010 PP

проблемма с Obex

Сообщение foxIG »

Вот решил подключить свой K790 к компу.прочитал тему про подключение телефона.решил установить OBEX,т.к. kmobiletools так и не смог скачать(почему то не соединяется с сервером).При установке такая проблемма
checking for OPENOBEX... configure: error: Package requirements (openobex) were not met:

No package 'openobex' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENOBEX_CFLAGS
and OPENOBEX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

хотя openobex установлен
Спасибо сказали:
Аватара пользователя
Uncle_Theodore
Сообщения: 3339
ОС: Slackware 12.2, ArchLinux 64

Re: проблемма с Obex

Сообщение Uncle_Theodore »

foxIG писал(а):
22.04.2007 19:46
Вот решил подключить свой K790 к компу.прочитал тему про подключение телефона.решил установить OBEX,т.к. kmobiletools так и не смог скачать(почему то не соединяется с сервером).При установке такая проблемма
checking for OPENOBEX... configure: error: Package requirements (openobex) were not met:

No package 'openobex' found


хотя openobex установлен

Ну так установщик и предлагает тебе два выхода из ситуации
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENOBEX_CFLAGS
and OPENOBEX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Попробуй.
Спасибо сказали:
foxIG
Сообщения: 261
ОС: Mandriva 2010 PP

Re: проблемма с Obex

Сообщение foxIG »

Uncle_Theodore писал(а):
22.04.2007 19:53
Ну так установщик и предлагает тебе два выхода из ситуации

Попробуй.

попробовал поставить openobex вот так ./configure --prefix=/usr
теперь при установке obexfs

Код:

[root@localhost obexfs-0.8]# make install Making install in fuse make[1]: Entering directory `/home/ig/Новая папка/obexfs-0.8/fuse' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wmissing-declarations -Wmissing-prototypes -O2 -D_FILE_OFFSET_BITS=64 -MT obexfs.o -MD -MP -MF ".deps/obexfs.Tpo" \ -c -o obexfs.o `test -f 'obexfs.c' || echo './'`obexfs.c; \ then mv -f ".deps/obexfs.Tpo" ".deps/obexfs.Po"; \ else rm -f ".deps/obexfs.Tpo"; exit 1; \ fi obexfs.c:46:29: error: obexftp/obexftp.h: Нет такого файла или каталога obexfs.c:47:28: error: obexftp/client.h: Нет такого файла или каталога obexfs.c:48:26: error: obexftp/uuid.h: Нет такого файла или каталога obexfs.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token obexfs.c: In function ‘cli_open’: obexfs.c:85: error: ‘cli’ undeclared (first use in this function) obexfs.c:85: error: (Each undeclared identifier is reported only once obexfs.c:85: error: for each function it appears in.) obexfs.c:89: warning: implicit declaration of function ‘obexftp_open’ obexfs.c:98: warning: implicit declaration of function ‘obexftp_connect’ obexfs.c: In function ‘cli_close’: obexfs.c:110: error: ‘cli’ undeclared (first use in this function) obexfs.c:112: warning: implicit declaration of function ‘obexftp_disconnect’ obexfs.c:114: warning: implicit declaration of function ‘obexftp_close’ obexfs.c: In function ‘ofs_connect’: obexfs.c:121: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_getattr’: obexfs.c:146: error: ‘stat_entry_t’ undeclared (first use in this function) obexfs.c:146: error: ‘st’ undeclared (first use in this function) obexfs.c:179: warning: implicit declaration of function ‘obexftp_stat’ obexfs.c:179: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_getdir’: obexfs.c:203: error: ‘stat_entry_t’ undeclared (first use in this function) obexfs.c:203: error: ‘ent’ undeclared (first use in this function) obexfs.c:211: warning: implicit declaration of function ‘obexftp_opendir’ obexfs.c:211: error: ‘cli’ undeclared (first use in this function) obexfs.c:211: warning: assignment makes pointer from integer without a cast obexfs.c:220: warning: implicit declaration of function ‘obexftp_readdir’ obexfs.c:227: warning: implicit declaration of function ‘obexftp_closedir’ obexfs.c: In function ‘ofs_mkdir’: obexfs.c:260: warning: implicit declaration of function ‘obexftp_setpath’ obexfs.c:260: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_unlink’: obexfs.c:278: warning: implicit declaration of function ‘obexftp_del’ obexfs.c:278: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_rename’: obexfs.c:300: warning: implicit declaration of function ‘obexftp_rename’ obexfs.c:300: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_read’: obexfs.c:343: warning: implicit declaration of function ‘obexftp_get’ obexfs.c:343: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_release’: obexfs.c:404: warning: implicit declaration of function ‘obexftp_put_data’ obexfs.c:404: error: ‘cli’ undeclared (first use in this function) obexfs.c: In function ‘ofs_statfs’: obexfs.c:427: error: ‘cli’ undeclared (first use in this function) obexfs.c:428: warning: implicit declaration of function ‘obexftp_connect_uuid’ obexfs.c:428: error: ‘UUID_S45’ undeclared (first use in this function) obexfs.c:431: warning: implicit declaration of function ‘obexftp_info’ obexfs.c: In function ‘ofs_destroy’: obexfs.c:460: warning: unused parameter ‘private_data’ obexfs.c: In function ‘main’: obexfs.c:521: error: ‘OBEX_TRANS_IRDA’ undeclared (first use in this function) obexfs.c:525: error: ‘OBEX_TRANS_BLUETOOTH’ undeclared (first use in this function) obexfs.c:536: error: ‘OBEX_TRANS_CUSTOM’ undeclared (first use in this function) make[1]: *** [obexfs.o] Ошибка 1 make[1]: Leaving directory `/home/ig/Новая папка/obexfs-0.8/fuse' make: *** [install-recursive] Ошибка 1
Спасибо сказали:
Аватара пользователя
Uncle_Theodore
Сообщения: 3339
ОС: Slackware 12.2, ArchLinux 64

Re: проблемма с Obex

Сообщение Uncle_Theodore »

foxIG писал(а):
22.04.2007 20:23
попробовал поставить openobex вот так ./configure --prefix=/usr

При чем здесь префикс?
Установщик просит указать пути к библиотекам и хэдерам openobex'а
Вот так, например
export OPENOBEX_CFLAGS=<путь к хэдерам>
export OPENOBEX_LIBS=<путь к библиотекам>

Или установить переменную PKG_CONFIG_PATH, чтобы она указывала, где находится файл конфигурации пакета (.pc, кажется).
Спасибо сказали:
foxIG
Сообщения: 261
ОС: Mandriva 2010 PP

Re: проблемма с Obex

Сообщение foxIG »

Uncle_Theodore писал(а):
22.04.2007 20:30
При чем здесь префикс?
Установщик просит указать пути к библиотекам и хэдерам openobex'а
Вот так, например
export OPENOBEX_CFLAGS=<путь к хэдерам>
export OPENOBEX_LIBS=<путь к библиотекам>

Или установить переменную PKG_CONFIG_PATH, чтобы она указывала, где находится файл конфигурации пакета (.pc, кажется).

а подробнее можно? где устанавливать PKG_CONFIG_PATH?
Спасибо сказали:
Аватара пользователя
Aectann
Бывший модератор
Сообщения: 3491
Статус: ...
ОС: OS X, GNU_и_не_только/Linux

Re: проблемма с Obex

Сообщение Aectann »

foxIG писал(а):
22.04.2007 20:39
а подробнее можно? где устанавливать PKG_CONFIG_PATH?

~/.bashrc, ~/.bash_profile... (или ~/.zshrc, если zsh используется)
My god... it's full of stars!...
Спасибо сказали:
foxIG
Сообщения: 261
ОС: Mandriva 2010 PP

Re: проблемма с Obex

Сообщение foxIG »

Aectann писал(а):
22.04.2007 20:45
~/.bashrc, ~/.bash_profile... (или ~/.zshrc, если zsh используется)

но в ~/.bashrc стоит /usr/local/bin

Код: Выделить всё

# .bashrc

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH

# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi


вроде пропала та ошибка,но теперь другая

Код: Выделить всё

/usr/local/bin: file not recognized: Это каталог
collect2: ld returned 1 exit status
make[2]: *** [obexfs] Ошибка 1
make[2]: Leaving directory `/home/ig/Новая папка/obexfs-0.8/fuse'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/ig/Новая папка/obexfs-0.8'
make: *** [all] Ошибка 2
Спасибо сказали: