LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-23-2007, 12:44 PM   #1
Musikolo
Member
 
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Rep: Reputation: 15
Thumbs down digikam compiling problems


My problem is here: http://mail.kde.org/pipermail/digika...er/002780.html

I hope I am wrong you are smart enough to sort it out!
 
Old 01-23-2007, 01:32 PM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
You win your bet. What do I owe you?
 
Old 01-23-2007, 01:34 PM   #3
Musikolo
Member
 
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wjevans_7d1@yahoo.co
You win your bet. What do I owe you?
Just $100 is fine!
 
Old 01-23-2007, 02:09 PM   #4
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
This "undefined reference" thing is a strong hint that you're linking against a different Qt version than you're compiling against. Since there's an explicit -L/usr/lib/qt-3.3/lib for the linker, I suggest you recompile everything after (assuming you're using bash)
Code:
export CPATH="/usr/lib/qt-3.3/include:$CPATH"
(please check that's the right path for your system)

What do I get if I'm right?
 
Old 01-23-2007, 02:09 PM   #5
Musikolo
Member
 
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Original Poster
Rep: Reputation: 15
Fixed!

The issue now fixed and the patch has been submitted to the digikam SVN. So hopefully the next release (0.9.1) will have it applied.

You have to replace this line of the file digikam/utilities/setup/setupgeneral.cpp (at the end of the file):
// d->mainDialog->enableButtonOK(dir.exists() && dir != QDir(QDir::homeDirPath ()));

for this one:
d->mainDialog->enableButtonOK(dir.exists() && dir.path() != QDir::homeDirPath());


You can also use this patch:
Code:
sed -i -e 's/dir != QDir[(]QDir::homeDirPath [(][)][)]/dir.path() != QDir::homeDirPath()/' digikam/utilities/setup/setupgeneral.cpp
I hope it helps to anyone!
 
Old 01-23-2007, 02:12 PM   #6
Musikolo
Member
 
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by psisquare
This "undefined reference" thing is a strong hint that you're linking against a different Qt version than you're compiling against. Since there's an explicit -L/usr/lib/qt-3.3/lib for the linker, I suggest you recompile everything after (assuming you're using bash)
Code:
export CPATH="/usr/lib/qt-3.3/include:$CPATH"
(please check that's the right path for your system)

What do I get if I'm right?
Thanks for your reply. I only have one single QT version installed since I'm bulding inside a jail and I have installed everything from scratch in it. Anyway, thanks a lot for your help. I have just posted the solution to my problem.

Thanks again one again!
 
  


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
digikam wabbalee Linux - Desktop 2 11-07-2006 12:11 AM
Digikam help please marcia Linux - Software 1 03-08-2006 08:27 AM
A-L-M-O-S-T There!!! Digikam, KAudioCreator, system bell install problems joeaverage Mandriva 5 01-05-2006 10:01 PM
Digikam in 9.3 LinuxPimp SUSE / openSUSE 1 05-14-2005 09:54 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM

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

All times are GMT -5. The time now is 04:11 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