This topic contains 7 replies, has 0 voices, and was last updated by  Panther30 5 years, 9 months ago.

  • Author
    Posts
  • #7638

    Panther30
    Participant

    A few questions about compiling scorched 43.3 (fedora 16 linux):

    – does it still need openal compiled from source?

    – does it still require the static libraries enabled and unicode disabled when compiling wx-gtk?

    I need a quick refresher course on both openal and wx-gtk command lines…

    I will try to get my servers up when the 43.3 is released.

    —Panther30

    #64795

    imported_gcamp
    Participant

    For fedora the compiling is as simple as can be. Its the Linux distro I use.

    1) Download/install the sourcecode

    http://www.scorched3d.co.uk/wiki/index.php/Download_Source_Code

    2) Install required build dependencies (only need to do this once)

    sudo yum install SDL_net SDL_net-devel SDL SDL-devel fftw-devel libjpeg-devel libpng-devel glew-devel freetype freetype-devel expat-devel libogg libogg-devel libvorbis libvorbis-devel libjpeg-devel wxGTK wxGTK-devel openal-soft openal-soft-devel freealut freealut-devel SDL SDL_net freetype libogg wxGTK openal-soft freealut

    3) Build

    cd scorched3d/scorched
    sh autogen.sh
    make -j

    4) Run

    ./src/client/scorched/scorched3dc

    #64796

    Panther30
    Participant

    perfect! thanks gcamp.

    —Panther30

    #64797

    Panther30
    Participant

    okay. that didn’t work.

    – wx-gtk’s static librarys are nolt being found. as usual.

    – Openal is also not being found. as usual.

    Will I have to find the source code for both of these again and compile them?
    I may still have hte instructions to do so. I am not entirely certain…..

    also.

    I did get TO the make step, but it stopped with the following error:

    g++ not found

    sooon after it started.

    any ideas?

    I Installed fedora 16 (i686) from a livecd iso put on a usb stick. because my full install dvd kept locking up at the same point durning install.

    #64798

    imported_gcamp
    Participant

    Not sure, I really haven’t done anything clever with my install. I re-installed FC 16 recently and just chose the developer install.

    The wx static thingy is fine, a dynamic link is fine for you.
    What does “yum install openal-devel” do?
    or “yum install openal-soft-devel” do?

    #64799

    Panther30
    Participant

    yeah openal-soft-devel isays that it is installed. not sure about openal- and openal-devel though

    also here is the output about g++

    DEPDIR=.deps depmode=none /bin/sh ../../../depcomp
    g++ -DPACKAGE_NAME=”” -DPACKAGE_TARNAME=”” -DPACKAGE_VERSION=”” -DPACKAGE_STRING=”” -DPACKAGE_BUGREPORT=”” -DPACKAGE_URL=”” -DPACKAGE=”scorched3d” -DVERSION=”43″ -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I. -I../../common/porting -I../../common -I../../client -I../../server -I../../launcher -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include -DS3D_DOCDIR=”/usr/local/games/scorched3d/share/documentation” -DS3D_DATADIR=”/usr/local/games/scorched3d/share” -DS3D_BINDIR=”/usr/local/games/scorched3d/bin” -c -o Vector.o `test -f ‘../../common/common/Vector.cpp’ || echo ‘./’`../../common/common/Vector.cpp
    make[3]: *** [ModFileEntryLoader.o] Error 127
    make[3]: *** Waiting for unfinished jobs….
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [main.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [ScorchedParams.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [CreateDialogs.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DisplayDialog.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [KeyDialog.o] Error 127
    make[3]: *** [OptionEntrySetter.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [SettingsDialog.o] Error 127
    make[3]: *** [MainDialog.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [ServerSDialog.o] Error 127
    make[3]: *** [TrueTypeFont.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Clock.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Counter.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [ARGParser.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DefinesAssert.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DefinesFile.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Defines.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DefinesString.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DefinesMath.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [DefinesScorched.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [FileLines.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [FileList.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [fixed.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [FileLogger.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [FixedVector.o] Error 127
    make[3]: *** [KeyboardKey.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [FixedVector4.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [NumberParser.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Keyboard.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [LoggerI.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Logger.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [OptionEntry.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [OptionsParameters.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [ProgressCounter.o] Error 127
    make[3]: *** [OptionsGame.o] Error 127
    ../../../depcomp: line 414: exec: g++: not found
    make[3]: *** [Vector.o] Error 127
    mv -f .deps/snprintf.Tpo .deps/snprintf.Po
    make[3]: Leaving directory `/home/server1/scorched/src/launcher/scorched’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/server1/scorched/src/launcher’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/server1/scorched/src’
    make: *** [all-recursive] Error 1

    add/remove softweare packages says that the gcc-c++ packages are installed (there were three of them)

    —panther

    #64800

    imported_gcamp
    Participant

    Try

    yum install gcc-c++

    #64801

    Panther30
    Participant

    yeah. found that issue and hopefully I have it solved.

    lautogen still complained about wx-config and openal. but I am compiling now and looking for erors.

    —panther

    #64802

    Panther30
    Participant

    compile went fine.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.