Directory Structure
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Directory Structure
I have compiled the current svn vegastrike, and I have the data4.x folder svn downloaded. How do I set up the directory structure in order for it to work. I tried placing the vegastrike binary in the bin folder, and I also did a make install which gave me about 6 different binaries that I installed into the bin folder. But when I try to run it, it just tells me that X refused my connection. So picky.
-
- ISO Party Member
- Posts: 453
- Joined: Fri Jun 03, 2005 10:30 am
- Location: Europe
I'm no expert on X servers but does a
prior to launching VS do the job? (It's only a workaround and has some security issues if other people log in to your computer.)
For me, it works just fine if I compile the SVN VS and create a symbolic link from data4.x directory to vegastrike and vssoundserver executables and run VS from the data4.x directory.
Code: Select all
xhost +local:
For me, it works just fine if I compile the SVN VS and create a symbolic link from data4.x directory to vegastrike and vssoundserver executables and run VS from the data4.x directory.
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
-
- ISO Party Member
- Posts: 453
- Joined: Fri Jun 03, 2005 10:30 am
- Location: Europe
Sorry for being away that long...
I'm using Kubuntu Breezy Badger (5.10) but Ubuntu should behave the same since the only difference is the window manager. It comes by default with GCC 4.0.2 and compiling works fine after I installed a lot of dev-libraries (OpenAL, Mesa, some Python stuff I think and everything else that causes ./configure to throw up).
After I downloaded the SVN packages I had the following directory structure:
Then I run the the "vegastrike" directory the following commands to build VS:
Then the "vegastrike" and the "soundserver" executables are in the "vegastrike" directory. Form the "data4.x" directory I issued the commands
which create the links. (A simple copy would also suffice but then I need to copy it again after rebuilding vegastrike.)
I'm running now vegastrike from the data4.x dir. I did this because VS always complained that it couldn't find the data-dir, configuration files or the like so I came up with this and it worked. Before running it for the first time (after logging in) I have do the workaround by setting Xserver permissions with
as mentioned above. It isn't a problem for sinlge user machines I presume.
I didn't do a "make install". But this works and is good enough for toying around with VS.
Kubuntu/Ubuntu Breezy also uses XOrg 6.something. Could it be that this X permission error occurs only on XOrg machines and not on XFree ones?
I'm using Kubuntu Breezy Badger (5.10) but Ubuntu should behave the same since the only difference is the window manager. It comes by default with GCC 4.0.2 and compiling works fine after I installed a lot of dev-libraries (OpenAL, Mesa, some Python stuff I think and everything else that causes ./configure to throw up).
After I downloaded the SVN packages I had the following directory structure:
Code: Select all
whatever
|
+--data4.x
|
+--vegastrike
|
+--music
Code: Select all
./bootstrap-sh
./configure
./make
Then the "vegastrike" and the "soundserver" executables are in the "vegastrike" directory. Form the "data4.x" directory I issued the commands
Code: Select all
ln -s ../vegastrike/vegastrike
ln -s ../vegastrike/soundserver
I'm running now vegastrike from the data4.x dir. I did this because VS always complained that it couldn't find the data-dir, configuration files or the like so I came up with this and it worked. Before running it for the first time (after logging in) I have do the workaround by setting Xserver permissions with
Code: Select all
xhost +local:
I didn't do a "make install". But this works and is good enough for toying around with VS.
Kubuntu/Ubuntu Breezy also uses XOrg 6.something. Could it be that this X permission error occurs only on XOrg machines and not on XFree ones?
-
- Merchant
- Posts: 58
- Joined: Mon Oct 03, 2005 9:17 pm
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Hmm... it seems to be SDL_Init() causing the problem, based on a line-by-line trace in GDB.
I'm going to see what we can do to prevent this... though it appears to be an SDL bug.
My .Xauthority has in fact been getting truncated as well on my computer, though for some reason programs still work without it... I don't understand why.
I'm going to see what we can do to prevent this... though it appears to be an SDL bug.
My .Xauthority has in fact been getting truncated as well on my computer, though for some reason programs still work without it... I don't understand why.