I am trying to write an ebuild for Xuheki http://www.xuheki.com Xuheki is an AJAX webmail client written in perl. Like other webapps, Xuheki consists of htdoc files which can ben installed via webapp-config. Also, the ebuild also needs to install the perl binaries and libraries and initscript for starting the server. Currently when I start the server, I get "Can't locate Apache/Session/Wrapper.pm" even though I have perl-gcpan/Apache-Session-Wrapper installed. Reproducible: Always
Created attachment 229859 [details] mail-client/xuheki
These are the perl modules installed with g-cpan: #g-cpan -l perl-gcpan/Net-IMAP-Client perl-gcpan/Regexp-Common-Email-Address perl-gcpan/File-PathConvert perl-gcpan/Apache-Session-Wrapper perl-gcpan/Template-Alloy perl-gcpan/DBIx-OO perl-gcpan/Spreadsheet-XLSX perl-gcpan/Sys-SigAction perl-gcpan/forks perl-gcpan/Acme-Damn When I try to start the daemon: /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/xuheki.pl Can't locate Apache/Session/Wrapper.pm in @INC (@INC contains: ...) at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Apache/Handler.pm line 15. BEGIN failed--compilation aborted at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Apache/Handler.pm line 15. Compilation failed in require at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Config.pm line 13. BEGIN failed--compilation aborted at /var/tmp/portage/mail-client/xuheki-0.4/work/Xuheki-0.4/bin/../perl/XHK/Config.pm line 13. Compilation failed in require at bin/xuheki.pl line 36. BEGIN failed--compilation aborted at bin/xuheki.pl line 36.
I currently have squirrelmail and roundcube installed for webmail. I was looking to tryout other AJAX alternatives, such as those listed at http://www.noupe.com/ajax/10-ajax-webmail-clients.html as well as cangrejomail (an AJAX version of squirrelmail-1.4.19) Xuheki is the only I see that allows multiple imap accounts, Roundcube is nice but lacks multiple imap accounts and has no gnupg. Squirrelmail is feature-rich but somewhat dowdy and plugins don't often get upgraded to work with the latest version.
Jeremy You may want to head over to #gentoo-sunrise and also check out; http://www.gentoo.org/proj/en/sunrise/
David, Thanks for the info on sunrise overlay. I'll look into it. Figured out the missing perl module message. g-cpan thought the pm was installed by emerge said package wasn't installed. The ebuild created by g-cpan had appended some random string? to the Source definition, e.g. S=${WORKDIR}/${PN}-${PV}-vhu41s I ended up editing the g-cpan ebuilds for: Apache-Session-Wrapper DBIx-OO Regexp-Common-Email-Address Net-IMAP-Client Xuheki now finds all its perl modules. Now just need to create an initscript to start one copy of xuheki for each (virtual) website running xuheki.
The last release of Xuheki was in 2009 and the project page is gone (internal server error). Is the entire project dead? If so, I'd like to mark this obsolete.
I'm going to mark this obsolete, as I don't believe there's a Xuheki to install any more. I'm sorry that no one got to this sooner.