GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Обмен опытом по установке Линукс на разные аппаратные конфигурации

Модераторы: Olej, vikos

burdasov
Активист
Сообщения: 17
Зарегистрирован: 04 сен 2014, 17:56
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение burdasov » 05 сен 2014, 18:33

Уважаемые Гуру, прошу прощения, что может быть не совсем в тему вопрос.
Пытаюсь для тестирования BU-353 установить TangoGPS, но возникла проблемка и я-неопытный НЕ ЗНАЮ КАК её решить.
При выполнении ./config - возникает ошибка:
checking for PACKAGE... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.

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

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details.
А вот как установить environment variables PACKAGE_CFLAGS and PACKAGE_LIBS Я НИКАК НЕ МОГУ ПОНЯТЬ (ЗАХОДИЛ НА Всякие сайты, там поясняется, как изменять строки в файлах конфигурации).
Но убунту 14.04 не позволяет права ROOT и не даёт заходить в системные каталоги.
Пожалуйста - дайте тупому доходчивую и простую инструкцию как установить рекомендуемые переменные окружения!

С уважением и великой надеждой. М.Бурдасов.
Ноутбук, LXDE (Lubuntu), Ubuntu 14.04.1 LTS

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 05 сен 2014, 19:26

burdasov писал(а):Но убунту 14.04 не позволяет права ROOT и не даёт заходить в системные каталоги.
Пожалуйста - дайте тупому доходчивую и простую инструкцию как установить рекомендуемые переменные окружения!
Это убунтовские задрочки... ;-)

Обходится легко:

1.

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

$ sudo mc
# whoami
root
2.

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

$ sudo -i
# whoami
root
Вот вы и root :-o

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 05 сен 2014, 19:34

burdasov писал(а): Пытаюсь для тестирования BU-353 установить TangoGPS, но возникла проблемка и я-неопытный НЕ ЗНАЮ КАК её решить.
При выполнении ./config - возникает ошибка:
checking for PACKAGE... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
Это где-то у них (TangoGPS) там в ./configure

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

$ gcc gtk.c -o gtk `pkg-config --cflags --libs gtk+-2.0`
...
Вообще то, pkg-config только подставляет параметры для компилятора gcc - это можно и вручную обойти.
Найдите эту строку (или несколько) в ./configure и покажите сюда:

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

$ cat ./configure | grep pkg-config
Начните с того, что проверьте что у вас там в системе с программой pkg-config:

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

[Olej@modules GO]$ which pkg-config
/usr/bin/pkg-config
[Olej@modules GO]$ pkg-config --version
0.28
Может нужно установить пакет из репозитария? ... и найти какому пакету принадлежит pkg-config

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 05 сен 2014, 19:38

burdasov писал(а): Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS
to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details.
А вот как установить environment variables PACKAGE_CFLAGS and PACKAGE_LIBS Я НИКАК НЕ МОГУ ПОНЯТЬ (ЗАХОДИЛ НА Всякие сайты, там поясняется, как изменять строки в файлах конфигурации).
Но убунту 14.04 не позволяет права ROOT и не даёт заходить в системные каталоги.
Пожалуйста - дайте тупому доходчивую и простую инструкцию как установить рекомендуемые переменные окружения!
Установить переменную окружения просто (нужно только знать значение которое ей установить!)
Типа:

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

$ PACKAGE_CFLAGS=-O3
$ export PACKAGE_CFLAGS
$ echo $PACKAGE_CFLAGS
Или так:

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

$ PACKAGE_CFLAGS=-O3; export PACKAGE_CFLAGS
$ echo $PACKAGE_CFLAGS
(последняя строка echo - это проверка что у вас всё установилось).

P.S. Почитайте вот это на досуге: http://mylinuxprog.blogspot.com/2014/05/linux.html - там есть ответы на большинство ваших вопросов.

burdasov
Активист
Сообщения: 17
Зарегистрирован: 04 сен 2014, 17:56
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение burdasov » 09 сен 2014, 11:07

Бьюсь неcколько дней и с установкой GPS-USB-Resiver BU-353
Попробовал сделать всё что раньше мне рекомендовали под Root:
_______________________________________________________________
Re: BU-353 with Linux OS
« Reply #3 on: October 02, 2011, 12:18:14 pm »
I'm resurrecting this thread because I came across this same issue recently and thought that I would post the solution.

The first thing to note is that gpsd will try and configure whatever gps receiver you plug in to optimize its performance. In the case of the BU-353, it will automatically flip the receiver from NMEA to SIRF III binary. So, assuming that you want to read NMEA from the serial port, and that you have gpsd running, then the following steps are necessary:

1. Stop the current gpsd process: killall gpsd
2. Plug in the BU-353
3. Figure out where the gps was loaded: tail dmesg | grep ttyUSB (this will spit out something like /dev/ttyUSB0...note the location).
4. Switch the receiver from binary to nmea (using the result from step 3): gpsctl -f -n /dev/ttyUSB0.
5. Configure the serial port (using the result from step 3): stty -F /dev/ttyUSB0 ispeed 4800 (8n1 should be configured by default).

Now, if you listen to the port (echo /dev/ttyUSB0), then you should see the NMEA ASCII messages.

If you want to use gpsd, but you want to keep the device configured to output NMEA, then you have to run gpsd in read only mode. For example, gpsd -b /dev/ttyUSB0.

Hope this helps someone,
-------------------------------------------------------------------------------------------------------------

Вот что получилось:

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

mikle@mikle-laptop:~$ sudo -i
[sudo] password for mikle: 
root@mikle-laptop:~# ls /dev/ttyUSB*
/dev/ttyUSB0

root@mikle-laptop:~#  lsusb
Bus 002 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 002: ID 8087:0024 Intel C2o"rp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 017: ID 13d3:3362 IMC Networks 
Bus 001 Device 015: ID 090c:1740 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@mikle-laptop:~# dmesg | tail -n 5
[14891.004301] type=1400 audit(1410239931.410:49): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=17537 comm="apparmor_parser"
[14891.004312] type=1400 audit(1410239931.410:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17537 comm="apparmor_parser"
[14891.005360] type=1400 audit(1410239931.410:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17537 comm="apparmor_parser"
[15285.378904] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[17419.050930] usb 1-1.1: USB disconnect, device number 14

root@mikle-laptop:~# killall gpsd

root@mikle-laptop:~# dmesg | tail -n 5
[18516.010368] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18516.010374] usb 2-1.1: Product: USB-Serial Controller
[18516.010379] usb 2-1.1: Manufacturer: Prolific Technology Inc.
[18516.010958] pl2303 2-1.1:1.0: pl2303 converter detected
[18516.014394] usb 2-1.1: pl2303 converter now attached to ttyUSB0

root@mikle-laptop:~# tail dmesg | grep ttyUSB
tail: невозможно открыть «dmesg» для чтения: Нет такого файла или каталога

root@mikle-laptop:~# gpsctl -f -n /dev/ttyUSB0
gpsctl:SHOUT: vendor/product match with 091e:0003 not foundим образом - как я по
gpsctl:ERROR: packet recognition timed out.

root@mikle-laptop:~# stty -F /dev/ttyUSB0 ispeed 4800
stty: /dev/ttyUSB0: невозможно произвести все запрошенные действия

root@mikle-laptop:~# dmesg | grep ttyS[/spoiler]

[color=#FF0000][b]Таким образом - как я понял - устройство определяется, но почему-то не настраивается и не работает.
[/b]
[/color]
- В tangogps - не определяется датчик
- В 2GIS (ДубльГИС), запущенной под WINE - тоже не видит (ни каких COM-портов не создаётся, навигация не работает ), причём я  под WINE установил WIN-дравер и тестовые прграмго мы для проверки девайса и его настройки (ничего не работает).

Что дальше делать не знаю.
подскажите - увжаемые Гуру.... кто сможет.

С уважением. М.Бурдасов.
Ноутбук, LXDE (Lubuntu), Ubuntu 14.04.1 LTS

burdasov
Активист
Сообщения: 17
Зарегистрирован: 04 сен 2014, 17:56
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение burdasov » 09 сен 2014, 11:17

Несколько дней бьюсь с установкой tangogps.
Установил, по рекомендациям пакет - tangogps_0.99.3+debian-2_i386.deb - установился, но работает крайне нестабильно - подвисает после запуска, датчик Gps-resiverUSB не видит, USB-modem - не видит.
Короче удалил этот пакет и вновь вернулся к установке последней версии с сайта tangogps.
И вот НИКАК НЕ МОГУ ЕГО УСТАНОВИТЬ, к сожалению.

Вот все мои результаты:

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

mikle@mikle-laptop:~$ sudo -i
[sudo] password for mikle: 
root@mikle-laptop:~# cd /home/mikle/TANGOGPS/tangogps-0.9.6.3
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make
make  all-recursive
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3'
Making all in po
make[2]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making all in src
make[2]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
	then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
 compilation terminated.
make[2]: *** [support.o] Ошибка 1
make[2]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3'
make: *** [all] Ошибка 2

***********************************************************************************************************

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make install
Making install in po
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
if test -r ".././mkinstalldirs"; then \
	  .././mkinstalldirs /usr/local/share; \
	else \
	  /bin/sh ../mkinstalldirs /usr/local/share; \
	fi
mkdir -p -- /usr/local/share/locale/bg/LC_MESSAGES
installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/tangogps.mo
mkdir -p -- /usr/local/share/locale/cs/LC_MESSAGES
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/tangogps.mo
mkdir -p -- /usr/local/share/locale/de/LC_MESSAGES
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/tangogps.mo
mkdir -p -- /usr/local/share/locale/fi/LC_MESSAGES
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/tangogps.mo
mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/tangogps.mo
mkdir -p -- /usr/local/share/locale/ru/LC_MESSAGES
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/tangogps.mo
if test "tangogps" = "glib"; then \
	  if test -r ".././mkinstalldirs"; then \
	    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  else \
	    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  fi; \
	  /usr/bin/install -c -m 644 ./Makefile.in.in \
			  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
	else \
	  : ; \
	fi
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making install in src
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
	then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
                     ^
compilation terminated.
make[1]: *** [support.o] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make: *** [install-recursive] Ошибка 1

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 gdk-2.0 gconf-2.0) were not met:

No package 'gtk+-2.0' found
No package 'gdk-2.0' found
No package 'gconf-2.0' 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 PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

(ВНИМАНИЕ!  При предыдуших моих попытках установки,я, получая сообщение об отсутствии вышеуказанных пакетов скачал их с сайта пакетов Ubuntu (все пакеты для 14.04, где упоминаются вышеназванные) - однако всё равно в итоге сообщение "No package 'gtk+-2.0' found ...... и т.д.")
******************************************************************************************************************************
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3#  cat ./configure | grep pkg-config
  PKG_CONFIG  path to pkg-config utility
              C compiler flags for PACKAGE, overriding pkg-config
              linker flags for PACKAGE, overriding pkg-config
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  # Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
path to pkg-config.
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
path to pkg-config.
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
*************************************************************************************************************

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# PACKAGE_CFLAGS=-O3; export PACKAGE_CFLAGS
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# PACKAGE_LIBS=-O3; export PACKAGE_LIBS
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating pixmaps/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make
make  all-recursive
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3'
Making all in po
make[2]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making all in src
make[2]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3   -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
	then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
                     ^
compilation terminated.
make[2]: *** [support.o] Ошибка 1
make[2]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3'
make: *** [all] Ошибка 2
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# install
install: пропущен операнд, задающий файл
По команде «install --help» можно получить дополнительную информацию.
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make install
Making install in po
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
if test -r ".././mkinstalldirs"; then \
	  .././mkinstalldirs /usr/local/share; \
	else \
	  /bin/sh ../mkinstalldirs /usr/local/share; \
	fi
if test "tangogps" = "glib"; then \
	  if test -r ".././mkinstalldirs"; then \
	    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  else \
	    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  fi; \
	  /usr/bin/install -c -m 644 ./Makefile.in.in \
			  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
	else \
	  : ; \
	fi
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making install in src
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3   -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
	then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
                     ^
compilation terminated.
make[1]: *** [support.o] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make: *** [install-recursive] Ошибка 1

*****************************************************************************************

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:24: warning: macro 'AM_PROG_LIBTOOL' not found in library
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# automake --gnu --add-missing --copy --foreign
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:7: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:11: installing './compile'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# autoconf -f -Wall
configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
aclocal.m4:1034: AM_INIT_AUTOMAKE is expanded from...
configure.in:7: the top level
configure.in:8: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:8: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:1376: AM_CONFIG_HEADER is expanded from...
configure.in:8: the top level
configure.in:11: warning: The macro `AC_ISC_POSIX' is obsolete.
configure.in:11: You should run autoupdate.
../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
configure.in:11: the top level
configure.in:13: warning: 'AM_PROG_CC_STDC': this macro is obsolete.
configure.in:13: You should simply use the 'AC_PROG_CC' macro instead.
configure.in:13: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
configure.in:13: but upon 'ac_cv_prog_cc_stdc'.
aclocal.m4:1382: AM_PROG_CC_STDC is expanded from...
configure.in:13: the top level
configure.in:22: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:22: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
aclocal.m4:70: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:437: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:22: the top level
configure.in:22: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:22: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
aclocal.m4:124: GLIB_WITH_NLS is expanded from...
aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:437: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:22: the top level
configure.in:22: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:22: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
aclocal.m4:124: GLIB_WITH_NLS is expanded from...
aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:437: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:22: the top level
configure.in:22: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.in:22: You should run autoupdate.
../../lib/autoconf/status.m4:1026: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:124: GLIB_WITH_NLS is expanded from...
aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:437: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:22: the top level
configure.in:94: warning: AC_OUTPUT should be used without arguments.
configure.in:94: You should run autoupdate.
configure.in:24: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# autoupdate
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make install
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure  PACKAGE_CFLAGS=-O3 PACKAGE_LIBS=-O3  --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/mikle/TANGOGPS/tangogps-0.9.6.3/missing: Unknown `--is-lightweight' option
Try `/home/mikle/TANGOGPS/tangogps-0.9.6.3/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
./configure: line 6487: AM_PROG_LIBTOOL: command not found
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating pixmaps/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
Making install in po
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
if test -r ".././mkinstalldirs"; then \
	  .././mkinstalldirs /usr/local/share; \
	else \
	  /bin/sh ../mkinstalldirs /usr/local/share; \
	fi
if test "tangogps" = "glib"; then \
	  if test -r ".././mkinstalldirs"; then \
	    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  else \
	    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  fi; \
	  /usr/bin/install -c -m 644 ./Makefile.in.in \
			  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
	else \
	  : ; \
	fi
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making install in src
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -O3   -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
                     ^
compilation terminated.
make[1]: *** [support.o] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make: *** [install-recursive] Ошибка 1
root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# pkg-config --libs --cflags gtk+
Package gtk+ was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+' found

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# apt-get install libgtk-3-dev
Чтение списков пакетов… Готово и т.д - всё установилось

root@mikle-laptop:/home/mikle/TANGOGPS/tangogps-0.9.6.3# make install
Making install in po
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
if test -r ".././mkinstalldirs"; then \
	  .././mkinstalldirs /usr/local/share; \
	else \
	  /bin/sh ../mkinstalldirs /usr/local/share; \
	fi
if test "tangogps" = "glib"; then \
	  if test -r ".././mkinstalldirs"; then \
	    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  else \
	    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
	  fi; \
	  /usr/bin/install -c -m 644 ./Makefile.in.in \
			  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
	else \
	  : ; \
	fi
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/po'
Making install in src
make[1]: Вход в каталог `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -O3   -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
support.c:13:21: fatal error: gtk/gtk.h: Нет такого файла или каталога
 #include <gtk/gtk.h>
                     ^
compilation terminated.
make[1]: *** [support.o] Ошибка 1
make[1]: Выход из каталога `/home/mikle/TANGOGPS/tangogps-0.9.6.3/src'
make: *** [install-recursive] Ошибка 1
Что дальше делать не знаю.
подскажите - увжаемые специалисты.... кто сможет.


С уважением. М.Бурдасов.
Ноутбук, LXDE (Lubuntu), Ubuntu 14.04.1 LTS

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 10 сен 2014, 12:10

burdasov писал(а):Несколько дней бьюсь с установкой tangogps.
Установил, по рекомендациям пакет - tangogps_0.99.3+debian-2_i386.deb - установился, но работает крайне нестабильно - подвисает после запуска, датчик Gps-resiverUSB не видит, USB-modem - не видит.
Короче удалил этот пакет и вновь вернулся к установке последней версии с сайта tangogps.
И вот НИКАК НЕ МОГУ ЕГО УСТАНОВИТЬ, к сожалению.

...
Что дальше делать не знаю.
подскажите - увжаемые специалисты.... кто сможет.

1. Я совершенно не уверен, что у вас так нестабильно работает tangogps_0.99.3+debian-2_i386.deb, возможно всё дело в его конфигурировании и настройке (например в скорости порта, как вам подсказывали в предыдущем вашем посте, в цитате ... это всё с /dev/ttyUSB0 нужно проделать).
Кстати, у вас система (Lubuntu) установлена 64-бит или 32-бит? Это важно, если вы устанавливаете 32-бит (...i386) пакет
Поищите другой репозитарий и другой установочный пакет.
Установка из пакета всегда будет лучше, чем из исходников.

А если вы уже решили собирать из исходников...

1. начинаете всегда и каждый раз с

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

$ ./configure
2. ./configure вам говорит:

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

No package 'gtk+-2.0' found
No package 'gdk-2.0' found
No package 'gconf-2.0' found
У вас явно не хватает 3-х пакетов. Ищите и устанавливайте их в пакетной системе с помощью команд apt-files ... , apt-get ..., aptitude search ... и т.д.
При находке и установке одного из пакетов - у вас могут появиться новые не установленные пакеты по зависимостям ... пока не поставите все, пока не получите выполнение ./configure - не уходите с п.2, с ./configure.

3. выполнение ./configure и make - не требует вовсе прав root, делаете их при обычной регистрации.

4. точно так же, как с ./configure - с шага make не уходите, пока в конце выполнения не будет сообщений об ошибке.

5. make install - требует root прав, но это вы можете делать: sudo make install ...

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 10 сен 2014, 12:12

burdasov писал(а): Короче удалил этот пакет и вновь вернулся к установке последней версии с сайта tangogps.
Показывайте ссылку сайта - посмотрю что вы там берёте.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 10 сен 2014, 18:20

burdasov писал(а): - В tangogps - не определяется датчик
- В 2GIS (ДубльГИС), запущенной под WINE - тоже не видит (ни каких COM-портов не создаётся, навигация не работает ), причём я под WINE установил WIN-дравер и тестовые прграмго мы для проверки девайса и его настройки (ничего не работает).
WINE - это вообще говно :oops: - это ущербный эмулятор Windows DLL, главным образом для Win-игрушек - забудьте про него (и сэкономите себе пару лет жизни).
Если уж хотите пробовать Windows исполнение (кстати, с вполне таки ничего доступом к USB), то устанавливайте VirtualBox и под ним ставьте своё XP и можно экспериментировать.

P.S. Я абсолютно таким способом подымал USB 4G модем WiMAX от FreeTel, которому аналога драйвера под Linux заведомо нет ... вот, кстати, и картинки о том осталась:

- это настройка USB под VirtualBox:
Изображение

- а это уже работающий модем (там в заголовке окна отчётливо видно, что Windows XP работает в окне VirtualBox):
Изображение

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: GPS USB-RESIVER BU-353 Не могу найти драйвер (Lubuntu 14.04)

Непрочитанное сообщение Olej » 10 сен 2014, 19:04

burdasov писал(а):

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

Bus 002 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
...

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

root@mikle-laptop:~# gpsctl -f -n /dev/ttyUSB0
gpsctl:SHOUT: vendor/product match with 091e:0003 not found
gpsctl:ERROR: packet recognition timed out.
Странно, как это у вас устройство 067b:2303 превратилось в 091e:0003? :-o
burdasov писал(а):

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

root@mikle-laptop:~# stty -F /dev/ttyUSB0 ispeed 4800
stty: /dev/ttyUSB0: невозможно произвести все запрошенные действия
Вы начните с того, что вообще ваше устройство /dev/ttyUSB0 воспринимается ли как последовательное устройство:

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

# stty -F /dev/ttyUSB0
Или:

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

# stty < /dev/ttyUSB0
Вот для реально существующих последовательных портов будет говорить:

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

# stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
А для несуществующих:

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

# stty -F /dev/ttyS1
stty: /dev/ttyS1: Ошибка ввода/вывода
(это, кстати, я для вас специально в Ubuntu 10.04 проделал на реальном железе).

Ещё для контроля своего порта можете использовать утилиту setserial, возможно вам придётся её доустановить:

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

root@atom:/home/olga/MY_devices# apt-get install setserial
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
НОВЫЕ пакеты, которые будут установлены:
  setserial
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 176 пакетов не обновлено.
Необходимо скачать 52,4kБ архивов.
После данной операции, объём занятого дискового пространства возрастёт на 180kB.
Получено:1 http://ua.archive.ubuntu.com/ubuntu/ lucid/main setserial 2.17-45.2 [52,4kB]
Получено 52,4kБ за 0с (63,6kБ/c)
Предварительная настройка пакетов ...
dpkg: предупреждение: устаревший параметр `--print-installation-architecture', вместо него используйте '--print-architecture'.
Выбор ранее не выбранного пакета setserial.
(Чтение базы данных ... на данный момент установлено 336333 файлов и каталогов.)
Распаковывается пакет setserial (из файла .../setserial_2.17-45.2_i386.deb)...
Обрабатываются триггеры для ureadahead ...
ureadahead will be reprofiled on next reboot
Обрабатываются триггеры для man-db ...
Настраивается пакет setserial (2.17-45.2) ...
dpkg: предупреждение: устаревший параметр `--print-installation-architecture', вместо него используйте '--print-architecture'.
removing the old setserial entry in the rcn.d directories
Update complete.
dpkg: предупреждение: устаревший параметр `--print-installation-architecture', вместо него используйте '--print-architecture'.
dpkg: предупреждение: устаревший параметр `--print-installation-architecture', вместо него используйте '--print-architecture'.
Saving state of known serial devices... backing up /var/lib/setserial/autoserial.conf done.
Для существующих портов:

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

root@atom:/home/olga/MY_devices# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
Для несуществующих (!):

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

root@atom:/home/olga/MY_devices# setserial /dev/ttyS1
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3

Ответить

Вернуться в «Железо для Linux»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 2 гостя