Sorry for the repeat posting--I seem to have lost the thread, so am replying to this one.
I'm also trying to compile ion on macosx, and not managing. As Joerg, I'd really like there to be some repository where I can get it as a binary... Anyway, while that' s not looking likely I'm enjoying running after dependencies. When I run make, I get the following: set -e; for i in libtu libextl libmainloop mod_tiling mod_query mod_menu mod_dock mod_sp mod_sm mod_statusbar de ioncore ion pwm etc utils man po ; do make -C $i; done gcc -Os -W -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wparentheses -pedantic -Wuninitialized -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_SNPRINTF -c output.c -o output.o In file included from output.c:23: private.h:15:21: error: libintl.h: No such file or directory output.c: In function 'fallback_warn': output.c:116: warning: implicit declaration of function 'dgettext' output.c:116: warning: incompatible implicit declaration of built-in function 'dgettext' make[1]: *** [output.o] Error 1 make: *** [subdirs] Error 2 I don't really understand why it doesn't find libintl.h. When I run locate libintl.h I get: /opt/local/include/libintl.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/intl/libintl.h /opt/local/var/macports/software/gettext/0.17_2/opt/local/include/libintl.h /sw/include/libintl.h In the system.mk file, I've set PREFIX=/opt/local and LUA_DIR=/opt/local which is where things are on macosx when installing from macports... Any chance you might be able to help me out? I've been trying all kinds of things but can't get it to work... Thanks a lot Quentin On Dec 21, 2007 11:24 AM, Joerg van den Hoff <[EMAIL PROTECTED]> wrote: > On Fri, Dec 14, 2007 at 03:36:41AM +0200, Tuomo Valkonen wrote: > > On 2007-12-14 01:55 +0100, Albert Shih wrote: > > > Of course It's what I'm going to do (try), but the ports collection > make all > > > dependency, and it's very fine technics. > > > > Ion doesn't have many non-standard dependencies. Most systems have X11R6 > > libraries installed, of which no particular version is needed (aside > from > > bugs in some versions, in particular in relation to > XGetTextProperty...). > > Some libc related aspects need to be configured in system.mk (some > systems > > have some components sanely as separate, and others have monolithic > libc), > > but aside from that, the only non-standard dependency that needs > > installation, is Lua. Lua is also quite easy to install: it has ANSI C > > as its only dependency. (However, some versions of Lua's Makefiles set > > broken permissions... But installing from ports or so may fix them.) > > > > -- > > Tuomo > > > > if you say so... maybe right w.r.t. dependencies on libs. > otherwise: > > I tried it again with yesterday's version and I should have > known better: trying to compile ion3 "manually" under MacOSX > is a nightmare for anybody not up to his waist in the > internals of gcc and differences introduced by apple. > > is there *anbody* out there able to compile it under > macos??? > > I gave up (again...). problems (to the extent that they have > surfaced) are related to several gcc/ld flags not available > under MacOS: > > -shared > -whole-archive > -export-dynamic > > and librt: is that supposedly a standard lib? it's not > there. > > tuomo, man, get a hold of yourself (or, rather, the licence > text), so that it is again sufficient that _one_ guy solves > it _once_ and puts in back in the repository. it can't be > that much fun to see users suffer. or can it? I, at least, > am fed up with trying. that's no longer a manageble average- > user task. > > and, of course, if in the end it were possible to find > makefiles and/or system.mk versions on your side, it'll > help. but I'm at least obviously not in a position to > contribute these for MacOSX. (and it only seems an > unnecessary complication in comparison to having it in the > repositories. but I suspect your attitude is uncorrectable.) > > joerg >
