pl259
Posts: 14
Joined: Mon Jan 28, 2013 4:11 pm

./bootstrap = ./cmake

Mon Feb 04, 2013 7:36 pm

I am trying to install the folowing program:
https://www.cgran.org/wiki/AIS
and in the install intructions it refers to ./bootstrap, but i can not find any file named bootstrap. Is this refering to the mkdir build, cd build, cmake ../, process?

thanks

User avatar
PeterO
Posts: 5880
Joined: Sun Jul 22, 2012 4:14 pm

Re: ./bootstrap = ./cmake

Mon Feb 04, 2013 7:42 pm

./bootstrap is a file called "bootstrap" located in the current directory "."

That form is normally used to run an executable file that is located in the current directory. Note that "." should not be put in the PATH.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

pl259
Posts: 14
Joined: Mon Jan 28, 2013 4:11 pm

Re: ./bootstrap = ./cmake

Mon Feb 04, 2013 7:48 pm

when i look at the downloadable files:
https://github.com/bistromath/gr-ais
There is no file anywhere in there named bootstrap. There are cmake files. Is bootstrapping an older technique than cmake, and the install instructions were just not updated? thanks

technion
Posts: 238
Joined: Sun Dec 02, 2012 9:49 am

Re: ./bootstrap = ./cmake

Mon Feb 04, 2013 9:57 pm

If you grab an old version...
https://github.com/bistromath/gr-ais/tr ... 9f91e869a2

The bootstrap file is there. It would appear that they have changed their build process, and not updated their documentation, as you had thought.

The commit that overhauled the build states "cmake is the future", however, I wouldn't call autoconfig/make an obsolete system (just about every current project uses it).

I would suggest you will need to do some Google on the 'cmake' product, it would appear likely that you'll need to install cmake itself as a first step.

pl259
Posts: 14
Joined: Mon Jan 28, 2013 4:11 pm

Re: ./bootstrap = ./cmake

Tue Feb 05, 2013 1:12 pm

thanks for the advice. I already have used cmake a couple of times but had some trouble with this program and wiped my sd card clean and just wanted to make sure now that i have restarted that i am doing this step right. Thanks so much for the help.

Return to “General programming discussion”