When I try to emerge liquidwar-5.6.2 (depending on allegro-4.1.15) the merging fails, first on missing keyword "macos" I added the keyword using "ekeyword" from the gentoolkit-dev, but that didn't solve the problem. I also tried #emerge --nodeps liquidwar but it failed too (probably because allegro wasn't installed) Reproducible: Always Steps to Reproduce: 1. emerge liquidwar 2. 3. Actual Results: I got error-msg's by emerge System: Apple iBook G4 800Mhz, 256MB RAM OS: MacOS X 10.3.5, XCodeTools 1.5, X11, Gentoo MacOS #emerge info !!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc) =============================================================== == System uname: 7.5.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.57 Automake: sys-devel/automake-1.6.3 Binutils: ACCEPT_KEYWORDS="macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos berkdb ldap mysql perl python ruby" //this is what happens when I tried to emerge liquidwar # emerge liquidwar Calculating dependencies ...done! >>> emerge (1 of 2) media-libs/allegro-4.1.15 to / >>> md5 src_uri ;-) allegro-4.1.15.tar.gz >>> Checking allegro-4.1.15.tar.gz's mtime... >>> WORKDIR is up-to-date, keeping... configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for powerpc-apple-darwin-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether -fomit-frame-pointer is safe... yes checking whether an include prefix is needed... yes checking how to run the C preprocessor... gcc -E checking whether a C++ compiler is installed... yes checking whether linker works with -s option... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for ldconfig... echo ought to run ldconfig checking for makeinfo... /usr/bin/makeinfo checking for install-info... /usr/bin/install-info checking for processor type... unknown checking for asm prefix before symbols... "" checking whether byte ordering is bigendian... yes checking for MAP_FAILED... yes checking for sched_yield in -lc... yes checking for constructor attribute... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether -export-dynamic linker flag is supported... no checking for alOpenPort in -laudio... no checking for X... disabled checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for pkg-config... no checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for mmap... yes checking for memcmp... yes checking for mkstemp... yes checking for stricmp... no checking for strlwr... no checking for strupr... no checking for vprintf... yes configure: creating ./config.status config.status: creating makefile config.status: creating allegro-config config.status: creating include/allegro/platform/alunixac.h config.status: include/allegro/platform/alunixac.h is unchanged config.status: executing default commands All drivers will be statically linked. Enabled modules: Disabled modules: dga2 jackdigi ossmidi sgialdigi artsdigi esddigi alsamidi alsadigi ossdigi Generated code: multithreaded, big endian, C only Generated libraries: shared release Compiled programs: dynamically linked release Ignoring compiler warnings. rm -f lib/unix/liballeg-4.1.15.so gcc -shared -o lib/unix/liballeg-4.1.15.so obj/unix/shared/alleg/allegro.o obj/unix/shared/alleg/ blit.o obj/unix/shared/alleg/bmp.o obj/unix/shared/alleg/clip3d.o obj/unix/shared/alleg/clip3df.o obj/unix/shared/alleg/colblend.o obj/unix/shared/alleg/color.o obj/unix/shared/alleg/config.o obj/ unix/shared/alleg/datafile.o obj/unix/shared/alleg/dataregi.o obj/unix/shared/alleg/digmid.o obj/ unix/shared/alleg/dither.o obj/unix/shared/alleg/dispsw.o obj/unix/shared/alleg/drvlist.o obj/unix/ shared/alleg/file.o obj/unix/shared/alleg/fli.o obj/unix/shared/alleg/flood.o obj/unix/shared/alleg/ font.o obj/unix/shared/alleg/fsel.o obj/unix/shared/alleg/gfx.o obj/unix/shared/alleg/glyph.o obj/ unix/shared/alleg/graphics.o obj/unix/shared/alleg/gsprite.o obj/unix/shared/alleg/gui.o obj/unix/ shared/alleg/guiproc.o obj/unix/shared/alleg/inline.o obj/unix/shared/alleg/joystick.o obj/unix/ shared/alleg/keyboard.o obj/unix/shared/alleg/lbm.o obj/unix/shared/alleg/libc.o obj/unix/shared/ alleg/math.o obj/unix/shared/alleg/math3d.o obj/unix/shared/alleg/midi.o obj/unix/shared/alleg/ mixer.o obj/unix/shared/alleg/modesel.o obj/unix/shared/alleg/mouse.o obj/unix/shared/alleg/ pcx.o obj/unix/shared/alleg/poly3d.o obj/unix/shared/alleg/polygon.o obj/unix/shared/alleg/ quantize.o obj/unix/shared/alleg/quat.o obj/unix/shared/alleg/readbmp.o obj/unix/shared/alleg/ readsmp.o obj/unix/shared/alleg/rle.o obj/unix/shared/alleg/rotate.o obj/unix/shared/alleg/ scene3d.o obj/unix/shared/alleg/sound.o obj/unix/shared/alleg/spline.o obj/unix/shared/alleg/ stream.o obj/unix/shared/alleg/text.o obj/unix/shared/alleg/tga.o obj/unix/shared/alleg/timer.o obj/ unix/shared/alleg/unicode.o obj/unix/shared/alleg/vtable.o obj/unix/shared/alleg/vtable15.o obj/ unix/shared/alleg/vtable16.o obj/unix/shared/alleg/vtable24.o obj/unix/shared/alleg/vtable32.o obj/ unix/shared/alleg/vtable8.o obj/unix/shared/alleg/alsa5.o obj/unix/shared/alleg/alsa9.o obj/unix/ shared/alleg/alsamidi.o obj/unix/shared/alleg/arts.o obj/unix/shared/alleg/sgial.o obj/unix/shared/ alleg/jack.o obj/unix/shared/alleg/udjgpp.o obj/unix/shared/alleg/udrvlist.o obj/unix/shared/alleg/ uesd.o obj/unix/shared/alleg/ufile.o obj/unix/shared/alleg/ugfxdrv.o obj/unix/shared/alleg/ujoydrv.o obj/unix/shared/alleg/ukeybd.o obj/unix/shared/alleg/umain.o obj/unix/shared/alleg/umodules.o obj/unix/shared/alleg/umouse.o obj/unix/shared/alleg/uoss.o obj/unix/shared/alleg/uossmidi.o obj/ unix/shared/alleg/uptimer.o obj/unix/shared/alleg/usigalrm.o obj/unix/shared/alleg/usnddrv.o obj/ unix/shared/alleg/ustimer.o obj/unix/shared/alleg/usystem.o obj/unix/shared/alleg/uthreads.o obj/ unix/shared/alleg/utimer.o obj/unix/shared/alleg/cblit16.o obj/unix/shared/alleg/cblit24.o obj/unix/ shared/alleg/cblit32.o obj/unix/shared/alleg/cblit8.o obj/unix/shared/alleg/ccpu.o obj/unix/shared/ alleg/ccsprite.o obj/unix/shared/alleg/cgfx15.o obj/unix/shared/alleg/cgfx16.o obj/unix/shared/ alleg/cgfx24.o obj/unix/shared/alleg/cgfx32.o obj/unix/shared/alleg/cgfx8.o obj/unix/shared/alleg/ cmisc.o obj/unix/shared/alleg/cscan15.o obj/unix/shared/alleg/cscan16.o obj/unix/shared/alleg/ cscan24.o obj/unix/shared/alleg/cscan32.o obj/unix/shared/alleg/cscan8.o obj/unix/shared/alleg/ cspr15.o obj/unix/shared/alleg/cspr16.o obj/unix/shared/alleg/cspr24.o obj/unix/shared/alleg/ cspr32.o obj/unix/shared/alleg/cspr8.o obj/unix/shared/alleg/cstretch.o obj/unix/shared/alleg/ czscan15.o obj/unix/shared/alleg/czscan16.o obj/unix/shared/alleg/czscan24.o obj/unix/shared/ alleg/czscan32.o obj/unix/shared/alleg/czscan8.o -s -Wl,-h,liballeg.so.4.1 -lcc_dynamic -lm -lpthread gcc: unrecognized option `-shared' ld: unknown flag: -h make: *** [lib/unix/liballeg-4.1.15.so] Error 1 !!! ERROR: media-libs/allegro-4.1.15 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. THANK YOU FOR HELP
This depends on baselayout since it depends on esound, and esound needs an init system.
Created attachment 51474 [details] allegro-4.1.18.ebuild Here is a ebuild that adds OSX-support to the allegroebuild. It also installes the OSX framework and Xcode template, suggesting that USE-flags for those (framework and template) is added later.
Can anyone that dont already have allegro for OSX installed verify that my ebuild actually installs allegro?
To me it seems like the makefile installs stuff directly, outside the sandbox.
I have filed a bug to allegro about that the OSX makefile dont respekt DESTDIR (needed to keep it within the sandbox): http://sourceforge.net/mailarchive/forum.php?thread_id=6603957&forum_id=34599
Created attachment 54080 [details] macall.diff Allegro (exept the framework and template, however that might not be needed if all we need is to satisfy the allegrodependency for portage) now installs inside the sandbox, thanks to this patch agains 4.1.18. Thanks Peter Wang!
Does anyone know if allegro-4.2.0 compiles and installs?
Try it in prefix.