User forums > General (but related to Code::Blocks)
A problem about C::B svn make(Ubuntu12.04)
cacb:
Well, I have made some progress. I've moved to another computer with a fresh Kubuntu 13.04 64bit, and it does indeed work to follow the dpkg-buildpackage route
Some observations
- I thought I would get the very latest nightly build code from trunk http://svn.code.sf.net/p/codeblocks/code/trunk/ , however it seems to be some old 10.05 version. Instead I downloaded from http://svn.code.sf.net/p/codeblocks/code/branches/release-12.11/. Where are the latest updates?
- On the new machine, I built against the distro's own wx2.8.12, which worked. Not sure what will happen after I build my own version of wxWidgets like I normally do, and then try to rebuild codeblocks
- Had issues with an NTFS partition, could not build code::blocks on that until I had to properly mounted, Unrelated to C::B, but it is an issue sometimes with dual boot machines.
The IDE is up and running, while at the same time the latest updates have broken the previous ones I got from Jens. So I guess it is time for a major overhaul of my setups.
oBFusCATed:
--- Quote from: cacb on May 20, 2013, 03:28:19 pm ---Where are the latest updates?
--- End quote ---
Here: http://svn.code.sf.net/p/codeblocks/code/trunk/ probably something is broken in the debian files.
Do you get a proper archive using the following commands:
--- Code: ---./bootstrap
./configure
make dist
--- End code ---
You should get codeblocks-12.11*.tar.bz file.
Jenna:
You should run ./bootstrap before any automake command to update the Makefile's and the debian/changelog .
The revision of the debian files is taken from the debian/changelog if you use dpkg-buildpackage.
What does svn info say about the revision ?
cacb:
--- Quote from: jens on May 20, 2013, 05:45:28 pm ---You should run ./bootstrap before any automake command to update the Makefile's and the debian/changelog .
The revision of the debian files is taken from the debian/changelog if you use dpkg-buildpackage.
--- End quote ---
ok, does this mean a ./bootstrap is required before sudo dpkg-buildpackage command? I didn't know, these tools are new to me. Essentialy I need to understand exactly which steps to take to download the latest svn code, build deb packages that I can use on my identically configured Kubuntu machines.
--- Quote from: jens on May 20, 2013, 05:45:28 pm ---What does svn info say about the revision ?
--- End quote ---
Don't know, because I use bazaar with bzr-svn to download the code :) But I used bzr qlog and saw that indeed the latest update was just a few days old. I have deleted it already as I thought it was a mistake since it gave me the 10.05 packages. But if it really was just a question of running ./bootstrap, I can try again.
Jenna:
./bootstrap creates the uptodate Makefile.in's and updates the revision.
At least in theory.
In your case it will not do so, because you use neither svn, git-svn nor git, but only these three scm-clients are supported by the underlying scripts.
You can look at the shell-script update_revision.sh and probaly tweak it to work with bzr-svn, but your on your own here, because no one of our dev's uses bazaar as far as I know.
What you can do manually is the following:
* run ./bootstrap to create the correct Makefile.in's,
* create a file named revision.m4 in the sources root,
* put
--- Quote ---m4_define([SVN_REV], 9099)
m4_define([SVN_REVISION], 12.11svn9099)
m4_define([SVN_DATEinto it], 2013-05-16 18:22:06)
--- End quote ---
into it
* use your svn-revision and -date, of course
* run
--- Quote ---dch -v 12.11svn9099 "New svn revision"
--- End quote ---
* use your svn-revision again
* run dpkg-buildpackage
Or just don't use our svn-repo, but the sources from my server:
http://apt.jenslody.de/testing/pool/main/c/codeblocks/
If you just download the *.orig.tar.gz tar-ball, you get the pure svn-sources without any patches, but after running ./bootstrap.
Ready for use with dpkg-buildpackage.
I update my repo much more frequently as this happens for the windows nightlies (currently I have svn r9099).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version