You are not logged in.

#1 2020-09-09 12:25:12

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

[SOLVED] how to install hfsprogs?

I'm trying to install arch linux on macos but i can't install hfsprogs.

I get the following error:

Scavenger.h: 51: 10: fatal error: sys / sysctl.h: No such file or directory
    51 | #include <sys / sysctl.h>
       | ^ ~~~~~~~~~~~~~
compilation terminated.
utilities.c: 73: 10: fatal error: sys / sysctl.h: No such file or directory
    73 | #include <sys / sysctl.h>

How do I solve this?

Last edited by lucasmsoares96 (2020-09-09 14:32:17)

Offline

#2 2020-09-09 12:28:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] how to install hfsprogs?

Read the comment section of the AUR package. You should generally be able to just remove this include.

Offline

#3 2020-09-09 12:35:49

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

Re: [SOLVED] how to install hfsprogs?

V1del wrote:

Read the comment section of the AUR package. You should generally be able to just remove this include.

I do not know how to do it.  Can you give me any tips?

Offline

#4 2020-09-09 12:58:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] how to install hfsprogs?

Look at the files that are printed as errors, remove the line #include <sys / sysctl.h> wherever it appears. Try building again.

Offline

#5 2020-09-09 13:24:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: [SOLVED] how to install hfsprogs?

Mod note: moving to AUR Issues.

Out of interest, why is installing hfsprogs a prerequisite to installing Arch on your Mac?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2020-09-09 13:59:17

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

Re: [SOLVED] how to install hfsprogs?

V1del wrote:

Look at the files that are printed as errors, remove the line #include <sys / sysctl.h> wherever it appears. Try building again.

I do it.  But when I run the makepkg command it puts the include back

Offline

#7 2020-09-09 14:14:23

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: [SOLVED] how to install hfsprogs?

Read the makepkg man page.
Especially look for --noextract and --noprepare.

Last edited by schard (2020-09-09 14:15:58)

Offline

#8 2020-09-09 14:21:08

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

Re: [SOLVED] how to install hfsprogs?

WorMzy wrote:

Mod note: moving to AUR Issues.

Out of interest, why is installing hfsprogs a prerequisite to installing Arch on your Mac?

the only way i found to install mac, windows and arch in triple boot was with this guide:

https://wiki.archlinux.org/index.php/Ma … _with_GRUB

Offline

#9 2020-09-09 14:31:30

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

Re: [SOLVED] how to install hfsprogs?

schard wrote:

Read the makepkg man page.
Especially look for --noextract and --noprepare.

It worked.  thank you very much.

Offline

Board footer

Powered by FluxBB