diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 35 |
1 files changed, 22 insertions, 13 deletions
@@ -50,22 +50,31 @@ Installing To compile GPT fdisk, you must have appropriate development tools installed, most notably the GNU Compiler Collection (GCC) and its g++ -compiler for C++. The sgdisk program also requires the popt library and its -development files (headers). Most Linux distributions install popt by -default, but you may need to install a package called popt-dev, popt-devel, -or something similar to obtain the header files. Mac OS users can find a -version of popt for Mac OS from http://popt.darwinports.com; however, -you'll first need to install DarwinPorts (instructions exist on the -preceding page). Alternatively, you can compile gdisk alone, without -sgdisk; gdisk doesn't require popt. +compiler for C++. In addition, note these requirements: + +* On Linux, FreeBSD, and OS X, libuuid must be installed. This is the + standard for Linux and OS X, although you may need to install a package + called uuid-dev or something similar to get the headers. On FreeBSD, the + e2fsprogs-libuuid port must be installed. + +* The sgdisk program also requires the popt library and its development + files (headers). Most Linux distributions install popt by default, but + you may need to install a package called popt-dev, popt-devel, or + something similar to obtain the header files. Mac OS users can find a + version of popt for Mac OS from http://popt.darwinports.com; however, + you'll first need to install DarwinPorts (instructions exist on the + preceding page). Alternatively, you can compile gdisk alone, without + sgdisk; gdisk doesn't require popt. When all the necessary development tools and libraries are installed, you can uncompress the package and type "make" at the command prompt in the -resulting directory. The result should be program files called gdisk and -sgdisk. Typing "make gdisk" or "make sgdisk" will compile only the requested -programs. You can use these programs in place or copy the files to a -suitable directory, such as /usr/local/sbin. You can copy the man pages -(gdisk.8 and sgdisk.8) to /usr/local/man/man8 to make them available. +resulting directory. (You may need to type "make -f Makefile.mac" on Mac OS +X or "make -f Makefile.mingw" to compile using MinGW for Windows.) The +result should be program files called gdisk and sgdisk. Typing "make gdisk" +or "make sgdisk" will compile only the requested programs. You can use +these programs in place or copy the files to a suitable directory, such as +/usr/local/sbin. You can copy the man pages (gdisk.8 and sgdisk.8) to +/usr/local/man/man8 to make them available. Caveats ------- |