LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CDE on Slackware 14.2 (https://www.linuxquestions.org/questions/slackware-14/cde-on-slackware-14-2-a-4175661279/)

paganini 09-21-2019 11:26 PM

CDE on Slackware 14.2
 
Brief introduction: I'm a hobbyist, not a pro. I like retrocomputing partly because I dislike waste (my Thinkpad T42p and 2009 MacBook pro are chugging along just fine, TYVM) and partly because really old machines hold the nostalgia of never-was. While I was slugging away at my VIC-20 and my best friend's 286, my uncle was working for the DMA and spoke strange and mysterious words like "UNIX" and "firewall." Now that I'm much older and have some resources, those formerly unattainably potent old systems are still the ones that hold some allure for me. I like reading vintage UNIX books.

This thread is old, but useful. I'd like to report that today I successfully complied CDE on Slackware 14.2. I used the default "motif" package, and installed xlt from Slackbuilds. I'm running a 32 bit generic kernel on a Thinkpad T42p.I did not have to do any special locale configuring, but I did have to enable rpc, as per that old thread.

I am feeling pretty happy right now; this old rig has been running ubuntu for the last few years, but ubuntu is getting so resource-heavy that scroling through a web-page in firefox is untenably slow. Seamonkey is working just fine here in CDE on Slackware 14.2.


-N

dchmelik 09-24-2019 01:31 AM

That's nice but could you use multiple monitors, or the scroll wheel on the mouse? Does it have a system tray with audio mixer, clipboard, clock, maybe even weather forecast, and able to minimize programs to an icon? I know it's like Windows 3 but can you add a Windows 95-style menu? I want to try CDE again but the main problem last time was no mouse wheel scrolling, and maybe not much of a system tray.

Jeebizz 09-24-2019 03:38 AM

I have followed that thread, and I am legit interested in CDE because it just looks so delightfully retro, and if I am not mistaken the latest release no longer requires CDE to run in an insecure mode? If thats the case I would love to at least see a slackbuilds available on slackbuilds.org. I tried to build on my 64-bit 14.2 install just for the hell of it, but it wouldn't work.

Okie 09-24-2019 05:38 AM

i would like to see a SlackBuild for Slackware64-Current

https://sourceforge.net/projects/cdesktopenv/

rkelsen 09-24-2019 08:18 AM

Quote:

Originally Posted by paganini (Post 6039175)
I'd like to report that today I successfully complied CDE on Slackware 14.2.

That's cool. Well done!

ponce 09-24-2019 08:31 AM

this works fine on current (and should work also on 14.2)

http://ponce.cc/slackware/testing/CDE/

Quote:

Originally Posted by Jeebizz (Post 6040024)
if I am not mistaken the latest release no longer requires CDE to run in an insecure mode?

I haven't checked what doesn't work in that case, but reports are welcome.

Okie 09-24-2019 09:13 AM

i tried to build CDE from Ponce's SlackBuild and got this error


Code:

Desktop installed in //usr/dt
 
Executing linux specific CDE-TT customize script
Executing linux specific CDE-MIN customize script
Executing linux specific CDE-SHLIBS customize script
Executing linux specific CDE-RUN customize script
Done.

See installCDE.10326.log for a log of this install session.

install: cannot stat '/home/packages/CDE/files/CDE.sh': No such file or directory

then went back to ponce's website to look for a CDE.sh file i missed and there isn't one

ponce 09-24-2019 09:16 AM

http://ponce.cc/slackware/testing/CDE/files/CDE.sh :scratch:

to get all the necessary build files, just
Code:

lftp -c mirror http://ponce.cc/slackware/testing/CDE/

paganini 09-24-2019 10:00 AM

Hi dchmelik:

Two-finger scrolling worked out-of-the-box on my touchpad. I had to add a couple of xinput lines to my .dtprofile to get middle-button scrolling going. I'm on a thinkpad, and this stuff is pretty well documented at thinkwiki. For a mouse with an actual wheel I expect the procedure is not too different.

CDE doesn't have a notifications area, but the main panel does have some system-tray type functionality. There's a clock, calendar, and trash by default. Windows minimize into individual icons on the desktop, rather than into any particular container (there's no "taskbar" equivalent or "iconification area"). I'm just starting to learn how it all works, but it seems pretty customizable. There's a whole .dt directory with configuration stuff that mostly seem to be plain text files. Since the clock and calendar behave like applets and not launchers, I suspect it would be no problem for someone who knows the motif API to create the functionality you're looking for (e.g., volume control applet).

Jeebiz:

I believe that's correct. The slackware documentation on the sourceforge CDE wiki has a section about "enabling insecure mode," but all it said was something like "this just turns on RPC. CDE doesn't need insecure mode."

Jeebizz 09-24-2019 10:59 AM

Well I don't know what I did differently this time, and I didn't even bother to worry about nawk, or make any symlinks, and again this is a normal 64-bit install of Slackware, I went into the cde directory and ran a compile just to see what happens, and well...it compiled successfully:

Code:

dtsrload: Exit code = 0
dtsrindex -dCDEDOC '-t
' CDEDOC
dtsrindex.  Run Tuesday, Sep 24 2019, 09:56 AM.
dtsrindex: current working directory = '/home/slackuser/source/cde-2.3.0/doc/C/cde.dti/CDEDOC/dtsearch', .fzk file = 'CDEDOC.fzk'
dtsrindex: Beginning Pass 1, reading records from 'CDEDOC.fzk'.
  Each dot = 20 records.
.......... .......... .......... .......... ..........
dtsrindex: Rec #1000, 20% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... .......... ..........
dtsrindex: Rec #2000, 55% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... .......... ..........
dtsrindex: Rec #3000, 78% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... ........
dtsrindex: Pass 1 completed in 0m 1s, read 3779 records.
  No duplicate records found, parsed 34621 words.
dtsrindex: Beginning Pass 2: batch index traversal and database update.
  Each dot = 500 words.
.......... .......... .......... .......... ..........
dtsrindex: Word #25000, 72% done.  Est 0m 00s to completion.
.......... .........
dtsrindex: Pass 2 completed in 0m 0s, updated 34621 words.
dtsrindex: Exit Code = 0, Total elapsed time 0m 1s.
echo keytypes CDEDOC = Default Head Graphics Example Index Table > dtsearch.ocf
make[4]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C/guides'
making all in doc/C/m-guides...
make[4]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/C/m-guides'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C/m-guides'
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C'
making all in doc/en_US.UTF-8...
make[3]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[2]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc'
make[1]: Leaving directory '/home/slackuser/source/cde-2.3.0'

Tue Sep 24 09:56:10 CDT 2019

Full build of Release 2.3.0 of CDE complete.

root@slackmachine:/home/slackuser/source/cde-2.3.0#

Again, thats me ignoring making the language symlinks, disregarding (or forgetting that slackware doesn't have nawk, etc) So.........yea...The dry-run compile worked.

Jeebizz 09-24-2019 11:25 AM

Well I think I can say that compiling cde on 14.2 64-bit outright is not an issue as I tested it again:

Code:

making all in doc/en_US.UTF-8...
make[3]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[2]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc'
make[1]: Leaving directory '/home/slackuser/source/cde-2.3.0'

Tue Sep 24 10:22:27 CDT 2019

Full build of Release 2.3.0 of CDE complete.

slackuser@slackmachine:~/source/cde-2.3.0$

However I do not plan to install it (make install), as this is a production machine. Maybe when I have more time I might play with cde in a VM or something - but again no nawk on slackware (so I expected the build to fail, (I did not make a symlink awk to nawk in the cde source code, I outright downloaded the tarball, extracted it and compiled it *as is* and it didn't fail) and I haven't made any language symlinks, I think thats if you just want to actually run cde , but again since this is 2.3.0 , is the rpcbind thing still an issue? As per documentation it appears not to be? I don't know.

Okie 09-24-2019 12:24 PM

ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,
spamming everywhere, so if you have already installed CDE, you
should remove its stuff prior to building this: this is because CDE
devs have hardcoded building/installing thingies and we can't do
anything about it.

not sure i want to go there...

Jeebizz 09-24-2019 12:46 PM

Quote:

Originally Posted by Okie (Post 6040179)
ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,
spamming everywhere, so if you have already installed CDE, you
should remove its stuff prior to building this: this is because CDE
devs have hardcoded building/installing thingies and we can't do
anything about it.

not sure i want to go there...

No , not on a production machine, but I say play with it in a VM as I am planning to do.

igadoter 09-25-2019 11:02 AM

Quote:

Originally Posted by Okie (Post 6040179)
ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,

Its wrong. Such kind of site applications should always go under /usr/local. I have Haskell but of course it is under /usr/local. I can't imagine to mess with default directories where all Slackware packages (eventually SBo builds) go. Well some SBo scripts are very poor. So not every application I need, which has actually SBo script, can be build and installed this way. Other example is TexLive. Full version is about 4 GB. It is senseless to try to repackage it into Slackware package. So I removed default TexLive Slackware package and installed TexLive under /usr/local. On shared machine it would be even better to put it under $HOME. Just to avoid other users accidentally run this. Essentially $HOME is user directory where user should put its own binaries and all staff needed to run them - except system shared libraries.

ponce 09-25-2019 11:19 AM

sorry igadoter, maybe you didn't read that README.Slackware file, but it's about a different thing than the one you are talking about: I'll paste again the interested bit fully
Code:

- The build process will install stuff into your /usr, /etc/ and /var,
  spamming everywhere, so if you have already installed CDE, you
  should remove its stuff prior to building this: this is because CDE
  devs have hardcoded building/installing thingies and we can't do
  anything about it.

it's about install paths hardcoded in the sources (there's no choice whatsoever to install things anywhere else): mainly everything goes in /usr/dt in the filesystem with "make install" so, to package the results, you have to "make install" in clean system (or delete the destination paths interested before issuing the command).
I wrote CDE devs were to blame for this but most probably it's something inherited from the past...


All times are GMT -5. The time now is 01:40 AM.