Here what I did as steps to get a working kmerlin 1.2 ebuild: 1. I Copied kmerlin 1.0-rc1 to kmerlin 1.2 2. I changed the header too like: "# $Header: /home/cvsroot/gentoo-x86/net-im/kmerlin/kmerlin-1.2.ebuild,v 1.0 2002/07/30 10:44:31 seemant Exp $" 3. I've tried to emrge the 1.2 build but after it downloaded the .tar.gz file, it said that I have to run ebuild digest. 4. I've run "ebuild kmerlin-1.2.ebuild digest" and get digest-kmerlin-1.2 5. I've run "ebuild kmerlin-1.2.ebuild compile", but I had these lines of errors -which are the last line of configure output BTW-: cd . && make -f admin/Makefile.common configure.in ; make[1]: Entering directory `/var/tmp/portage/kmerlin-1.2/work/kmerlin-1.2' make[1]: Leaving directory `/var/tmp/portage/kmerlin-1.2/work/kmerlin-1.2' cd . && aclocal cd . && automake --foreign --include-deps ./Makefile cd . && autoconf cd . && perl admin/am_edit Makefile.in /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr/kde/3 --host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --disable-dependency-tracking --enable-mt --disable-debug --without-debug CFLAGS=-march=i686 -O3 -pipe CXXFLAGS=-march=i686 -O3 -pipe host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: warning: CFLAGS=-march=i686 -O3 -pipe: invalid host type configure: warning: CXXFLAGS=-march=i686 -O3 -pipe: invalid host type configure: error: can only configure for one host and one target at a time make: *** [config.status] Error 1 /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr/kde/3 --host=i686-pc-linux-gnu --with-x --enable-mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --disable-dependency-tracking --enable-mt --disable-debug --without-debug CFLAGS=-march=i686 -O3 -pipe CXXFLAGS=-march=i686 -O3 -pipe host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: warning: CFLAGS=-march=i686 -O3 -pipe: invalid host type configure: warning: CXXFLAGS=-march=i686 -O3 -pipe: invalid host type configure: error: can only configure for one host and one target at a time make: *** [config.status] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -4761, Exitcode 2 !!! died running emake, kde_src_compile:make What's goin' on, and how can I fix that? I can emerge kmerlin 1.0 successfully. Note!: I have these lines in /etc/make.conf on my Athlon XP 1800+ machine: # Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries # will use the P6 instruction set and only run on P6+ systems) CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ===================================================== kmerlin-1.2.ebuild ----------------------------------------------------- # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/net-im/kmerlin/kmerlin-1.2.ebuild,v 1.0 2002/07/30 10:44:31 seemant Exp $ inherit kde-base || die need-kde 3 # despite being a kde3 app, its configure script was generated by autoconf 2.13 so: need-autoconf 2.1 DESCRIPTION="KDE MSN Messenger" SRC_URI="mirror://sourceforge/kmerlin/kmerlin-1.2.tar.gz" HOMEPAGE="http://kmerlin.olsd.de" LICENSE="GPL-2" KEYWORDS="x86" =====================================================
There's a kmerlin-1.2 ebuild in portage already (for 2 days now) which fixes this problem, please use it.