Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Strange error after updating to wx28 under Ubuntu

<< < (3/3)

Charon:
@morton :
if you don't want to do a "sudo make install" just use this approach

./bootstrap
./configure --prefix=/home/yourusername/programs/codeblocks --enable-contrib
make
make install

in case the installation skript has errors you don't pollute your system and its really easy to completely remove your installation. apart from that you can have a few different svn-versions running along each other for testing.

regards
Markus

notBlahButBlahBlah:
I have just compiled revision 4393 successfully.  :) :D :lol:

Here some answers to your interrogations:

When an application crashes, the file core can be generally located either in the same folder which the program or in the folder relative that the program.

the command “sudo make install” must be launched in the folder where the "make" was launched.

if you want to trace the events during the course of the program, use the command “strace codeblocks > $HOME/trace_cb”. In the last lines, an indication of the crashes you will find.

About core dump file :

To validate the creation of the files core, to enter the file .bashrc the line:
ulimit -c unlimited.

If you do not have a $HOME/.bashrc , play the command cp $HOME/.bash.bashrc $HOME/.bashrc

The files “core” can appear at any place of the system. Sometimes, the creation of one of these files is obvious, but often it remains invisible.
A file “core” is an image memory of a stopped process which is created with the reception of certain signals.

The most current causes are the violations of memory, the illegal instructions, the exceptions in floating point, errors of bus and output signals of the system generated by user.

The file “core” is written in the current directory of the process.

The files “core” can be used to determine what the process was making at the time of its interruption. However they are frequently left of dimensioned and come to encumber the system.


Best regards,
Ubuntu 7.04


dmoore:

--- Quote from: MortenMacFly on August 15, 2007, 09:04:37 am ---BTW: These are all the things why I probably never will feel comfortable with Linux. You simply left in the dark why whatever is happening and where things are stored. I can live with the crash at the end now but I still don't have the environment that I would like to have... anyways... Sorry for the whining but this had to be said.

--- End quote ---

persist, you'll start to see the light. you would have similar issues if you switched to win32 for the first time. this is coming from a guy who has only been using linux a few months now.

i found a guide like this pretty helpful: http://www.amazon.com/Practical-Guide-Commands-Editors-Programming/dp/0131478230 (although it doesn't deal with the idiosyncrasies of individual distros, and you can certainly get by with man and info pages + the www)

JGM:

--- Quote from: dmoore on August 15, 2007, 02:53:32 pm ---persist, you'll start to see the light.

--- End quote ---

it's true, I think almost everybody face this kind of problems on a first encounter with linux. I was becoming crazy the first time I used linux.

All the libraries placed on usr/lib or sometimes on /usr/local/lib, icons on /usr/share/pixmaps, programs on /usr/bin or /usr/local/bin. System librarys on /lib and system programs on /bin. other software dependencies on /etc like scripts and initializers. That drove me crazy, where to find this and that.

Does there exist a manual of the file structure on linux?. I have learned some basics but hitting my head on the wall.

It is a really organized file structure, but sometimes I get lost on the road. Is normal to happen these things, but when we get, we love it. :D

MortenMacFly:
Thanks guys for all the the help and feedback. Biplab and I have settled it up by now. Don't worry: I have used (and developed under) Linux a lot during my studies but I had good reasons to use Windows afterwards. I was hoping after some years of great progress on the Linux front it was more user-friendly... especially Ubuntu. Some issues arised from the fact that it's running in a VM others were my im-patience. It's all sorted out now... hopefully.
With regards, Morten.

Navigation

[0] Message Index

[*] Previous page

Go to full version