Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 03-14-2011, 01:20 AM   #1
Registered: Nov 2010
Location: India
Distribution: Mandriva
Posts: 43

Rep: Reputation: 0
Package compilation for Mandriva RPM from Source code. How to do those???

I am using Mandriva and I love it. But I see there are so many good packages still has not ported to Mandriva.

for example. some cool packages for Ubuntu.. I know there are source packages for these are available.

I would like to compile these sources and port them to Mandriva-read-install RPMS. but I dont know what to do?
instead of just doing direct ./configure and make , what are the tools I have set? and what are the good process steps to create Mandriva RPM from source code?
Old 03-14-2011, 02:01 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
You could use rpm --rebuild to build a source rpm. I recommend though reading the following:


Old 03-14-2011, 02:44 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,654

Rep: Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280
Have you got the contrib repo included ? 11,800 packages :

And lots more in PLF : Add PLF medias.

... Ubuntu.. I know there are source packages for these available
Yes : from Ubuntu →

How to do those???
Just use the build command(s) for that application : read README ? Documentation ?

Possible commands and scripts to be run to start building Linux software:
'perl Makefile.PL' , 'perl Build.PL' , 'python build' ,
# 'python install', 'cmake ..' , 'scons', './waf', 'jam' ,
'./install', './', './configure' (or 'sh configure'),
libtoolize && aclocal && autoheader && automake --add-missing && autoconf, .. .. etc.

Last edited by knudfl; 03-14-2011 at 03:11 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
source code or package linuxown Linux - Software 3 12-18-2009 02:13 AM
Source rpm, binary rpm and source code mcpoon Linux - Newbie 5 06-30-2009 09:33 AM
why compile source code for installing package? olddocks Linux - Server 6 04-29-2008 12:21 AM
Looking for source code for stty -- what package? dovkruger Linux - General 1 10-24-2007 11:23 AM
Source code for rh9 games package??? Quantum0726 Red Hat 0 12-29-2003 02:42 PM

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration