summaryrefslogtreecommitdiff
path: root/hurd/building/example.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2010-12-13 17:11:51 +0100
committerThomas Schwinge <thomas@schwinge.name>2010-12-13 17:11:51 +0100
commit2d75167da62e3486836e5f1773e5f1ab06e43fe8 (patch)
treee44fc83e0b1419836d1b21652ad1d38b8d0af2c4 /hurd/building/example.mdwn
parent217998d56f5b6424a685f8c87f2c0e924d1c89da (diff)
parent5c5c16e265d8ef56b71f319885f32bf144bdea23 (diff)
Merge branch 'master' into external_pager_mechanism
Conflicts: microkernel/mach/external_pager_mechanism.mdwn
Diffstat (limited to 'hurd/building/example.mdwn')
-rw-r--r--hurd/building/example.mdwn60
1 files changed, 60 insertions, 0 deletions
diff --git a/hurd/building/example.mdwn b/hurd/building/example.mdwn
new file mode 100644
index 00000000..bf31bf7e
--- /dev/null
+++ b/hurd/building/example.mdwn
@@ -0,0 +1,60 @@
+[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled
+[[GNU Free Documentation License|/fdl]]."]]"""]]
+
+I checked out the source code on my Ubuntu GNU/Linux system connected to the
+Internet using:
+
+ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co hurd
+
+I mounted the hurd directory on Ubuntu from my GNU Hurd system connected to the
+LAN through NFS:
+
+ settrans -ac /mnt /hurd/nfs ubuntu:/home/shaks/code
+
+Copy the hurd directory, locally.
+
+For compilation, you require build-essential, libc0.3-dev, hurd-dev. I used
+Debian GNU Hurd K10 CDs for installation and they are available in the first
+CD.
+
+ apt-get update
+ apt-get install build-essential libc0.3-dev hurd-dev
+
+Enter into the hurd directory and start building it:
+
+ cd hurd
+ mkdir build
+ cd build
+ ../configure
+ make
+
+There is a "libiohelp needed by" error. So, do a manual compilation for
+libiohelp.
+
+ cd ..
+ make libiohelp
+ cd build
+ make
+
+There is a "libiostore needed by" error. So, do a manual compilation for
+libiostore.
+
+ cd ..
+ make libiostore
+ cd build
+ make
+
+There is a "libiohelp.so: No such file or directory" error.
+
+Copy libiohelp/libiohelp.so file to build/libiohelp/ and re-run make,
+
+ make
+
+The executables are created in the subdirectories in build/ directory.