| View previous topic :: View next topic |
| Author |
Message |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Wed Jun 29, 2005 7:33 pm Post subject: I want to install legends... |
|
|
Hi, I just want to emerge legends and play on gentoo64 but its bit different process then 32bit platoform..
when I emerge legends, i just get
| Code: |
linux ~ # emerge legends
Calculating dependencies
!!! All ebuilds that could satisfy "legends" have been masked.
!!! One of the following masked packages is required to complete your request:
- games-fps/legends-0.4.1b (masked by: -* keyword)
- games-fps/legends-0.4.1c (masked by: -* keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
|
and when i check /usr/portage/profiles/package.mask there isnt any "legends".. so I have no idea where to unmask from.
do I modify the ebuild??
additionally if my emerge info helps, heres mine.
[cdoe[Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 30 2005, 02:17:11)]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ ftp://mirror.averse.net/pub/gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cjk crypt curl font-server fortran gif gpm gtk imlib jp2 jpeg lzw lzw-tiff mad mp3 ncurses nls ogg oggvorbis opengl oss pam perl png python readline ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
[/code] _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
b3rT n00b


Joined: 09 Jun 2003 Posts: 56 Location: Germany
|
|
| Back to top |
|
 |
ketjow Guru


Joined: 01 Apr 2004 Posts: 382 Location: Krakow, Poland
|
Posted: Wed Jun 29, 2005 9:00 pm Post subject: |
|
|
it's masked by the keyword, not by package.mask.
You can edit the ebuild and manually add amd64 to the keywords, but it's likely that the game won't compile or run, after all it's masked.. |
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Thu Jun 30, 2005 7:35 am Post subject: |
|
|
I added "http://forum.abit-usa.com/showthread.php?s=&threadid=80051" to package.keywords, modified ebuild and added ~amd64, but when i emerge legends, it gives me 404, so i took source from official website and now it saids MD5 and filesize error...
this ebuild must be updated soon  _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
fafhrd Retired Dev


Joined: 14 May 2002 Posts: 430 Location: Hudson, MA
|
Posted: Thu Jun 30, 2005 12:36 pm Post subject: |
|
|
| Quote: | | I added "http://forum.abit-usa.com/showthread.php?s=&threadid=80051" to package.keywords, modified ebuild and added ~amd64 | Huh?
No no no .... package.keywords entries take the form "<atom> <keyword>", it has nothing to do with href's. I suggest doing:and reading that thoroughly before monkeying around with this anymore.
So, to answer your question ... legends....let's take a look at what arch's the ebuild currently supports. | Code: | # grep KEYWORDS /usr/portage/games-fps/legends/legends-0.4.1c.ebuild
KEYWORDS="-* x86" | ...so, it looks like the ebuild maintainer has key'd this for _only_ x86....you can tell as first "no arches" i.e. -* is added, and then x86 explicitly.
If you think that this game may work on amd64 (unknown, but considering it's KEY'd "-* x86" sounds like someone may have tested it....), you can edit the line to look like "KEYWORDS="amd64". I suggest you use an overlay to test, or if you edit the ebuild directly, than at your next --sync, the changes to the ebuild will bve removed. If you test, and it works, report the succes to bugzilla, if not, well, that answers that.
`man 5 portage` and `man 5 ebuild` are your friends. _________________ jñanam bandha |
|
| Back to top |
|
 |
tuxmagi n00b

Joined: 22 Oct 2004 Posts: 68 Location: Providence, RI
|
Posted: Thu Jun 30, 2005 1:54 pm Post subject: Manual Install |
|
|
| Has anyone tried running Legends on AMD64 by downloading the files straight from the website? I plan to do this as soon as I get home today. This seems to be the first step, as it would be a shame to play around with the ebuild and get it working only to discover that the program itself is incompatible. |
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Thu Jun 30, 2005 3:31 pm Post subject: |
|
|
omg...
I pasted something wrong!!!
omg
sorry i meant i did
=games-fps/legends-0.4.1c ~amd64 _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Thu Jun 30, 2005 3:34 pm Post subject: |
|
|
me is still laughing to my self... i have no idea where that abit forum URL come from... _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
fafhrd Retired Dev


Joined: 14 May 2002 Posts: 430 Location: Hudson, MA
|
Posted: Thu Jun 30, 2005 3:51 pm Post subject: |
|
|
| Quote: | | =games-fps/legends-0.4.1c ~amd64 | This is a correct packge.keywords entry.
However:
| Code: | # grep KEYWORDS /usr/portage/games-fps/legends/legends-0.4.1c.ebuild
KEYWORDS="-* x86" | ~amd64 is not in the keywords; it would still need to be added.
Best bet -- install the software locally, see if it works, and if it does submit a bug to bugzilla that this should be key'd for ~amd64. _________________ jñanam bandha |
|
| Back to top |
|
 |
tuxmagi n00b

Joined: 22 Oct 2004 Posts: 68 Location: Providence, RI
|
Posted: Fri Jul 01, 2005 5:18 am Post subject: Local Install |
|
|
| I tried running the game after installing it manually and it definitely does work on AMD64. |
|
| Back to top |
|
 |
fafhrd Retired Dev


Joined: 14 May 2002 Posts: 430 Location: Hudson, MA
|
Posted: Fri Jul 01, 2005 2:42 pm Post subject: |
|
|
0) http://bugs.gentoo.org
1) do a quick search for legends
2.0) if there is a "please key for amd64" bug, then you can add a comment if you'd like, but you're pretty much done
2.1) if not, add a bug of the form "games-fps/legends needs to be keyworded for amd64", and in the description describe what you did to make things work, if it took any special work at all
... once the bug gets fixed, you'll find that ~amd64 is added to legends, and if after a month no big bugs are filed against it, then it will move to amd64. _________________ jñanam bandha |
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Fri Jul 01, 2005 3:44 pm Post subject: |
|
|
Okay, I was going to test it to make report...
but i keep getting tar error... (already deleted the previos file so i forgot which error..)
im downloding again to see wether it was just file corruption.. _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Fri Jul 01, 2005 4:46 pm Post subject: |
|
|
okay.. i redownloaded...
i still get the error..
i get | Code: | | tar: A lone zero block at 273240 |
hmm _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Fri Jul 01, 2005 5:00 pm Post subject: |
|
|
Hi, i was able to run it without any problems even with untar error.
I made report at
http://bugs.gentoo.org/show_bug.cgi?id=97631
I dont use bugzilla so sorry if i didnt report in right way _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
bad_bauer n00b

Joined: 25 Feb 2005 Posts: 38 Location: Butte MT
|
Posted: Sat Jul 02, 2005 11:43 am Post subject: |
|
|
Hey, I just installed Legends on my M6805 eMachines... I had the same problem so here's what I did...
I opened up /etc/portage/package.keywords in nano and at the end of the file I added this:
| Code: | | =games-fps/legends-0.4.1c -* |
After that, I had no trouble trying to emerge the package. But I did run into an error saying the .tar.gz file no longer exists where the ebuild file says it is... So I had to edit the ebuild file to get it from bauerbox.pointclark.net...
Here's my ebuild file for it:
/usr/portage/games-fps/legends/legends-0.4.1c.ebuild :::
| Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.4.1c.ebuild,v
1.1 2005/05/16 01:52:40 mr_bones_ Exp $
inherit games
MY_P=${PN}_linux-${PV}
DESCRIPTION="A fast-paced first-person-perspective online multiplayer
game similar to Tribes"
HOMEPAGE="http://legendsthegame.net/"
###This is the part I edited!!!
SRC_URI="http://bauerbox.pointclark.net/${MY_P}.tar.gz"
###End Edit
RESTRICT="nomirror"
KEYWORDS="-* x86"
LICENSE="as-is"
SLOT="0"
IUSE="dedicated"
DEPEND=""
RDEPEND=">=media-libs/libsdl-1.2
media-libs/libogg
media-libs/libvorbis
media-libs/openal"
S=${WORKDIR}/${MY_P}
src_unpack() {
local LIBSDL=libSDL-1.3.so.0
unpack ${A}
cd "${S}"
# keep libSDL-1.3.so because legends requires it as of 0.4.0, and
# 1.2.6 is highest in portage
# rm libSDL-*.so*
rm runlegends libSDL-1.2.so.0 libopenal.so libogg.so.0 libvorbis.so.0
find . -type f -exec chmod a-x '{}' \;
chmod a+x lindedicated LinLegends
cp "${FILESDIR}"/legends{,-ded} "${T}" || die "cp failed"
sed -i \
-e "s:GENTOO_DIR:${GAMES_PREFIX_OPT}/${PN}:" \
-e "s:LIBSDL:${LIBSDL}:" \
"${T}"/legends{,-ded} \
|| die "sed failed"
}
src_install() {
local dir="${GAMES_PREFIX_OPT}/${PN}"
dogamesbin "${T}/legends" || die "dogamesbin failed (1)"
keepdir "${dir}/"{show/ui,show/scripts,legends/scripts,legends/data,common/server,common/edit,common/client}
cp -R * "${D}${dir}/" || die "cp failed"
if use dedicated ; then
dogamesbin "${T}"/legends-ded || die "dogamesbin failed (2)"
fi
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
echo
einfo "Version ${PV} of ${PN} may give problems if there are"
einfo "config-files from earlier versions. Removing the ~/.legends dir"
einfo "and restarting will solve this."
echo
} |
Worked like a dream after that... _________________ ______
|.Don.| |
|
| Back to top |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Tue Jul 12, 2005 9:25 pm Post subject: |
|
|
sorry for late reply, but now everything installs fine.runs fine.
Thanks to gentoo team for adding ~amd64 keyword and fixing src uri _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
| Back to top |
|
 |
|