On 5/11/2014 10:00, Murray Blakeman wrote:
I think I have something odd going on with my CDE build on Solaris 11.2.
...
making all in programs/dtsearchpath/libCliSrv...
CC -o /opt/solarisstudio12.3/prod/include/CC/Cstd/istream
/opt/solarisstudio12.3/prod/include/CC/Cstd/istream.cc -L/u
sr/X11/lib -L/usr/lib -ldl -lintl -lsocket -lnsl
"/opt/solarisstudio12.3/prod/include/CC/Cstd/istream.cc", line 943:
Error:
<...>
I identified the cause of this error
$ make -d
...
Building /opt/solarisstudio12.3/prod/include/CC/Cstd/istream using
suffix rule for .cc because it is out of date relative to
/opt/solarisstudio12.3/prod/include/CC/Cstd/istream.cc
...
The following commands fixed these issues (changed the last mod date/time)
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/ios
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/rwlocale
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/string
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/iterator
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/locimpl
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/ctype
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/numeral
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/codecvt
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/ostream
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/streambuf
# touch /opt/solarisstudio12.3/prod/include/CC/Cstd/fstream
My Solaris Studio was installed from
https://pkg.oracle.com/solarisstudio/release.
It's certainly an interesting problem to encounter.
With some other modifications to the source I was able to build CDE and
now have it running.
In summary my build
* doesn't require any modification to the CRLE.
* doesn't require you to "link in X11 headers".
* works without the "/opt/solarisstudio" and "/usr/bin/cc" symlinks.
* has been built with Solaris Studio 12.3 (12.4 in progress).
* has been made into an IPS package (currently in testing) and will be
available from http://www.solarismultimedia.com soon.
* has the inetd services converted to relevant SMF inetd services.
* has a service to start dtlogin
(svc:/application/graphical-login/cde:default).
* has been tested to run on a number of "unmodified" systems (apart
from language settings).
# inetadm
ENABLED STATE FMRI
...
enabled online svc:/network/rpc/cmsd:default
enabled online svc:/network/dtspc/tcp:default
enabled online svc:/network/rpc/ttdbserverd:default
# svcs -a | grep graphical-login
disabled 7:19:05 svc:/application/graphical-login/gdm:default
online 7:20:33 svc:/application/graphical-login/cde:default
So far so good. My next task is to get Xvnc working with it. Currently
the Xvnc connection drops after login (before the desktop appears).
I think it's security related. Any ideas?
If anyone is interested, the diff file I used on my git clone can be
found at http://www.solarismultimedia.com/files/cde_build.diff
Regards
Murray B
http://www.solarismultimedia.com
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel