1 (edited by djoka 2025-03-27 16:18:01)

Topic: sogo freebsd

[ INFO ] Installing port: www/sogo (2025-03-27 09:02:06) ...
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for sogo-mysql-5.12.0
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for sogo-mysqlactivesync-5.12.0
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for sogo-pgsql-5.12.0
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for gnustep-make-2.9.2
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for libobjc2-2.2.1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for robin-map-1.3.0_1
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for gnustep-base-1.29.0_2
===>  Cleaning for sogo-pgsqlactivesync-5.12.0
===>  License GPLv2 accepted by the user
====> You must select one and only one option from the DATABASE single
=====> No option was selected (and one must be)
*** Error code 1

Stop.
make: stopped in /usr/ports/www/sogo
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.





edit:
there seems to be a selection between mysql and posgresql.
I managed to enable dialogs, that solved it.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: sogo freebsd

Port devel/sope was updated 4 days ago, iRedMail-1.7.2 doesn't work with this change:
https://github.com/freebsd/freebsd-port … 130325c52a

Could you please try this fix?
https://github.com/iredmail/iRedMail/co … f272537814

By the way, we're working on installing packages with pkg, and it's close to success:
https://github.com/iredmail/iRedMail/issues/272

3 (edited by djoka 2025-03-27 19:55:09)

Re: sogo freebsd

I've tried the fix, but the error is the same:
===>  Cleaning for sogo-pgsqlactivesync-5.12.0
===>  License GPLv2 accepted by the user
====> You must select one and only one option from the DATABASE single
=====> No option was selected (and one must be)
*** Error code 1

Stop.
make: stopped in /usr/ports/www/sogo
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.


by the way, installation works fine if sogo is skipped ( export USE_SOGO='NO' )
I think you should NOT UNSET *both* mysql and PGSQL:

OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=PGSQL




edit:
I've just tried with "OPTIONS_FILE_SET+=MYSQL"  and it seems to work, its compiling!

4

Re: sogo freebsd

djoka wrote:

I think you should NOT UNSET *both* mysql and PGSQL:

One of them will be enabled based on the iRedMail backend:
https://github.com/iredmail/iRedMail/bl … 1022-L1032

5

Re: sogo freebsd

Could you please help try this fix?
https://github.com/iredmail/iRedMail/co … 830132fd94

6

Re: sogo freebsd

sorry, I just can't reinstall it again. its working now, at last smile