Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 08:37:03 -0800
From:      Beech Rintoul <beech@freebsd.org>
To:        Tommy Scheunemann <net@arrishq.net>
Cc:        Beech Rintoul <beech@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: Horde4-Base Port
Message-ID:  <201105250837.03669.beech@freebsd.org>
In-Reply-To: <4DDCF8B2.7060302@arrishq.net>
References:  <4DDCF8B2.7060302@arrishq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 25 May 2011 04:40:18 Tommy Scheunemann wrote:
> Hello,
> 
> I'm using the horde4-base port on a 8.2 RELEASE though after installing
> it, it seems some pear libraries are missing.
> Getting from the PHP log:
> 
> [25-May-2011 14:30:10] PHP Fatal error:  require_once() [<a
> href='function.require'>function.require</a>]: Failed opening required
> 'Horde/Autoloader/Default.php'
> (include_path='/usr/local/www/:/usr/local/share/pear/:/usr/local/www/horde/
> lib/

Autoloader is on my list of commits for today as are the rest of the available 
main modules.
 
> I had similar problems on a local test environment running a Linux.
> Problem there was that the developers decided for whatever reason nobody
> needs to understand to split their packages into smaller pieces and ship
> them over a pear channel.
> So the Horde download itself misses important Pear packages in order to
> run. If you want, I can go through the Linux machine and try to collect
> anything that was installed there until Horde was running and submit these
> as a new Port or maybe newer Ports in case something gets updated.
> Installing anything by pear directly will break FreeBSD's way of placing
> files because pear will place all files in /usr/local/share/pear then
> recommending an alias to the webroot - maybe not really like FreeBSD's
> "${PREFIX}/www" directory way of doing things (and personally doing them
> better this way).

I agree, and getting the ports in www to have some consistency has been a long 
term project of mine. I'm trying to avoid having half the port in www and the 
rest in pear. Also, I couldn't find a way to respect prefix doing things the 
"pear" way. I did briefly consider just rolling everything into a big tarball, 
but then updates wouldn't be as easy and there would be likely more problems. 

I'm aware that everything got split up. At present there are approx 65 
dependencies that go with the new series. I will get them all in, but it'll 
take some time to get everything out of pear. In the meantime, you can use 
"pear install -a -B" to add any missing dependencies. Pear is in the search 
path, so they'll work.

> 
> If you want, I can try to collect anything Horde Base needs to run. And
> a site note, if I'm allowed to.

Any contribution you'd like to make is welcome. This is a big project and 
another set of eyes is good. If you find anything missing dependencies, please 
let me know and I'll add the depends to the individual port.

> 
> The Turba Port has LDAP as a dependancy which makes sense for storing
> addressbooks in LDAP, though it isn't required because it can also use
> SQL as backend. Maybe it's possible marking the LDAP dependancy as
> optional.

 I'll take a look at turba today. I don't believe LDAP is hard coded (except 
maybe in pear). LDAP should be configurable from the horde configs. 

I do plan to package the dependencies as a mega port similar to php5-
extensions, but right now I need to concentrate on just getting everything 
into the tree and working. I do have everything installed locally in  
"${PREFIX}/www/horde" and so far I haven't seen any serious breakage. I did 
look into re-training pear install, but that would have taken as much work as 
just modifying them to use our standard port install.

I'll cc this over to ports@ as there may be others who have suggestions or 
could benefit from the process.

Beech

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail  | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \ - http://www.FreeBSD.org/releases/8.2R/announce.html
---------------------------------------------------------------------------------------






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105250837.03669.beech>