bakefile: command not found on Ubuntu Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
prashantkn94
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 08, 2017 5:15 pm

bakefile: command not found on Ubuntu

Post by prashantkn94 »

HI,
I downloaded bakefile version - 1.2.5.1 source . Extracted it , Installed Sphinx, pytest and ran make command. However when I run bakefile command I get command not found error. Please tell me what's going on here.

Thank you !
stahta01
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 550
Joined: Fri Nov 03, 2006 2:00 pm

Re: bakefile: command not found on Ubuntu

Post by stahta01 »

Did you install the command?

Code: Select all

make install
Would be my guess on how to install it.

Tim S.
prashantkn94
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 08, 2017 5:15 pm

Re: bakefile: command not found on Ubuntu

Post by prashantkn94 »

Code: Select all

make: *** No rule to make target `intall'.  Stop.
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: bakefile: command not found on Ubuntu

Post by DavidHart »

Hi,

It would help if you explained more about how you built bakefile. For example, you don't mention running 'configure'. Did the build seem to work?

What you should have done is something like:
./configure --prefix=/usr
make -j
sudo make install

If you don't specify a destination with --prefix, it will be installed by default to /usr/local/

Regards,

David
prashantkn94
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 08, 2017 5:15 pm

Re: bakefile: command not found on Ubuntu

Post by prashantkn94 »

Hi,
README file inside bakefie-1.2.5.1 doesn't ask us to run ./configure command. Moreover there is no configure file in the directory. However I tried running the command and got this.

Code: Select all

bash: ./configure: No such file or directory 
Thank you
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: bakefile: command not found on Ubuntu

Post by DavidHart »

Ah, you're trying to build/run the 'new' bakefile. I didn't read carefully enough and assumed this was about the 'legacy' bakefile 0.2.9, the version used by wxWidgets (and by me).

As you say, there is no 'configure' supplied. From the README and the makefile it looks as if you aren't are supposed to install anything.

I downloaded the git source and built it; there was no visible executable file called bakefile. The documentation failed to help at all!
However there is a symlink called bkl and, after a look in one of the 'binary' tarballs, it seems that you are supposed to do something like:
./bkl /path/to/your/foo.bkl
where foo.bkl is the file you want to 'bake'.

I tried this using my legacy .bkl file and it 'worked' in that I got a 'wrong version' error message.
prashantkn94
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 08, 2017 5:15 pm

Re: bakefile: command not found on Ubuntu

Post by prashantkn94 »

AWESOME!!! :)
Thank you.
Post Reply