Author Topic: Copy and Paste does not work  (Read 9715 times)

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Copy and Paste does not work
« Reply #15 on: November 04, 2020, 12:08:30 am »
This is a note I wrote long time ago when I was having constant crash in Code::Blocks 16 command line and decided to build 17 myself.  Most of the information  came either from Code::Blocks download web site or answers I got from this forum:

To build CodeBlocks  for CentOS 7 from source

1. Follow the instructions in the link:
   http://codeblocks.org/downloads/7 to down the latest version:
   Anonymous SVN access via HTTP protocol:
   Repository URL: http://svn.code.sf.net/p/codeblocks/code/trunk
   Command: svn checkout http://svn.code.sf.net/p/codeblocks/code/trunk

2. Install the pre-requisite package
   CentOS: wxGTK-devel  <-------  This is 2.8
   Command: sudo yum -y install wxGTK-devel

   Ubuntu: libwxgtk3.0-gtk3-dev
   Command: sudo apt install libwxgtk3.0-gtk3-dev

3. Follow the instructions in the link:
   http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_RPM_based_distributions#Build_the_RPM_package to build RPM:
   Go into trunk, if you haven't already done it.
   Commands:
   cd trunk
   ./bootstrap
   ./configure --disable-fortran
   make dist
   rpmbuild -ta codeblocks*.tar.*
4. The resulting RPMs are created under $HOME/rpmbuild/RPMS/x86_64

The RPM file is already in the source repository.
 
The problem is in the availability of wxGTK 3.0 in CentOS repository.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Copy and Paste does not work
« Reply #16 on: November 04, 2020, 11:19:37 pm »
See the spec files I'm using attached.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Copy and Paste does not work
« Reply #17 on: November 16, 2020, 08:13:25 pm »
This happens in CentOS Linux.