Gaby,

Oops, looks like there is a new problem on Solaris. After successful

  ../open-axiom/configure
  gmake
  gmake install

I get:

-bash-3.00$ open-axiom
ld.so.1: sman: fatal:
../../i386-pc-solaris2.10/lib/libopen-axiom-core.so: open failed: No
such file or directory
Killed

I can run AXIOMsys like this:

-bash-3.00$ cd 
/usr/local/lib/open-axiom/i386-pc-solaris2.10/1.2.0-2008-03-17/bin

-bash-3.00$ AXIOMsys
GCL (GNU Common Lisp)  2.6.8 CLtL1    Jul 23 2007 01:20:17
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/
             OpenAxiom: The Open Scientific Computation Platform
                     Version: OpenAxiom 1.2.0-2008-03-17
               Built on Wednesday March 19, 2008 at 02:11:07
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave OpenAxiom and return to shell.
-----------------------------------------------------------------------------

(1) ->

------------

But there is something peculiar with the 'libopen-axiom-core.so'
library for 'sman':

-bash-3.00$ ldd sman
        ../../i386-pc-solaris2.10/lib/libopen-axiom-core.so =>   (file
not found)
        libsocket.so.1 =>        /lib/libsocket.so.1
        libm.so.2 =>     /lib/libm.so.2
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd5.so.1 =>   /lib/libmd5.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1

Apparently the installed directory structure is not quiate what it is
expected to be:

-bash-3.00$ ls ../../i386-pc-solaris2.10
../../i386-pc-solaris2.10: No such file or directory

-bash-3.00$ ls ../..
1.1.0-2008-01-17  1.2.0-2008-03-17

Regards,
Bill Page.



On 18 Mar 2008 14:42:19 -0500, Gabriel Dos Reis wrote:
> "Bill Page" writes:
>
>  |
>  | Recently when building on Solaris x86 I found that I also needed the
>  | '-lm' option in the Makefile for
>  |
>  |   src/graph/viewAlone/Makefile
>  |
>  | ! AXIOM_X11_LDFLAGS =  -L/usr/openwin/lib -R/usr/openwin/lib -lm -lXpm
>  |  -lSM -lICE
>  |  -lX11
>  |
>  | and
>  |
>  |   src/graph/viewman/Makefile
>  |
>  | ! viewman_LDFLAGS = -lm $(axiom_target_libdir)/libspad.la \
>  |                 $(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT)
>  |
>  | Apparently the change to LDF is not quite sufficient in these two
>  | cases. I still think the autoconf test is the best way to go.
>
>
> Maybe we should just supply the -lm everywhere -- even if we don't use
>  math functions directly, some other libraries might drag them in.
>  I never quite understood the logical reason why modern C compilers
>  writers still separate the math functions from the rest.  That is absurd
>  and invitation for chaos.
>

Ok. Makes sense to me.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to