allexpert / wmr

Automatically exported from code.google.com/p/wmr
0 stars 0 forks source link

installer for raspberry pi #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
could you please pre-compile deb package for raspberry pi?

Original issue reported on code.google.com by ro...@pointa.org on 16 Aug 2014 at 7:25

GoogleCodeExporter commented 8 years ago
root@oscam-pi:/home/pi/wmr-read-only# ./configure                               
Oregon Scientific WMR100/200/WMRS200/I300/I600/RMS600 USB protocol logger.
Latest download URL: http://www.nkl.ru/support/wmr/
Global download URL: http://code.google.com/p/wmr/

Configure headers and lib for compiling wmr-oregon for you platform ...

------------------------------------
- Find library dependes: libusb
./configure: 42: [: 0: unexpected operator
find: `/usr/local/lib/_include_': No such file or directory
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 1: unexpected operator
./configure: 71: [: unexpected operator
./configure: 81: [: usb: unexpected operator
./configure: 87: [: 0: unexpected operator
find: `/usr/local/lib/_compile_': No such file or directory
./configure: 108: [: 0: unexpected operator
./configure: 81: [: usb: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 0: unexpected operator
./configure: 81: [: usb: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 0: unexpected operator
./configure: 114: [: 0: unexpected operator

------------------------------------
- Find library dependes: libhid
./configure: 42: [: 0: unexpected operator
find: `/usr/local/lib/_include_': No such file or directory
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 1: unexpected operator
./configure: 71: [: unexpected operator
./configure: 81: [: hid: unexpected operator
./configure: 87: [: 0: unexpected operator
find: `/usr/local/lib/_compile_': No such file or directory
./configure: 108: [: 0: unexpected operator
./configure: 81: [: hid: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 0: unexpected operator
./configure: 81: [: hid: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 0: unexpected operator
./configure: 114: [: 0: unexpected operator

------------------------------------
- Find library dependes: libsqlite3
./configure: 42: [: 0: unexpected operator
find: `/usr/local/lib/_include_': No such file or directory
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 0: unexpected operator
./configure: 42: [: 0: unexpected operator
./configure: 66: [: 1: unexpected operator
./configure: 71: [: unexpected operator
./configure: 81: [: sqlite3: unexpected operator
./configure: 87: [: 0: unexpected operator
find: `/usr/local/lib/_compile_': No such file or directory
./configure: 108: [: 0: unexpected operator
./configure: 81: [: sqlite3: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 0: unexpected operator
./configure: 81: [: sqlite3: unexpected operator
./configure: 87: [: 0: unexpected operator
./configure: 108: [: 1: unexpected operator
./configure: 114: [: 1: unexpected operator
./configure: 125: [: extern int errno;: unexpected operator
Write Makefile.inc ...

Configuration ok, write config file: Makefile.inc and config.h
Edit manualy its needed ...

Select you code page and press :
1 - English language
2 - Russian language codepage CP866
3 - Russian language codepage CP1251
4 - Russian language codepage KOI8-R
5 - Russian language codepage UTF-8
0 - No selected

1
./configure: 159: [: 1: unexpected operator
./configure: 161: [: 1: unexpected operator
./configure: 163: [: 1: unexpected operator
./configure: 165: [: 1: unexpected operator
./configure: 167: [: 1: unexpected operator
./configure: 169: [: 1: unexpected operator
read file INSTALL please ...

Enable full debug version compile?

Select and press :
1 - Disable full debug version
2 - Enable full debug version
0 - No selected

1
./configure: 189: [: 1: unexpected operator
./configure: 191: [: 1: unexpected operator
./configure: 193: [: 1: unexpected operator
Write Makefile.inc ...

Press :
1 - Run to compile singele file wmrd: make single
2 - Run to compile shared library support: make all
0 - Exit from configure

2
./configure: 213: [: 2: unexpected operator
./configure: 215: [: 2: unexpected operator
./configure: 217: [: 2: unexpected operator
read file INSTALL please ...
exit.
root@oscam-pi:/home/pi/wmr-read-only#

Original comment by ro...@pointa.org on 16 Aug 2014 at 7:54

GoogleCodeExporter commented 8 years ago
no support for ARM!!! please add.

Original comment by ro...@pointa.org on 16 Aug 2014 at 9:36

GoogleCodeExporter commented 8 years ago
Try WMR100 package.
https://github.com/barnybug/wmr100

Original comment by mac...@brynski.pl on 22 Aug 2014 at 8:11

GoogleCodeExporter commented 8 years ago
thanks, there another issue looks like USB LW301 device is not recognized 
properly..
some usb issue... :(

Original comment by ro...@pointa.org on 22 Aug 2014 at 8:18

GoogleCodeExporter commented 8 years ago
This does not seem to work with the Raspberry Pi - or - the LW301 station. I 
will raise a separate issue for tyhe LW301, hopefully it will be answered.

Original comment by keir.way...@gmail.com on 2 Nov 2014 at 3:06

GoogleCodeExporter commented 8 years ago
the syntax errors in the configure script is because the default /bin/sh on 
rasbian is dash, which is not compatible. Use "bash ./configure" to overcome 
that problem.
I compiled and installed the wmr tool after a bit of a struggle.

I have currently given up because the LW301 usb device does not seem to be 
compatible, it just keeps finding new USB devices when plugged in but never 
completing the initialisation:

Jan  3 18:49:32 raspberrypi kernel: [ 1652.724989] usb 1-1.2: new low-speed USB 
device number 43 using dwc_otg
Jan  3 18:49:32 raspberrypi kernel: [ 1653.205014] usb 1-1.2: new low-speed USB 
device number 44 using dwc_otg
Jan  3 18:49:33 raspberrypi kernel: [ 1653.695041] usb 1-1.2: new low-speed USB 
device number 45 using dwc_otg
Jan  3 18:49:34 raspberrypi kernel: [ 1654.385052] usb 1-1.2: new low-speed USB 
device number 47 using dwc_otg
Jan  3 18:49:34 raspberrypi kernel: [ 1654.875067] usb 1-1.2: new low-speed USB 
device number 48 using dwc_otg
Jan  3 18:49:35 raspberrypi kernel: [ 1655.365070] usb 1-1.2: new low-speed USB 
device number 49 using dwc_otg
Jan  3 18:49:35 raspberrypi kernel: [ 1656.055115] usb 1-1.2: new low-speed USB 
device number 51 using dwc_otg
Jan  3 18:49:36 raspberrypi kernel: [ 1656.545106] usb 1-1.2: new low-speed USB 
device number 52 using dwc_otg

Original comment by grim...@gmail.com on 3 Jan 2015 at 9:20