You are not logged in.
hi, guys
Due the thunderbird3 beta 3 in the AUR is using the pre-built thunderbird3 from mozilla. The system font rendering doesn't work for it.
But there is one called thunderbird-newest in the AUR is building from the source code. But it's out of date~ cuz it's using thunderbird3 beta 2. I saw the comments on that page and try to used the edited PKGBUILD to build the thunderbird3 beta3. But I failed.
I got this output and have no idea how to fix it. Did anyone already build it successfully?
[kwan@kwan-laptop thunderbird_building]$ makepkg
==> Making package: thunderbird-newest 3.0b3-1 i686 (Tue Aug 25 12:55:03 CST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found thunderbird-3.0b3-source.tar.bz2 in build dir
-> Found mozconfig in build dir
-> Found thunderbird.desktop in build dir
==> Validating source files with md5sums...
thunderbird-3.0b3-source.tar.bz2 ... Passed
mozconfig ... Passed
thunderbird.desktop ... Passed
==> Extracting Sources...
-> bsdtar -x -f "thunderbird-3.0b3-source.tar.bz2"
==> Entering fakeroot environment...
==> Starting build()...
Adding client.mk options from /dev/shm/thunderbird_building/src/.mozconfig:
MOZ_CO_PROJECT=mail
MOZ_OBJDIR=$(TOPSRCDIR)/objdir-tb/
AUTOCONF=autoconf
MOZ_MAKE_FLAGS=-j3
BUILD_OFFICIAL=1
MOZILLA_OFFICIAL=1
make[1]: Entering directory `/dev/shm/thunderbird_building/src'
Generating /dev/shm/thunderbird_building/src/configure using autoconf
cd /dev/shm/thunderbird_building/src; autoconf
aclocal.m4:19: warning: AC_INIT_BINSH is m4_require'd but not m4_defun'd
mozilla/build/autoconf/altoptions.m4:149: MOZ_READ_MOZCONFIG is expanded from...
aclocal.m4:19: the top level
configure.in:1557: warning: AC_CACHE_VAL(ac_has_wno_invalid_offsetof, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
configure.in:1557: the top level
configure.in:2538: warning: AC_CACHE_VAL(ac_os2_declspec, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:2538: the top level
configure.in:6687: warning: AC_CACHE_VAL(ac_nscap_nonconst_opeq_bug, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:6687: the top level
configure.in:1119: error: possibly undefined macro: AS_BIN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:7774: error: possibly undefined macro: AC_OUTPUT_SUBDIRS
make[1]: *** [/dev/shm/thunderbird_building/src/configure] Error 1
make[1]: Leaving directory `/dev/shm/thunderbird_building/src'
make: *** [/dev/shm/thunderbird_building/src/objdir-tb//Makefile] Error 2
==> ERROR: Build Failed.
Aborting...Thank you~
Last edited by yunkwan (2009-08-25 04:59:34)
Offline
PKGBUILD file:
pkgname=thunderbird-newest
pkgver=3.0b3
pkgrel=1
pkgdesc="Standalone Mail/News reader, the newest, the CFLAG optimized."
arch=('i686' 'x86_64')
license=('MPL' 'GPL')
url="http://www.mozilla.org/projects/thunderbird"
provides=('mozilla-thunderbird' "thunderbird=${pkgver}" "thunderbird-i18n=${pkgver}")
conflicts=('mozilla-thunderbird' 'thunderbird' 'thunderbird-i18n')
replaces=('mozilla-thunderbird' 'thunderbird' 'thunderbird-i18n')
depends=('gtk2>=2.14.7' 'gcc-libs>=4.3.3' 'libidl2' 'mozilla-common' 'libxt' 'shared-mime-info')
makedepends=('zip' 'pkgconfig' 'imagemagick' 'libgnomeui')
options=('!ccache' '!distcc')
source=(
ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${pkgver}/source/thunderbird-${pkgver}-source.tar.bz2
mozconfig
thunderbird.desktop
)
md5sums=('1d589b53e86282808a0ac43ec95bcb7a'
'a2952e18cfb094d1f92303be24ad4f6c'
'ea4e3c3dee98e3891bef16409551eb6e'
)
build() {
cd "${srcdir}"
cp "${srcdir}/mozconfig" .mozconfig
unset CFLAGS
unset CXXFLAGS
if [ "${CARCH}" = "x86_64" ]; then
echo "ac_cv_visibility_pragma=no" >> .mozconfig
fi
export MOZ_PROJECT=mail
make -f client.mk build|| return 1
make -j1 DESTDIR="${pkgdir}" -C objdir-tb install|| return 1
rm -rf "${pkgdir}/usr/bin/defaults"
install -m644 "${srcdir}/thunderbird.desktop" \
"${pkgdir}/usr/share/applications/" || return 1
install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m644 "${srcdir}/other-licenses/branding/thunderbird/mailicon48.png" "${pkgdir}/usr/share/pixmaps/thunderbird.png"
#Is this a bug??? What happened to default.xpm?!
convert "${srcdir}/other-licenses/branding/thunderbird/mailicon48.png" "${srcdir}/other-licenses/branding/thunderbird/default.xpm"
install -m644 "${srcdir}/other-licenses/branding/thunderbird/default.xpm" \
"${pkgdir}/usr/lib/thunderbird-${pkgver}/icons/" || return 1
rm -f ${pkgdir}/usr/lib/pkgconfig/thunderbird-ns{s,pr}.pc
return 0
}mozconfig
mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/
mk_add_options AUTOCONF=autoconf
ac_add_options --prefix=/usr --libdir=/usr/lib
ac_add_options --enable-static
#ac_add_options --with-system-nspr
#ac_add_options --with-system-nss
#ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --enable-optimize
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-official-branding
ac_add_options --disable-xprint
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --enable-pango
ac_add_options --enable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --disable-crashreporter
ac_add_options --enable-calendar
mk_add_options MOZ_MAKE_FLAGS=-j3
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1Offline