LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble building CDE (Slackware 64 13.37) (https://www.linuxquestions.org/questions/linux-software-2/trouble-building-cde-slackware-64-13-37-a-4175421104/)

penduin 08-08-2012 07:41 PM

Trouble building CDE (Slackware 64 13.37)
 
Has anybody been able to build CDE on Slackware yet?
http://sourceforge.net/projects/cdesktopenv/
I grabbed this as soon as I saw it was released, having... well, not "fond" exactly, but memories of CDE.

I set up the directories/links as documented, and run "make World", which churns away for a good while. But then I fail thusly:

Code:

making all in doc/it_IT.ISO8859-1/help...
make[4]: Entering directory `/home/penduin/projects/sys/cdesktopenv-code/cde/doc/it_IT.ISO8859-1/help'
+ mkdir -p ../help-sdl
LANG=it_IT.ISO8859-1 SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:../../../imports/motif/lib:../../../imports/x11/lib DTLCXSEARCHPATH=../../../lib/DtHelp ../../../programs/dtdocbook/doc2sdl/dtdocbook -t ../../../programs/dtdocbook/doc2sdl -H ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2 -I ../../../programs/dtdocbook/instant/instant -L ../../../programs/dtdocbook/xlate_locale/xlate_locale -S ../../../programs/nsgmls/nsgmls  -o ../help-sdl/Appmanager.sdl Appmanager/book.sgm
../../../programs/dtdocbook/doc2sdl/dtdocbook[107]: ../../../programs/dtdocbook/xlate_locale/xlate_locale: numero difettoso dell' unità dell' archivio [File o directory non esistente]
dtdocbook fatal error:
    Error processing book.out.sdl by ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
make[4]: *** [../help-sdl/Appmanager.sdl] Error 1
make[4]: Leaving directory `/home/penduin/projects/sys/cdesktopenv-code/cde/doc/it_IT.ISO8859-1/help'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/penduin/projects/sys/cdesktopenv-code/cde/doc/it_IT.ISO8859-1'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/penduin/projects/sys/cdesktopenv-code/cde/doc'
make[1]: *** [all.doc] Error 2
make[1]: Leaving directory `/home/penduin/projects/sys/cdesktopenv-code/cde'
make: *** [World] Error 2

A couple of leads based on the command that fails:

../../../imports/motif/lib
doesn't exist. Did the CDE instructions omit symlinking this to somewhere?

../../../programs/dtdocbook/instant/instant
hasn't been built yet. Running "make" in its directory also fails:
Code:

linux/bin/ld: cannot find -lDtSvc
DtSvc has not been built yet either.


Based on the second lead, I'm going to try shuffling some things around in the makefiles, see if build order is just horked. Happens to us all, add something to a working build and it keeps working, but do it from scratch and not so much. :^)

jefro 08-08-2012 07:51 PM

http://sourceforge.net/p/cdesktopenv/wiki/LinuxBuild/

See the issues. One is the docs.

penduin 08-08-2012 08:18 PM

Tried "make World.dev", since that excludes documentation according to the Makefile.
...It worked!

RTFMakefile, I guess. Kinda figured maybe they'd left the non-building stuff out of the target they mention in the instructions.
Thanks jefro!

penduin 08-08-2012 08:39 PM

Hmm, jumped the gun a bit. It claimed to complete the build, but no binaries got produced, just the handful of libs from the previous "make World" command. Ahh well, I'll keep poking around. What else is an alpha release of ancient code for? :^)

penduin 08-09-2012 01:33 PM

A new section instructions talks about setting up locales. It talks about tools I don't see on Slackware, but the locales on the system looked like they matched, so I let them be found where CDE's build expects:

Code:

# cd /usr/lib64/locale/ 
# ln -s de_DE de_DE.ISO-8859-1
# ln -s es_ES es_ES.ISO-8859-1
# ln -s fr_FR fr_FR.ISO-8859-1
# ln -s it_IT it_IT.ISO-8859-1

"make World" dies in the same place.
"make World.dev" still produces no binaries.

I'll keep tinkering. This is actually sort of fun in a sick kind of way. :^)

Gnisho 08-10-2012 05:09 PM

Limited success on Slack64 14.0RC1
 
Limited success getting CDE installed on Slackware64 14.0RC1.

Started with instructions per http://sourceforge.net/p/cdesktopenv/wiki/LinuxBuild/

Deployed fresh install on a VM, skipped installing lesstif and imake.
Installed OpenMotif per slackbuild at http://slackbuilds.org/repository/13...ies/openmotif/
Installed Xlt per slackbuild at http://slackbuilds.org/repository/13.37/libraries/xlt/
Ignored extra locale config steps.
Ignored rpcbind config - don't know where to config what, not yet researched ... :'-(
(this may be part of the cause of failure later?)
Made symlink for X11 headers
Make World... many warnings later, claims successful build!
test dtcalc ran fine
installCDE ran fine
configRun -e failed, no nawk. Quick google says gawk is compatible... ln -s /bin/gawk /bin/nawk ...
configRun -e fails again afterwards (memory error and the expected inetd error)
massaged directory permissions as per instructions

startx /usr/dt/bin/Xsession ... hangs at blue startup screen!

Will poke and prod at it s'more when I get time in a few days.

penduin 08-10-2012 07:32 PM

Ooh! Great work Gnisho! There are a couple things I use that make me nervous about ripping out lesstif, but it's really cool to see that you've gotten that far! I hope you and others continue to post your CDE-building adventures; I know I will.

The startup screen hang might be the same as the documented trouble building on older Debian, and since they seem pretty Debian/Ubuntu-focused at the moment maybe that will get some attention sooner than later. It's also not far-fetched to think rcpbind might be the culprit. Running that in insecure mode makes me a little nervous too, but again, I bet that's an area we'll see some activity on.

Gnisho 08-14-2012 04:53 AM

Haven't made the time to play with it much more yet. By the time I get around to it, should already be solved.

https://www.linuxquestions.org/quest...on-4175421830/

Wheeeeee.

Patrick Verner 08-15-2012 09:42 PM

Quote:

Originally Posted by Gnisho (Post 4751243)
Limited success getting CDE installed on Slackware64 14.0RC1.

Started with instructions per http://sourceforge.net/p/cdesktopenv/wiki/LinuxBuild/

Deployed fresh install on a VM, skipped installing lesstif and imake.
Installed OpenMotif per slackbuild at http://slackbuilds.org/repository/13...ies/openmotif/
Installed Xlt per slackbuild at http://slackbuilds.org/repository/13.37/libraries/xlt/
Ignored extra locale config steps.
Ignored rpcbind config - don't know where to config what, not yet researched ... :'-(
(this may be part of the cause of failure later?)
Made symlink for X11 headers
Make World... many warnings later, claims successful build!
test dtcalc ran fine
installCDE ran fine
configRun -e failed, no nawk. Quick google says gawk is compatible... ln -s /bin/gawk /bin/nawk ...
configRun -e fails again afterwards (memory error and the expected inetd error)
massaged directory permissions as per instructions

startx /usr/dt/bin/Xsession ... hangs at blue startup screen!

Will poke and prod at it s'more when I get time in a few days.

chmod +x /etc/rc.d/rc.rpc
/etc/rc.d/rc.rpc start
startx /usr/dt/bin/Xsession

TADA!

I'm working on a CDE novelty version of Parted Magic. I'll let you guys know when I have it posted.

http://beefdrapes.partedmagic.com/mi...ware-14rc1.JPG

penduin 08-16-2012 11:35 AM

Woohoo! Well done Patrick. Also, the photograph-of-monitor screenshot seems especially appropriate for "vintage" software like CDE. ;^)

If I get brave enough to rip out lesstif, I now have a sweet guide.

Patrick Verner 08-18-2012 11:06 AM

I'm still working on it. When I start it in Parted Magic, it takes a long time to start and some programs won't launch from the panel. The startlog complains about some weird font conversion issue. The error log shows nothing. The thing makes it frustrating is when you log out and log back it, it runs really fast and the panel launcher works.

I can get the apps to start from the included run dialog on the first run, but the run window shows the warning too. Like I said before when I log out and log back in, it stops showing the warning. I think the program launching issue and the slow start are tided to the font issue. There are no other warning or errors.

http://beefdrapes.partedmagic.com/misc/snapshot1.png

I have some more cleanups to. I'll post an ISO image later today.

Patrick Verner 08-18-2012 02:10 PM

I have it working really well now. I had to install the glibc-i18 package in Parted Magic. It starts up really fast now and runs all the programs on the first run.

Patrick Verner 08-19-2012 12:42 AM

I have a super duper alpha version up now!

https://sourceforge.net/projects/par...E.iso/download

woomia 09-01-2012 11:54 AM

Hi, I am the documentation lead for CDE.

This is very exciting! I am kind of amazed at this project. Great work!

I have added Parted Magic to the list of supported distributions here:
https://sourceforge.net/p/cdesktopen...rtedPlatforms/

woomia 09-02-2012 11:50 AM

CDE does build on Slack64 14.0 RC4. I'll be making a wiki page with complete instructions, using the tips people posted here.

woomia 09-02-2012 06:09 PM

And the wiki page: https://sourceforge.net/p/cdesktopenv/wiki/Slackware/

penduin 09-02-2012 08:03 PM

woomia: that's great news! I'm looking forward to playing with it! (likewise with slack14 ;^)


All times are GMT -5. The time now is 10:20 PM.