Bug 137747 - Error in 'configure', when setting 'kdelibsuff'
Summary: Error in 'configure', when setting 'kdelibsuff'
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 23:29 UTC by Leandro Motta Barros
Modified: 2022-01-23 05:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Motta Barros 2006-11-22 23:29:49 UTC
Version:           0.9.0-rc1 (using KDE KDE 3.5.1KDE 1.2)
Installed from:    Unlisted Binary PackageUnlisted Binary Package
OS:                Linux

I am getting some problem while running 'configure', before starting to actually compile DigiKam. This problem is happening in 0.9.0-rc1, but it also happened in the latest beta you released (0.9.0-beta3, or was it called 0.9.0-beta1-r3? Whatever...) Anyway, some time ago I sucessfuly compiled DigiKam 0.9.0-beta1-r1 on the same system, so I suppose this problem was introduced in the latest versions.

Actually, 'configure' doesn't really issue an error, it executes as if everything went right, but it sets some variable to an incorrect value, and this causes a compilation error afterwards.

I have tracked the problem to be around line 8310 (sorry, I made changes while looking for this, so I don't know the exact line number), where the variable 'kdelibsuff' is set. 'ldd conftest.out' produces the following output here:

$ldd conftest.out                                                 
        libc.so.6 => /System/Links/Libraries/libc.so.6 (0xb7df2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f23000)

and after running that monstruous 'sed', it is transformed to

        libc.so.6 => /System/Links/Libraries/libc.so.6 (0xb7e65000)

So, 'kdelibsuff' is being set to '        libc.so.6 => /System/Links/Libraries/libc.so.6 (0xb7e65000)', which is clearly wrong.

I don't understant that 'sed' command being used in 'configure', but perhaps it's being confused by the strange path where my libc is found. This path is not the usual one, but it is correct, given that the Linux distribution I use (www.gobolinux.org) uses a different file hierarchy (I more sensible one, I would say, but this is a bug report, not an advertisement ;-))

So, I think this is enough information, but feel free to contact me for any missing detail.

And thanks for the nice program :-)
Comment 1 Arnd Baecker 2007-07-01 12:15:05 UTC
Hi Leandro,

to be sure about the status of this issue, could you try with
the new 0.9.2. I am not sure if anything has changed with respect to
your issue, but it might be worth a try.

Many thanks in advance, Arnd
Comment 2 Arnd Baecker 2007-09-24 22:43:57 UTC
Leandro, any update on this bug?

Many thanks in advance,

Arnd
Comment 3 Leandro Motta Barros 2007-09-24 23:15:28 UTC
Hi Arnd,

Sorry, I haven't been able to check this, and probably won't be able to
do this soon. IIRC, I have seen this very same problem with other KDE
applications (does the whole KDE project uses the same "basic"
'configure' template, by any chance?).

Anyway, it seems that I am the only one who noticed this. So, perhaps
you can close this bug...

On 24 Sep 2007 20:43:58 -0000
Arnd Baecker <arnd.baecker@web.de> wrote:

[bugs.kde.org quoted mail]
Comment 4 Arnd Baecker 2007-10-19 10:14:32 UTC
Thanks for the feedback. I close this bug as INVALID,
but don't hesitate to re-open with new information.

Thanks a a  lot for your understanding,

Arnd