| 507 | | |
| | 507 | ---- |
| | 508 | |
| | 509 | === 3/11/09 === |
| | 510 | |
| | 511 | Blocks on my head... |
| | 512 | |
| | 513 | We're going to attempt to build the example block: |
| | 514 | |
| | 515 | In the /root/gnuradio/gr-howto-write-a-block directory, we first ran the bootstrap script (cuz we got it from SVN). |
| | 516 | {{{ |
| | 517 | node1-1:~/gnuradio/gr-howto-write-a-block# ./bootstrap |
| | 518 | configure.ac:28: installing `./install-sh' |
| | 519 | configure.ac:28: installing `./missing' |
| | 520 | src/lib/Makefile.am: installing `./depcomp' |
| | 521 | src/lib/Makefile.am:56: installing `./py-compile' |
| | 522 | }}} |
| | 523 | |
| | 524 | This created a configure script which puke out much stuffs but in the end didn't complain about any thing: |
| | 525 | {{{ |
| | 526 | node1-1:~/gnuradio/gr-howto-write-a-block# ./configure |
| | 527 | . |
| | 528 | . |
| | 529 | . |
| | 530 | configure: creating ./config.status |
| | 531 | config.status: creating Makefile |
| | 532 | config.status: creating config/Makefile |
| | 533 | config.status: creating doc/Makefile |
| | 534 | config.status: creating src/Makefile |
| | 535 | config.status: creating src/lib/Makefile |
| | 536 | config.status: creating src/python/Makefile |
| | 537 | config.status: creating src/python/run_tests |
| | 538 | config.status: creating config.h |
| | 539 | config.status: executing depfiles commands |
| | 540 | config.status: executing run_tests commands |
| | 541 | }}} |
| | 542 | |
| | 543 | After a successful configure, make pushed through with a few warning, but no halting errors. Make check passed all the tests: |
| | 544 | |
| | 545 | {{{ |
| | 546 | node1-1:~/gnuradio/gr-howto-write-a-block# make check |
| | 547 | . |
| | 548 | . |
| | 549 | . |
| | 550 | OK |
| | 551 | PASS: run_tests |
| | 552 | ================== |
| | 553 | All 1 tests passed |
| | 554 | ================== |
| | 555 | make[3]: Leaving directory `/root/gnuradio/gr-howto-write-a-block/src/python' |
| | 556 | make[2]: Leaving directory `/root/gnuradio/gr-howto-write-a-block/src/python' |
| | 557 | make[2]: Entering directory `/root/gnuradio/gr-howto-write-a-block/src' |
| | 558 | make[2]: Nothing to be done for `check-am'. |
| | 559 | make[2]: Leaving directory `/root/gnuradio/gr-howto-write-a-block/src' |
| | 560 | make[1]: Leaving directory `/root/gnuradio/gr-howto-write-a-block/src' |
| | 561 | make[1]: Entering directory `/root/gnuradio/gr-howto-write-a-block' |
| | 562 | make[1]: Nothing to be done for `check-am'. |
| | 563 | make[1]: Leaving directory `/root/gnuradio/gr-howto-write-a-block' |
| | 564 | node1-1:~/gnuradio/gr-howto-write-a-block# |
| | 565 | |
| | 566 | }}} |
| | 567 | |
| | 568 | Make install - no complaints. Thus all the libraries and tools are in place for making blocks. Taking an image. |
| | 569 | |
| | 570 | |
| | 571 | |