You are not logged in.
http://aur.archlinux.org/packages/freec … e/PKGBUILD
That is the PKGBUILD, look for this package: http://aur.archlinux.org/packages.php?ID=11636
Notice this lines
export QTDIR=/opt/qt
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
export PATH=$QTDIR/bin:$PATH
export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH
I see this is wrong.
First line should be:
export QTDIR=/usr/share/qt
But I dont understand 3rd and 4th line.
Anyway, pkgbuild does not work.
Can you please help me with this.
Offline
The 3rd and 4th line just set your PATH and PKG_CONFIG_PATH env variable to be what they originally were but with the added values of QTDIR and /opt/qt/lib/pkgconfig respectively.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Well, um -- it works here. At least I was able to build a package using the stock PKGBUILD
ewaller@odin:~/build/freecycle 1008 %uname -a
Linux odin 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 17:14:28 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz GenuineIntel GNU/Linux
ewaller@odin:~/build/freecycle 1009 %ls -l
total 12732
-rw-r--r-- 1 ewaller users 2696892 Sep 10 19:06 freecycle-0.6.1.1alpha-2-x86_64.pkg.tar.xz
-rw-r--r-- 1 ewaller users 10304760 Sep 10 19:03 freecycle-0.6.1.1alpha.tar.bz2
drwxr-xr-x 3 ewaller users 4096 Sep 10 19:06 pkg
-rw-r--r-- 1 ewaller users 1307 Jan 1 1970 PKGBUILD
drwxr-xr-x 3 ewaller users 4096 Sep 10 19:03 src
ewaller@odin:~/build/freecycle 1010 %pacman -Qi qt
Name : qt
Version : 4.6.3-1
URL : http://qt.nokia.com/
Licenses : GPL3 LGPL
Groups : None
Provides : None
Depends On : libpng fontconfig libtiff libmng sqlite3 xdg-utils ca-certificates hicolor-icon-theme alsa-lib glib2 dbus libxrender libgl libsm
Optional Deps : postgresql-libs
libmysqlclient
unixodbc
Required By : attica basic256 gpsd libdbusmenu-qt phonon phonon-gstreamer phonon-xine polkit-qt poppler-qt pyqt qca qgit qimageblitz qjackctl qscintilla qt-doc
qtcreator qtoctave qwt smplayer soprano strigi telepathy-qt4 vlc
Conflicts With : None
Replaces : None
Installed Size : 101036.00 K
Packager : Pierre Schmitz <pierre@archlinux.de>
Architecture : x86_64
Build Date : Tue 08 Jun 2010 04:04:41 AM PDT
Install Date : Wed 09 Jun 2010 07:54:24 AM PDT
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : A cross-platform application and UI framework
ewaller@odin:~/build/freecycle 1011 %
Can you elaborate on what is failing?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
/opt/qt was the place used by Qt version 3. Maybe that package must specify the dependency on qt3 instead of just qt. Who haves qt3 installed will be able to compile without problems.
Satisfied users don't rant, so you'll never know how many of us there are.
Offline
As a matter of fact, I do have Qt3 installed. That is probably why it built for me.
Anyone going to post a bug to the AUR, or shall I?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ok, I tried with qt3 also. It works.
Thank you.
Offline