[Frugalware-devel] problems compiling package

Michael Surette msurette at laframboise.net
Fri Oct 20 15:55:47 CEST 2006


I am trying to complie a package for sqwebmail and it fails in the configure 
section with the message: 
Unable to find your mime.types file, specify --enable-mimetypes.

As you can see below from my FrugalBuild file, this is specified.  The 
mime.types file is in /var/chroot/current/etc/httpd/conf/ which is where I 
would suspect 'makepkg -Ra' would look for it.

If I simply extract the tarfile and do 
a './configure --enable-mimetypes=/etc/httpd/conf/mime.types', all is well.

Any suggestions as to what I could be doing wrong?

Mike

================

# Last Modified: Thu, 19 Oct 2006 14:42:47 -0400
# Contributor: Michael Surette <msurette at laframboise.net>

pkgname=sqwebmail
pkgver=5.1.3
pkgrel=1
pkgdesc="fast and light standalone webmail server from courier"
url="http://www.courier-mta.org/sqwebmail/"
license="GPL"
depends=('courier-authlib' 'db' 'perl' 'apache')
makedepends=('pcre')
groups=('network-extra')
archs=('i686')
_F_sourceforge_ext='.tar.bz2'
_F_sourceforge_dirname='courier'
Finclude sourceforge
conflicts=()
replaces=()
backup=()
install=
up2date="elinks -dump http://www.courier-mta.org/download.php |
grep 'sqwebmail'|grep 'bz2$'|sed -e 's/.*-//' -e 's/.tar.bz2$//'"
source=($source)

build()
{
    Fcd
    ./configure --enable-https --enable-mimetypes=/etc/httpd/conf/mime.types

    Fmake
    Fmake install
}

# optimization OK
sha1sums=('aa6cc6876d516fff74294f53d66c8f395502b79a')



More information about the Frugalware-devel mailing list