| Summary: | Emerging gCVS failes: "can only configure for one host and one target at a time" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander M. Turek <me> |
| Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch for this problem
ebuild for gcvs-1.0 Patch to fix gcvs to allow installation |
||
|
Description
Alexander M. Turek
2004-06-14 12:14:08 UTC
Hi, I have the same problem emerge gcvs dies with: configure: configuring in cvsunix configure: running /bin/sh './configure' --prefix=/usr/local/gcvs 'CC=gcc' 'CFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe' 'CXXFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe' 'CXX=g++' --cache-file=/dev/null --srcdir=. configure: warning: CC=gcc: invalid host type configure: warning: CFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for cvsunix ============= emerge info: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7 ) ================================================================= System uname: 2.6.7 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http:// www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gd bm gif gimpprint gnome gpm gtk gtk2 icq imlib ipv6 java jpeg kde libg++ libwww m ad mikmod motif mozctl mozilla moznocompose mpeg ncurses nls oggvorbis openal op engl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl sla ng spell ssl svga tcpd tiff transcode truetype vanilla x86 xine xml xml2 xmms xv zlib" Created attachment 34788 [details, diff]
Patch for this problem
I've created this patch, which solved this problem for me (and some other
compile problems) - I hope it will help you so
hi,
I hope, that patch I've send here will help you.
If you want to modify your ebuild to make everything automaticaly, insert
in the /usr/portage/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild file
on line 29 (after patch -p1 <${FILESDIR}/gcvs-1.0b3-gcc3-gentoo.patch || die):
patch -p1 <${FILESDIR}/gcvs-nx.patch || die
Created attachment 36329 [details]
ebuild for gcvs-1.0
Allow the install of gcvs 1.0
Created attachment 36330 [details, diff]
Patch to fix gcvs to allow installation
patches cvsunix/configure, common/UCvsFolders.cpp & common/UCvsFiles.cpp
added gcvs-1.0 that should work. please test. |