[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems in converting to centaur for sun4OS5





Hi, I'm currently porting our centaur installation accross to 
the solaris system recently installed at our site.

I re-loaded Centaur 2.0 from the tar files with only the 
sun4OS5 code. I also compiled the relvant sections of eclipse
and changed my pathnames to point to the following:

/users/projects/adl/centaur/centaur2.0/bin 
/users/projects/adl/centaur/centaur2.0/bin/sun4OS5 
/users/projects/adl/eclipse/bin/sparc_sunos5

and I eliminated the pathnames pointing to the sun4OS5
version.

Also our version of cc no longer works so I made a logical
link from cc to gcc (which seems to work fine).

I also changed the file:

/users/projects/adl/centaur/centaur2.0/customize/Centaur.rdb

to read:
------------------- begin file --------------------------
! $Id: Centaur.rdb,v 1.1 94/07/03 15:33:54 croap1 Exp $

! Location of eclipse on the network. 
! Ses centaur/tables/typol/run-time/prolog/sepia/sepia.rdb for other
! resources to override.
?.stserverManager.sepia1.Command:   /users/projects/adl/eclipse/bin/sparc_sunos5
/eclipse

! Note: Using the name stserverManager instead of the class StserverManager 
! permits the users to still use Centaur.StserverManager..... in their 
! .centaur.rdb to specify this resource for any instance of centaur.
------------------- end file -----------------------------

and 

/users/projects/adl/centaur/centaur2.0/centaur/tables/typol/run-time/prolog/sepia/sepia.rdb

to read:

------------------- begin file ----------------------------
! $Id: sepia.rdb,v 1.1 94/06/03 17:30:46 fm Exp $

!?.StserverManager.sepia1.Host:     capa

?.StserverManager.sepia1.Command:   /users/projects/adl/eclipse/bin/sparc_sunos5
/eclipse
?.StserverManager.sepia1.Mode:      wait1
?.StserverManager.sepia1.Register:  false
-------------------  end file ------------------------------


The problem I get is when I try to typecheck a typol program 
I immediately get the following messages:

-------------------  begin messages ---------------------
Info: prolog ( 1 ): ECRC Common Logic Programming System [sepia opium megalog] 
Info: prolog ( 1 ): Version 3.4.5, Copyright ECRC GmbH, Thu Jun 16 11:08 1994 
Info: prolog ( 1 ): [eclipse 1]:  
Info: prolog ( 1 ): yes. 
Info: prolog ( 1 ): 
[eclipse 2]: /users/projects/adl/centaur/centaur2.0/centaur/tables/typol/run-time/prolog/sepia/handlers.sp compiled traceable...
 
Info: prolog ( 1 ): /users/projects/adl/eclipse/lib/scattered.pl compiled optimized 5016 bytes in 0.02 seconds 
Info: prolog ( 1 ): 
ld.so.1: /users/projects/adl/eclipse/bin/sparc_sunos5/eclipse.exec: fatal: /users/projects/adl/centaur/centaur2.0/centaur/tab...

Info: prolog ( 1 ): 
general error in load('/users/projects/adl/centaur/centaur2.0/centaur/tables/typol/run-time/prolog/sepia/sun4OS4/strings.o') 
Info: prolog ( 1 ): 
ld.so.1: /users/projects/adl/eclipse/bin/sparc_sunos5/eclipse.exec: fatal: dlsym: can't find symbol: p_nodeop 
Info: prolog ( 1 ): 

          < lots of similar messages >

Info: prolog ( 1 ): 
ld.so.1: /users/projects/adl/eclipse/bin/sparc_sunos5/eclipse.exec: fatal: dlsym: can't find symbol: p_nodelang 
Info: prolog ( 1 ): yes. 
Info: prolog ( 1 ): Segmentation violation - maybe machine stack overflow 
Info: prolog ( 1 ): Aborting execution....
-------------------- end messages --------------------------

It seems the problem begins with the:

    /users/projects/adl/eclipse/bin/sparc_sunos5/eclipse.exec: fatal: /users/projects/adl/centaur/centaur2.0/centaur/tab...

line and continues to get worse with the next line which is looking for a non-existant
file:

  .../centaur2.0/centaur/tables/typol/run-time/prolog/sepia/sun4OS4/strings.o

which is suspicious because it seems to think that the previous line should have
created a file in the sun40S4 directory instead of a sun4OS5 directory.

I think I've neglected to set some pathname but I can't think of what it is, does
anyone know the full text of the line with "fatal:" on it?

Thanks,
       Brad Alexander