[SUMMARY] Perl/Java conflict and setting up CDE accounts

From: Larry Griffith <larry_at_garfield.wsc.mass.edu>
Date: Fri, 19 Sep 1997 12:06:52 -0400

Dear Managers,

        I only received two replies:

Tom Webster <webster_at_ssdpdc.lgb.cal.boeing.com>
Peter Stern <peter_at_wiscpa.weizmann.ac.il>

        Here's the original post annotated with Tom and Peter's replies.

Dear Managers,

        Two problems:

1) Since this is a college I have a lot of new users. The first time
they log into CDE I get a headache. I have edited /usr/skel/.profile
and /usr/skel/.cshrc properly to handle CDE, but the .dtprofile file
apparently needs to be edited after the first CDE login. This is a
real nuisance, since many students don't know how. Is there any way
to "pre-remove" that commented-out last line that prevents the user's
shell initialization from taking place?

Tom's reply:

The file you are looking for is /usr/dt/config/sys.dtprofile. I'd imagine
that /etc/dt/config/sys.dtprofile would be the correct local over-ride
but you could always just modify the copy in /usr/dt.

Peter's reply:

Copy /usr/dt/config/sys.dtprofile to /etc/dt/config/sys.dtprofile and
edit that. This is then copied to the users $HOME/.dtprofile the first
time he starts CDE.

End replies


   A related note: the CDE trashcan and the AdvFS trashcan seem to be
in different places. An attempt to make the CDE trashcan a soft link
to the AdvFS trashcan causes CDE to complain. Is there any way to
make these two compatible (i.e. deletion of a file under a CDE utility
puts the deleted file in the same place the rm command, operating on a
directory protected by mktrashcan, does?

        No information on this one.

2) I just attempted to install Perl 5.004.03. It failed in the
configuration step with the following errors. It certainly looks like
the Java v1.1.1 installation has replaced libnet.so and this is
causing the Perl configuration to choke. Anybody put up Java 1.1.1
and perl 5.004.03 together?

Checking your choice of C compiler, libs, and flags for coherency...
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysCloseFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysRecvFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysSendFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysSocketAvailableFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysSocketInitializeFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysListenFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysConnectFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
java_lang_String_intern
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysAcceptFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
java_io_FileDescriptor_valid
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
EE
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
java_io_FileDescriptor_sync
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysSendtoFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
java_io_FileDescriptor_initSystemFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysRecvfromFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sysTimeoutFD
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
makeJavaString
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
javaString2CString
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
sizearray
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
ArrayAlloc
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
FindClassFromClass
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
FindClass
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
is_instance_of
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
execute_java_constructor
10293:./try: /sbin/loader: Error: unresolvable symbol in /usr/shlib/libnet.so:
SignalError
I've tried to compile and run a simple program with:

        cc -O4 -std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__
-DDEBUGGING -L/usr/local/lib -o try try.c -lnet -ldbm -ldb -lm
        ./try

and I got the following output:

thread_init: loader error: dlopen: Unresolved symbols
The program compiled OK, but exited with status 1.
(The supplied flags might be incorrect with this C compiler.)

(End of error messages)

        No information on this one either.


                                                Larry

============================================================================
Larry Griffith Dept. of Computer & Info Science
larry_at_garfield.wsc.mass.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://garfield.wsc.mass.edu/dcis/griffith.html
============================================================================
Received on Fri Sep 19 1997 - 18:28:18 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT