[Maria-developers] Problem in compiling Maria-db
Hello everyone, My name is Vaibhav.I am new to programming for open source. I am facing problems in trying to compile Maria-Db.As instructed on the website, I cloned the maria db source and installed all the files required for compilation. However on using cmake,I am getting an error,screenshot of which is attached is with this mail. Can someone please help me out? Thanks, Vaibhav Choudhary
Hi! On Thu, Oct 1, 2015 at 12:46 PM, indiavaibhav vaibhavindia < vaibhav.sanskriti@gmail.com> wrote:
Hello everyone, My name is Vaibhav.I am new to programming for open source. I am facing problems in trying to compile Maria-Db.As instructed on the website, I cloned the maria db source and installed all the files required for compilation.
However on using cmake,I am getting an error,screenshot of which is attached is with this mail.
Can someone please help me out?
Looks like you are not running cmake from the correct directory? Did you follow this : https://mariadb.com/kb/en/mariadb/generic-build-instructions/ ? You can also build out-of-source to keep the tree clean : cd src-dir mkdir bld cd bld cmake .. Best, Nirbhay
Thanks, Vaibhav Choudhary
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
Thanks Nirbhay for your guidance. I just have one more question to ask,when I write any patch for any issue on Jira,i would have to compile the entire source with cmake again to test the patch right? I really appreciate your help. Thanks, Vaibhav Choudhary On Thu, Oct 1, 2015 at 10:29 PM, Nirbhay Choubey <nirbhay@mariadb.com> wrote:
Hi!
On Thu, Oct 1, 2015 at 12:46 PM, indiavaibhav vaibhavindia < vaibhav.sanskriti@gmail.com> wrote:
Hello everyone, My name is Vaibhav.I am new to programming for open source. I am facing problems in trying to compile Maria-Db.As instructed on the website, I cloned the maria db source and installed all the files required for compilation.
However on using cmake,I am getting an error,screenshot of which is attached is with this mail.
Can someone please help me out?
Looks like you are not running cmake from the correct directory?
Did you follow this : https://mariadb.com/kb/en/mariadb/generic-build-instructions/ ?
You can also build out-of-source to keep the tree clean :
cd src-dir mkdir bld cd bld cmake ..
Best, Nirbhay
Thanks, Vaibhav Choudhary
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
Hi Vaibhav, On Fri, Oct 2, 2015 at 11:46 AM, indiavaibhav vaibhavindia < vaibhav.sanskriti@gmail.com> wrote:
Thanks Nirbhay for your guidance. I just have one more question to ask,when I write any patch for any issue on Jira,i would have to compile the entire source with cmake again to test the patch right?
Right. After you are done with your changes, you have to make sure that the source builds fine. You do no have to run "cmake" every time though. cmake generates makefiles for your project, and once the makefiles are in place (after the first cmake run), all you need is to run "make".. that's it. I really appreciate your help.
You are welcome. All the best. -- Nirbhay
Thanks, Vaibhav Choudhary
On Thu, Oct 1, 2015 at 10:29 PM, Nirbhay Choubey <nirbhay@mariadb.com> wrote:
Hi!
On Thu, Oct 1, 2015 at 12:46 PM, indiavaibhav vaibhavindia < vaibhav.sanskriti@gmail.com> wrote:
Hello everyone, My name is Vaibhav.I am new to programming for open source. I am facing problems in trying to compile Maria-Db.As instructed on the website, I cloned the maria db source and installed all the files required for compilation.
However on using cmake,I am getting an error,screenshot of which is attached is with this mail.
Can someone please help me out?
Looks like you are not running cmake from the correct directory?
Did you follow this : https://mariadb.com/kb/en/mariadb/generic-build-instructions/ ?
You can also build out-of-source to keep the tree clean :
cd src-dir mkdir bld cd bld cmake ..
Best, Nirbhay
Thanks, Vaibhav Choudhary
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
participants (2)
-
indiavaibhav vaibhavindia
-
Nirbhay Choubey