rmottola / Arctic-Fox

Web Browser for Mac OS X 10.6+, Linux (PowerPC, x86, amd64, ARM, MIPS), NetBSD, OpenBSD, and Windows XP.
Other
323 stars 37 forks source link

gmake fails; can't eval MOZCONFIG #96

Open JR1994 opened 2 years ago

JR1994 commented 2 years ago

I am trying to build Arctic Fox on NetBSD 9.2 macppc on my PowerMac G4. when I run the command gmake -f client.mk buid I get the following error.

client.mk:117: *** missing separator. Stop.

Here is the section of code

# As $(shell) doesn't preserve newlines, use sed to replace them with an       
# unlikely sequence (||), which is then replaced back to newlines by make       
# before evaluation. $(shell) replacing newlines with spaces, || is always     
# followed by a space (since sed doesn't remove newlines), except on the       
# last line, so replace both '|| ' and '||'.                                   
# Also, make MOZ_PGO available to mozconfig when passed on make command line.   
# Likewise for MOZ_CURRENT_PROJECT.                                             
MOZCONFIG_CONTENT := $(subst ||,$(CR),$(subst || ,$(CR),$(shell $(addprefix MOZ_CURRENT_PROJECT=,$(MOZ_CURRENT_PROJECT)) MOZ_PGO=$(MOZ_PGO) $(TOPSRCDIR)/mach environment --format=client.mk | sed 's/$$/||/')))
$(eval $(MOZCONFIG_CONTENT)) 

Tried to google this and came up empty handed.

rmottola commented 1 year ago

would you mind installing python 2.7 and using the command "./mach build" which is the recommended way to build AF like FF?

rmottola commented 1 year ago

NetBSD 9.2 is supported on Intel just fine. Linux compiles PPC, so if you care diving into this issue... Have you got autoconf 2.13 pytin 2.5 and other dependencies?<

Try building with: ./mach build instead of of hard running the make file like TTF suggests.

rmottola commented 11 months ago

@JR1994 would you mind trying using python2.7 and mach? ArcitcFox compiles fine on i386, amd64 and sparc64 on NetBSD, so for sure the build system is working.