[arch-general] Help need with pkgbuild failure

richard terry rterry at pacific.net.au
Fri Jan 2 21:22:10 EST 2009


 I used to be on this list till my last email address, died, so re-joined. I 
posted this with a file attachment yesterday and it didn't reach the list, so 
here it is again, without the file.

I've been programming gambas3 for some months, and use a modified PKGBUILD 
from an old one I obtained ages ago. I've compiled daily updates of Gambas3 
svn for the last 9 months, never failed, but now won't work complaining it 
can't find: -lqt-mt

These files seem to be there:
/opt/qt/lib/libqt-mt.prl
/opt/qt/lib/libqt-mt.so
/opt/qt/lib/libqt-mt.so.3
/opt/qt/lib/libqt-mt.so.3.3
/opt/qt/lib/libqt-mt.so.3.3.8

I sent this to the gambas list and got Benoi't reply below:
> /usr/bin/ld: cannot find -lqt-mt
> collect2: ld returned 1 exit status
> make[5]: *** [gb.qt.kde.html.la] Error 1
> make[5]: Leaving directory
> `/home/richard/gambas3-svn/src/trunk/gb.qt.kde/src/html'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/richard/gambas3-svn/src/trunk/gb.qt.kde/src' make[3]: ***
> [all-recursive] Error 1
> make[3]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt.kde'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt.kde'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/richard/gambas3-svn/src/trunk'
> make: *** [all] Error 2
> ==> ERROR: Build Failed.
>     Aborting...
>
> Any idea's
>
> Regards
>
> Richard
>

First, do a "./reconf && ./configure -C". Then check that the qt 3 library is 
installed on your system.


As I didn't know how to apply his comment above to PKGBUILD"s as I don't 
understand them at all, I couldn't proceed. I've emailed Toni who seems to 
maintain a version of this in AUR for gambas2

Any help appreciated
=======================
 Contributor: Toni Foerster <stonerl at skeps.de>
# changed by Richard Terry (so it is probably Wrong! rterry at pacific.net.au
# to get the lastest development branch of Gambas libffi added as dependency
pkgname=gambas3-svn
pkgrel=2
pkgver=1773
arch=('i686')
url="http://gambas.sourceforge.net"
depends=('libldap' 'librsvg' 'postgresql' 'libmysqlclient' 'curl' 'sqlite2' \
	 'sqlite3' 'sdl_mixer' 'sdl_image' 'unixodbc'  'poppler' \
	  'libfbclient' 'omniorb' 'libffi' 'autoconf' 'automake')
license=('GPL')
conflicts=('gambas_3' 'gambas3')
install=gambas3-svn.install
source=(gambas3.desktop gambas3.png)
md5sums=('177837d2a53cd202ab0fc307656a8c50'
         '682f60d694dd1df53d786c21939622c5')

_svntrunk=https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk
_svnrevision=1773
build() {
	msg "Checking out svn-tree..."
	svn checkout -r $_svnrevision $_svntrunk|| return 1
	cd $startdir/src/trunk
	msg "Configure files..."
	./reconf-all
	./configure --disable-qte \
		    --prefix=/usr
 
	msg "Start Compiling..."	    
	make bindir=$startdir/pkg/usr/bin || return 1
	make DESTDIR=$startdir/pkg install || return 1

	chmod -R 755 $startdir/pkg/usr/share/gambas3/help

	install -D -m644 $startdir/src/gambas3.desktop \
			 $startdir/pkg/usr/share/applications/gambas3.desktop
	install -D -m644 $startdir/src/gambas3.png \
			 $startdir/pkg/usr/share/pixmaps/gambas3.png
}

=======================
Richard


More information about the arch-general mailing list