You are not logged in.

#1 2008-01-27 23:46:22

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

FontMatrix PKGBUILD (qt3 vs qt4)

I have tried to build FontMatrix 0.3.1 from AUR.

The package is here:
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

The output I get is this:
http://pastebin.archlinux.org/24943

It was suggested that the problem is the moc from QT3 is being used instead of QT4.

If I type 'moc -v' in console, the output is this:

$ moc -v
Qt Meta Object Compiler version 59 (Qt 4.3.3)

It was also suggested that I should chmod -x on /etc/profile.d/qt3.sh, but that file doesn't exist. The path env. var looks like this:

$ echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/java/bin:/opt/java/jre/bin:/opt/mozilla/bin:/opt/qt/bin:/opt/kde/bin

How do I build this one correctly? And what is the content of qt3.sh?

Offline

#2 2008-01-27 23:56:49

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: FontMatrix PKGBUILD (qt3 vs qt4)

Just add

export QTDIR=/usr
export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-64

into the PKGBUILD. I'm not sure both are needed, but I successfully used it to compile fontmatrix.

EDIT: The file in profile.d should be probably qt.sh, and it just sets stuff like above for qt3.

EDIT2: Of course, if you are on i686, change that linux-g++-64 to something else (have a look into that directory).

Last edited by bender02 (2008-01-27 23:59:01)

Offline

#3 2008-01-28 17:12:31

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: FontMatrix PKGBUILD (qt3 vs qt4)

Thanks, bender02, I'll try that out. I don't need to mod the files in /etc/prodile.d/ if I add that little fix to PKGBUILD, right? I'm sure I haven't seen any files named qt.sh in my profile.d... Well, anyway, I'll check when I get home.

EDIT:

The 32-bit version is called: "linux-g++-32"

EDIT2: YAY! It works! Thanks, man!

Last edited by foxbunny (2008-01-28 19:05:35)

Offline

Board footer

Powered by FluxBB