[SOLVED] compile error - library issue

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] compile error - library issue

Postby MontyWilliams » May 24th, '12, 23:45

mageia2 x86-64
Trying to compile xpat2 --> wish it was an rpm as in Mandriva <---

Running make, get error "fatal error: qobject.h: No such file or directory"
Ran urpmf.

In fact qobject.h is installed - in lib64qt4-devel

Question: Do I need to install the 32 bit libqt4-devel or can I force the make to see the 64 bit lib?
The 32 bit brings with it a ton of packages.

Cheers
Last edited by MontyWilliams on May 25th, '12, 23:32, edited 1 time in total.
MontyWilliams
 
Posts: 66
Joined: Jun 14th, '11, 23:59
Location: North Vancouver, Canada

Re: compile error - library issue

Postby djennings » May 25th, '12, 02:42

What I would do in this situation is to get the src rpm from Mandriva 2010.2 (NOT 2011) and rebuild it for Mageia.
Rebuilding src.rpms is not hard once you have your build environment set up. There is a guide here
https://wiki.mageia.org/en/Packaging_for_beginners

BTW: If you put in an rpm request on Bugzilla someone might import it into Mageia
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: compile error - library issue

Postby MontyWilliams » May 25th, '12, 04:46

What I would do in this situation is to get the src rpm from Mandriva 2010.2


Thank you.
Quite educational.

Trying with xpat2-1.07-25mdv2010.1.src-1.rpm
Downloaded and saved.
Trying to use rpm or urpmi on this file gives error message "unsatisfied qt3-devel".
This (qt3) is a much depricated package?
spec file says "BuildRequires: qt3-devel" I wonder if I can just change this line to qt4?
Edit: Not quite that simple.

Will submit request for package inclusion.
Thought I saw some months ago an intention to include xpat2 in Mageia2, but with the manpower shortage at Mageia and the lack of importance of this package I guess not?

I will experience some grief on the home front if I install Mageia2 as my working system without this game.

Cheers
MontyWilliams
 
Posts: 66
Joined: Jun 14th, '11, 23:59
Location: North Vancouver, Canada

Re: compile error - library issue

Postby djennings » May 25th, '12, 11:00

Trying to use rpm or urpmi on this file gives error message "unsatisfied qt3-devel".
This (qt3) is a much deprecated package?


This is probably why it has not been imported already. qt3-devel is not in Mandriva either yet xpat2 is still there. I suspect that means it has not been rebuilt for some time. Have you tried simply installing the Mandriva 2010.2 rpm? The worst that can happen is that it fails to install or does not work.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: compile error - library issue

Postby MontyWilliams » May 25th, '12, 23:26

https://bugs.mageia.org/show_bug.cgi?id=6079


Have you tried simply installing the Mandriva 2010.2 rpm?



Trying:
xpat2-1.07-25mdv2010.1.x86_64.rpm
Looks OK.
Thanks.
MontyWilliams
 
Posts: 66
Joined: Jun 14th, '11, 23:59
Location: North Vancouver, Canada


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest