• 11.05.2026, 22:46
  • Register
  • Login
  • You are not logged in.

 

Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

lord_fritte

Full Member

Linux: aeinfo lässt sich nicht installieren

Saturday, November 11th 2006, 3:36pm

Hallo ich habe Kanotix 32-Bit mit einem 2.6.18 kernel wenn ich versuche aeinfo 2.2 zu installiere mkommt dies:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
tobias@tobias-kanotix32:~$ cd aeinfo-2.2-src
tobias@tobias-kanotix32:~/aeinfo-2.2-src$ make
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 2/" -e "s/fan.1/fan.2/g" > htdocs/fan.2.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 3/" -e "s/fan.1/fan.3/g" > htdocs/fan.3.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 4/" -e "s/fan.1/fan.4/g" > htdocs/fan.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 2/" -e "s/sensor.1/sensor.2/g" > htdocs/sensor.2.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 3/" -e "s/sensor.1/sensor.3/g" > htdocs/sensor.3.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 4/" -e "s/sensor.1/sensor.4/g" > htdocs/sensor.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 5/" -e "s/sensor.1/sensor.5/g" > htdocs/sensor.5.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 6/" -e "s/sensor.1/sensor.6/g" > htdocs/sensor.6.htm
g++ -Wno-deprecated -DUSE_COLORS -Wall -lusb global.cpp -o aeinfo
In file included from comm.h:24,
                 from global.cpp:60:
usbio.h:33:18: error: usb.h: Datei oder Verzeichnis nicht gefunden
definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’:
definePropMap.h:165: warning: large integer implicitly truncated to unsigned type
definePropMap.h:166: warning: large integer implicitly truncated to unsigned type
definePropMap.h:167: warning: large integer implicitly truncated to unsigned type
definePropMap.h:168: warning: large integer implicitly truncated to unsigned type
definePropMap.h:169: warning: large integer implicitly truncated to unsigned type
definePropMap.h:170: warning: large integer implicitly truncated to unsigned type
comm.h: At global scope:
comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor
usbio.h:128: error: ISO C++ forbids declaration of ‘usb_dev_handle’ with no type
usbio.h:128: error: expected ‘;’ before ‘*’ token
usbio.h:249: error: ‘usb_dev_handle’ has not been declared
usbio.h:433: error: ISO C++ forbids declaration of ‘usb_dev_handle’ with no type
usbio.h:433: error: expected ‘;’ before ‘*’ token
usbio.h:549: error: expected `;' before ‘string’
usbio.h: In member function ‘void USBCommunication::close_device()’:
usbio.h:181: error: ‘open_handle’ was not declared in this scope
usbio.h:181: error: ‘usb_close’ was not declared in this scope
usbio.h: In member function ‘usb_device* USBCommunication::init_device()’:
usbio.h:272: error: ‘usb_init’ was not declared in this scope
usbio.h:273: error: ‘usb_find_busses’ was not declared in this scope
usbio.h:274: error: ‘usb_find_devices’ was not declared in this scope
usbio.h:276: error: ‘usb_get_busses’ was not declared in this scope
usbio.h:276: error: invalid use of undefined type ‘struct usb_bus’
usbio.h:269: error: forward declaration of ‘struct usb_bus’
usbio.h:278: error: invalid use of undefined type ‘struct usb_bus’
usbio.h:269: error: forward declaration of ‘struct usb_bus’
usbio.h:278: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h:280: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h:281: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h: In member function ‘std::string USBCommunication::readAEString()’:
usbio.h:551: error: ‘usb_dev_handle’ was not declared in this scope
usbio.h:551: error: ‘aq’ was not declared in this scope
usbio.h:551: error: ‘get_aquaero_handle’ was not declared in this scope
usbio.h:562: error: ‘usb_interrupt_read’ was not declared in this scope
usbio.h:598: error: ‘usb_close’ was not declared in this scope
usbio.h: In member function ‘void USBCommunication::writeAEString(std::string)’:
usbio.h:621: error: ‘usb_dev_handle’ was not declared in this scope
usbio.h:621: error: ‘aq’ was not declared in this scope
usbio.h:621: error: ‘get_aquaero_handle’ was not declared in this scope
usbio.h:640: error: ‘usb_control_msg’ was not declared in this scope
usbio.h:696: error: ‘usb_close’ was not declared in this scope
ipc.h: At global scope:
ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor
global.cpp: In function ‘int main(int, char**)’:
global.cpp:380: warning: unused variable ‘ret’
make: *** [all] Fehler 1

hurra

God

Re: Linux: aeinfo lässt sich nicht installieren

Saturday, November 11th 2006, 7:25pm

Du brauchst wohl installierte Kernelquellen. Eventuell tuts auch mit linux-headers.

composer

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Sunday, November 12th 2006, 3:45pm

Quoted

Source code

1
usbio.h:33:18: error: usb.h: Datei oder Verzeichnis nicht gefunden
Auf Deinem System ist die libusb nicht installiert. Für die Kompilierung wird unter Umständen auch ein libusb-devel-Paket benötigt...
Wenn ich irgendwann mal etwas mehr Zeit habe werd ich das Paket auf autoconf/automake umstellen ;-)
Ach ja - und vermutlich wird es kommende Woche aeinfo-2.3 mit kleinen Fixes geben (vor allem wird ein Webserver-Problem mit Linux-2.6 behoben)

lord_fritte

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Thursday, November 16th 2006, 11:50pm

was ich toll fände, ist eine kleine Deutsche Anleitung ^^ xD

composer

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Saturday, November 18th 2006, 1:15pm

Quoted from "lord_fritte"

was ich toll fände, ist eine kleine Deutsche Anleitung ^^ xD
Ist doch dabei ;-) siehe README

lord_fritte

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Saturday, November 18th 2006, 8:02pm

Ich hab libusb-dev jetzt installiert, es lässt sich aber trozdem nicht installieren:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
root@tobias-kanotix-vmware:/home/tobias/Desktop/aeinfo-2.2-src# make
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 2/" -e "s/fan.1/fan.2/g" > htdocs/fan.2.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 3/" -e "s/fan.1/fan.3/g" > htdocs/fan.3.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 4/" -e "s/fan.1/fan.4/g" > htdocs/fan.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 2/" -e "s/sensor.1/sensor.2/g" > htdocs/sensor.2.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 3/" -e "s/sensor.1/sensor.3/g" > htdocs/sensor.3.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 4/" -e "s/sensor.1/sensor.4/g" > htdocs/sensor.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 5/" -e "s/sensor.1/sensor.5/g" > htdocs/sensor.5.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 6/" -e "s/sensor.1/sensor.6/g" > htdocs/sensor.6.htm
g++ -Wno-deprecated -DUSE_COLORS -Wall -lusb global.cpp -o aeinfo
definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’:
definePropMap.h:165: warning: large integer implicitly truncated to unsigned type
definePropMap.h:166: warning: large integer implicitly truncated to unsigned type
definePropMap.h:167: warning: large integer implicitly truncated to unsigned type
definePropMap.h:168: warning: large integer implicitly truncated to unsigned type
definePropMap.h:169: warning: large integer implicitly truncated to unsigned type
definePropMap.h:170: warning: large integer implicitly truncated to unsigned type
comm.h: At global scope:
comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor
ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor
global.cpp: In function ‘int main(int, char**)’:
global.cpp:380: warning: unused variable ‘ret’
g++ -Wno-deprecated -Wall -lusb -lpthread aquaerod.cpp -o aquaerod
definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’:
definePropMap.h:165: warning: large integer implicitly truncated to unsigned type
definePropMap.h:166: warning: large integer implicitly truncated to unsigned type
definePropMap.h:167: warning: large integer implicitly truncated to unsigned type
definePropMap.h:168: warning: large integer implicitly truncated to unsigned type
definePropMap.h:169: warning: large integer implicitly truncated to unsigned type
definePropMap.h:170: warning: large integer implicitly truncated to unsigned type
comm.h: At global scope:
comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor
ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor
aehttpd.cpp: In member function ‘std::string ScriptParser::executeScript(std::string, std::string)’:
aehttpd.cpp:713: warning: comparison between signed and unsigned integer expressions
aehttpd.cpp:747: warning: comparison between signed and unsigned integer expressions
aehttpd.cpp:813: warning: comparison between signed and unsigned integer expressions
aehttpd.cpp: In member function ‘bool HttpResponse::checkURI(std::string)’:
aehttpd.cpp:1248: warning: comparison between signed and unsigned integer expressions
lex.yy.c: At global scope:
lex.yy.c:1008: warning: ‘void yyunput(int, char*)’ defined but not used


Ich glaube ich warte einfach auf eine spätere Version

hurra

God

Re: Linux: aeinfo lässt sich nicht installieren

Saturday, November 18th 2006, 9:19pm

Das sind doch jetzt nur warnings, sollte also schon geklappt haben.

lord_fritte

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Sunday, November 19th 2006, 8:23pm

und wie kann ich das testen? muss nun im Ordner ein *.deb packet vorliegen?

hurra

God

Re: Linux: aeinfo lässt sich nicht installieren

Sunday, November 19th 2006, 10:14pm

Nein.

Normalerweise liegt eine executable vor.

Mit `make install` als root kannst du das Programm systemweit installieren.

composer

Full Member

Re: Linux: aeinfo lässt sich nicht installieren

Tuesday, November 21st 2006, 12:19pm

Ja das sind wohl nur Warnings (vielleicht sollte ich mal den -Wall-Schalter entfernen)...
Wenn Du bereits "make install" eingegeben hast, kannst Du es durch die Eingabe von aeinfo ausprobieren.. Sehr ans Herz lege ich Dir auch das README ;-)