Summary: | Porting: orbit-2.10.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dario <laera> |
Component: | [OLD] GNOME | Assignee: | osx porters <osx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugzilla, gnome |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 61689, 64779, 70448 | ||
Bug Blocks: | 63363 | ||
Attachments: | patch for orbit-2.10.4 on macos |
Description
dario
2004-08-29 04:11:13 UTC
Created attachment 38423 [details, diff]
patch for orbit-2.10.4 on macos
try it running.. dunno why you file a patch from some other project which you haven't tested ? I don't know how to test it, I have emerged it to compile mozilla, but after emerging this version I saw that the old version is required :( To emerge the old version I need the old glib, that won't compile :(( I'm trying to port orbit 2.12.0. Here is the error I get: checking for poptStrippedArgv in -lpopt... no configure: error: You must have popt version 1.5 or greater installed. But: popt is installed correctly and ranlib /usr/lib/libpopt.a doesn't help either. Here my emerge info: !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51-r3 (default-macos/ppc/10.3, gcc-3.3, libsystem-7.1-r0, 7.5.0 Power Macintosh) ================================================================= 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,sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.6.3,sys-devel/automake-1.8.5-r1 Binutils: Headers: Libtools: ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=G5 -mtune=G5 -mpowerpc64 -funroll-loops" 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="-O3 -pipe -mcpu=G5 -mtune=G5 -mpowerpc64 -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect cvs distlocks 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="ppc X berkdb debug gif hbci jpeg justify makecheck multilib nls nptl ofx ppc-macos quotes recode ssl threads tiff unicode usb" it looks like your version libpopt is static, probably need to build a dynamic version as well. Heres what i have: % ls /usr/lib/libpop* /usr/lib/libpopt.0.0.0.dylib /usr/lib/libpopt.dylib /usr/lib/libpopt.0.dylib /usr/lib/libpopt.la /usr/lib/libpopt.a No, I have the same files for libpopt. Look what I've found in config.log: configure:21845: checking for poptStrippedArgv in -lpopt configure:21875: gcc -o conftest -O3 -pipe -mcpu=G5 -mtune=G5 -mpowerpc64 -funr oll-loops -g -g -g conftest.c -lpopt >&5 ld: Undefined symbols: _libintl_dgettext It seems that gettext breaks orbit but gettext can't be compiled due to bug 70448. Here is what I got after upgrading gettext. Now I have the problem with multiple definitions of local_charset... gcc -O3 -pipe -mcpu=G5 -mtune=G5 -mpowerpc64 -funroll-loops -g -g -g -o test-linc test-linc.o -pthreads ../src/.libs/liblinc.a -L/usr/lib /usr/lib/libgobject-2.0.dylib /usr/lib/libgthread-2.0.dylib /usr/lib/libglib-2.0.dylib /usr/lib/libintl.dylib -lc /usr/lib/libiconv.dylib gcc: unrecognized option `-pthreads' ld: warning multiple definitions of symbol _locale_charset /usr/lib/libintl.dylib(localcharset.o) definition of _locale_charset /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset ld: Undefined symbols: _res_9_init make[3]: *** [test-linc] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I had the problem before, too but I thought it would be solved by the latest gettext. But that's not the real problem, it seems... the multiple symbols are just a warning. Its looking for a bind symbol. Try using CFLAGS="-DBIND_8_COMPAT=1" It seems to work, thank you. Is it generally a good idea to put these CFLAGS into make.conf? no, its just for things that use the bind functions. Can we get a status update on this? Where are we with respect to orbit? libIDL is a dependency of orbit. Keyworded today. The last dependency is indent. Apple provides a BSD version of indent. See Bug #61689 ported see you in prefix :) |