On Tue, 30 Dec 2008 07:43:04 pm David Paleino wrote:
> On Tue, 30 Dec 2008 17:33:54 +1100, richard terry wrote:
> > /usr/bin/ld: cannot find -lqt-mt
>
> Do you have qt3 headers installed?
>
> On Debian (and -like) systems it would be "libqt3-mt-dev".
>
> Just my two cents,
> David

I'll look at that - I've really had gambas build failing before and I've done 
it probably hundreds of times now.

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

Benoit suggested doing :

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

As I don't understand scripting etc, I wonder if anyone could look at my 
package build file and tell me what to insert where, or which directory to go 
to to type what.




Regards

Richard

# Contributor: Toni Foerster <ston...@skeps.de>
# changed by Richard Terry (so it is probably Wrong! rte...@pacific.net.au
# to get the lastest development branch of Gambas libffi added as dependency
pkgname=gambas3-svn
pkgrel=2
pkgver=1758
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=1758 
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
}
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to