Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
recent (last week?) changes causes crash in loading workspace OR home location ?
oBFusCATed:
killerbot:
Are you still doing make && make install without manually deleting the destination folder for the installation?
I've had no crashes related to bad build for a long time (both autotools or internal build system related).
killerbot:
initially I always start without doing that, but even when I did it failed on the second machine.
So my typical procedure is :
- initial checkout
- bootstrap and configure
- make and make install
from that point on :
- svn up
- make and make install
and occasionally
- svn up
- make clean
- make and make install
and occasionally
- svn up
- bootstrap and configure
- make clean
- make and make install
For this one, I even did make distclean and make uninstall and manually remove the installed CB files (usr/local/ -> in the subdirs which contain CB files, removed the CB files)
oBFusCATed:
Do you pass a prefix option to configure?
If not I suggest you start doing it and before make install do rm -rf <prefix>.
If you still have problems like you have.
Add the make clean or make distclean to the list of commands.
killerbot:
maybe that is indeed better
Would you still install it system wide, eg available for every user on the system. Or prefix it to install in the home/<ME>/bin, and as such not system wide.
What I still don't like is, why it does not work as one would expect, it actually means that our (makeclean +) make + make install does not work correct ... ?
oBFusCATed:
make install doesn't work as you expect it, because it doesn't first remove files from the old install.
So doing make install over the old installation is asking for trouble.
You can install it system wide in a place like /opt/codeblocks/ In fact this is the place where non-packaged software should be placed.
Then you can sym-link the binaries in /usr/local/bin or something like that.
BTW. For the builds I want to use I always build packages. I use make install only if I want to test if make install works, or if I need to use a test build of cb to debug another test build of cb.
BTW2. I use --disable-pch, so I don't know if the pch stuff is stable.
Navigation
[0] Message Index
[*] Previous page
Go to full version