Opened 4 years ago

Closed 4 years ago

#9404 closed defect (fixed)

gptfdisk-1.0.1 does not install sgdisk

Reported by: Wayne Blaszczyk Owned by: blfs-book@…
Priority: normal Milestone: 8.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Having all the optional dependencies installed (popt and icu), sgdisk is not installed.

Change History (4)

comment:2 by bdubbs@…, 4 years ago

Hmm, did you use the gptfdisk convenience patch?

+ifdef POPT
+ EXTRA_LIBS += -lpopt
+ SGDISK      = sgdisk
+endif
...
+install: all
+  mkdir -p $(DESTDIR)/sbin $(DESTDIR)/usr/share/man/man8
+  cp gdisk cgdisk fixparts $(SGDISK) $(DESTDIR)/sbin
+  cp *.8 $(DESTDIR)/usr/share/man/man8

The patch is BLFS specific. I use the following to build:

patch -Np1 -i $DIR/$PROGRAM-convenience-1.patch  &&
make ICU=0 POPT=1
sudo make POPT=1 install

Look at the command explanations on the page.

comment:3 by Wayne Blaszczyk, 4 years ago

I did use the patch, however I did not set the variables as I did not read the Command Explanation section. I usually don't ready the Command Explanation section unless there is a command in the Installation section that I would like find out more about why we are using the command/option.

I feel it would be beneficial if the option was mentioned in the Installation section?

comment:4 by bdubbs@…, 4 years ago

Resolution: fixed
Status: newclosed

Upgrades popt to a recommended dependency. Changed build instructions to build/install sgdisk by default.

Fixed at revision 18871.

Note: See TracTickets for help on using tickets.