Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2015-05-02 Thread Matthew Brush

On 2015-05-02 07:49 AM, bkpsusmitaa wrote:

Dear members,
I installed freeglut3 in my Debian-knoppix system.

When I use gcc compiler, I write a code like this:
  gcc abc.c -l glut
  or
  gcc abc.c -l glut -o test
as the case may be. The program compiles okay.

But I use geany for easier tracking. Unfortunately, geany's build code
is bit ambiguous. It is:
gcc -Wall -c "%f" for compile
gcc -Wall -o "%e" "%f" for build

How do I pass the glut lib in geany?


Go to Build -> Set Build Commands menu and in the "Build" command add 
your `-lglut` and other linker flags to the end of it. So your example 
above would look like:


gcc -Wall -o "%e" "%f" -lglut

Cheers,
Matthew Brush
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2015-05-02 Thread bkpsusmitaa
Here are the 4 execs that have been compiled.

So. the first code is not supposed to work? I am surprised! I had told
you earlier, I have a problem understanding the language people talk
in.

The first code:
--
#include 

main() {

   InitializeAWindowPlease();

   glClearColor (0.0, 0.0, 0.0, 0.0);
   glClear (GL_COLOR_BUFFER_BIT);
   glColor3f (1.0, 1.0, 1.0);
   glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
   glBegin(GL_POLYGON);
  glVertex3f (0.25, 0.25, 0.0);
  glVertex3f (0.75, 0.25, 0.0);
  glVertex3f (0.75, 0.75, 0.0);
  glVertex3f (0.25, 0.75, 0.0);
   glEnd();
   glFlush();

   UpdateTheWindowAndCheckForEvents();
}
___


glut002
Description: Binary data


glut003
Description: Binary data


glut004
Description: Binary data


glut005
Description: Binary data
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2015-05-02 Thread lmx1
Wel,
for what I see that is not a geany problem :)
 you want to build against static lib or against shared lib?

in each case you should create a makefile..to build project..

One of the things that I would love in geany is something that code::blocks for 
instance have.. a simplified way to build, because makefiles with 30 more files 
is a lot difficult to build especially for someone without much experience with 
makefiles

you should build in the same way you do in terminal, or use a make file and 
substitute the commands in build..

regards
tux


By my BB10
  Original Message  
From: bkpsusmitaa
Sent: Sábado, 2 de Maio de 2015 15:50
To: Geany general discussion list
Reply To: Geany general discussion list
Subject: Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in 
Geany but can't

Dear members,
I installed freeglut3 in my Debian-knoppix system.

When I use gcc compiler, I write a code like this:
gcc abc.c -l glut
or
gcc abc.c -l glut -o test
as the case may be. The program compiles okay.

But I use geany for easier tracking. Unfortunately, geany's build code
is bit ambiguous. It is:
gcc -Wall -c "%f" for compile
gcc -Wall -o "%e" "%f" for build

How do I pass the glut lib in geany?
Regards.
Rajib
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2015-05-02 Thread bkpsusmitaa
Dear members,
I installed freeglut3 in my Debian-knoppix system.

When I use gcc compiler, I write a code like this:
 gcc abc.c -l glut
 or
 gcc abc.c -l glut -o test
as the case may be. The program compiles okay.

But I use geany for easier tracking. Unfortunately, geany's build code
is bit ambiguous. It is:
gcc -Wall -c "%f" for compile
gcc -Wall -o "%e" "%f" for build

How do I pass the glut lib in geany?
Regards.
Rajib
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-24 Thread Dimitar Zhekov
On Thu, 24 Jul 2014 06:08:37 + (UTC)
Rajib Bandopadhyay  wrote:

> There are so many installations required! This uses up my bandwidth.

If you want to debug a program, and the Scope package under Knoppix
is currently broken, you can try to install Nemiver instead. It has more
dependencies than Scope, but less than compiling from source (though
that depends on what development packages you have already installed).

-- 
E-gards: Jimmy
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Lex Trotman
On 24 July 2014 16:08, Rajib Bandopadhyay  wrote:
> Dimitar Zhekov  writes:
> [snipped]
>> Scope requires Geany, glib/gtk+ and vte.
>> Geany requires glib/gtk+ and suggests vte.

These are the libraries required to run, not the tools required to build.

>
> NOt only these but intltool as well. Installed intltool

This is a build tool.

>
>> The only inaccuracy in the dependencies that I see is that the
>> "required" glib/gtk+/vte versions are higher than what we really need,
>> and that applies to both Geany and Scope. But Debian includes all
>> "required" package versions, so there's absolutely no problem to
>> install Geany or Scope.
>
> Why glib is required when gcc (various versions) are already installed in
> Knoppix?

Glib has nothing to do with gcc, its is a library underlying GTK.
Glibc is the C runtime library for gcc.


> There are so many installations required! This uses up my bandwidth.
>
> You say Geany requires minimum dependence on the system, but to run the
> source I find I have to install many packages.

As I said building from source requires the tools and development
libraries, not just the runtime requirements.

Cheers
Lex

>
> It is getting difficult, you know, with my limited bandwidth.
>
>
>
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
Dimitar Zhekov  writes:
[snipped] 
> Scope requires Geany, glib/gtk+ and vte.
> Geany requires glib/gtk+ and suggests vte.

NOt only these but intltool as well. Installed intltool

> The only inaccuracy in the dependencies that I see is that the
> "required" glib/gtk+/vte versions are higher than what we really need,
> and that applies to both Geany and Scope. But Debian includes all
> "required" package versions, so there's absolutely no problem to
> install Geany or Scope.

Why glib is required when gcc (various versions) are already installed in
Knoppix?
There are so many installations required! This uses up my bandwidth.

You say Geany requires minimum dependence on the system, but to run the
source I find I have to install many packages.

It is getting difficult, you know, with my limited bandwidth.



___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Dimitar Zhekov
On Wed, 23 Jul 2014 12:37:50 + (UTC)
Rajib Bandopadhyay  wrote:

> Knoppix is Debian, and uses its repositories. You could check it yourself
> from /etc/apt/sources.lists . The problem is that it mixes up different
> stages, Stable, Testing, Experimental, etc., which creates these issues. The
> issue is with Debian package, as my snapshots will show. I use both Debian
> and Knoppix. Unfortunately, my Debian is Lenny, and Scope does not have a
> Lenny version. Therefore, I am compelled to use Knoppix 7.2 as it was
> Knoppix that introduced me to Geany the first time. :)

I'm using Debian stable + testing.

Scope requires Geany, glib/gtk+ and vte.
Geany requires glib/gtk+ and suggests vte.

The only inaccuracy in the dependencies that I see is that the
"required" glib/gtk+/vte versions are higher than what we really need,
and that applies to both Geany and Scope. But Debian includes all
"required" package versions, so there's absolutely no problem to
install Geany or Scope.

What mix of packages are used by Knoppix developers I do not know. The
packaging of Geany/Scope/whatever for any particular distribution is a
responsibility of the package maintainers of that distribution, and
that is the standard practice. As you can see, Scope does not have any
specific requirements (vte is present in any system with a gtk+ based
terminal emulator).

Just for the record, Debian stable + testing sometimes _does_ provide
incompatible package versions, where Foo requires a newer version of
Bar that the latest available. In such cases, one has to unmark the
install/upgrade of Foo, and wait for the requred Bar version to appear.

-- 
E-gards: Jimmy
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
Colomban Wendling  writes:

> IIUC, you tried to install the Debian packages on Knoppix.  Even if a
> distribution is Debian-based doesn't mean any Debian package will work
> seamlessly on it.  Using a package not specifically crafted for your
> very distribution is a risky bet if you don't know your package manager
> *very* well.  It might work, but it also might not (e.g. if versions of
> dependencies differ).

Knoppix is Debian, and uses its repositories. You could check it yourself
from /etc/apt/sources.lists . The problem is that it mixes up different
stages, Stable, Testing, Experimental, etc., which creates these issues. The
issue is with Debian package, as my snapshots will show. I use both Debian
and Knoppix. Unfortunately, my Debian is Lenny, and Scope does not have a
Lenny version. Therefore, I am compelled to use Knoppix 7.2 as it was
Knoppix that introduced me to Geany the first time. :)

> I also think I understood you manually installed the packages rather
> than adding a repository...

No, I tried, but that didn't work because of compatibility issue. I don't
force packages.

In the end, I thank you for responding to my email. I will try to install
Geany and plugins via sources.

Regards 




___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Colomban Wendling
Hi,

Le 23/07/2014 13:19, Rajib Bandopadhyay a écrit :
> [...]
> ...
> Install Geany-Plugins
> There are different ways to get the Geany-Plugins project onto your
> system. The easiest is to ask the package manager software of the
> distribution you are using.
> ...
> 
> This approach has led me to a complicated situation. Instead of
> focussing on the task at hand I am now trying to get Geany fixed.

IIUC, you tried to install the Debian packages on Knoppix.  Even if a
distribution is Debian-based doesn't mean any Debian package will work
seamlessly on it.  Using a package not specifically crafted for your
very distribution is a risky bet if you don't know your package manager
*very* well.  It might work, but it also might not (e.g. if versions of
dependencies differ).

I also think I understood you manually installed the packages rather
than adding a repository.  This is even more tricky as your package
manager can't install dependencies itself if they are not in one of its
repositories, so you have to *manually* make sure all the specific
packages are installed.  E.g. if you manually installed
geany-plugin-scope from Debian, you need to make sure you also manually
install geany-plugins-common at the very same version, and that you have
a Geany package providing geany-abi-69.

> I again draw your attention to Geany's USP, "...Another goal was to be as
> independent as possible from a special Desktop Environment like KDE or
> GNOME - Geany only requires the GTK2 runtime libraries..."

We do.  But we cannot realistically test Geany on each and every
existing distribution, there are too many of them and there is no reason
for us to doubt Geany won't work on a GNU/Linux platform.

We would of course be happy to have report of code problems on different
platforms if any, but as Lex said, as we don't create the packages for
the various distributions we don't know what they did specifically.

> So how come Geany gets to depend on so many packages and breaks
> them(snapshots)? ;)

Well, that's the difference between build dependencies and package
dependencies -- and here as you're talking about a specific plugin
(which is *not* part of Geany itself), of that very plugin's own
dependencies.

Geany itself only requires GTK2 (to a minimal specific version) and a
conforming libc.  However, the distribution packages generally have a
tighter dependency list, especially if the upstream package is split in
various distribution packages.  This is because not only the
distribution's packaging system has to provide the softwares but also
make sure the system state remains consistent.

> I hope you would weigh the points I have raised.
> 
> And your email does not address my other issue: "There must be a
> system of specific configuration where the developers test their
> codes."
> What is the specific system you all use? Let me know and I will set up
> the same system to minimise fuss.

We don't have such specific system: some of us use Debian, some other
Xubuntu or Fedora, etc.  But this doesn't matter much as I'm talking
about Geany developers that obviously build Geany from sources themselves.

> But first of all, I would compile the software from the source code
> and try to solve the issues. Let's see how this goes :)

This should avoid any packaging system issues, and building Geany is
relatively easy -- at least if you already know how to build an
Autotools-using software.

Regards,
Colomban
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
Lex Trotman  writes:
...
> 
> Developers test on a number of different systems, with differing
> configurations, there is no specific configuration used.
... 
> Ok, note that to compile the software you will likely need development
> tools and development versions of GTK, not just the runtimes.
...
Okay, Lex. Thank you.
Regards

___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Lex Trotman
On 23 July 2014 21:19, Rajib Bandopadhyay  wrote:
> [Attn: Lex Trotman - Some additions]
>
> On 23/07/2014, Rajib Bandopadhyay  wrote:
> Dear Lex,
> Please peruse the following links and then the attached snapshots:
> A.   http://www.geany.org/Support/Plugins
> ...
> The Geany-Plugins project
> The Geany-Plugins project is a combined release for each matching
> Geany release, starting with version 0.17.
> It includes a huge number of plugins for different purposes.
> Please have a look at http://plugins.geany.org/ for more information.
> ...
>
> B.   http://plugins.geany.org/install.html
> ...
> Install Geany-Plugins
> There are different ways to get the Geany-Plugins project onto your
> system. The easiest is to ask the package manager software of the
> distribution you are using.
> ...
>
> This approach has led me to a complicated situation. Instead of
> focussing on the task at hand I am now trying to get Geany fixed.

That advice is normally correct, it is usually best to use the package
provided by your distribution.  It is unfortunate if your distribution
has provided a bad package, but the Geany project has no control over
that.

>
> I again draw your attention to Geany's USP, "...Another goal was to be as
> independent as possible from a special Desktop Environment like KDE or
> GNOME - Geany only requires the GTK2 runtime libraries..."
>
> So how come Geany gets to depend on so many packages and breaks
> them(snapshots)? ;)

The statement you quoted above is correct, Geany only needs the GTK
runtimes to run.  There is no way Geany can break packages, but your
distribution can accidentally provide bad packages at times.  That is
a concern you need to raise with the distribution to get answers, we
cannnot help you with that, we do not make the packages.


> I hope you would weigh the points I have raised.
>
> And your email does not address my other issue: "There must be a
> system of specific configuration where the developers test their
> codes."

Developers test on a number of different systems, with differing
configurations, there is no specific configuration used.

> What is the specific system you all use? Let me know and I will set up
> the same system to minimise fuss.
>
> But first of all, I would compile the software from the source code
> and try to solve the issues. Let's see how this goes :)

Ok, note that to compile the software you will likely need development
tools and development versions of GTK, not just the runtimes.

Cheers
Lex


>
> Regards
>
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Lex Trotman
On 23 July 2014 20:13, Rajib Bandopadhyay  wrote:
> On 23/07/2014, Lex Trotman  wrote:
> [snipped]
> ...
>> The Geany project does not provide any packages.  You should address
>> the questions about package problems to the packagers for the
>> respective distributions.
>>
>> The Geany source code is intended to be portable to any Linux/Windows
>> platform that has the appropriate dependencies.  The plugins in Geany
>> Plugins may have stricter requirements, that is up to the individual
>> developer.
> ...
> [snipped]
>
> Hello, Lex!
> I am not very conversant with how software developers of Collaborative
> Software test their 'source' before posting it for the community.
> There must be a system of specific configuration where the developers
> test their codes.
> Added to this is Geany's USP, "...Another goal was to be as
> independent as possible from a special Desktop Environment like KDE or
> GNOME - Geany only requires the GTK2 runtime libraries..."
> So how to add the said plugin with minimum fuss, and avoid its clash
> with my system?

You can either install from your distro's repositories, with questions to them.

Or you can compile from Geany and the plugin from source after
installing the appropriate dependencies.

Cheers
Lex


> Thanks for replying.
> Regards
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
On 23/07/2014, Lex Trotman  wrote:
[snipped]
...
> The Geany project does not provide any packages.  You should address
> the questions about package problems to the packagers for the
> respective distributions.
>
> The Geany source code is intended to be portable to any Linux/Windows
> platform that has the appropriate dependencies.  The plugins in Geany
> Plugins may have stricter requirements, that is up to the individual
> developer.
...
[snipped]

Hello, Lex!
I am not very conversant with how software developers of Collaborative
Software test their 'source' before posting it for the community.
There must be a system of specific configuration where the developers
test their codes.
Added to this is Geany's USP, "...Another goal was to be as
independent as possible from a special Desktop Environment like KDE or
GNOME - Geany only requires the GTK2 runtime libraries..."
So how to add the said plugin with minimum fuss, and avoid its clash
with my system?
Thanks for replying.
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Lex Trotman
On 23 July 2014 19:29, Rajib Bandopadhyay  wrote:
> *[Attention- some additions]*
>
> On 22/07/2014, Rajib Bandopadhyay  wrote:
>> I use Knoppix 7.2. The version is in Debian archive. Link:
>> https://packages.debian.org/sid/i386/geany-plugin-scope/download
>> Knoppix Synaptic shows this as broken in status window.
>> Thanks for replying.
>> Regards.
>
> I deactivated the knoppix repositories, and tried both installing from
> Debian repository using Synaptic, and also via downloading the
> packages from Debian repository and installing via gdebi. But the
> result were the same.
>
> I am puzzled by the issue, so I wrote to Geany developers.
>
> One suggestion: GeoGebra, of which I am a poster, has a standalone
> package to be used in Linux, which runs irrespective of any version of
> Linux you are running.
> Can Geany developers think similarly?
> I am not aware if they already have. Maybe they have!
> Regards

Hi,

The Geany project does not provide any packages.  You should address
the questions about package problems to the packagers for the
respective distributions.

The Geany source code is intended to be portable to any Linux/Windows
platform that has the appropriate dependencies.  The plugins in Geany
Plugins may have stricter requirements, that is up to the individual
developer.

Cheers
Lex



> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
On 23/07/2014, James Brierley  wrote:
> On 23/07/14 10:15, Rajib Bandopadhyay wrote:
> I'm losing track of this conversation a bit...
>
> But if misunderstandings have occurred, then let's shake hands and move
> on. :)
>
> James
>
> --
> http://slippy.dynu.net/~james/
> Vuelven, armada española, ustedes necesita Inglaterra
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

About shaking hands, I never let you out of my warm embrace. I
_understood_ you completely :) Please go back to my statement: Could I
email you with queries from time to time?

But your offer for support should be for the entire way, not, till a
distance and then turning back. :)
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
*[Attention- some additions]*

On 22/07/2014, Rajib Bandopadhyay  wrote:
> I use Knoppix 7.2. The version is in Debian archive. Link:
> https://packages.debian.org/sid/i386/geany-plugin-scope/download
> Knoppix Synaptic shows this as broken in status window.
> Thanks for replying.
> Regards.

I deactivated the knoppix repositories, and tried both installing from
Debian repository using Synaptic, and also via downloading the
packages from Debian repository and installing via gdebi. But the
result were the same.

I am puzzled by the issue, so I wrote to Geany developers.

One suggestion: GeoGebra, of which I am a poster, has a standalone
package to be used in Linux, which runs irrespective of any version of
Linux you are running.
Can Geany developers think similarly?
I am not aware if they already have. Maybe they have!
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread James Brierley

On 23/07/14 10:15, Rajib Bandopadhyay wrote:

Everything is just about the "I", think about this. There is a word
called 'empathy'. I've applied it a lot and a lot deeply to arrive
here :)

This is a forum for Geany users, so let us keep the posts reflecting
the forum policy as such, and not dwell on it.


I’m losing track of this conversation a bit...

But if misunderstandings have occurred, then let’s shake hands and move 
on. :)


James

--
http://slippy.dynu.net/~james/
Vuelven, armada española, ustedes necesita Inglaterra
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread Rajib Bandopadhyay
On 23/07/2014, James Brierley  wrote:
> This indicates that the geany-plugin-scope package in Knoppix needs to
> be updated to take account of the updated geany-plugins-common. I don't
> really know how Knoppix derives its packages from Debian but sometimes
> this used to happen to me when I used testing when pacakges depending on
> one another were not transitioned from unstable at the same time.
>
> So, this is a problem at Knoppix's end, there isn't much the Geany
> developers can do about it.
>
> In terms of checking for 'breakage' potential, you can check the
> 'Depends' line for each package using your favourite APT tool and
> compare it with the version of the package you want to install.
>
> I don't know why you consider my helping you 'posturing'. I tend to be
> quite grateful for anyone offering me help with my computer problems
> online. As for condescendment, I found your response to my initial post
> to have quite that air about it.
>
> I hope this helps anyway.
>
> James
>
> --
> http://slippy.dynu.net/~james/
> Vuelven, armada española, ustedes necesita Inglaterra
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>

Dear James :)
You said: ... you can check the 'Depends' line...
I do it another way. I usually use gdebi package in GUI mode to find
the dependency issues.

You said: ... this is a problem at Knoppix's end
:) Did I say it wasn't?! When I wrote I was just asking for a
solution, which brings us back to square one. :)

You said: ... why you consider my helping you 'posturing'...
Did I _say_ that!? :) It is your perception! :) It was a general,
passing observation for 'me'!

You said: ... As for condescendment, I found your response to my
initial post to have quite that air about it...
Was it condescension?! I just re-stated your very words in a slightly
different form, actually supported you if you felt you were at all
condescending (I replaced the word with 'over-assertive'), and just
told the truth in a matter of fact form :) We colour our own reality!

Everything is just about the "I", think about this. There is a word
called 'empathy'. I've applied it a lot and a lot deeply to arrive
here :)

This is a forum for Geany users, so let us keep the posts reflecting
the forum policy as such, and not dwell on it.

Just ignore :)
Regards,
Rajib Bandopadhyay
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-23 Thread James Brierley

On 23/07/14 04:51, Rajib Bandopadhyay wrote:

The following packages have unmet dependencies:
  geany-plugin-scope : Depends: geany-plugins-common (= 1.24+dfsg-2)
but 0.21.1.dfsg-4 is to be installed
E: Unable to correct problems, you have held broken packages.


This indicates that the geany-plugin-scope package in Knoppix needs to 
be updated to take account of the updated geany-plugins-common. I don’t 
really know how Knoppix derives its packages from Debian but sometimes 
this used to happen to me when I used testing when pacakges depending on 
one another were not transitioned from unstable at the same time.


So, this is a problem at Knoppix’s end, there isn’t much the Geany 
developers can do about it.


In terms of checking for ‘breakage’ potential, you can check the 
‘Depends’ line for each package using your favourite APT tool and 
compare it with the version of the package you want to install.


I don’t know why you consider my helping you ‘posturing’. I tend to be 
quite grateful for anyone offering me help with my computer problems 
online. As for condescendment, I found your response to my initial post 
to have quite that air about it.


I hope this helps anyway.

James

--
http://slippy.dynu.net/~james/
Vuelven, armada española, ustedes necesita Inglaterra
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread Rajib Bandopadhyay
On 23/07/2014, James Brierley  wrote:
> Er, -f stands for 'fix', not 'force'. APT will not install a system with
> broken dependencies.
>
>  From the man page for apt-get:
>
> -f, --fix-broken
> Fix; attempt to correct a system with broken dependencies in
> place. This option, when used with install/remove, can omit any packages
> to permit APT to deduce a likely solution. If packages are specified,
> these have to completely correct the
> problem. The option is sometimes necessary when running APT
> for the first time; APT itself does not allow broken package
> dependencies to exist on a system. It is possible that a system's
> dependency structure can be so corrupt as to require manual
> intervention (which usually means using dpkg --remove to
> eliminate some of the offending packages). Use of this option together
> with -m may produce an error in some situations. Configuration Item:
> APT::Get::Fix-Broken.
>
> Sorry to sound a bit condescending, but I'm wondering how you consider
> the problem to be 'far more complicated' when you have not read the
> manual for the software you're using? I'm only trying to help. As
> someone who has been using Ubuntu and Debian systems for eight years, I
> think my advice might be worth something.
>
> James
>
>
> --
> http://slippy.dynu.net/~james/
> Vuelven, armada española, ustedes necesita Inglaterra
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


Dear James,
Why say sorry when you believe you sound condescending? Or did you
mean, Over-assertive? I believe for me it is perfectly okay if someone
appears over-assertive to me, when the person with whom I am
interacting supports his arguments with logic and facts. It also means
that my level of understanding would have to be sufficiently evolved
to discern between knowledge and posturing. If the two things don't
match, I would rather be skeptical about our future relationship.
Could I email you with queries from time to time?
I don't read man pages a lot because they are not written in a format
suitable for me. It is too overloaded (for me) with information, with
few words and examples, if at all. It is not something I can hope to
read at one time and remember all the package's usage rules. I would
rather wait till no other options are available to me - like a
prospective friend like you who is adept in such skills. Do I sound
arrogant, egotistic? I am the ego, for me things which match my nature
will be assimilated the earliest. This is an anthropic reality.
I used the word Force because in synaptic you could force a version,
and there are multiple versions of a package, as there are multiple
repositories for Knoppix, presently, Wheezy, Jessie, Sid,
Experimental, ...
To add, complicated for 'me' that just plain typing " apt-get -f
install", 'Me' is all that matters, doesn't it?!
And to end, the outcome of the code:
=
root@Microknoppix:/home/knoppix# apt-get -f install geany-plugin-scope
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 geany-plugin-scope : Depends: geany-plugins-common (= 1.24+dfsg-2)
but 0.21.1.dfsg-4 is to be installed
E: Unable to correct problems, you have held broken packages.
=
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread James Brierley

On 22/07/14 20:00, Rajib Bandopadhyay wrote:

On 22/07/2014, James Brierley  wrote:

Just to wade in, 'broken' in Debian APT terminology means that a package
is not installed properly.

Try (as root):

apt-get -f install

at the command like.

Hope this helps.

James

Why would Synaptic show a Broken info before the package is installed?
The matter appears to be far more complicated than that :) I am not
going to force install packages. Let's wait for more suggestion.
Thank you for writing.
Regards


Er, -f stands for ‘fix’, not ‘force’. APT will not install a system with 
broken dependencies.


From the man page for apt-get:

   -f, --fix-broken
   Fix; attempt to correct a system with broken dependencies in 
place. This option, when used with install/remove, can omit any packages 
to permit APT to deduce a likely solution. If packages are specified, 
these have to completely correct the
   problem. The option is sometimes necessary when running APT 
for the first time; APT itself does not allow broken package 
dependencies to exist on a system. It is possible that a system's 
dependency structure can be so corrupt as to require manual
   intervention (which usually means using dpkg --remove to 
eliminate some of the offending packages). Use of this option together 
with -m may produce an error in some situations. Configuration Item: 
APT::Get::Fix-Broken.


Sorry to sound a bit condescending, but I’m wondering how you consider 
the problem to be ‘far more complicated’ when you have not read the 
manual for the software you’re using? I’m only trying to help. As 
someone who has been using Ubuntu and Debian systems for eight years, I 
think my advice might be worth something.


James


--
http://slippy.dynu.net/~james/
Vuelven, armada española, ustedes necesita Inglaterra
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread Rajib Bandopadhyay
On 22/07/2014, James Brierley  wrote:
> Just to wade in, 'broken' in Debian APT terminology means that a package
> is not installed properly.
>
> Try (as root):
>
> apt-get -f install
>
> at the command like.
>
> Hope this helps.
>
> James
>
> --
> http://slippy.dynu.net/~james/
> Vuelven, armada española, ustedes necesita Inglaterra
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

Why would Synaptic show a Broken info before the package is installed?
The matter appears to be far more complicated than that :) I am not
going to force install packages. Let's wait for more suggestion.
Thank you for writing.
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread James Brierley

On 22/07/14 19:14, Rajib Bandopadhyay wrote:

I use Knoppix 7.2. The version is in Debian archive. Link:
https://packages.debian.org/sid/i386/geany-plugin-scope/download
Knoppix Synaptic shows this as broken in status window.
Thanks for replying.


Just to wade in, ‘broken’ in Debian APT terminology means that a package 
is not installed properly.


Try (as root):

apt-get -f install

at the command like.

Hope this helps.

James

--
http://slippy.dynu.net/~james/
Vuelven, armada española, ustedes necesita Inglaterra
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread Rajib Bandopadhyay
On 22/07/2014, Dimitar Zhekov  wrote:
> I searched for the above text, but could not find a match. The first
> hits are Ubuntu launchpad and Debian QA (puiparts), but they both seem
> to think that Scope is fine as far as I can tell.
>
> Can you give the URL where you found this text? There was a period when
> Scope did not compile with gtk+3, but that was fixed a month ago, and
> there shoudn't be any other problems.
>
>> Question: How to check, without using Synaptic, whether a package is
>> okay or broken, before installation?
>
> No idea. In my understanding, a broken package version should not even
> exist as a file, much less in a repository...
>
> --
> E-gards: Jimmy
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>

I use Knoppix 7.2. The version is in Debian archive. Link:
https://packages.debian.org/sid/i386/geany-plugin-scope/download
Knoppix Synaptic shows this as broken in status window.
Thanks for replying.
Regards.
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-22 Thread Dimitar Zhekov
On Tue, 22 Jul 2014 11:08:27 +0530
Rajib Bandopadhyay  wrote:

> [Attn: Mr. Dimitar Zhekov]
> geany-plugin-scope
> graphical GDB front-end for Geany
> Version: 1.24+dfsg-2 in Testing Broken.

I searched for the above text, but could not find a match. The first
hits are Ubuntu launchpad and Debian QA (puiparts), but they both seem
to think that Scope is fine as far as I can tell.

Can you give the URL where you found this text? There was a period when
Scope did not compile with gtk+3, but that was fixed a month ago, and
there shoudn't be any other problems.

> Question: How to check, without using Synaptic, whether a package is
> okay or broken, before installation?

No idea. In my understanding, a broken package version should not even
exist as a file, much less in a repository...

-- 
E-gards: Jimmy
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-21 Thread Rajib Bandopadhyay
On 20/07/2014, Dimitar Zhekov  wrote:
> On Sun, 20 Jul 2014 20:03:36 +0530
> Rajib Bandopadhyay  wrote:
>
>> Dear friends,
>> I revised my c language using Geany from last year, and have been
>> using Geany since.
>
>> I want to run a c program in Geany downloaded from the link below, but
>> can't. The code is in Borland c++.
>> https://web.duke.edu/isis/gessler/borland/ipd-2006-evolutionary.zip
>
> This code is in Borland C++ Builder, which is not exactly C++ (most
> notably the dfm file). If by "run in Geany" you mean Make with the
> Build menu and Execute, you'd better write a Makefile which uses the
> BCB tools (no other compiler will work, due to the language
> differences), and setup the Execute action if needed. If you want to
> debug the resulting executable, only the Borland debugger will work.
>
>> I also wanted to run codes in c from the link below, but couldn't:
>> http://www.kasprzyk.demon.co.uk/www/alife/dilemma.html
>
> This one looks normally, so please explain what you mean by "couldn't".
> Note that Geany does not include a compiler, it runs various compilers
> and other tools. By default, the C/C++ files are setup to be compiled by
> the GNU Compiler Collection, aka gcc. For debugging, invoke Tools ->
> Plugin Manager and check "Scope" (or "debugger", but it's problematic).
>
> --
> E-gards: Jimmy
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>

[Attn: Mr. Dimitar Zhekov]
geany-plugin-scope
graphical GDB front-end for Geany
Version: 1.24+dfsg-2 in Testing Broken.
Question: How to check, without using Synaptic, whether a package is
okay or broken, before installation?
Regards
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-20 Thread Dimitar Zhekov
On Sun, 20 Jul 2014 20:03:36 +0530
Rajib Bandopadhyay  wrote:

> Dear friends,
> I revised my c language using Geany from last year, and have been
> using Geany since.

> I want to run a c program in Geany downloaded from the link below, but
> can't. The code is in Borland c++.
> https://web.duke.edu/isis/gessler/borland/ipd-2006-evolutionary.zip

This code is in Borland C++ Builder, which is not exactly C++ (most
notably the dfm file). If by "run in Geany" you mean Make with the
Build menu and Execute, you'd better write a Makefile which uses the
BCB tools (no other compiler will work, due to the language
differences), and setup the Execute action if needed. If you want to
debug the resulting executable, only the Borland debugger will work.

> I also wanted to run codes in c from the link below, but couldn't:
> http://www.kasprzyk.demon.co.uk/www/alife/dilemma.html

This one looks normally, so please explain what you mean by "couldn't".
Note that Geany does not include a compiler, it runs various compilers
and other tools. By default, the C/C++ files are setup to be compiled by
the GNU Compiler Collection, aka gcc. For debugging, invoke Tools ->
Plugin Manager and check "Scope" (or "debugger", but it's problematic).

-- 
E-gards: Jimmy
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


[Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

2014-07-20 Thread Rajib Bandopadhyay
Dear friends,
I revised my c language using Geany from last year, and have been
using Geany since.
I want to run a c program in Geany downloaded from the link below, but
can't. The code is in Borland c++.
https://web.duke.edu/isis/gessler/borland/ipd-2006-evolutionary.zip

I also wanted to run codes in c from the link below, but couldn't:
http://www.kasprzyk.demon.co.uk/www/alife/dilemma.html
I hope you would help me run these codes.
Thanks in anticipation.
Rajib Bandopadhyay
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users