Message: previous - next
Month: February 2014

SOLVED : Re: [trinity-devel] R: [trinity-devel] KXMLedit is MISSING from TDE - Slavek can you convert/add?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 22 Feb 2014 14:39:44 -0600
On 02/22/2014 02:13 PM, François Andriot wrote:
> Le 22/02/2014 20:46, David C. Rankin a écrit :
>> On 02/22/2014 01:31 PM, François Andriot wrote:
>>> It's really common with these old programes that there are missing linker flags
>>> in the Makefile.
>>> It looks like nowaday's compiler are much stricter, we must specify every
>>> library to link, there is no auto-detection at all.
>>> On some distribution (like Mageia :-) ) the error message that I get from the
>>> linker tells exactly what library is required, whereas yours only shows the
>>> missing symbol, which is not really helpful.
>>> I'll try to build this tool and see what is wrong here.
>>> Francois
>> Thank you Francios!
>  Bug report 1955 updated.

These are the changes that allowed kxmleditor to build:

# ~/tde/tde/experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3
# ~/tde/tde/experimental/kde-tde/convert_existing_kde3_app_to_tde
# cp -r ~/tde/tde/main/common/admin .
# sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/kxmleditor/
# sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/part/
# sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/part/
# kxmleditor/ kxmleditor_LDFLAGS = $(all_libraries) $(KDE_RPATH)

Basically, I copied the libraries from kdiff3. I think the only one that was
missing was -lDCOP.  I'm just glad it builds. I'll test Francios patch too.

I have the diff if you want it, but just following the steps above work.

David C. Rankin, J.D.,P.E.