Problems installing squirrelmail

Started by rjw, March 05, 2004, 10:19:16 AM

Previous topic - Next topic

rjw

Running on FreeBSD 5.2.1

When I type in:

toaster_setup.pl -s squirrelmail


I get:

CheckPortsAge: Ports file is current (enough).InstallPort: installing squirrelmail...running: make  -DWITH_APACHE2  install cleanMakefile error: there is no COMMENT variable definedfor this port. Please, rectify this.*** Error code 1Stop in /usr/ports/mail/squirrelmail.SysCmd: make  -DWITH_APACHE2  install cleanSysCmd: result: 256done.InstallPort: squirrelmail         FAILEDFATAL FAILURE: Install of squirrelmail failed. Please fix and try again. at /usr/local/lib/perl5/site_perl/5.6.1/Mail/Toaster/Setup.pm line 869


I can't find any COMMENT variable and i've checked a few toaster files.

I have installed apache 2.

Line 869 of Setup.pm is

        if ($conf->{'install_apache'} == 2) 


which is part of:

        my ($conf) = @_;        if ($conf->{'install_apache'} == 2)        {                InstallPort("squirrelmail", "mail", undef, undef, "WITH_APACHE2$        }        else        {                InstallPort("squirrelmail", "mail", undef, undef, undef, 1);        };


It looks like its a problem with ports, but i don't understand ports as i'm new to FreeBSD but have been using linux for a while.

Can someone help me?

matt

Mosey on over to FreeBSD.org and there's a section in the handbook related to ports:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html" target="_blank">http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

I manually downloaded the file from a FTP mirror and dropped it into /usr/ports/distfiles and then it worked fine.