LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-06-2010, 07:44 AM   #1
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Rep: Reputation: 3
Exclamation Wanted: RHIDE for Slackware 13.1


for c and later c++ learning i would need this.
i'm using this on MS-DOS along with DJGPP, but single-tasking is worst this OS bears...

there are sources for RHIDE, SET's Editor, Turbo Vision and GDB of course on sourceforge... but i can't get it compiled. although the dependant stuff can.

maybe there's an expert here who can tell me what exactly to do. the binaries give segmentation fault.

thx in advance

regards
marquisor
 
Old 10-06-2010, 08:01 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
I haven't a deep look at this, but I think it will be hard to make it work on today's stuff because last version available (also in cvs) is 7 years old: I'm afraid too many things are changed...

looking around I cannot see it as being supported by anyone (last distribution to drop it I think it was gentoo: they removed the failing ebuild in 2008).

Last edited by ponce; 10-06-2010 at 08:07 AM.
 
Old 10-06-2010, 08:04 AM   #3
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
yes, i also tried compiling it with temporarily older sources from all dependants of this "age".
is it possible to run an older live distribution to compile it? and then put the binaries on modern slackware?
as far as i can understand the output it is a gettext gcc issue...
or the setedit sources and libraries path is wrong...

./configure
Code:
marquisor@slackdual:~/Downloads/rhide-1.5$ ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for Turbo Vision header files... /usr/include/rhtvision
checking for Turbo Vision libraray... /usr/include/rhtvision/../../lib
checking for SET's editor sources... /usr/include/setedit
checking for SET's editor libraries... /usr/include/setedit
checking for bindtextdomain in -lc... yes
checking for GDB sources... /home/marquisor/Downloads/gdb-5.3/gdb
checking GDB objects... (cached) /home/marquisor/Downloads/gdb-5.3/gdb
checking for BZ2_bzlibVersion in -lbz2... yes
checking for zlibVersion in -lz... yes
checking for pcre_version in -lpcre... yes
checking how to run the C preprocessor... gcc -E
checking for X11/keysym.h... yes
configure: creating ./config.status
config.status: creating config.env
configure: configuring in libtvuti
configure: running /bin/sh './configure'  --srcdir=. --cache-file=/dev/null
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for streambuf... yes
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
Configuring /home/marquisor/Downloads/rhide-1.5 . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libide . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libide/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libide/names . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libide/stream . . .
Configuring /home/marquisor/Downloads/rhide-1.5/librhgdb . . .
Configuring /home/marquisor/Downloads/rhide-1.5/librhgdb/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/librhgdb/test . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvgdb . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvgdb/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvuti . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvuti/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvuti/names . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libtvuti/stream . . .
Configuring /home/marquisor/Downloads/rhide-1.5/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/include/flags . . .
Configuring /home/marquisor/Downloads/rhide-1.5/doc . . .
Configuring /home/marquisor/Downloads/rhide-1.5/libgdb . . .
Configuring /home/marquisor/Downloads/rhide-1.5/rhgdb . . .
Configuring /home/marquisor/Downloads/rhide-1.5/rhgdb/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/debobj . . .
Configuring /home/marquisor/Downloads/rhide-1.5/nodebobj . . .
Configuring /home/marquisor/Downloads/rhide-1.5/po . . .
Configuring /home/marquisor/Downloads/rhide-1.5/tvdemo . . .
Configuring /home/marquisor/Downloads/rhide-1.5/tvdemo/include . . .
Configuring /home/marquisor/Downloads/rhide-1.5/librhuti . . .
Configuring /home/marquisor/Downloads/rhide-1.5/share . . .
Configuring /home/marquisor/Downloads/rhide-1.5/share/setedit . . .
as i set them manually via export SETSRC=/usr/include/setedit and same with SETOBJ. gdb-5.3 is extracted in my homedir, i export(ed) GDB_SRC=$HOME/Downloads/gdb-5.3/gdb, same with GDB_OBJ.
maybe there's the fault??

if someone could please tell me where the sources and libraries of each setedit and gdb reside?

Last edited by marquisor; 10-06-2010 at 08:11 AM.
 
Old 10-06-2010, 08:09 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Quote:
Originally Posted by marquisor View Post
is it possible to run an older live distribution to compile it? and then put the binaries on modern slackware?
unfortunately I think they will probably segfault like the binaries rhide.com provides.
but you're free to try

Last edited by ponce; 10-06-2010 at 08:11 AM.
 
Old 10-06-2010, 08:28 AM   #5
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
what's wrong with that?
Code:
gcc  -I/home/marquisor/Downloads/rhide-1.5/libide/include -I/home/marquisor/Downloads/rhide-1.5/libtvuti/include -I/home/marquisor/Downloads/rhide-1.5/librhuti -I/usr/include/rhtvision -I/home/marquisor/Downloads/setedit/include -I/home/marquisor/Downloads/setedit/settvuti/include -g -O2     -DRHIDE  -pipe -D_GNU_SOURCE  -fno-exceptions -fno-rtti      -c ideclass.cc -o ideclass.o
ideclass.cc: In function 'FILE_TYPE get_file_type(const char*)':
ideclass.cc:36: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [ideclass.o] Error 1
make[2]: Leaving directory `/home/marquisor/Downloads/rhide-1.5/libide'
make[1]: *** [libide/libide.gpr.force] Error 2
make[1]: Leaving directory `/home/marquisor/Downloads/rhide-1.5'
make: *** [gpr2mak.exe] Error 2
and where are the libraries of setedit? are they available if i extract the setedit source package tar.gz?
libraries are those .so things?

Last edited by marquisor; 10-06-2010 at 08:39 AM.
 
Old 10-06-2010, 08:29 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
How about running Slackware 8.1 in VirtualBox?
 
Old 10-06-2010, 10:19 AM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,577

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
Originally Posted by marquisor View Post
what's wrong with that?
Code:
gcc  -I/home/marquisor/Downloads/rhide-1.5/libide/include -I/home/marquisor/Downloads/rhide-1.5/libtvuti/include -I/home/marquisor/Downloads/rhide-1.5/librhuti -I/usr/include/rhtvision -I/home/marquisor/Downloads/setedit/include -I/home/marquisor/Downloads/setedit/settvuti/include -g -O2     -DRHIDE  -pipe -D_GNU_SOURCE  -fno-exceptions -fno-rtti      -c ideclass.cc -o ideclass.o
ideclass.cc: In function 'FILE_TYPE get_file_type(const char*)':
ideclass.cc:36: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [ideclass.o] Error 1
make[2]: Leaving directory `/home/marquisor/Downloads/rhide-1.5/libide'
make[1]: *** [libide/libide.gpr.force] Error 2
make[1]: Leaving directory `/home/marquisor/Downloads/rhide-1.5'
make: *** [gpr2mak.exe] Error 2
You probably have to explicitly cast the const away. The .cc extension implies that it's a C++ file, so there are two ways to do it:
  1. Use "const_cast<char*>" on line 36
  2. Use the C style cast syntax of "(char *)" on line 36.

I don't know what's on line 36 and I don't want to get the source to find out. Sorry.

For what it is worth, perhaps you should use a newer IDE. NetBeans has a C/C++ mode and runs anywhere Java can run. Emacs has excellent support for C++ (especially when you use http://ecb.sourceforge.net/). I'm sure that others can (and will!) provide other suggestions.
 
Old 10-06-2010, 10:38 AM   #8
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
line 36 is:
Code:
  char *ext = strrchr(_ext, '.');
well, i understand. so the new alternative IDE should run under console just like RHIDE, as i still got buggy Xserver on that machine.

i guess i should really get familiar with emacs? as this would be a good and esp. sustainable experience and IDE to work with, even for a long term with other languages?

but howto start, are there tutorials or some hands-on stuff to get used to it?
 
Old 10-06-2010, 11:14 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
in my opinion you should fix X (you can run it also with the vesa driver) and then consider something like eclipse installing the CDT on it: may be an easier approach than emacs.
obviously if you are not going to object-code in console only (a fair choice too, but a little bit harder).

but you are not talking to a c/c++ coder, so maybe you can get better answers from other forum people

Last edited by ponce; 10-06-2010 at 11:25 AM.
 
Old 10-06-2010, 11:25 AM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,577

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
Originally Posted by marquisor View Post
line 36 is:
Code:
  char *ext = strrchr(_ext, '.');
well, i understand. so the new alternative IDE should run under console just like RHIDE, as i still got buggy Xserver on that machine.

i guess i should really get familiar with emacs? as this would be a good and esp. sustainable experience and IDE to work with, even for a long term with other languages?

but howto start, are there tutorials or some hands-on stuff to get used to it?
I think the following will allow that line to compile:
Code:
  char *ext = strrchr(_ext, static_cast<char*> '.');
Emacs comes with a tutorial as part of itself. The two things that really mess with people are the key bindings (the copy, cut, and paste commands are not on the same keys that Windows folks are used to by default) and that the user configuration files are written in a lisp dialect. The key bindings can be changed (CUA mode) and most user tweakable things can be changed now by using a menu-based interface (customize).

As for Emacs, I'd start at http://www.gnu.org/software/emacs/tour/ and after that I'd look around at http://www.emacswiki.org/cgi-bin/wiki
 
1 members found this post helpful.
Old 10-07-2010, 02:29 AM   #11
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 119Reputation: 119
more on emacs as a IDE
http://www.linuxjournal.com/article/5765
 
  


Reply

Tags
c++, coding, gdb, ide, slackwarecurrent


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHIDE - how to install Swetko Programming 1 11-22-2004 03:47 PM
Problem with running 'Rhide' monowar Programming 2 11-07-2004 09:10 PM
RHIDE error darkranger Programming 3 11-01-2004 04:23 PM
Slackware wanted via ftp kidacekarate Linux - Newbie 2 01-21-2004 01:43 AM
rhide njk Linux - Software 0 08-12-2003 09:21 AM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration