Skip to content

Commit 5acd111

Browse files
committed
docs: [source,console] -> ""
1 parent e6b72db commit 5acd111

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

docs/src/code/building-linuxcnc.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ GitHub makes this sharing very easy: After you polish your changes and push them
7474

7575
For the impatient, try this:
7676

77-
[source,console]
7877
----
7978
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
8079
$ cd linuxcnc-source-dir/src
@@ -90,14 +89,12 @@ Especially the section on <<Satisfying-Build-Dependencies,Satisfying Build Depen
9089
If you are running on a realtime-capable system (such as an install from the LinuxCNC Live/Install Image,
9190
see the <<sub:realtime,Realtime>> section below), one extra build step is needed at this time:
9291

93-
[source,console]
9492
----
9593
$ sudo make setuid
9694
----
9795

9896
After you have successfully built LinuxCNC it is time to run the tests:
9997

100-
[source,console]
10198
-----
10299
$ source ../scripts/rip-environment
103100
$ runtests
@@ -167,7 +164,6 @@ The `src/configure` script configures how the source code will be compiled.
167164
It takes many optional arguments.
168165
List all arguments to `src/configure` by running this:
169166

170-
[source,console]
171167
----
172168
$ cd linuxcnc-source-dir/src
173169
$ ./configure --help
@@ -215,7 +211,6 @@ Building just a specific target::
215211
If you want to build just a specific part of LinuxCNC, you can name the thing you want to build on the `make` command line.
216212
For example, if you are working on a component named `froboz`, you can build its executable by running:
217213
+
218-
[source,console]
219214
----
220215
$ cd linuxcnc-source-dir/src
221216
$ make ../bin/froboz
@@ -240,7 +235,6 @@ internet access.
240235

241236
For the impatient, try this:
242237

243-
[source,console]
244238
----
245239
$ sudo apt-get install build-essential
246240
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
@@ -260,7 +254,6 @@ that are detailed below:
260254

261255
Build tools have been gathered as a virtual package named `build-essential`. To install it, run:
262256

263-
[source,console]
264257
----
265258
$ sudo apt-get install build-essential
266259
----
@@ -269,7 +262,6 @@ Once those prerequisites are met, building the Debian packages consists of two s
269262

270263
The first step is generating the Debian package scripts and meta-data from the git repo by running this:
271264

272-
[source,console]
273265
----
274266
$ cd linuxcnc-dev
275267
$ ./debian/configure
@@ -287,7 +279,6 @@ to minimize latencies.
287279

288280
Once the Debian package scripts and meta-data are configured, build the package by running `dpkg-buildpackage`:
289281

290-
[source,console]
291282
----
292283
$ dpkg-buildpackage -b -uc
293284
----
@@ -353,7 +344,6 @@ You can use this meta-data to easily list the required packages missing from you
353344
First, go to the source tree of LinuxCNC and initiate its default self-configuration,
354345
if not already performed:
355346

356-
[source,console]
357347
-----
358348
$ cd linuxcnc-dev
359349
$ ./debian/configure
@@ -366,7 +356,6 @@ the build-dependencies for those to-be-created packages.
366356
The most straightforward way to get all build-dependencies installed is to just
367357
execute (from the same directory):
368358

369-
[source,console]
370359
----
371360
sudo apt-get build-dep .
372361
----
@@ -386,7 +375,6 @@ what's missing.
386375

387376
First, install the `dpkg-checkbuilddeps` program by running:
388377

389-
[source,console]
390378
----
391379
$ sudo apt-get install dpkg-dev
392380
----
@@ -406,7 +394,6 @@ If you are new to Linux and git version management, a clean start may be prefera
406394
The `dpkg-checkbuilddeps` (also from the dpkg-dev package that is installed as part of the build-essential dependencies) program
407395
can be asked to do its job (note that it needs to run from the `linuxcnc-source-dir` directory, *not* from `linuxcnc-source-dir/debian`):
408396

409-
[source,console]
410397
----
411398
$ dpkg-checkbuilddeps
412399
----
@@ -444,7 +431,6 @@ Set it to
444431
You should not set this option to gain some extra confidence in your build to perform as expected unless you are running into mere technical difficulties with the test-specific software dependencies.
445432

446433
An environment variable can be set together with the execution of the command, e.g.
447-
[source,console]
448434
----
449435
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
450436
----
@@ -457,7 +443,6 @@ The tool installing it, `dpkg` is part of every Debian installation.
457443
The .deb files created by `dpkg-buildpackage` are found in the directory above the linuxcnc-source-dir, i.e. in `..`.
458444
To see what files are provided in a package, run
459445

460-
[source,console]
461446
----
462447
dpkg -c ../linuxcnc-uspace*.deb
463448
----
@@ -469,7 +454,6 @@ Quit with "q".
469454

470455
To install the packages, run
471456

472-
[source,console]
473457
----
474458
sudo dpkg -i ../linuxcnc*.deb
475459
----
@@ -507,7 +491,6 @@ The file should contain the following line:
507491
Log out and log back in to make the changes take effect.
508492
Verify that the memory lock limit is raised using the following command:
509493

510-
[source,console]
511494
-----
512495
$ ulimit -l
513496
-----
@@ -518,7 +501,6 @@ Building on Gentoo is possible, but not supported. Be sure you are
518501
running a desktop profile. This project uses the Tk Widget Set, asciidoc,
519502
and has some other dependencies. They should be installed as root:
520503

521-
[source,console]
522504
-----
523505
~ # euse -E tk imagequant
524506
~ # emerge -uDNa world
@@ -531,7 +513,6 @@ You can switch back to being a normal user for most of the rest of the
531513
install. As that user, create a virtual environment for pip, then install
532514
the pip packages:
533515

534-
[source,console]
535516
-----
536517
~/src $ python -m venv --system-site-packages ~/src/venv
537518
~/src $ . ~/src/venv/bin/activate
@@ -541,7 +522,6 @@ the pip packages:
541522

542523
Then you can contrinue as normally:
543524

544-
[source,console]
545525
-----
546526
(venv) ~/src $ git clone https://github.com/LinuxCNC/linuxcnc.git
547527
(venv) ~/src $ cd linuxcnc
@@ -555,7 +535,6 @@ There is no need to run "make suid", just make sure your user is in
555535
the "dialout" group. To start linuxcnc, you must be in the Python
556536
Virtual Environment, and set up the linuxcnc environment:
557537

558-
[source,console]
559538
-----
560539
~ $ . ~/src/venv/bin/activate
561540
(venv) ~ $ . ~/src/linuxcnc/scripts/rip-environment

0 commit comments

Comments
 (0)