sisqonrw Posted August 28, 2009 Author Report Share Posted August 28, 2009 sudo updatedb[sudo] password for salsero:salsero@salsero-laptop:~$ locate pratom.h/usr/include/nspr/pratom.h/usr/local/include/nvu-0.75/nspr/pratom.hsalsero@salsero-laptop:~$ locate prlock.h/usr/include/nspr/prlock.h/usr/local/include/nvu-0.75/nspr/prlock.hsalsero@salsero-laptop:~$ locate prcvar.h/usr/include/nspr/prcvar.h/usr/local/include/nvu-0.75/nspr/prcvar.h Quote Link to comment Share on other sites More sharing options...
idle Posted August 29, 2009 Report Share Posted August 29, 2009 hi,i get this:salsero@salsero-laptop:~$ nspr-config --cflags --libs-I/usr/local/include/nspr-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lc -lpthreadso nspr-config has the wrong include path, please take a look at your distribution bug database and file a new bug if needed (except you've installed it yourself).you can try this as workaround:CFLAGS="-I/usr/include/nspr" makeor even install a newer version or so where this problem might be fixed. Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 29, 2009 Author Report Share Posted August 29, 2009 Hi i get this report:salsero@salsero-laptop:~$ CFLAGS="-I/usr/include/nspr" makemake: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.salsero@salsero-laptop:~$ sudo CFLAGS="-I/usr/include/nspr" make[sudo] password for salsero:make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.salsero@salsero-laptop:~$how can i install a new version? libnspr4-0d - 4.7.5 and libnspr4-dev is already installed. Quote Link to comment Share on other sites More sharing options...
idle Posted August 29, 2009 Report Share Posted August 29, 2009 (edited) Hi i get this report:salsero@salsero-laptop:~$ CFLAGS="-I/usr/include/nspr" makemake: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.salsero@salsero-laptop:~$ sudo CFLAGS="-I/usr/include/nspr" make[sudo] password for salsero:make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.salsero@salsero-laptop:~$how can i install a new version? libnspr4-0d - 4.7.5 and libnspr4-dev is already installed.darn! you should do that in the build dir of 0ad you already did that sometimes....and you don't need to build as root! Edited August 29, 2009 by idle Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 sorry but the installation is not userfriendly. not every one is a profi.in which folder i have to go?salsero@salsero-laptop:~/trunk$ CFLAGS="-I/usr/include/nspr" makemake: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.salsero@salsero-laptop:~/trunk$ cd buildsalsero@salsero-laptop:~/trunk/build$ CFLAGS="-I/usr/include/nspr" makemake: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss. Quote Link to comment Share on other sites More sharing options...
idle Posted August 30, 2009 Report Share Posted August 30, 2009 Try this:open 'libraries/spidermonkey/src/build.sh' with your editor.take a look at line 33change it from:CFLAGS="`nspr-config --cflags` $no_common" \to:CFLAGS="-I/usr/include/nspr `nspr-config --cflags` $no_common" \then go back into 'build/workspaces/'and type again: ./update-workspaces.sh Quote Link to comment Share on other sites More sharing options...
janwas Posted August 30, 2009 Report Share Posted August 30, 2009 (edited) sorry but the installation is not userfriendly.heh, that's certainly true - it's much easier on Windows.not every one is a profi.Right, but this release (being incomplete and rough around the edges) is intended for devs.I think idle is somewhat frustrated that your reaction to the error was running with sudo. Instead, the correct thing to do after update-workspaces succeeds is invoke make from build/workspaces/gcc (which should be where a makefile resides). Edited August 30, 2009 by janwas Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 i think it looks good:http://nopaste.de/p/aLGGMfGuxand now?how can i start it? Quote Link to comment Share on other sites More sharing options...
idle Posted August 30, 2009 Report Share Posted August 30, 2009 i think it looks good:http://nopaste.de/p/aLGGMfGuxand now?how can i start it?Yeah, it looks good so far.Now go into gcc/ and try building the game itself.cd gccmake Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 ok, is this ok?salsero@salsero-laptop:~/trunk/build/workspaces/gcc$ make==== Building mocks_real ====make[1]: »../../../binaries/system/libmocks_real_dbg.a« ist bereits aktualisiert.==== Building network ====make[1]: »../../../binaries/system/libnetwork_dbg.a« ist bereits aktualisiert.==== Building engine ====make[1]: »../../../binaries/system/libengine_dbg.a« ist bereits aktualisiert.==== Building graphics ====Frustum.cppPatch.cppmake[1]: *** Keine Regel vorhanden, um das Target »../../../source/lib/file/path.h«, benötigt von »obj/graphics_Debug/SkeletonAnimDef.o«, zu erstellen. Schluss.make: *** [graphics] Fehler 2 Quote Link to comment Share on other sites More sharing options...
idle Posted August 30, 2009 Report Share Posted August 30, 2009 cd ../../..svn upcd build/workspaces./update-workspaces.shcd gccmake Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 ok was that all ok?http://nopaste.de/p/aUFYh8rDs Quote Link to comment Share on other sites More sharing options...
idle Posted August 30, 2009 Report Share Posted August 30, 2009 ok was that all ok?http://nopaste.de/p/aUFYh8rDsDo it again with:cd ~/trunksvn upcd build/workspaces./update-workspaces.shcd gccmake clean all Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 (edited) i have a conflict salsero@salsero-laptop:~/trunk$ svn upKonflikt in »libraries/spidermonkey/src/build.sh« entdeckt.Auswahl: (p) zurückstellen, (df) voller Diff, (e) editieren, (h) Hilfe für weitere Optionen:what sould i choose? Edited August 30, 2009 by sisqonrw Quote Link to comment Share on other sites More sharing options...
idle Posted August 30, 2009 Report Share Posted August 30, 2009 (edited) i have a conflict salsero@salsero-laptop:~/trunk$ svn upKonflikt in »libraries/spidermonkey/src/build.sh« entdeckt.Auswahl: (p) zurückstellen, (df) voller Diff, (e) editieren, (h) Hilfe für weitere Optionen:what sould i choose?p*EDITif you're at the point where you need to run ./update-workspaces.sh type this:CFLAGS="-I/usr/include/nspr" ./update-workspaces.sh Edited August 30, 2009 by idle Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 30, 2009 Author Report Share Posted August 30, 2009 now i get this:salsero@salsero-laptop:~/trunk$ svn upKonflikt in »libraries/spidermonkey/src/build.sh« entdeckt.Auswahl: (p) zurückstellen, (df) voller Diff, (e) editieren, (h) Hilfe für weitere Optionen: pC libraries/spidermonkey/src/build.shAktualisiert zu Revision 7130.salsero@salsero-laptop:~/trunk$ cd /build/workspacesbash: cd: /build/workspaces: No such file or directorysalsero@salsero-laptop:~/trunk$ cd buildsalsero@salsero-laptop:~/trunk/build$ cd workspacessalsero@salsero-laptop:~/trunk/build/workspaces$ CFLAGS="-I/usr/include/nspr" ./update-workspaces.shbash -c 'mkdir -p output/{debug,release,test}/{FCollada/{FCDocument,FMath,FUtils,FColladaTest/{FCTestAssetManagement,FCTestExportImport,FCTestXRef}},FColladaPlugins/FArchiveXML}'cp output/libFColladaSD.a ../lib/libFColladaSD.acp output/libFColladaSR.a ../lib/libFColladaSR.a./build.sh: 32: Syntax error: redirection unexpectedERROR: SpiderMonkey build failed Quote Link to comment Share on other sites More sharing options...
janwas Posted August 31, 2009 Report Share Posted August 31, 2009 At a guess, build.sh might contain >>> and <<< markers that indicate the conflict. In that case, you should edit that file to reincorporate idle's CFLAGS change and remove the markers. Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 31, 2009 Author Report Share Posted August 31, 2009 sorry my english is not sooooo good ;-) what should i do exactly? Quote Link to comment Share on other sites More sharing options...
idle Posted August 31, 2009 Report Share Posted August 31, 2009 please read what you type.you tried to cd into /build which does not exist usually so you have to remove the slash.cd ~/trunksvn revert libraries/spidermonkey/src/build.shsvn upcd build/workspacesCFLAGS="-I/usr/include/nspr" ./update-workspaces.shcd gccmake Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 31, 2009 Author Report Share Posted August 31, 2009 ok i have done it. was it ok?http://nopaste.de/p/a5k4Xv0akb Quote Link to comment Share on other sites More sharing options...
idle Posted August 31, 2009 Report Share Posted August 31, 2009 (edited) ok i have done it. was it ok?http://nopaste.de/p/a5k4Xv0akbPlease paste '~/trunk/build/workspaces/gcc/graphics.make'.And also please do:cd ~/trunk/build/workspaces./update-workspaces.sh --verbosecd gccmake Edited August 31, 2009 by idle Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted August 31, 2009 Author Report Share Posted August 31, 2009 ok:graphics.make:http://nopaste.de/p/avM6MAGlDhttp://nopaste.de/p/aPGH6HPNg Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted September 2, 2009 Author Report Share Posted September 2, 2009 is there any problemes? why is it so difficult? Quote Link to comment Share on other sites More sharing options...
janwas Posted September 2, 2009 Report Share Posted September 2, 2009 is there any problemes?Yes:"make[1]: *** Keine Regel vorhanden, um das Target »../../../source/lib/file/path.h«,"since that causes make to abort, it is most definitely a problem.Interestingly, path.h was removed in r7063 (one month ago), I'm not sure how/why references linger on, especially in the graphics code. Since the error comes up immediately, it might be due to precompiled headers. Could you please grep for "path.h" in source and header files? If anything comes up, it can and should be removed. You might also try "make clean".why is it so difficult?Simple: this is an early development version, where problems are inevitable. We're happy to work together with developers to get things working on other systems, but frankly, we can't hold hands here (it'll only frustrate both sides and take away resources from development). Quote Link to comment Share on other sites More sharing options...
sisqonrw Posted September 2, 2009 Author Report Share Posted September 2, 2009 but some developers are using this game or does no one use it?if it is possible i would like to using it to. it looks like a good game.what can i do? should i wait or test someting? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.