Re: [wmii] problem with 3.6 installation under MacOSX

From: Joerg van den Hoff <j.van_den_hoff_AT_fzd.de>
Date: Wed, 19 Dec 2007 13:04:34 +0100

On Wed, Dec 19, 2007 at 12:44:39PM +0100, David Feest wrote:
>
>
> * Joerg van den Hoff <j.van_den_hoff_AT_fzd.de> [071219 11:02]:
> > hi there,
> >
> > first time mail to this list: I noted today that the wmii
> > package unfortenuately is orphaned in `macports', the
> > package management system of MacOS X.
> >
> > for now, I tried a source install and ran into problems. I
> > got `dmenu' and libixp-0.4 installed. but
> >
> > make configure
> > make
> >
> > for `wmii' yielded:
> >
> > =================CUT====================
> > ...
> > MAKE all cmd/
> > CC cmd/util.o
> > CC cmd/wmii9menu.o
> > LD cmd/wmii9menu.O
> > FILTER cmd/wmii9rc.sh
> > FILTER cmd/wmiiloop.sh
> > CC cmd/wmiir.o
> > LD cmd/wmiir.O
> > /usr/bin/ld: can't locate file for: -lcrt0.o
> > collect2: ld returned 1 exit status
> > make[1]: *** [wmiir.O] Error 1
> > make: *** [dall] Error 2
> > =================CUT====================
> >
> > does somebody have a hint how to fix this? mail archive
> > seems not to include this problem.
> >
> >
> > many thanks,
> >
> > joerg
> >
> > PS: if there's somebody out there able to take over
> > maintance of the macports package (I'm not, I'm afraid...)
> > that would be great of course. it should be similar to the
> > FreeBSD ports system of which it derives. it would be nice
> > to see the package maintained the more so as tuomo valkonen,
> > the `ion3' author, is on the warpath again and has managed
> > to get ion3 kicked out of several repositories, FreeBSD
> > ports and macports among them. so people will start looking
> > for alternatives, as I am doing right now. and as I learned
> > only recently, MacOS X installation base is much larger
> > (factor five or so?) than all the rest (Unixes + Linuxes)
> > combined. and quite some people use these machines with
> > fullscreen X11, too.
> >
> >
>
> Interresting that someone apart from me is
> actually running WMII on MacOS X. This
> combination will probably bring tears to the
> eyes of any truean MAC lover!

depends on what a "true" Mac lover is defined as :-). mostly
you are right, though. on the other hand: in view of the
large installation base; if 5% of mac users really realize,
that they actually can run the thing as a full fledged BSD
machine (sort of), e.g. in full screen X11 mode parallel to
all the shiny aqua stuff, that's still a number
"competitive" to linux or FreeBSD installations. actually,
with `ion3' there's at least a handful of people using it
on Macs ...

>
> Anyway, I'm still using the 3.1-version
> provided by macports, and unfortunately don't
> qualify for the maintance of the package at
> all! Trying to compile the 3.6 version I get
> a different problem still:
>
> (Sorry about the long log, I simply don't
> know, which of the informations are important).
>
> ----------CUT-----------------
> zsh/4 39 % make
> MAKE all libutf/
> MAKE all libfmt/
> MAKE all libbio/
> MAKE all libregexp/
> MAKE all cmd/
> CC cmd/wmiir.o
> cmd/wmiir.c:11:17: error: ixp.h: No such file or directory
> cmd/wmiir.c:15: error: parse error before '*' token
> cmd/wmiir.c:15: warning: type defaults to 'int' in declaration of 'client'
> cmd/wmiir.c:15: warning: data definition has no type or storage class
> cmd/wmiir.c:28: warning: implicit declaration of function 'ixp_errbuf'
> cmd/wmiir.c:28: warning: passing argument 2 of 'fmtstrcpy' makes pointer from integer without a cast
> cmd/wmiir.c:33: error: parse error before '*' token
> cmd/wmiir.c:33: warning: function declaration isn't a prototype
> cmd/wmiir.c:37: error: 'fid' undeclared
> cmd/wmiir.c:40: warning: implicit declaration of function 'ixp_write'
> cmd/wmiir.c:41: error: 'name' undeclared
> cmd/wmiir.c:49: error: 'Stat' undeclared
> cmd/wmiir.c:49: error: 'st1' undeclared
> cmd/wmiir.c:49: error: 'st2' undeclared
> cmd/wmiir.c:49: warning: left-hand operand of comma expression has no effect
> cmd/wmiir.c:49: warning: statement with no effect
> cmd/wmiir.c:51: error: parse error before ')' token
> cmd/wmiir.c:52: error: parse error before ')' token
> cmd/wmiir.c:71: error: 'P9_DMDIR' undeclared
> cmd/wmiir.c:91: error: parse error before '*' token
> cmd/wmiir.c:91: warning: function declaration isn't a prototype
> cmd/wmiir.c:92: error: 'lflag' undeclared
> cmd/wmiir.c:94: error: 's' undeclared
> cmd/wmiir.c:97: error: 'P9_DMDIR' undeclared
> cmd/wmiir.c:107: error: 'IxpCFid' undeclared
> cmd/wmiir.c:107: error: 'fid' undeclared
> cmd/wmiir.c:116: warning: implicit declaration of function 'ixp_open'
> cmd/wmiir.c:116: error: 'P9_OWRITE' undeclared
> cmd/wmiir.c:121: warning: implicit declaration of function 'ixp_close'
> cmd/wmiir.c:127: error: 'IxpCFid' undeclared
> cmd/wmiir.c:127: error: 'fid' undeclared
> cmd/wmiir.c:137: error: 'P9_OWRITE' undeclared
> cmd/wmiir.c:166: error: 'IxpCFid' undeclared
> cmd/wmiir.c:166: error: 'fid' undeclared
> cmd/wmiir.c:175: warning: implicit declaration of function 'ixp_create'
> cmd/wmiir.c:175: error: 'P9_OWRITE' undeclared
> cmd/wmiir.c:179: error: 'P9_DMDIR' undeclared
> cmd/wmiir.c:195: warning: implicit declaration of function 'ixp_remove'
> cmd/wmiir.c:202: error: 'IxpCFid' undeclared
> cmd/wmiir.c:202: error: 'fid' undeclared
> cmd/wmiir.c:212: error: 'P9_OREAD' undeclared
> cmd/wmiir.c:217: warning: implicit declaration of function 'ixp_read'
> cmd/wmiir.c:229: error: 'IxpMsg' undeclared
> cmd/wmiir.c:229: error: parse error before 'm'
> cmd/wmiir.c:230: error: 'Stat' undeclared
> cmd/wmiir.c:230: error: 'stat' undeclared
> cmd/wmiir.c:231: error: 'IxpCFid' undeclared
> cmd/wmiir.c:231: error: 'fid' undeclared
> cmd/wmiir.c:251: warning: implicit declaration of function 'ixp_stat'
> cmd/wmiir.c:255: error: 'P9_DMDIR' undeclared
> cmd/wmiir.c:257: warning: implicit declaration of function 'ixp_freestat'
> cmd/wmiir.c:262: error: 'P9_OREAD' undeclared
> cmd/wmiir.c:271: error: 'm' undeclared
> cmd/wmiir.c:271: warning: implicit declaration of function 'ixp_message'
> cmd/wmiir.c:271: error: 'MsgUnpack' undeclared
> cmd/wmiir.c:277: warning: implicit declaration of function 'ixp_pstat'
> cmd/wmiir.c:335: warning: implicit declaration of function 'ixp_mount'
> cmd/wmiir.c:335: warning: assignment makes pointer from integer without a cast
> cmd/wmiir.c:346: warning: implicit declaration of function 'ixp_unmount'
> make[1]: *** [wmiir.o] Error 1
> make: *** [dall] Error 2
> zsh: exit 2 make
> ----------CUT-----------------

I do *not* have it running correctly myself but got it
compiled (now). I believe your problem is that you have to
install libixp-0.4.a from the suckless home page first.
install it into the lib subtree where your wmii install
goes, e.g.

/usr/local/lib, if wmii goes into /usr/local/bin

or edit the LIBIXP line in `config.mk' of wmii.

see also the recent answer to my first mail: config.mk needs
some more editing before issuing `make'.

regards,

joerg
Received on Wed Dec 19 2007 - 13:04:37 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:32:38 UTC