Summary: | Porting: bitchx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Plank (RETIRED) <alexander> |
Component: | New packages | Assignee: | osx porters <osx> |
Status: | RESOLVED WONTFIX | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Plank (RETIRED)
![]() injected: >>> Injected sys-apps/man-1.5m-r1. sys-apps/man-1.5m-r1 >>> Injected sys-apps/libperl-5.8.4-r1. >>> Injected sys-apps/portage-2.0.51_pre13. >>> Injected sys-apps/groff-1.19.>>> Injected sys-devel/libperl-5.8.3-r1. >>> Injected dev-lang/perl-5.8.4. My guess is this has to do with the difference between a .so and a .dylib library. I'm not sure what the difference is (if it's more than a name) or how to fix it, but I has been done. Will report back with an update. I have see this bug. Wish to confirm it. Howto make Bitchx work on macos: We need to create a simple sys-libs/dlcompat ebuild. Source code for dlcompat: http://unc.dl.sourceforge.net/fink/dlcompat-20030629.tar.gz. It's a ./configure && make && make install type of package, so just an empty ebuild with SRC_URI to the above suffices. We need to add a macos ? (sys-libs/dlcompat) dependency to the bitchx ebuild. The patches to make bitchx work: http://bitchx.darwinports.com/dports/irc/bitchx/files/patch-Makefile.in http://bitchx.darwinports.com/dports/irc/bitchx/files/patch-source__server.c I passed --without-gtk --without-ssl to the bitchx ./configure . May work with gtk and ssl, not tested. Feel free to test. To get past this compile error, for "-DBIND_8_COMPAT" in the CFLAGS. Have tested this. Works fine. Pieter I followed the instructions in #3, and now there's a new compile error: gcc -I. -I/var/tmp/portage/bitchx-1.1-r1/work/BitchX/include -I../../include -I. -I./include -O2 -pipe -DBIND_8_COMPAT -Wall -c ./autobot.c gcc -shared autobot.o ../dllinit.o -fPIC -o autobot.so gcc: unrecognized option `-shared' ld: Undefined symbols: _main make[2]: *** [autobot.so] Error 1 make[1]: *** [all] Error 1 make: *** [dll] Error 2 !!! ERROR: net-irc/bitchx-1.1-r1 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. My 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.4.0 Power Macintosh powerpc) ================================================================= System uname: 7.4.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: Automake: Binutils: ACCEPT_KEYWORDS="macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="gcc3" 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="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos" Instructions in #3 work perfectly, exactly the same as the darwinports build! FYI OS X >=10.3 ships with the dlcompat library, so don't bother writing an ebuild for it. way pre-prefix stuff ;) |