You are not logged in.

#1 2016-02-12 06:33:03

kde35
Member
Registered: 2015-04-13
Posts: 71

[Solved] Davical: impossible to set up (Awl libraries not found).

Hi, I have been trying to set up davical and I keep getting error message

Could not find the AWL libraries. Are they installed? Check your include_path in php.ini!

However, in my /etc/php/php.ini, I have

include_path = ".:/php/includes:/usr/share/webapps/davical/inc:/usr/share/awl/inc"

I also put, just in case, in my /etc/httpd/conf/extra/httpd-vhosts.conf

<Virtualhost *:80>
Documentroot /usr/share/webapps/davical/htdocs
servername localhost
 Alias /images/ /usr/share/davical/htdocs/images/
  php_value include_path /usr/share/webapps/davical/inc:/usr/share/awl/inc
  php_value magic_quotes_gpc 0
  php_value register_globals 0
  php_value error_reporting "E_ALL & ~E_NOTICE"
  php_value default_charset "utf-8"

<Directory /usr/share/webapps/davical/htdocs>
Require all granted
</Directory>
</VirtualHost>

Any idea on what is going wrong?

Last edited by kde35 (2016-02-18 08:00:48)

Offline

#2 2016-02-12 21:52:30

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

I've just tried installing this using packages from the main repo and the AUR without making any config changes and had absolutely no problems at all.

awl from the AUR requires php, so I installed that from the main repo, then I built awl from the AUR using makepkg and then installed it.

davical from the AUR requires php-pgsql, perl-dbd-pg and perl-yaml, so I installed those from the main repo, then I built davical using makepkg and then installed it.

Offline

#3 2016-02-13 07:51:53

kde35
Member
Registered: 2015-04-13
Posts: 71

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

paulkerry wrote:

I've just tried installing this using packages from the main repo and the AUR without making any config changes and had absolutely no problems at all.

awl from the AUR requires php, so I installed that from the main repo, then I built awl from the AUR using makepkg and then installed it.

davical from the AUR requires php-pgsql, perl-dbd-pg and perl-yaml, so I installed those from the main repo, then I built davical using makepkg and then installed it.

Thank you for this post, I forgot to specify but I am also using davical and awl from AUR and the rest of the dependencies from the main repos. So what do you mean by "without making any config changes"?  Davical doesn't come with a standalone http server, and it doesn't put its files under default path for apache, so you have to tell apache where the davical's php files are, don't you?   Could you post the path to davical/htdocs (it is /usr/share/webapps/davical/htdocs for me) and the relevant part of httpd.conf or httpd-vhosts.conf concerning the virtual host
(or main server) serving davical files please?

Last edited by kde35 (2016-02-13 07:52:40)

Offline

#4 2016-02-13 18:18:39

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

My sincerest apologies - I thought you were having problems with the installation of davical rather than the configuration. Sorry about that.

Have you followed the setup info in /usr/share/doc/davical/README.archlinux and also copied /usr/share/doc/davical/httpd-davical.conf to /etc/httpd/conf/extra ?

Offline

#5 2016-02-14 09:52:48

kde35
Member
Registered: 2015-04-13
Posts: 71

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

Well, it looks like the configuration file in /usr/share/doc/davical/httpd-davical.conf is different from the one I saw in the page mentioned before.  So I removed the parts
concerning the vhost for davical from my vhosts.conf, I placed /usr/share/doc/davical/httpd-davical.conf in /etc/httpd/conf/extra, I added a line to include this in
/etc/httpd/conf/httpd.conf and I changed symlinks (now I have a symlink /srv/http/davical pointing to /usr/share/webapps/davical ).  Now, apache doesn't seem to find the
index.php, since when I try to open localhost in a browser, I get a blank page and in /var/log/httpd/httpd-davical-access_log 500 errors are recorded (and nothing in
/var/log/httpd/httpd-davical-error_log).

Offline

#6 2016-02-18 08:04:42

kde35
Member
Registered: 2015-04-13
Posts: 71

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

I got it, somehow /usr/share/webapps/davical/htdocs was not openbasedir path.  There remain some mysteries, like why this didn't show up in the error log earlier
(I changed so many times the configurations that I don't keep track of which change in configuration led to which change in the results).  Thanks.

Offline

#7 2016-02-19 16:18:58

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [Solved] Davical: impossible to set up (Awl libraries not found).

Great - glad you are sorted (and sorry for the delay getting back to you).

Offline

Board footer

Powered by FluxBB