[horde] No access to Portal in Horde4

Simon Brereton simon.brereton at buongiorno.com
Wed Sep 7 17:08:25 UTC 2011


> -----Original Message-----
> From: horde-bounces at lists.horde.org [mailto:horde-
> bounces at lists.horde.org] On Behalf Of Michael J Rubinsky
 
> Quoting Simon Brereton <simon.brereton at buongiorno.com>:
> 
> >> -----Original Message-----
> >> From: horde-bounces at lists.horde.org [mailto:horde-
> >> bounces at lists.horde.org] On Behalf Of Michael J Rubinsky
> >
> >> >> > So I updates Services_Weather to no effect (I do have the
> >> >> weather.com
> >> >> > api and key in my Horde config.
> >> >>
> >> >> If Services_Weather is indeed installed on your system, then
> most
> >> >> likely it's not installed in your include_path.
> >> >
> >> > mail:~# pear install Services_Weather-1.4.5 PHP Warning:  PHP
> >> Startup:
> >> > Unable to load dynamic library
> '/usr/lib/php5/20090626/suhosin.so'
> >> -
> >> > /usr/lib/php5/20090626/suhosin.so: cannot open shared object
> file:
> >> > No such file or directory in Unknown on line 0
> >> pear/Services_Weather
> >> > is already installed and is the same as the released version
> 1.4.5
> >> > install failed
> >> >
> >> > Then how do I do that?  Shouldn't that be done automatically?
> Did
> >> I
> >> > miss an instruction in the INSTALL docs?
> >>
> >> Look at the phpinfo() output from your test.php page. Find out
> what
> >> PHP thinks is the include_path for your Horde setup. One of those
> >> directories should be the pear directory that Services_Weather was
> >> installed into. If not, then you need to either tweak your pear
> >> config, or your include_path.
> >
> > Interesting.  From the phpinfo()
> >
> > include_path
> 	/usr/share/horde4/lib:/usr/share/horde4/lib:.:/usr/share/php:/u
> sr/share/pear	.:/usr/share/php:/usr/share/pear
> >
> >> From the server:
> >
> > mail:~# locate Services_Weather
> > /usr/share/php/data/Services_Weather
> > /usr/share/php/data/Services_Weather/buildMetarDB.php
> > /usr/share/php/data/Services_Weather/images
> > /usr/share/php/data/Services_Weather/images/sunrise.gif
> > /usr/share/php/data/Services_Weather/images/sunset.gif
> > /usr/share/php/docs/Services_Weather
> > /usr/share/php/docs/Services_Weather/examples
> > /usr/share/php/docs/Services_Weather/examples/ejse-basic.php
> > /usr/share/php/docs/Services_Weather/examples/globalweather-
> basic.php
> > /usr/share/php/docs/Services_Weather/examples/metar-basic.php
> > /usr/share/php/docs/Services_Weather/examples/metar-extensive.php
> > /usr/share/php/docs/Services_Weather/examples/weather.com-basic.php
> > /usr/share/php/docs/Services_Weather/examples/weather.com-
> extensive.ph
> > p
> >
> > That should be ok, shouldn't it?
> 
> Looks ok, but to be sure, try locating one of the actual
> Services_Weather library files like e.g., Weatherdotcom.php (the
> files listed are documents and database helper scripts - the actual
> library should be located in /usr/share/php/Services/Weather/* if
> your output is correct).
 
mail:~# locate Weatherdotcom.php
/usr/share/horde4/lib/Block/Weatherdotcom.php
/usr/share/horde4/timeobjects/lib/Driver/Weatherdotcom.php
/usr/share/php/Services/Weather/Weatherdotcom.php

/usr/share/horde4 is my document root.
 
> > Should I have installed the beta?
> > http://lists.horde.org/archives/horde/Week-of-Mon-
> 20090831/038110.html
> 
> Possible, but even without the beta, PHP should be able to locate the
> class file.

I think I may have found the error though.  On test.php it says that cache should also be installed.  I've installed that and it looks like it's working.  Sorry for the noise.  Although maybe someone else will have the same issue.

On a related note, I was installing some of the other things test.php said were missing - apparently I didn't see these errors when I did the initial install.

mail:~#
mail:~# pecl install idn-beta
downloading idn-0.2.0.tgz ... 
Starting to download idn-0.2.0.tgz (6,313 bytes)
.....done: 6,313 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
GNU libidn installation dir? [autodetect] :
building in /tmp/pear/temp/pear-build-rootz2fDL4/idn-0.2.0
running: /tmp/pear/temp/idn/configure --with-idn
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20090626
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for GNU Libidn support... yes, shared
checking for idn files in default path... not found
configure: error: Please reinstall the GNU Libidn distribution
ERROR: `/tmp/pear/temp/idn/configure --with-idn' failed


And 

mail:~# pecl install PAM
downloading pam-1.0.3.tgz ...
Starting to download pam-1.0.3.tgz (6,671 bytes)
.....done: 6,671 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /tmp/pear/temp/pear-build-rootA4T5jn/pam-1.0.3
running: /tmp/pear/temp/pam/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20090626
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for PAM support... yes, shared
configure: error: install the the PAM library or use --with-pam=DIR to specify the location.
ERROR: `/tmp/pear/temp/pam/configure' failed

Any ideas?

Thanks for the amazingly prompt response :)


Simon





More information about the horde mailing list