On 24/07/11 12:10, Marco Calamari wrote: > On Sun, 2011-07-24 at 11:35 +0100, Ximin Luo wrote: >> On 24/07/11 11:28, Marco Calamari wrote: > > ... > >>>>> line 78 in build-freenet-daemon.sh: >>>>> - change "git submodule update" to "git submodule update --init" >>>>> >>>>> lemme know if it works and i'll push the fix. >>> >>> Need to download all dependencies you list, but the last two >>> (experimental) was downloaded by hand. >>> Add this unlisted dependency libservice-wrapper-j >>> >> >> really? freenet-daemon builds-depends on service-wrapper, which depends on >> libservice-wrapper-{java,jni} - you shouldn't need to download the latter two >> explicitly, apt-get should do this automatically. > > Remember, I started from an Ubuntu 11.04 with no (not yet) any > development system (no git, nothing). That was was. > apt-get told me
what did apt-get tell you? i can't help you if you keep giving me incomplete information like this. > >>> Doing only the suggested correction gave this error >>> >>> fatal: Not a git repository (or any of the parent directories): .git >>> fatal: Not a git repository (or any of the parent directories): .git >>> build freenet-daemon >>> - clean previous build products... >>> - update submodules... >>> fatal: Not a git repository (or any of the parent directories): .git >>> >>> To complete the process and start an apparently working daemon >>> >>> I made a big test matrix: here the result >>> 1) untar a fresh copy at the user main dir level >>> 2) remove any .git directory >> >> untar a fresh copy of what? you shouldn't need to untar anything if you clone >> debian-staging... > > Untar a fresh copy of freenet-debian-staging-aa554d0.tar.gz > Didn't work untarring it in a purposely-made directory, so I need > to do it in my home > you need to run it from a cloned repo, not an extracted tarball. i'll update the script to forbid this. not sure why you thought it would be a good idea to download a tarball after being informed that the build script uses the "git" command... >>> 3) do a git init >>> 4) do a git pull git://github.com/freenet/debian-staging.git >>> 5) make the correction you suggest >>> 6) run the corrected script from the parent directory >>> >> >> what parent directory is this? build-freenet-daemon.sh is meant to be run >> from >> its own directory, i.e. the top repository directory of debian-staging. > > Not understandable by me, sorry. Nothing similar to "debian staging" > here > use "git clone", like the steps below: >> the steps I tried: >> >> $ git clone git://github.com/freenet/debian-staging.git >> $ cd debian-staging >> $ ./build-freenet-daemon.sh >> >> this should work if you have all build-dependencies installed (Build-Depends: >> in debian/control) >> >>> Lot of unusual messages come from initializing freenet, bot on log and >>> from user interface. >>> >>> I'll prepare another post if useful; in the meantime what is the >>> status of non-sun Java compatibilities? Being my present daemon >>> compiled with >>> >> >> works fine on openJDK, personally i recommend using that (as it's the >> official >> JDK of debian.) > > Naive question; why running fred is telling me that jvm is sun 1_6_0_22? > no idea. don't worry about it. > Thanks again. Marco > > > > > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > http://freenetproject.org/cgi-bin/mailman/listinfo/devl -- GPG: 4096R/5FBBDBCE https://github.com/infinity0 https://bitbucket.org/infinity0 https://launchpad.net/~infinity0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20110724/805844b3/attachment.pgp>