[SOLVED] I have troubles compiling CDE for Mageia 9

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] I have troubles compiling CDE for Mageia 9

Postby chesheer » Dec 22nd, '25, 21:46

First of all, I'm totally new to Mageia. I tried to compile CDE (because why not?) - Common Desktop Environment (https://sourceforge.net/projects/cdesktopenv/).
I stumbled upon a compile error saying that file Xm/XpmP.h is not found. I thought that was strange, because it clearly should have come with some of the motif dev packages I had installed.
I tried
Code: Select all
urpmf XpmP.h
but it found nothing.
I have an LMDE machine, and it has XpmP.h. LMDE is basically Debian with extra steps. I asked dpkg where that file comes from:
Code: Select all
dpkg -S XpmP.h
and found out it comes with libmotif-dev. I have it installed on Mageia machine (lib64motif-dev). I compared versions of the package - 2.3.8 on LMDE and the same 2.3.8 on Mageia 9. I don't know if it's strange that the package with the same version lacks one file on Mageia? Is there a way to solve this problem? Of course, I can't just move this file from my LMDE machine to Mageia, because I need the corresponding library for linking as well.
Last edited by chesheer on Dec 24th, '25, 09:00, edited 3 times in total.
chesheer
 
Posts: 2
Joined: Dec 22nd, '25, 21:30

Re: I have troubles compiling CDE for Mageia 9

Postby doktor5000 » Dec 23rd, '25, 12:14

Hi there, from what I can tell, the originating package libxp has been dropped and the bundled Xpm copy has been dropped, check https://bugs.mageia.org/show_bug.cgi?id=31867
You'd have to rebuild motif yourself and comment out removing the bundled copy: http://svnweb.mageia.org/packages/cauld ... markup#l96

This also seems to be reflected partially in the recent CDE changes, so if you build from a development checkout of CDE that might also work.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18164
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I have troubles compiling CDE for Mageia 9

Postby chesheer » Dec 23rd, '25, 20:19

Thank you very much! That actually helped. I commented out the last patch 11 (motif-2.3.8-system-libxpm.patch - it's the one that removes Xm/XpmP.h file) and the line about removing the lib/Xm/Xpm* files, rebuilt motif package and then successfully compiled and run CDE on Mageia 9. Not that there's much sense in it, but it was fun.
chesheer
 
Posts: 2
Joined: Dec 22nd, '25, 21:30

Re: I have troubles compiling CDE for Mageia 9

Postby doktor5000 » Dec 24th, '25, 01:28

Please mark the thread as solved by editing the subject of the first post and prepending it with [SOLVED], thanks in advance.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18164
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest