View previous topic :: View next topic |
Author |
Message |
damogill n00b
Joined: 01 Mar 2007 Posts: 12
|
Posted: Sun Mar 04, 2007 1:58 am Post subject: UT Dedicated Server v436 |
|
|
Hey guys,
Im tryin to run a Dedicated UT99 server on my LAN, I have extracted the ut-server directory and configured the ucc prefs as follows:
Code: |
nano ucc
UT_PREF"/usr/local/games/ut99/ut-server"
|
When launching the ucc server via the following command:
Code: |
./ucc server CTF-Gauntlet.unr?game=Botpack.CTFGame
|
I get the following error:
Code: |
./ucc-bin: error while loading shared libraries: libx11.so.6: cannot open shared object file: No such file or directory
|
On a quick google search it would seem a few ppl get this error with other packages so Im guessing its common and has something to do with the options I installed Gentoo with. I pretty much followed the Quick Install x86 guide to the nail.. so shouldnt be anything complicated.
Has anyone seen this before or does anyone have any ideas on how to overcome this? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 04, 2007 2:08 am Post subject: |
|
|
I think you mean a capital X.
Code: | $ equery belongs libX11.so.6
x11-libs/libX11-1.1.1 (/usr/lib/libX11.so.6 -> libX11.so.6.2.0) |
This is why Gentoo has ebuilds, to automatically solve such tedious dependency problems - see /usr/portage/games-fps/unreal-tournament/unreal-tournament-451.ebuild, or preferably my tidyup and dedicated server. |
|
Back to top |
|
|
damogill n00b
Joined: 01 Mar 2007 Posts: 12
|
Posted: Sun Mar 04, 2007 2:41 am Post subject: |
|
|
Ah ha, excellent stuff!! these are kinda like Redhat RPM's ?
Will give this a go tomorow.. cheers matey. |
|
Back to top |
|
|
damogill n00b
Joined: 01 Mar 2007 Posts: 12
|
Posted: Sun Mar 04, 2007 7:29 pm Post subject: |
|
|
Right I have downloaded the ut99-ded-451.ebuild and downloaded it to a directory I created under portage which seems to follow the same convention as whast there
Code: | cd usr/portage/games-fps/unreal-tournament-dedicated436/ut99-ded-451.ebuild |
I am trying to run
Code: |
essrv03 unreal-tournament-dedicated436 # ebuild ut99-ded-451.ebuild -install
!!! Invalid PORTDIR_OVERLAY (not a dir): /usr/local/portage
Appending /usr/portage to PORTDIR_OVERLAY...
!!! /usr/portage does not seem to have a valid PORTDIR structure.
essrv03 unreal-tournament-dedicated436 #
|
My make.conf is et as follows:
Code: |
# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY="/usr/local/portage"
|
Does anyone have a clue what im doing wrong? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 04, 2007 7:40 pm Post subject: |
|
|
The filename of the ebuild must match the subdirectory name. Look at the structure of the dirs and files in /usr/portage.
Note that the ut99-ded-451.ebuild on bugzilla installs Unreal Tournament, whereas my ebuild on that bug uses unreal-tournament-451.ebuild |
|
Back to top |
|
|
damogill n00b
Joined: 01 Mar 2007 Posts: 12
|
Posted: Sun Mar 04, 2007 10:43 pm Post subject: |
|
|
Ok think I got some other problem now,
Here is what I did:
Code: | essrv03 games-fps # mkdir ut99-ded
essrv03 games-fps # cd ut99-ded/
essrv03 ut99-ded # ls
essrv03 ut99-ded # wget ftp://192.168.32.1/ut99/ut99-ded-451.ebuild
--22:41:39-- ftp://192.168.32.1/ut99/ut99-ded-451.ebuild
=> `ut99-ded-451.ebuild'
Connecting to 192.168.32.1:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /ut99 ... done.
==> PASV ... done. ==> RETR ut99-ded-451.ebuild ... done.
[ <=> ] 3,578 --.--K/s
22:41:39 (10.05 MB/s) - `ut99-ded-451.ebuild' saved [3578]
essrv03 ut99-ded # ebuild ut99-ded-451.ebuild install
!!! Invalid PORTDIR_OVERLAY (not a dir): /usr/local/portage
: command not foundfps/ut99-ded/ut99-ded-451.ebuild: line 4:
!!! ERROR: games-fps/ut99-ded-451 failed.
Call stack:
ebuild.sh, line 1447: Called source '/usr/portage/games-fps/ut99-ded/ut99-ded-451.ebuild'
' ut99-ded-451.ebuild, line 5: Called inherit 'games
ebuild.sh, line 1182: Called die
.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.
aux_get(): (0) Error in games-fps/ut99-ded-451 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
|
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 04, 2007 11:00 pm Post subject: |
|
|
Firstly, I suggest you try my ebuilds, because I haven't tested ut99-ded.
All the files you download should go into /usr/local/portage/...
E.g., I have /usr/local/portage/games-fps/unreal-tournament/unreal-tournament-451.ebuild
Then, to emerge, the commands are:
Code: | ebuild blah.ebuild digest
emerge blah |
|
|
Back to top |
|
|
|