LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2008, 11:53 PM   #1
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Rep: Reputation: 15
Need help with Qt upgrade from 3.8.0 to 4.3.4


I have upgraded my Qt from version 3.8.0 to 4.3.4 for an application that I want to install needs it. All seemed to go well finished and rebooted, and it worked fine for the root user. I try it with a normal user and it don't work it a permission error. I can get it to work if I add the user to the root user group but for obvious reasons I dont want every user in this group at this time it not such a big deal there is only 2 users on the system (root & 1 other user). I know the /usr/local/Trolltech/* is owned by user/group root with permissions drwxr-x--- not really sure how to solve this other then changing group permissions to include write permission and not sure that would even solve the problem. The second problem is I am trying to install Mixxx and I keep getting the following 2 errors
Code:
Checking for QtCore (4.3 or higher)...  no
QT >= 4.3 not found.
even when I supply the directory I get this error. If I do
Code:
qmake --version
QMake version 2.01a
Using Qt version 4.3.4 in /usr/local/Trolltech/Qt-4.3.4/lib
So with this I believe I using right version but it still fails saying I am not using QtCore of 4.3 or above. Any help on this would be greatly appreciated. Thanks in advance.
 
Old 03-15-2008, 04:55 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Tell us what other output is in the config.log around the place where the failure occurs.
 
Old 03-18-2008, 05:38 AM   #3
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Original Poster
Rep: Reputation: 15
OK in the config.log file the error is at the end of the file and it is as follows
Code:
scons: Configure: Checking for QtCore (4.3 or higher)...
pkg-config --atleast-version=4.3 'QtCore'
scons: Configure: no
Not sure if there anything else in the log file of importance so I have included it.
Code:
file /admin/mixxx/src/SConscript,line 262:
    Configure(confdir = .sconf_temp)
scons: Configure: Checking for C library portaudio... 
.sconf_temp/conftest_0.c <-
  |
  |
  |#include "portaudio.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_0.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_0.c
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio
scons: Configure: yes

scons: Configure: Checking for C library mad... 
.sconf_temp/conftest_1.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_1.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_1.c
gcc -o .sconf_temp/conftest_1 .sconf_temp/conftest_1.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad
scons: Configure: yes

scons: Configure: Checking for C library id3tag... 
.sconf_temp/conftest_2.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_2.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_2.c
gcc -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag
scons: Configure: yes

scons: Configure: Checking for C library vorbisfile... 
.sconf_temp/conftest_3.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_3.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_3.c
gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile
scons: Configure: yes

scons: Configure: Checking for C library vorbis... 
.sconf_temp/conftest_4.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_4.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_4.c
gcc -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile -lvorbis
scons: Configure: yes

scons: Configure: Checking for C library ogg... 
.sconf_temp/conftest_5.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_5.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_5.c
gcc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile -lvorbis -logg
scons: Configure: yes

scons: Configure: Checking for C library GL... 
.sconf_temp/conftest_6.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_6.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_6.c
gcc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile -lvorbis -logg -lGL
scons: Configure: yes

scons: Configure: Checking for C library GLU... 
.sconf_temp/conftest_7.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_7.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_7.c
gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile -lvorbis -logg -lGL -lGLU
scons: Configure: yes

scons: Configure: Checking for C library sndfile... 
.sconf_temp/conftest_8.c <-
  |
  |
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_8.o -c -I/usr/local/Trolltech/Qt-4.3.4/lib/include .sconf_temp/conftest_8.c
gcc -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -L/usr/local/Trolltech/Qt-4.3.4/lib/lib -lportaudio -lmad -lid3tag -lvorbisfile -lvorbis -logg -lGL -lGLU -lsndfile
scons: Configure: yes

scons: Configure: Checking for pkg-config (at least version 0.15.0)... 
pkg-config --atleast-pkgconfig-version=0.15.0
scons: Configure: yes

scons: Configure: Checking for QtCore (4.3 or higher)...     
pkg-config --atleast-version=4.3 'QtCore'
scons: Configure: no
 
Old 03-18-2008, 12:13 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
A couple of comments:
  1. Perhaps when you compiled and installed into /usr/local, you forgot to ensure that the pkg-config files were visible to pkg-config. Search your system (with e.g., locate) for a file named “QtCore.pc” and ensure that PKG_CONFIG_PATH is set so it the above file will be found.
  2. Your config.log continually uses the linker option “-L/usr/local/Trolltech/Qt-4.3.4/lib/lib”. I am not sure, but I don’t think the extra “lib” should be there. Perhaps QT_DIR is misset (and perhaps this relates to your first problem).
 
Old 03-19-2008, 05:10 PM   #5
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Original Poster
Rep: Reputation: 15
I found a website (seemed to be a reply to an email) that suggested editing the mixxx/src/SConscript file to what this website suggested (which included the path minus the /lib as you suggested) and it passed the point where it was telling me that Qt was not greater then 4.3. But it also produced many new errors. I thank you for your help it was much appreciated, unfortunately the system belonged to someone else in the house and me getting this fixed was not quick enough for him and he formatted the drive put Windows XP on the one drive (master drive) and will be putting another distribution of Linux on the second drive (slave drive), at which time it be up to him to do this it not worth it to me to waste my time getting things fixed for him to formatted it on me without any notice. I will stick with my Linux system and fixing my problems.
 
Old 03-19-2008, 06:49 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
chmod -R u=rwX,go=rX /usr/local/Trolltech


Does that help?


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless switch doesn't work after upgrade/dist-upgrade angelofhope Debian 10 01-02-2008 04:46 AM
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 07:49 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
Upgrade hang when checking for packets to upgrade Gerrit Jan Fedora 6 12-22-2005 08:21 AM
upgrade RH8 to RH9 - upgrade or clean install PAB Linux - General 0 03-13-2004 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration