User forums > Using Code::Blocks

[DOWNLOAD] Packages of Code::Blocks in your linux distro

<< < (7/34) > >>

kai:
yep. right. you can start codeblocks using the command "codeblocks --prefix=/" . This should be fixed in the package however. So please change it to be installed to /opt (as codeblocks expects it to be there). although i'd personally prefer it to be in /usr/share, but then you have to change the default directory in the source code (or install a startscript) - but i'm also not an ubuntu package specialist, so i don't know what is the right way.

kai

mandrav:

--- Quote from: kai on December 06, 2005, 03:51:12 pm ---So please change it to be installed to /opt (as codeblocks expects it to be there). although i'd personally prefer it to be in /usr/share,

--- End quote ---

C::B uses autotools and therefore defaults to /usr/local. I don't understand why you mention /opt...

kai:
when i install C::B from that ubuntu package I get the following message after starting it:

"Cannot find /opt/codeblocks/share/codeblocks/resources.zip...
Code::Blocks was configured to be installed in '/opt/codeblocks/share/codeblocks'.
Please use the command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR environment variable to point where Code::Blocks is installed,
or try re-installing the application..."

but C::B still doesn't seem to work properly, i get the following messages
(codeblocks:11440): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: ISOLatin1, trying CSISOLatin1
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
(and about 20 more of the "no such file")

It crashes on closing, but i haven't tried out a lot yet.

mandrav:

--- Quote from: kai on December 06, 2005, 04:11:55 pm ---when i install C::B from that ubuntu package

--- End quote ---

We provide no linux packages. Search who made it and maybe he can help you. He probably didn't use the default installation directory.
Sorry...

It's easy to build C::B though. Maybe you should try it.

takeshimiya:

--- Quote from: Charon on October 29, 2005, 03:26:46 am ---This is the first package i ever built, but since it doesn't do anything fancy (just copying all files to their appropriate places) it shouldn't do any harm to your PC.

--- End quote ---

So, anyone with more experience with Ubuntu packages can correct it?

In any case, here are links on how to build packages in Ubuntu:
https://wiki.ubuntu.com/DeveloperResources
https://wiki.ubuntu.com/MOTU
http://women.alioth.debian.org/wiki/index.php/English/PackagingTutorial

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version