Author Topic: Could you please help me to install C::B in a PuppyLinux distribution?  (Read 6487 times)

Offline Vigaenson

  • Single posting newcomer
  • *
  • Posts: 6
I have discovered in the web a very interesting tutorial to learn C++ which recommends using C::B as an IDE.
Currently, my only problem is that I would like to use it with any of the Puppy Linux distributions I have been using since 2008.
They are:
Puppy Linux 4.1.1
Lupu 5.1.1
Lucid Puppy 5.2.8
Slacko 5.3.3
Slacko 6.3.0
I am sure that most of the members of this forum are highly qualified to provide the help I am requesting but that they will need more details before being able to assist me.
I will be pleased to answer all their questions. :)
Thanks in advance.
Vigaenson

PS: I was about to post this message when I came across the "Please read the rules before you post!" link. I have read them and (honestly, with some doubts) believe I am within them. The final decision is up to Mr MortenMacFly. If I was wrong, I sincerely apologize.

« Last Edit: April 16, 2016, 07:46:14 am by Vigaenson »

Online stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
Does configure/make work on your LInux Distro?

http://wiki.codeblocks.org/index.php/Installing_Code::Blocks

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Vigaenson

  • Single posting newcomer
  • *
  • Posts: 6
Hello stahta01
Thank you for your post.
 
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks
and
http://wiki.codeblocks.org
have helped me to understand a little more the complexities I must overcome to reach my goal and to take a few steps closer to it.
 
Is your question referred to the configure script and to the CLI make command? Or is it something else?

Vigaenson

Online stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
I had never research Puppy Linux that is why I asked the question.

From https://en.wikipedia.org/wiki/Puppy_Linux#Package_and_distribution_management

Quote
Puppy 6 is built from Ubuntu 14.04 Trusty Tahr packages, has binary compatibility with Ubuntu 14.04 and access to the Ubuntu package repositories. Tahrpup is built from the woof-CE build system, forked from Barry Kauler's Woof late last year after he announced his retirement from Puppy development. It is built from the latest testing branch, incorporates all the latest woof-CE features and is released in PAE and noPAE isos, with the option to switch kernels.

If on Puppy 6, I would suggest looking for an CB Trusty Tahr packages.

Note: Linux posters are expected to know about thier package management system. In case of Puppy Linux, you might have multiple choices. I spent 5 minutes max looking at the Distro.
You might wish to do more research on it.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Vigaenson

  • Single posting newcomer
  • *
  • Posts: 6
Hello Tim

I forgot to say all my post to the forum and most of the attempts to install CB I had done until I read your first post were made from a Tahrpup version 6.0.5 I was testing and with which I was very unfamiliar.
After reading http://wiki.codeblocks.org/index.php/Installing_Code::Blocks and http://wiki.codeblocks.org I got a new perspective of the problem I was facing and that is why, with some more research, a couple of hours ago my screen rendered the window that can bee seen in the attachment.

I am aware that this is not the end of my problems. It is only the goal I had in mind when I made my first post.
If new problems related to CB arise, I know I will be able to rely on this forum, and of course, on you

Best regards and thank you very much!.

Vigaenson
« Last Edit: March 24, 2016, 11:31:45 pm by Vigaenson »

Offline Vigaenson

  • Single posting newcomer
  • *
  • Posts: 6
For personal reasons I had to delay the use of CB until this week and in trying to use it, I have discovered that the first permanent window that appears after using the command line to run CB, is the "Compilers auto-detection" window that can be seen as the 1st attachment to this post.
Clicking or not clicking on A and B  of the "Compilers auto-detection" window does not change what follows:
Clicking on C brings up the window that can be seen in the 2nd attachment and the transient little window with the "Environment Error" that is marked with D.
Clicking on what has been marked E and F bring up another window.
Could you help me in dealing wit it?
Vigaenson.

Offline Vigaenson

  • Single posting newcomer
  • *
  • Posts: 6
The window I last mentioned in my previous post can be seen in the attachment to this post.
Here, all my knowledge came to an end.
I have tried to do many things in this window but they all don't work:
The "Environment Error" window still appears each time I start CB and I haven't learned how to correct that error.

I am aware that the operating system I'm using (Tahrpup 6.0.5) uses Geany as its default text editor.
I am also aware that Geany claims to be an IDE independent as possible from a particular Desktop Environment like KDE or GNOME that only requires the GTK+ runtime libraries.
But I don't know if these facts are related in some way with the "Environment error" I'm having.
And if so, I don't know if these relations make my problem easier or more difficult to solve.

Vigaenson

PS: Before posting I have spent a lot of time reading more results in CB's forum using "no compiler detected" and "environment error" as a search parameters. None of the results seemed to fit my case. Most of them were windows users that had to install or re-install Microsoft Visual C++ or MinGW GCC.
I have also spent some time at http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29 but unless I have missed or misunderstood something, that didn't help either.
The package manager of my distribution renders a list of about 500 items when you search for "compiler"

Should I ask its administrators which is the compiler I must download?
Or is this a problem that can be solved without their help?

Offline yvesdm3000

  • Almost regular
  • **
  • Posts: 225
It looks like you need to install a compiler in PuppyLinux since CodeBlocks for linux never ships with a compiler.

Try to find and install a package named "gcc" in PuppyLinux ...

Yves
Clang based code completion for Code::Blocks:   http://github.com/yvesdm3000/ClangLib

Offline yvesdm3000

  • Almost regular
  • **
  • Posts: 225
After googling looks like this explains your problem:

http://www.murga-linux.com/puppy/viewtopic.php?t=83426&sid=e854ba7f0236f9d384b9eb957b201d61

Doesn't look anything easy at all for a newbie Linux user. If I were you, I'd switch to Ubuntu or Fedora or something a lot more user-friendly...

Yves
Clang based code completion for Code::Blocks:   http://github.com/yvesdm3000/ClangLib