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

Settings->Environment.... crash! the latest nightly !!!!!!!!!!

<< < (9/11) > >>

Pecan:

--- Quote from: Dee on April 26, 2006, 01:18:38 pm ---
--- Quote ---I thought the .deb package was simply downloaded from the nightly builds?
--- End quote ---
Yes, but I think we want to compare your debian build and my build from the sources?


--- Quote ---What do you mean by "svn"?
--- End quote ---
So i get the sources via svn (see posting by thomas above) and compile it...

Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)

Greetings, Dee



--- End quote ---

Oh.. ok.. I get it.
I already have the svn source built. Your instructions on installing the .deb is what I was after. So I'll continue...

thanks,
pecan

Michael:

--- Quote from: Dee on April 26, 2006, 01:40:47 pm ---Hm, I thought this is the standard way in Ubuntu... You also could use dh_make and fakeroot, but that doesn't work with codeblocks in my case. But anyway...

--- End quote ---

To be honest, I have found several way to build a .deb package (I am trying another just now :)).

Waht I use is this sudo dpkg-buildpackage -rfakeroot -b


--- Quote from: Dee on April 26, 2006, 01:40:47 pm ---So I should install both debian packages (your deb will be in /usr and my deb in /usr/local so this should be no problem) and compare which zip file? I have never seen some zip-file in one of the install directorys...

--- End quote ---

First you can try with this command so that you can see what a .deb package contains (may be it could be enough to compare you .deb and mine):


--- Quote ---dpkg --contents file.deb

--- End quote ---

If not for the resources and zip files, look under share/devel.

Thanks :).

Best wishes,
Michael

Dee:
So, rev2380 is online, I installed it (it removes my debian-built) but still crashes.... (Only to be sure we're on the right way.)


--- Quote ---If not for the resources and zip files, look under share/devel.
--- End quote ---

So, I found the error... If I replace the resources.zip from your debian package in /usr/share/codeblocks with my resources.zip there is no crash.

The differences are...

app_compiler_settings.xrc: two more options in my built
env_settings.xrc: one other name, two more objects
print_dialog.xrc: one more object and utf8-encoding

In the next step I just replace the env_settings.xrc in the zip file and it works well. So I attach my env_settings.xrc so that you can compare it. (I must rename it to attach it...)

I hope that you can fix the error now so that everyone has fun in programming with C::B... :)

Greetings, Dee





[attachment deleted by admin]

Michael:

--- Quote from: Dee on April 26, 2006, 05:40:15 pm ---So, rev2380 is online, I installed it (it removes my debian-built) but still crashes.... (Only to be sure we're on the right way.)


--- Quote ---If not for the resources and zip files, look under share/devel.
--- End quote ---

So, I found the error... If I replace the resources.zip from your debian package in /usr/share/codeblocks with my resources.zip there is no crash.

The differences are...

app_compiler_settings.xrc: two more options in my built
env_settings.xrc: one other name, two more objects
print_dialog.xrc: one more object and utf8-encoding

In the next step I just replace the env_settings.xrc in the zip file and it works well. So I attach my env_settings.xrc so that you can compare it. (I must rename it to attach it...)

I hope that you can fix the error now so that everyone has fun in programming with C::B... :)

--- End quote ---

Hello,

Thank you very much for your work :).

So, it is a resources problem. I just wonder why the dpkg-buildpackage cannot upload correctly the resources :?.

I am also trying alternative build methods, e.g., pbuild, but does not work because of the missing zip file. Now I am trying without the -b parameter and see if it will work.

Yannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert :()? Thank you :).
If the debian directory is ok then the cause is related on how I build the .deb package.

Best wishes,
Michael

Michael:
Hello,

I have changed some parameters and built a .deb package for rev2385. If someone would be so kind to install it and check if the Settings-->Environment crash is disappeared, I would really appreciate :). If you have installed a previous package, please uninstall it before.

The package (rev2385) is available here:

http://www.savefile.com/projects.php?pid=547711

Thank you very much :).

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version