User forums > Using Code::Blocks

How to build a .deb package of C::B (ubuntu 5.10)

(1/7) > >>

Michael:
Hello,

I have a question, hope not to silly :D, but I would like to create a .deb package of C::B (ubuntu 5.10). I am aware that since rev2080 there is a debian folder for .deb creation, but I am not sure about the exact command I have to use. After a bit of research, I think that this should be the good one :):


--- Quote ---sudo dpkg-buildpackage -rfakeroot -b

--- End quote ---


Is this command correct or not?

Thank you very much.

Best wishes,
Michael

Michael:
Hello,

I have problems building a .deb package by using the debian repository coming with SVN sources.

After around 30 minutes of building, I got an error (and several warnings):


--- Quote ---dpkg-db - error: (upstream) version (`svn`) doesn't contain any digits
dpkg-db: 1 error in control file
dh_builddeb: command returned error code 512
make: *** [binary-arch] Error 1

--- End quote ---

May be the command I have used is not correct or the problem is somewhere else...

Best wishes,
Michael

mandrav:
In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...

Michael:

--- Quote from: mandrav on March 08, 2006, 03:52:31 pm ---In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...

--- End quote ---

Thank you very much :D. I will give another try.

I have checked and I have a codeblocks executable under:


--- Quote ---~/devel/trunk/debian/codeblocks/usr/bin

--- End quote ---

This C::B is rev2133, but last time I have updated C::B was yesterday so it should be rev2156 :?.

Best wishes,
Michael

Michael:
Hello,

I have "successfully" created a .deb package of CodeBlocks (thanks Yannis :D). Anyway, I have remarked some warnings:


--- Quote ---dh_shlibdeps
dpkg-shlibdeps: warning: could not find path for libcodeblocks.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
dpkg-shlibdeps: warning: could not find path for libcodeblocks.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
...
dpkg-shlibdeps: warning: could not find any packages for  (libcodeblocks.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libcodeblocks (soname 0, path , dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for  (libwxscintilla.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libwxscintilla (soname 0, path , dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for  (libwxscintilla.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libwxscintilla (soname 0, path , dependency field Depends)
...
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

--- End quote ---

I am not sure if they are relevant or not. I just wanted let know about them.

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

Go to full version