May 22, 2012, 04:01:08 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: About horde USE flag  (Read 7054 times)
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« on: November 17, 2006, 09:09:46 AM »

Hello!

i'm testing horde project for kolab. I have a simple questions, where i need
to insert the "horde" flag?

I have insert it in /etc/make.conf

USE="mailwrapper spam horde"

But is sufficient? On this page i read:

http://projects.pardus.de/kolab/wiki/UseFlagHorde

If you enable the flag, please do so on both net-mail/kolabd and
net-mail/kolab-webadmin

so, i need to add the flag in others file? Like /etc/portage/package.use ?

Thanks,
Alessio
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #1 on: November 17, 2006, 09:37:29 AM »

No you don't. If you have it in make.conf it is activated as a global use flag. No need to have it in package.use then.
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #2 on: November 17, 2006, 11:23:34 AM »

Ok, but why in mailing-list nobody reply to my e-mail? I'm the only one that use ML?

Another questions, now i need to install horde-kolab-all, some packages are masked, i have try with:

ACCEPT_KEYWORDS="~x86 " emerge -pv horde-kolab-all

mail~ # ACCEPT_KEYWORDS="~x86 " emerge -pv horde-kolab-all

These are the packages that would be merged, in order:

Calculating dependencies /
!!! All ebuilds that could satisfy ">=www-apps/horde-kolab-20061030" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-apps/horde-kolab-20061030 (masked by: package.mask)
# The new horde packages have not yet been tested

How can i unmasked all packages needed by horde-kolaba-all?

Thanks
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #3 on: November 17, 2006, 11:52:05 AM »

Quote
Ok, but why in mailing-list nobody reply to my e-mail? I'm the only one that use ML?

Ups, sorry. I noticed that I actually forgot to add myself as a listener to the list I created. Stupid mistake, especially since I prefer mailing lists over this forum. Fixed Smiley and you may switch to the mailing list with this discussion if you wish to do so.

Quote
How can i unmasked all packages needed by horde-kolaba-all?

The newest horde ebuilds are all masked because it is an early developmental draft. You need to comment the corresponding entries in "profiles/package.mask" of the overlay. But these are many entries since you also need to unmask all dev-php ebuilds. So you can also choose to simply remove the "package.mask" file like this:

Code:
rm /usr/portage/local/layman/kolab2/profiles/package.mask

But you should know exactly what you are doing then. It might happen that you suddenly update other kolab core compenents (like postfix) and the server fails to work if you completely remove the mask.

Quote
ACCEPT_KEYWORDS="~x86 " emerge -pv horde-kolab-all

It confuses me that this statement fails with the error that the packages are masked. Currently the overlay provides horde-kolab-all-0 (the old horde packages) and horde-kolab-all-1 (the horde cvs version with the newest p@rdalys patches). If you don't remove the package.mask I would expect that emerge pulls in horde-kolab-all-0. If it does not do that then there are probably still problems with the dependencies. Can you tell me which package requires www-apps/horde-kolab-20061030?
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #4 on: November 21, 2006, 09:37:52 AM »

Code:
# emerge -p horde-kolab-all

These are the packages that would be merged, in order:

Calculating dependencies /
!!! All ebuilds that could satisfy ">=www-apps/horde-kolab-20061030" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-apps/horde-kolab-20061030 (masked by: package.mask)
# The new horde packages have not yet been tested


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "www-apps/horde-mnemo-kolab-20061030" [ebuild])

Is this corrects?

I want test horde-kolab-all-1, how can i procede to install it?

Thanks
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #5 on: November 21, 2006, 09:54:24 AM »

You can remove the mask from the overlay as mentioned above:

Code:
rm /usr/portage/local/layman/kolab2/profiles/package.mask

I'm not quite certain if you really want to do that though. From your request it is clear that you are still somewhat unfamiliar with the Gentoo package management system. And by simply removing the mask funny things like emerging the wrong postfix version might happen. In that case your kolab server will simply stop working. So you should probably check the corresponding sections in the man page of emerge before killing the mask Smiley
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #6 on: November 21, 2006, 10:13:07 AM »

Yes, i'm not familiar with gentoo packages system.   Sad
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #7 on: November 21, 2006, 10:22:45 AM »

Ok, if i comment out:

# The new horde packages have not yet been tested
>=www-apps/horde-kolab-all-1
#>=www-apps/horde-imp-kolab-20061029
#>=www-apps/horde-ingo-kolab-20061029
#>=www-apps/horde-kolab-20061029
#>=www-apps/horde-kronolith-kolab-20061029
#>=www-apps/horde-nag-kolab-20061029
#>=www-apps/horde-passwd-kolab-20061029
#>=www-apps/horde-turba-kolab-20061029

in /usr/portage/local/layman/kolab2/profiles/package.mask i can install horde-kolab-all

# emerge --pretend horde-kolab-all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-php/PEAR-DB-1.7.6-r1
[ebuild  N    ] dev-php/PEAR-Log-1.9.9
[ebuild  N    ] dev-php/PEAR-Mail-1.1.14
[ebuild  N    ] dev-php/PEAR-Net_Sieve-1.1.4
[ebuild  N    ] dev-php/PEAR-Date-1.4.6
[ebuild  N    ] dev-php/PEAR-File-1.2.2
[ebuild  N    ] dev-php/PEAR-Net_FTP-1.3.2
[ebuild  N    ] dev-php/PEAR-Net_URL-1.0.14-r1
[ebuild  N    ] dev-php/PEAR-HTTP_Request-1.3.0
[ebuild  N    ] dev-php/PEAR-Cache-1.5.4-r1
[ebuild  N    ] dev-php/PEAR-Net_DIME-0.3-r1
[ebuild  N    ] dev-php/PEAR-SOAP-0.9.4
[ebuild  N    ] dev-php/PEAR-XML_Parser-1.2.7
[ebuild  N    ] dev-php/PEAR-XML_Util-1.1.1-r1
[ebuild  N    ] dev-php/PEAR-XML_Serializer-0.18.0
[ebuild  N    ] dev-php/PEAR-Services_Weather-1.4.0
[ebuild  N    ] www-apps/horde-pear-1.3-r3
[ebuild  N    ] www-apps/horde-kolab-20061030
[ebuild  N    ] www-apps/horde-nag-kolab-20061030
[ebuild  N    ] www-apps/horde-passwd-kolab-20061030  USE="-clearpasswd"
[ebuild  N    ] www-apps/horde-kronolith-kolab-20061108
[ebuild  N    ] www-apps/horde-turba-kolab-20061030
[ebuild  N    ] www-apps/horde-ingo-kolab-20061030
[ebuild  N    ] www-apps/horde-imp-kolab-20061030
[ebuild  N    ] www-apps/horde-mnemo-kolab-20061030
[ebuild  N    ] www-apps/horde-kolab-all-0

But if i comment out horde-kolab-all-1 emerge can't install it:

# emerge --pretend horde-kolab-all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] dev-php/horde (is blocking www-apps/horde-kolab-all-1)
[ebuild  N    ] dev-php/PEAR-Horde-Channel-1.0
[ebuild  N    ] dev-php/PEAR-Horde_Util-cvs-061030
[ebuild  N    ] dev-php/PEAR-Net_SMS-cvs-061030
[ebuild  N    ] dev-php/PEAR-File_PDF-cvs-061030
[ebuild  N    ] dev-php/PEAR-devtools-cvs-061030
[ebuild  N    ] dev-php/PEAR-DB-1.7.6-r1
[ebuild  N    ] dev-php/PEAR-Log-1.9.9
[ebuild  N    ] dev-php/PEAR-Mail-1.1.14
[ebuild  N    ] dev-php/PEAR-Net_Sieve-1.1.4
[ebuild  N    ] dev-php/PEAR-Date-1.4.6
[ebuild  N    ] dev-php/PEAR-File-1.2.2
[ebuild  N    ] dev-php/PEAR-Net_FTP-1.3.2
[ebuild  N    ] dev-php/PEAR-Net_URL-1.0.14-r1
[ebuild  N    ] dev-php/PEAR-HTTP_Request-1.3.0
[ebuild  N    ] dev-php/PEAR-Cache-1.5.4-r1
[ebuild  N    ] dev-php/PEAR-Net_DIME-0.3-r1
[ebuild  N    ] dev-php/PEAR-SOAP-0.9.4
[ebuild  N    ] dev-php/PEAR-XML_Parser-1.2.7
[ebuild  N    ] dev-php/PEAR-XML_Util-1.1.1-r1
[ebuild  N    ] dev-php/PEAR-XML_Serializer-0.18.0
[ebuild  N    ] dev-php/PEAR-Services_Weather-1.4.0
[ebuild  N    ] www-apps/horde-pear-1.3-r3
[ebuild  N    ] www-apps/horde-kolab-20061030
[ebuild  N    ] www-apps/horde-mnemo-kolab-20061030
[ebuild  N    ] dev-php/PEAR-Horde_DOM-cvs-061114
[ebuild  N    ] dev-php/PEAR-Horde_Framework-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_RPC-cvs-061030
[ebuild  N    ] dev-php/PEAR-Text_Flowed-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Text_Filter-cvs-061030
[ebuild  N    ] dev-php/PEAR-VFS-cvs-061030
[ebuild  N    ] dev-php/PEAR-VFS_ISOWriter-cvs-061030
[ebuild  N    ] dev-php/PEAR-XML_WBXML-cvs-061030
[ebuild  N    ] dev-php/PEAR-SyncML-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Maintenance-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Serialize-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_SQL-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_DataTree-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Cipher-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Secret-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Auth-cvs-061115
[ebuild  N    ] dev-php/PEAR-Horde_Group-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Perms-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Prefs-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Share-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_LDAP-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Block-cvs-061030
[ebuild  N    ] dev-php/PEAR-Text_reST-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_RDO-cvs-061030
[ebuild  N    ] www-apps/horde-nag-kolab-20061030
[ebuild  N    ] www-apps/horde-ingo-kolab-20061030
[ebuild  N    ] dev-php/PEAR-Horde_MIME-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_iCalendar-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Data-cvs-061030
[ebuild  N    ] dev-php/PEAR-Text_Diff-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_SessionObjects-cvs-061030
[ebuild  N    ] dev-php/PEAR-Net_IMSP-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_SpellChecker-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_CLI-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Token-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Mobile-cvs-061030
[ebuild  N    ] www-apps/horde-imp-kolab-20061030
[ebuild  N    ] dev-php/PEAR-Horde_Notification-cvs-061030
[ebuild  N    ] www-apps/horde-kronolith-kolab-20061108
[ebuild  N    ] dev-php/PEAR-Horde_Cache-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_SessionHandler-cvs-061030
[ebuild  N    ] dev-php/PEAR-admintools-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Tree-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Template-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Crypt-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_UI-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Form-cvs-061030
[ebuild  N    ] dev-php/PEAR-VC-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_History-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Browser-cvs-061030
[ebuild  N    ] dev-php/PEAR-XML_SVG-cvs-061030
[ebuild  N    ] dev-php/PEAR-Kolab-cvs-061115
[ebuild  N    ] dev-php/PEAR-Horde_NLS-cvs-061030
[ebuild  N    ] www-apps/horde-passwd-kolab-20061030  USE="-clearpasswd"
[ebuild  N    ] dev-php/PEAR-Horde_Compress-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Image-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_IMAP-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Editor-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Date-cvs-061030
[ebuild  N    ] dev-php/PEAR-Horde_Rampage-cvs-061030
[ebuild  N    ] dev-php/PEAR-File_CSV-cvs-061030
[ebuild  N    ] www-apps/horde-turba-kolab-20061030
[ebuild  N    ] dev-php/PEAR-Horde_Scheduler-cvs-061030
[ebuild  N    ] www-apps/horde-kolab-all-1

Because dev-php/horde is blocking www-apps/horde-kolab-all-1.

Is correct this?
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #8 on: November 21, 2006, 10:26:08 AM »

Yes this is correct. Smiley

You can safely remove dev-php/horde since it will be replaced by all the PEAR-Horde* packages.

So run

Code:
emerge --unmerge dev-php/horde

and you should be able to get horde installed.
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #9 on: November 21, 2006, 10:45:27 AM »

Ok now emerge starts to install horde-kolab-all(-1) but i have found a missing dependecies:

11:37:59 (90.66 KB/s) - `/usr/portage/distfiles/Net_FTP-1.3.2.tgz' saved [24992]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking Net_FTP-1.3.2.tgz ;-) ...                                     [ ok ]
 *
 * Using dev-lang/php-5.1.6-r6
 *
 * Checking for required PHP feature(s) ...
 *   Discovered missing USE flag: ftp
 *
 * dev-lang/php-5.1.6-r6 needs to be re-installed with all of the following
 * USE flags enabled:
 *
 *   ftp
 *

!!! ERROR: dev-php/PEAR-Net_FTP-1.3.2 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  PEAR-Net_FTP-1.3.2.ebuild, line 14:   Called require_php_with_use 'ftp'
  depend.php.eclass, line 222:   Called die

!!! Missing PHP USE flags found
!!! If you need support, post the topmost build error, and the call stack if relevant.

Now rebuild php with USE ftp...

Thanks
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #10 on: November 21, 2006, 02:12:56 PM »

Anothers...

* You MUST re-emerge php with all of
 * the following options in your USE:
 *  imap

!!! ERROR: www-apps/horde-ingo-kolab-20061030 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ebuild.sh, line 1255:   Called horde-kolab-r1_pkg_setup
  horde-kolab-r1.eclass, line 59:   Called die

!!! current php install cannot support ingo
!!! If you need support, post the topmost build error, and the call stack if relevant.
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #11 on: November 21, 2006, 03:05:44 PM »

Ok:

Code:
>>> Merging www-apps/horde-kolab-all-1 to /
 * Please note that these kolab specific horde packages are heavily patched
 * and NOT AT ALL in a stable state. Do not expect horde to work on your
 * machine. The patches have been sent upstream and are currently under review
 * by the horde team.
>>> Regenerating /etc/ld.so.cache...
>>> www-apps/horde-kolab-all-1 merged.
>>> Recording www-apps/horde-kolab-all in "world" favorites file...

And so, horde-kolab-all required USE ftp and imap.

Now i can configure horde in the standard mode?
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #12 on: November 21, 2006, 03:10:26 PM »

Just run

Code:
kolabconf

The necessary templates were installed in /etc/kolab/templates. So make any specific configuration changes in there.
Logged
alessice
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #13 on: November 21, 2006, 03:23:29 PM »

No ... another problem Sad

Code:
# /etc/init.d/kolabd start
 * Apache2 has detected a syntax error in your configuration files:
/usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
 * ERROR:  cannot start kolabd as apache2 could not start

Code:
# locate libexpat.so
/usr/lib/libexpat.so
/usr/lib/libexpat.so.1
/usr/lib/libexpat.so.1.5.0

Why apache search for an older version? How can solve this?

Thanks
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #14 on: November 21, 2006, 04:24:08 PM »

Looks like a standard revdep-rebuild problem. You emerged a new version of expat and did not re-emerge apache though apache depends on expat.

Code:
revdep-rebuild

should find such problems. Or simply re-emerge apache.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!