Openlitespeed 1.3.1 make error

P

pamamolf

Guest
#1
Hello

When i try manual to install Openlitespeed when i run make i got this:

../../src/http/iptogeo.h:24:19: error: GeoIP.h: No such file or directory
../../src/http/iptogeo.h:25:23: error: GeoIPCity.h: No such file or directory
In file included from clientinfo.cpp:19:
../../src/http/iptogeo.h:50: error: ISO C++ forbids declaration of ‘GeoIPRegion’ with no type
../../src/http/iptogeo.h:50: error: expected ‘;’ before ‘*’ token
../../src/http/iptogeo.h:51: error: ISO C++ forbids declaration of ‘GeoIPRecord’ with no type
../../src/http/iptogeo.h:51: error: expected ‘;’ before ‘*’ token
../../src/http/iptogeo.h:70: error: ‘in6_addr’ has not been declared
../../src/http/iptogeo.h:77: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../../src/http/iptogeo.h:77: error: expected ‘;’ before ‘*’ token
../../src/http/iptogeo.h:78: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../../src/http/iptogeo.h:78: error: expected ‘;’ before ‘*’ token
../../src/http/iptogeo.h:79: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../../src/http/iptogeo.h:79: error: expected ‘;’ before ‘*’ token
../../src/http/iptogeo.h:80: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../../src/http/iptogeo.h:80: error: expected ‘;’ before ‘*’ token
make[3]: *** [clientinfo.o] Error 1
make[3]: Leaving directory `/root/openlitespeed-master/src/http'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/openlitespeed-master/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/openlitespeed-master/src'
make: *** [all-recursive] Error 1


Any ideas?
 
P

pamamolf

Guest
#3
Ok i did and is working now but when i login to the admin panel i am getting one last warning:

[config:admin:listener:adminListener:ssl] SPDY can't be enabled [try to set to 3].

Any ideas how can i fix it?
 

lsmichael

Active Member
#9
Ah. Sorry about that. WebAdmin > Configuration > Listeners > your listener > SSL > Enable SPDY. You'll note in the tooltip that it says that the default is "Yes".

m
 
P

pamamolf

Guest
#10
I change it but is not gone and i did a gracefull restart.....

In my opinion is better if the panel displays the default value than the not set text .......


Ok i just found it under:
WebAdmin Listener » adminListener

Thanks
 

lsmichael

Active Member
#11
Silly me. The error does indicate that it was a WebAdmin listener: "[config:admin:listener:adminListener:ssl]"

Glad you were able to find it.

And we'll definitely take in to consideration whether we should display the default value.

Michael
 
Last edited:
P

pamamolf

Guest
#12
Default values and options must not be hidden so the user can see what options he has and don't have to always click the edit just to see the options....

Thank you :)
 
P

pamamolf

Guest
#13
Also in my opinion when a user create a vhost it must auto create the listener for it as i don't get how can i use it without a listener.....
 

lsmichael

Active Member
#14
You're absolutely right that you can't use a vhost without a listener. This is why the default vhost is configured to listen on any IP address for any domain. Whenever you create a vhost, it will be picked up by this listener, unless you configure another, more specific listener.
 
Top