Projects / Cooledit / Comments

Comments for Cooledit

28 Dec 2011 15:28 tallship

I got the same make error as many folks here did.

For me, the solution to the error (below) was rather cryptic, and probably the reason I had to search with diligence to find this application in the first place. it appears dead, unmaintained, and although I attempted to install all three available versions, they all incurred the same error on three different Linux distros.

Other people who contacted the author stated that he just referred them here to freshmeat for the solution - which again, was cryptic.

[code]
Minor edit needed in coollocal.h. Need to add "static " to run_callbacks declaration.

[cooledit-3.17.17]$ vi +52 ./widget/coollocal.h

int eh_picture ...

void drawstring_xy ...

void drawstring_xy_hotkey ...

int run_callbacks...

void process_external_focus...

void focus_window...
[/code]

I used to use this editor way back, and wanted to install and use it again, since I needed something that runs under X, as I use Twin as a window manager.

Oh well, maybe I'll see an actual solution here someday with the actual line as it is supposed to be. It's truly a shame.

18 Sep 2006 15:00 poet_imp

Re: great app


>

> The ./configure script runs ok.

> But make ultimately returns:

>

>

> coolnext.c:50: error: static declaration

> of 'run_callbacks' follows non-static

> declaration

> Is anybody aware of a solution or an

> idea to try out.

>

Minor edit needed in coollocal.h. Need to add "static " to run_callbacks declaration.

[cooledit-3.17.17]$ vi +52 ./widget/coollocal.h

int eh_picture ...

void drawstring_xy ...

void drawstring_xy_hotkey ...

int run_callbacks...

void process_external_focus...

void focus_window...

void link_scrollbar_to_textbox ...

int eh_picture ...

void drawstring_xy ...

void drawstring_xy_hotkey ...

static int run_callbacks...

void process_external_focus...

void focus_window...

void link_scrollbar_to_textbox ...

08 Jul 2006 09:39 wrightkevin

Re: great app


> cooledit is a great text editor it

> works like a dream and you dont need any

> other apps to get this one to work. It

> is in rpm format for easy install and

> uninstall. Its on the top of my list of

> text editors.

> Thomas W

Cooledit may well be a great text editor, but it doesnt

always install:

The ./configure script runs ok.

But make ultimately returns:

make[2]: Entering directory `/home/kevin/cooledit-3.17.15/widget'

/bin/sh ../libtool --mode=compile --tag=CC gcc -DLOCALEDIR=\"\" -DLIBDIR=\"/usr/local/share/cooledit\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../intl -g -O2 -c -o coolnext.lo coolnext.c

gcc -DLOCALEDIR=\"\" -DLIBDIR=\"/usr/local/share/cooledit\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../intl -g -O2 -c coolnext.c -fPIC -DPIC -o .libs/coolnext.o

coolnext.c:50: error: static declaration of 'run_callbacks' follows non-static declaration

coollocal.h:52: error: previous declaration of 'run_callbacks' was here

make[2]: *** [coolnext.lo] Error 1

make[2]: Leaving directory `/home/kevin/cooledit-3.17.15/widget'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/kevin/cooledit-3.17.15'

make: *** [all] Error 2

[kevin@localhost cooledit-3.17.15]$

Is anybody aware of a solution or an idea to try out.

Thanks,

Kevin Wright.

28 Dec 2004 22:57 fyngyrz

Re: 0install-quick fails under RH9 with jul 26 2004 version, 3-17-8.


> I had the same error, and I think it's

> because Makefile appears twice on line

> 419.

Yes, that was it for me. Thank you very much.

26 Oct 2004 11:21 creatron

Cooledit
It's cool, just lack an Column cut & paste like Ultraedit.

26 Oct 2004 11:20 creatron

Cooledit
It's cool, just lack an Column cut & paste like Ultaedit.

13 Oct 2004 16:41 r3dbug

Re: 0install-quick fails under RH9 with jul 26 2004 version, 3-17-8.
I had the same error, and I think it's because Makefile appears twice on line 419.

I changed the line:

AC_OUTPUT([Makefile rxvt/Makefile widget/Makefile editor/Makefile Makefile intl/Makefile \

to:

AC_OUTPUT([Makefile rxvt/Makefile widget/Makefile editor/Makefile intl/Makefile \

i.e. removing the second reference to the source root directory makefile. After that change, it compiled OK.

09 Aug 2004 02:11 ofarkas

Compiling cooledit (3.17.8) on SuSE 9.0/AMD64
I was trying to compile cooledit but configure does not detect Python because it does not check /usr/lib64.

This can be easily fixed, but I also got the problem reported by fyngyrz (AC_CONFIG_FILES). I could compile 3.17.7 previously but it crashes at File/Open (but otherwise works well) with:

'import site' failed; use -v for traceback

Segmentation fault

The trace is:

#0 0x0000002a956d3439 in look_gtk_render_fielded_textbox_tidbits (w=0x7e4fd0,

isfocussed=6451280) at look-gtk.c:669

#1 0x0000002a9569dba3 in render_fielded_textbox (w=0x7e4fd0, redrawall=3)

at fieldedtextbox.c:834

#2 0x0000002a9569dedb in eh_fielded_textbox (w=0x7e4fd0, xevent=0x7fbfffa7d0,

cwevent=0x7fbfffa890) at fieldedtextbox.c:940

#3 0x0000002a9568ea83 in run_callbacks (w=0x7e4fd0, xevent=0x7fbfffa7d0,

cwevent=0x7fbfffa890) at coolnext.c:763

#4 0x0000002a9568f88f in CNextEvent (xevent=0x7fbfffa7d0,

cwevent=0x7fbfffa890) at coolnext.c:1416

...

28 Jul 2004 16:11 fyngyrz

0install-quick fails under RH9 with jul 26 2004 version, 3-17-8.
Configure runs, says done. Then says type make (though it will do it, not you...) then configure.in:421:error: Makefile is already registered with AC_CONFIG_FILES. Autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:421 the top level.


Other errors follow; I think they're cascading though. If you want them, I'll post them too. I'd like to try this - it sounds very nice.

11 Dec 2003 04:32 amcmr

Interface
This is a professional editor with amazing synthax highlighting. A more standard interface and programming language auto-selection would be great.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.