OpenWrt Forum Archive

Topic: Newbie Build Problems on Mac

The content of this topic has been archived on 5 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm looking to get my own build of openwrt going but am running into problems.
More specifically when following updating feeds section of
https://wiki.openwrt.org/doc/howto/build
I get several errors which seems to stem from
Checking 'case-sensitive-fs'... failed.
Checking 'grep'... failed.
Checking 'wget'... failed.

How do I fix this ? I followed the Mac OS X installation instructions
https://wiki.openwrt.org/doc/howto/buildroot.exigence
https://wiki.openwrt.org/doc/howto/buil … nce.macosx

Is this related to using brew ?

Thanks,
AV

MacOS fs is not case sensitive. If you ask me (or Linus Torwald http://www.cio.com/article/2868393/linu … -ever.html ) that is pretty stupid. That's one of the errors you see.

I threw in a towel and have built on a Linux running on virtualbox which is well documented.

(Last edited by dziny on 26 Apr 2016, 18:57)

Thanks guys for the replies. I was able to move forward with creating a case-sensitive disk image. I have the following problems now
Please help.

I have a version of grep which comes up with the grep command line.  (Think it's the OS X grep). No such luck with wget. brew doesn't seem to have any luck either with the commands, grep, wget.

Thanks for your time & help,
-AV

While updating the feeds as part of the build process I run into the following errors.
./scripts/feeds install -a

1. Checking 'grep'... failed.
2. Checking 'wget'... failed

Build dependency: Please install GNU 'grep'
Build dependency: Please install GNU 'wget'
Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [staging_dir/host/.prereq-build] Error 1
make: *** [prepare-tmpinfo] Error 2
Cannot open './tmp/.packageinfo': No such file or directory
Can't open file './tmp/.targetinfo': No such file or directory

I get a number of warnings for each of the packages.
WARNING: No feed for package 'libc' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libssp' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'librt' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libpthread' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libc' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libssp' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'librt' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libpthread' found, maybe it's already part of the standard packages?

Which version of Mac OS X do you have? I don't remember installing wget or grep manually but I do have them on 10.11.4.

$ which wget
/usr/local/bin/wget
$ which grep
/usr/bin/grep

The discussion might have continued from here.