[arch-general] Help need with pkgbuild failure
Jan de Groot
jan at jgc.homeip.net
Sat Jan 3 11:38:50 EST 2009
On Fri, 2009-01-02 at 21:42 -0500, Baho Utot wrote:
> On Friday 02 January 2009 09:22:10 pm richard terry wrote:
> > 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 believe your missing the static library libqt-mt.a
>
> So
>
> recompile your version of qt to have both shared and static libraries by
> adding -static to the qt PKGBUILD (qt-x11-free-3.3.8)
>
> ./configure -prefix /opt/qt -platform linux-g++$ARCH \
> -system-zlib -qt-gif -release -shared -static -sm -nis -thread -stl \
> -{system-lib,plugin-imgfmt-}{png,jpeg,mng} \
> -no-g++-exceptions -plugin-sql-{mysql,psql,sqlite,odbc}
>
> OR
>
> try adding -shared to your configure line in your Gambas3 PKGBUILD file
>
> ./configure --disable-qte \
> --prefix=/usr \
> -shared
>
> [putolin]
Recompiling qt to include static libs won't help a lot I think. Note
that you need to source /etc/profile.d/qt3.sh when building qt3
packages.
More information about the arch-general
mailing list