You are not logged in.

#1 2009-12-02 20:40:06

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Install precompiled qt 4.6 in /opt?

1) I'd like to grab qt 4.6 and install it in /opt to build Arora w/ it (while having 4.5.3 for rest of KDE). I just don't like the idea of having to download and compile this much of code (whole qt). I'd like to know if I can find any precompiled pkgs for qt 4.6.

If (above)=yes
    then echo 'where can I find them ?'
    else run(secondquesition)

;secondquestion:

I'd like to know if this pkg:

http://aur.archlinux.org/packages.php?ID=30289

Points to the source of the now stable and officialy released qt 4.6. If yes, does it mean that it is somehow 'frozen' (you know, stopped being a heavily-developed branch and became stable)


Ps.: Sorry about this pseudocode, I just felt like doing something funny tongue

Offline

#2 2009-12-02 21:18:18

dalingrin
Member
Registered: 2009-03-18
Posts: 128

Re: Install precompiled qt 4.6 in /opt?

The branch pointed to by that pkg should be the official stable 4.6.

Offline

#3 2009-12-02 21:21:33

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Install precompiled qt 4.6 in /opt?

Great, but you already jumped to the 'secondquestion' part.

'Secondquestion' was only supposed to be ran if '(above)' (the '1)' question) turned out to be 'yes'.

Don't want to be offending, just have some kind of twisted humor today wink (No, I'm not drunk)

Offline

#4 2009-12-03 01:22:08

dalingrin
Member
Registered: 2009-03-18
Posts: 128

Re: Install precompiled qt 4.6 in /opt?

Not only did I not follow your logic...but the my return value was also incorrect. It seems the 4.6-stable branch is reporting as 4.7, as per qmake -v.
So I will not pass go and I will not collect $200.

Offline

#5 2009-12-03 01:38:15

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Install precompiled qt 4.6 in /opt?

There's kde-qt (looks like 4.6 stable to me) in ProgDan's repo.

Offline

#6 2009-12-03 01:44:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,540
Website

Re: Install precompiled qt 4.6 in /opt?

Not answering any of your questions but...  Pierre has made a build of Qt-4.6 available if you want to test it:
http://mailman.archlinux.org/pipermail/ … 14504.html

So far only minor font issues appear to have surfaced.

Offline

#7 2009-12-03 10:42:36

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Install precompiled qt 4.6 in /opt?

Looks like this pkg here:

qt-4.6.0-2-x86_64.pkg.tar.gz

(from https://users.archlinux.de/~pierre/packages/x86_64/)
will suit my needs.

Two questions:

1) I'm using kdemod, and there is a special qt package 'qtmod'. I surmise it's because of incompatibilities with original qt Arch pkg.
As the pkg from pierre repo was propably built for vanilla Arch KDE, will it work for me anyway? (I don't want to use it with KDE packages, but build one qt program, Arora, with it)

2) The files inside propably install themselves to something like /usr/bin or /usr/lib. Is there any way to make them install in /opt?

Last edited by warnec (2009-12-03 10:42:50)

Offline

#8 2009-12-04 14:06:37

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Install precompiled qt 4.6 in /opt?

I took a look here:

http://www.archlinux.org/pacman/pacman.conf.5.html

and the RootDir options seems like what I'd need.
I'll give it a shot and post back.
UPDATE:

[warnec@chakra-desktop ~]$ LANG=C RootDir=/opt/qt46 sudo pacman -U qt-4.6.0-2-x86_64.pkg.tar.gz
loading package data...
checking dependencies...
error: replacing packages with -U is not supported yet
error: you can replace packages manually using -Rd and -U
error: failed to prepare transaction (conflicting dependencies)
:: qt: conflicts with qtmod
[warnec@chakra-desktop ~]$

Although it seems to conflict w/ qtmod, I will simply install it with no conflicts check, because it isn't meant to replace it - as I said, I just need the files to compile Arora.
UPDATE 2:

[warnec@chakra-desktop ~]$ LANG=C RootDir=/opt/qt46 sudo pacman -Ud qt-4.6.0-2-x86_64.pkg.tar.gz                                                                  
loading package data...                                                          
(1/1) checking for file conflicts                   [######################] 100%
error: failed to prepare transaction (conflicting files)                         
qt: /usr/bin/lconvert exists in filesystem                                       
qt: /usr/bin/lrelease exists in filesystem            
(...)
qt: /usr/share/qt/phrasebooks/swedish.qph exists in filesystem
qt: /usr/share/qt/q3porting.xml exists in filesystem

errors occurred, no packages were upgraded.
[warnec@chakra-desktop ~]$

So the RootDir variable seems to do nothing. It still tries to install to /usr.
UPDATE 3:
Setting /opt/qt46 globally in /etc/pacman.conf seems to have done the trick.

[warnec@chakra-desktop ~]$ LANG=C sudo pacman -Ud qt-4.6.0-2-x86_64.pkg.tar.gz loading package data...
(1/1) checking for file conflicts                   [######################] 100%
(1/1) installing qt                                 [######################] 100%
error: command failed to execute correctly
Optional dependencies for qt
    postgresql-libs
    libmysqlclient
    unixodbc
[warnec@chakra-desktop ~]$

Last edited by warnec (2009-12-04 15:04:11)

Offline

#9 2009-12-13 07:47:44

harbind
Member
Registered: 2009-05-08
Posts: 22

Re: Install precompiled qt 4.6 in /opt?

warnec wrote:

1) I'd like to grab qt 4.6 and install it in /opt to build Arora w/ it (while having 4.5.3 for rest of KDE). I just don't like the idea of having to download and compile this much of code (whole qt).

If you don't want to compile it yourself, why not grab trolls' installer?

Offline

Board footer

Powered by FluxBB