You are not logged in.
Hi,
I am trying to install qt3 off the AUR which is a dependency of the profiling tool lprof, however I can't get the PKGBUILD to work.
At first the issue was that it couldn't find <rpc/rpc.h>, so I installed and linked libtirpc to fix that error. However now it fails later. Here is the error log: https://pastebin.com/MTru1PmT
Is this the correct way to install qt3? I've heard about qtchooser but I'm not sure if that's what I need.
Thanks.
Offline
Moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
If you do not need postgresql support qt3 will build without it. Although I would not recommend using such an old project.
git diff
diff --git a/PKGBUILD b/PKGBUILD
index 5e57fa9..d1f614a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,10 +12,9 @@ url="http://qt.io"
license=('GPL')
depends=('libpng' 'libxmu' 'libxcursor' 'libxinerama' 'glu' 'libxft'
'libxrandr' 'libmng' 'libunistring' 'libnsl' 'libtirpc')
-makedepends=('mariadb' 'postgresql' 'unixodbc' 'sqlite' 'mesa')
+makedepends=('mariadb' 'unixodbc' 'sqlite' 'mesa')
optdepends=('qtchooser: set the default Qt toolkit'
'libmariadbclient: MariaDB driver'
- 'postgresql-libs: PostgreSQL driver'
'unixodbc: ODBC driver')
options=('!docs')
source=(http://download.qt.io/archive/qt/3/qt-x11-free-${pkgver}.tar.gz
@@ -82,7 +81,7 @@ build() {
-plugindir /usr/lib/qt3/plugins \
-datadir /usr/share/qt3 \
-translationdir /usr/share/qt3/translations \
- -I/usr/include/mysql -I/usr/include/postgresql/server \
+ -I/usr/include/mysql\
-I/usr/include/tirpc \
-platform linux-g++$ARCH \
-system-zlib \
@@ -95,7 +94,7 @@ build() {
-stl \
-system-lib{png,jpeg,mng} \
-no-g++-exceptions \
- -plugin-sql-{mysql,psql,sqlite,odbc}
+ -plugin-sql-{mysql,sqlite,odbc}
make
}
Offline
Comments on the aur qt3 page suggest postgresql < 10 is needed, try building against https://aur.archlinux.org/packages/postgresql-9.6/
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thank you everyone! I got it working.
Offline