Sorry for the long mail, but I have some trouble compiling the new 1.0.0
on an SGI machine (Irix 6.2). Unfortunately it wouldn't work and I am a
little lost now because I do not know what is wrong... (under Linux it
worked like a charm...)

I installed (at least I think that I did) xforms and libXpm in ~/lib
(i.e. I compiled xpm and did a make install with xforms)

> ~/lib> ls 
> total 5104
> -rw-r--r--    1  151588 Feb  3 12:04 libXpm.a
> lrwxr-xr-x    1      12 Feb  3 12:04 libXpm.so -> libXpm.so4.7*
> lrwxr-xr-x    1      55 Feb  3 12:04 libXpm.so4.7 -> 
>/u1/people/staff/bkuemmer/lib/xpm-3.4g/lib/libXpm.so4.7*
> -rw-r--r--    1 1320196 Feb  3 14:28 libforms.a
> lrwxr-xr-x    1      46 Feb  3 11:39 libforms.so -> 
>/u1/people/staff/bkuemmer/lib/libforms.so.0.88
> -rw-r--r--    1 1104260 Feb  3 14:28 libforms.so.0.88

The header files are in ~/include:

> ~/include> ls 
> total 232
> -rw-r--r--    1  100368 Feb  3 14:28 forms.h
> -rw-r--r--    1   15133 Feb  3 12:17 xpm.h


The ~/lib directory is added to LD_LIBRARY_PATH :

> ~> echo $LD_LIBRARY_PATH
> /usr/local/lib:/usr/local/openwin/lib:/u1/people/staff/bkuemmer/lib

I started configure with the necessary options. There still seem to be
some problems:

> lyx-1.0.0> ./configure --with-extra-prefix=/u1/people/staff/bkuemmer 
>--with-extra-lib=/u1/people/staff/bkuemmer/lib 
>--with-extra-inc=/u1/people/staff/bkuemmer/include
> 
> configuring LyX version 1.0.0
> checking for prefix by checking for lyx... no
> checking whether make sets ${MAKE}... yes
> checking for a BSD compatible install... /usr/local/bin/ginstall -c
> checking for a working C++ compiler... gcc
> checking whether the C++ compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether gcc accepts -g... yes
> checking how to run the C++ preprocessor... gcc -E
> checking for sin in -lm... yes
> checking for fopen in -lc... yes
> checking for AIX... no
> checking for HP-UX... no
> checking for SunOS 4.x... no
> checking for SCO 3.2v4... no
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for POSIXized ISC... no
> checking size of void *... 4
> checking size of int... 4
> checking for gcc strength-reduce bug... no
> checking whether the C++ compiler understands explicit... yes
> checking for extra library directory... /u1/people/staff/bkuemmer/lib
> checking for extra include directory... /u1/people/staff/bkuemmer/include
> checking for extra lib+include directory... /u1/people/staff/bkuemmer
> checking for main in -liberty... no
> checking for ptsname in -lpt... no
> checking for X... libraries , headers 
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for XOpenIM... yes
> checking for XpmCreateBufferFromImage in -lXpm... no
> checking for X11/xpm.h... yes
> checking xpm header version... 4.6 (aka 3.4f)

One problem: configure checks the global dir first and finds an xpm
version which I do not want to use... How can I tell configure to check
my additional directories first?

> checking for fl_initialize in -lforms... no
> checking for fl_initialize in -lxforms... no
> checking for X11/forms.h... no
> checking for forms.h... yes
> checking xforms header version... 0.88

xforms seems to be OK here... 

[snipped a lot of stuff]

> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating src/Makefile
> creating lib/Makefile
> creating intl/Makefile
> creating po/Makefile.in
> creating lib/reLyX/reLyX
> creating src/config.h
> src/config.h is unchanged
> linking ./intl/libgettext.h to src/libintl.h
> configuring in lib
> running /bin/sh ./configure  --with-extra-prefix=/u1/people/staff/bkuemmer 
>--with-extra-lib=/u1/people/staff/bkuemmer/lib 
>--with-extra-inc=/u1/people/staff/bkuemmer/include --cache-file=.././config.cache 
>--srcdir=.

[snipped LaTex stuff]

> creating textclass.lst
> creating packages.lst
> creating doc/LaTeXConfig.lyx
> creating lyxrc.defaults
> 
> Configuration:
>   Source code location:       .
>   Compiler:                   gcc
>   Compiler flags:             -g -O2
>   LyX binary dir:             /usr/local/bin
>   LyX files dir:              /usr/local/share/lyx
>   Special flags:              
> 
> **** The following problems have been detected by configure. 
> **** Please check the messages below before running 'make'.
> **** (see the section 'Problems' in the INSTALL file)
> 
> ** Can't find libXpm. Please check that the Xpm library
>    is correctly installed on your system.
> 
> ** Can't find libforms or libxforms. Please check that the xforms library
>    is correctly installed on your system.
> 
> 
> == Version 4.6 (aka 3.4f) of the Xpm library is a bit old. 
>    If you experience strange crashes with LyX, try to upgrade 
>    to at least version 4.7 (aka 3.4g).
>    If you have installed a newer version of the library, check whether you
>    have an old xpm.h header file in your include path.
> 
> deleting cache ./config.cache

configure can't find the libraries... What have I missed when installing
the libs? (in Linux, I know that ldconfig is necessary after installing
libs, is there something similar in IRIX that I forgot?)

in config.log, I get a lot of these warnings:

> configure:1040: gcc -o conftest -g -O2   conftest.C -lc  -lm  1>&5
> ld32: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
> ld32: WARNING 127: Two shared objects with the same soname, /usr/lib32/mips3/lib
> c.so and /usr/lib32/libc.so, have been been linked. This is probably due to a mi
> ssing -L specification. Ignoring the latter.

This seems to be another problem (I don't know if it really is one
though)...

Sorry for wasting bandwidth, but I would really like to get this
working, and I would appreciate any hints or pointers to the relevant
information (I am willing to learn!)

Thanks & Cheers
        Bernd

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to