Make sure to uncomment -static in LDFLAGS definition of
9base/config.mk, because OS X doesn't support static linking by
default (though you can build a static libc using the darwin
source).

--Anselm

On Sat, Jan 21, 2006 at 07:32:28PM -0800, John Magolske wrote:
> Hi all,
> 
> I'd like to get wmii running on OS X 10.3.9, and am trying 
> to get past the first step of installing the 9base package. A while 
> back I installed wmi on Linux, and was quite happy with it. If anyone 
> can pass along info regarding how to install wmii on OS X, I'd be 
> most grateful.
> 
> After downloading & unpacking 9base-1.tar.gz, "sudo 
> make install" got the following response:
> 
> 9base build 
> options:
> CFLAGS   = -Wall -Wno-missing-braces -Wno-parentheses 
> -Wno-switch -Os -c -I. -DPREFIX="/usr/local/9"
> LDFLAGS  = 
> -static
> (...bunch of lines...)
> AR lib9
> built lib9
> CC yacc.c
> LD 
> yacc
> ld: can't locate file for: -lcrt0.o
> make[1]: *** [yacc] Error 
> 1
> make: *** [all] Error 2
> 
> Googling "can't locate file for: 
> -lcrt0.o", brought up references to OS X not supporting the building 
> of static binaries. Taking a wild guess, I tried commenting out this 
> line in the config.mk file:
> LDFLAGS     = -static
> 
> This time, "sudo 
> make install" got this response:
> 
> 9base build options:
> CFLAGS   = 
> -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -Os -c -I. 
> -DPREFIX="/usr/local/9"
> LDFLAGS  = 
> CC       = cc
> CC fmt/dofmt.c
> CC 
> fmt/fltfmt.c
> (...bunch of lines...)
> AR lib9
> built lib9
> CC yacc.c
> LD 
> yacc
> ld: archive: ../lib9/lib9.a has no table of contents, add one 
> with ranlib(1) (can't load from it)
> make[1]: *** [yacc] Error 1
> make: 
> *** [all] Error 2
> 
> 
> I'm still a newbie, so feeling a bit lost...any 
> suggestions or pointers much appreciated!
> 
> John
> 
> 
> _______________________________________________
> [email protected] mailing list
> http://wmii.de/cgi-bin/mailman/listinfo/wmii

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to