Doom Comic
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > How do I install from an SVN repository
 
Author
All times are GMT. The time now is 04:49. Post New Thread    Post A Reply
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


The reason I went to flame hell was because I was comparing 2 source ports right. So anyway how do I install from an SVN repository http://mancubus.net/svn/gzdoom/tags...bdea9dcbf5b3c6. Hopefully I will make a deb file then and sumbit it it to getdeb so linux fans can play doom.

Old Post 08-17-11 03:44 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Junior Member


Posts: 210
Registered: 06-04



JohnSmith said:
Hopefully I will make a deb file then and sumbit it it to getdeb so linux fans can play doom.

http://debian.drdteam.org/

Edit: I should probably mention I do plan on building packages for other Doom related projects. Mostly on request though.

Old Post 08-17-11 04:31 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
natt
Junior Member


Posts: 248
Registered: 05-11


Creating fully functional and correct packages is a complicated undertaking. If you have to ask how to get source from an svn repository, I doubt you can handle it.

But anyway, to answer your question, "how do I install from an SVN repository", the basic game plan is something like this:

1. Get source
code:
svn co <url> <local path>

2. Bootstrap (assuming standard automake setup is in use and configure needs to be regenerated)
code:
aclocal automake --gnu --add-missing autoconf

3. Configure
code:
./configure <important options>

4. Build
code:
make

5. Install
code:
sudo make install


That is a very rough outline of what you might do in a relatively standard case. If "baby's first compile" is what you're looking for, I suggest a linux support forum.

And as always, never run any command unless you understand all the ramifications.

Old Post 08-17-11 04:56 #
natt is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


what is <local path>
Here is what I tried to do

The command
svn co http://mancubus.net/svn/gzdoom /usr/local/src

The result
svn: OPTIONS of 'http://mancubus.net/svn/gzdoom': 200 OK (http://mancubus.net)

Old Post 08-17-11 05:36 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Doomworld is so about bullshit excuses


Posts: 1458
Registered: 06-05


"<local path>" is the directory you want to store the subversion checkout in. You probably actually want this in your home directory, but you can have it in /usr/local/src if you really want to.

In addition, you probably only want trunk so:

svn co http://mancubus.net/svn/gzdoom/trunk gzdoom

(without the "gzdoom" at the end, it'd instead create directory named "trunk". you can also do "/usr/local/src/gzdoom" if you wish.)

Old Post 08-17-11 06:42 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4615
Registered: 08-00


You need http://mancubus.net/svn/hosted/gzdoom/trunk

Note the "hosted" part.

That's the SVN URL. Without "hosted" takes you to that crappy WebSVN frontend, and that's why the SVN client gets an unexpected 200 OK response.

Old Post 08-17-11 06:50 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


I have successfully installed from svn here is what happens when i bootstrap and why is bootstrap required and what does it do and when is it needed.

family@ubuntu:/usr/local/src/gzdoom$ aclocal
aclocal: `configure.ac' or `configure.in' is required
family@ubuntu:/usr/local/src/gzdoom$ automake --gnu --add-missing
automake: `configure.ac' or `configure.in' is required
family@ubuntu:/usr/local/src/gzdoom$ autoconf
autoconf: error: no input file

Old Post 08-17-11 07:39 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


It's the step where all the dependencies and variables are analyzed and searched to allow the compiler to actually work.


natt said:
2. Bootstrap (assuming standard automake setup is in use and configure needs to be regenerated)


In this case, it's cmake that's used.

Old Post 08-17-11 07:41 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


so what is the problem and can't I use autoreconf instead of bootstrap. here is a list

family@ubuntu:/usr/local/src/gzdoom$ ls
bzip2 FindFluidSynth.cmake lzma tools
CMakeLists.txt game-music-emu Makefile.linux wadsrc
docs gdtoa output_sdl wadsrc_bm
doom.wad gzdoom.sln specs wadsrc_lights
dumb gzdoom.vcproj src zlib
editors jpeg-6b strifehelp.acs

Old Post 08-17-11 07:45 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


So we use bootstrap when there is no configure file.In short it is used to create a config file.Also to do a bootstrap all I have to do is type autoreconf in the terminal right. Then why do I need to use Cmake.

Old Post 08-17-11 07:54 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Doomworld is so about bullshit excuses


Posts: 1458
Registered: 06-05


You need to simply type "cmake ." to bootstrap the Makefile to be used, then just a plain and simple "make" command should install it. The previous instructions merely assumed an autotools-assisted project, which GZDoom is not and uses CMake instead (in many ways, superior to autotools).

Maes: Cut the troll. This is obviously an atypical way of getting software (and especially to a newbie, it is strange), and Graf in particular has made getting the GZDoom source awkward compared to most projects. Your same statement could be flipped around, with the same accuracy, next time someone tries to compile some software with Visual Studio with no experience whatsoever.

Old Post 08-17-11 11:51 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07



chungy said:
Graf in particular has made getting the GZDoom source awkward compared to most projects.

The thing is that there's a simple way to get the source from the WebSVN thing on MancuNET: here. Graf could just put that link on his website and be done with it.

Old Post 08-17-11 12:21 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Yagisan
Mini-Member


Posts: 94
Registered: 01-06



Maes: Cut the troll. This is obviously an atypical way of getting software (and especially to a newbie, it is strange), and Graf in particular has made getting the GZDoom source awkward compared to most projects. Your same statement could be flipped around, with the same accuracy, next time someone tries to compile some software with Visual Studio with no experience whatsoever.
Or rather close to home, when someone tries to compile Mocha Doom. It's far from apparent how to build it, or even if it does build at all.

JohnSmith, assuming this isn't a clever troll, to build and install GZdoom on Ubuntu you need to do this:

Please be aware that you will need to install development files to do this,at a minimum the build-essential, and I suggest the checkinstall ubuntu package will need to be installed, as well as anything that gzdoom requires. You can find FMOD at http://www.fmod.org/index.php/download/find


code:
svn co http://mancubus.net/svn/hosted/gzdoom/trunk gzdoom cd gzdoom wget http://dpb.yagisan.org/resources/fm...636linux.tar.gz tar -xzf fmodapi42636linux.tar.gz mkdir bh cd bh cmake .. make sudo checkinstall


Good luck. It's not too hard to do, but like most new skills, it needs practice.

Old Post 08-17-11 12:59 #
Yagisan is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


I Seem to have some problem.I am using this tutorial http://www.zdoom.org/wiki/Compile_ZDoom_on_Linux

family@ubuntu:/usr/local/src/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib64/libfmodex64-4.36.01.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/
CMake Error: The source directory "/usr/local/src/trunk/release" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
family@ubuntu:/usr/local/src/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Using system zlib
-- Using system jpeg library
-- Using internal bzip2 library
-- /usr/include
-- /usr/local/src/trunk/bzip2
-- /usr/local/src/trunk/lzma/C
-- Found Xcursor at /usr/lib/x86_64-linux-gnu/libXcursor.so
-- FMOD include files found at /usr/local/include/fmodex
-- FMOD library found at /usr/local/lib/libfmodex-4.26.36.so
-- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/trunk/release
family@ubuntu:/usr/local/src/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib64/libfmodex64-4.36.01.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/

Old Post 08-17-11 19:48 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07



JohnSmith said:
I Seem to have some problem.I am using this tutorial http://www.zdoom.org/wiki/Compile_ZDoom_on_Linux

family@ubuntu:/usr/local/src/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib64/libfmodex64-4.36.01.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/
CMake Error: The source directory "/usr/local/src/trunk/release" does not appear to contain CMakeLists.txt.


Looking at the article and the command line you typed, it seems the problem here is simply that you did not tell cmake from which directory to work.

Don't forget the ".." at the end of the command line to tell it to look in the parent directory, rather than the current one.

cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib64/libfmodex64-4.36.01.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/ ..

Old Post 08-17-11 20:31 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


family@ubuntu:/usr/local/src/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib64/libfmodex64-4.36.01.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/ ..
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Using system zlib
-- Using system jpeg library
-- Using internal bzip2 library
-- /usr/include
-- /usr/local/src/trunk/bzip2
-- /usr/local/src/trunk/lzma/C
-- Found Xcursor at /usr/lib/x86_64-linux-gnu/libXcursor.so
-- FMOD include files found at /usr/local/include/fmodex
-- FMOD library found at /usr/local/lib64/libfmodex64-4.36.01.so
-- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/trunk/release
family@ubuntu:/usr/local/src/trunk/release$

Old Post 08-17-11 21:24 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


Well it seems to be working then. Now call make.

Old Post 08-17-11 22:41 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
JohnSmith
Warming Up


Posts: 16
Registered: 08-11


How do I make it into a deb now.

Old Post 08-18-11 02:27 #
JohnSmith is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Doomworld is so about bullshit excuses


Posts: 1458
Registered: 06-05


In short, it's fairly involved but Debian provides good resources on their site: http://www.debian.org/doc/manuals/maint-guide/

(I've personally never done this, but hopefully if anybody else looking at this thread has, they'll be able to help you.)

Old Post 08-18-11 02:47 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7130
Registered: 01-03



Gez said:

The thing is that there's a simple way to get the source from the WebSVN thing on MancuNET: here. Graf could just put that link on his website and be done with it.




Why didn't you ever tell me about this? I would have added it long ago to the downloads page if I had known about it.

I just stubled over this thread by random chance (I was on vacation when it was created.)

Old Post 09-27-11 10:49 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:49. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > How do I install from an SVN repository

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory