[Maria-developers] Error on 'make' of mariadb source

Hi all, I did some changes with in the sql_yacc.yy. During building the source , I am getting following error (attached screenshot) when I try to execute the "make" command after doing a cmake of the source. It says permission denied while trying to make jemalloc-configure. Although i am executing the make command with root user. [image: Inline image 1] [image: Inline image 2] Can somebody provide/help me with some pointers on how to proceed to resolve it ? -- Thanks and Regards, Kesha Shah. www.keshashah.com

Hi, Kesha! On Apr 04, Kesha Shah wrote:
Hi all,
I did some changes with in the sql_yacc.yy. During building the source , I am getting following error (attached screenshot) when I try to execute the "make" command after doing a cmake of the source. It says permission denied while trying to make jemalloc-configure. Although i am executing the make command with root user.
[image: Inline image 1] [image: Inline image 2]
Can somebody provide/help me with some pointers on how to proceed to resolve it ?
please, paste the complete build log, starting from cmake command and up to the next shell prompt. oh, and by the way, generally it's a good idea not to build as a root user. Regards, Sergei

Hi Sergei, Hope this mail finds you well. As per suggestion by Weldon Whipple I tried deleting the corresponding sql_yacc.h and cc files before building the source. But no luck. I think I need to reconfigure the environment again and try building the source again after a fresh source pull. Also I please guide me if there is a git fork available for the latest/weekstone release of mariadb source code as bzr revision system is extremely slow (sometimes take full day and ends up with the message that connection is reset by the peer and finally hanging on). This is really happening on every checkout/pull of source (did it on Ubuntu). It would also be helpful if I can get a source repository from where the branches can be forked locally in bzr. Thanks and Regards, Kesha Shah On Tue, Apr 8, 2014 at 12:06 AM, Sergei Golubchik <serg@mariadb.org> wrote:
Hi, Kesha!
Hi all,
I did some changes with in the sql_yacc.yy. During building the source , I am getting following error (attached screenshot) when I try to execute
On Apr 04, Kesha Shah wrote: the
"make" command after doing a cmake of the source. It says permission denied while trying to make jemalloc-configure. Although i am executing the make command with root user.
[image: Inline image 1] [image: Inline image 2]
Can somebody provide/help me with some pointers on how to proceed to resolve it ?
please, paste the complete build log, starting from cmake command and up to the next shell prompt.
oh, and by the way, generally it's a good idea not to build as a root user.
Regards, Sergei
-- Kesha Shah. www.keshashah.com

Hi, Kesha! On Apr 14, Kesha Shah wrote:
Hi Sergei,
Hope this mail finds you well.
As per suggestion by Weldon Whipple I tried deleting the corresponding sql_yacc.h and cc files before building the source. But no luck. I think I need to reconfigure the environment again and try building the source again after a fresh source pull.
There's no need to do a fresh source pull every time. Just bzr clean-tree --ignored --unknown --force bzr revert --no-backup will remove all garbage files and undo all your edits, so the tree will be as good as freshly pulled.
Also I please guide me if there is a git fork available for the latest/weekstone release of mariadb source code as bzr revision system is extremely slow (sometimes take full day and ends up with the message that connection is reset by the peer and finally hanging on). This is really happening on every checkout/pull of source (did it on Ubuntu). It would also be helpful if I can get a source repository from where the branches can be forked locally in bzr.
This only happens on the first branching. Do as follows: bzr init-repo kesha-work cd kesha-work bzr branch lp:maria/10.0 10.0 after that you'll have 10.0 branched, it'll be quite a long process. But after that all further branching inside the kesha-work will be pretty fast. Regards, Sergei
participants (2)
-
Kesha Shah
-
Sergei Golubchik