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

[ccp4bb]: mosflm and redhad 7.3 install



***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

Hi All,

Has anyone successfully build moslflm 6.2.2. under RH 7.3?


I'm still having problems with a new mosflm installation. I try to run the
build script and it keeps crashing while trying to build ipmosflm. This is
the error message that I get:



****************************************************************
           Making IPMOSFLM for system i386-linux
****************************************************************
cd mosflm ; make
make[1]: Entering directory `/usr/local/mosflm/mosflm622/mosflm'
f77 -c -O0 -fno-second-underscore -fno-globals -w control.f
f77 -c -O0 -fno-second-underscore -fno-globals -fno-automatic  -w
mosflm_all_ip_inc.for
f77 -c -O0 -fno-second-underscore -fno-globals -w unoptimizable.f
cc -c pck.c
cc -c chelp.c
cc -c -o open_socket.o open_socket.c
cc -c -o close_socket.o close_socket.c
cc -c -o read_socket.o read_socket.c
read_socket.c: In function `read_socket_':
read_socket.c:80: warning: passing arg 1 of `strcpy' from incompatible
pointer type
cc -c -o write_socket.o write_socket.c
cc -c -o write_stuff_to_socket.o write_stuff_to_socket.c
cc -c -o status_messages.o status_messages.c
cc -c -I../jpg mosflm_jpeg.c
cc -c -o image_toys.o image_toys.c
f77   -s -static control.o mosflm_all_ip_inc.o unoptimizable.o pck.o
chelp.o open_socket.o close_socket.o read_socket.o write_socket.o
write_stuff_to_socket.o status_messages.o mosflm_jpeg.o image_toys.o  -ldl
/usr/local/mosflm/mosflm622/lib/DPSLIB.a ../cbf/lib/libcbf.a
..../jpg/libjpeg.a  /usr/lib/libdl.a  \
                 -ldl -L/usr/local/ccp4_master/ccp4-4.2.1/lib -lccp4
-lxdl_view -lncurses -L/usr/X11R6/lib -lXt -lSM -lICE -lX11  -o
..../bin/ipmosflm
/usr/local/ccp4_master/ccp4-4.2.1/lib/libxdl_view.a(xdl_view.o): In
function `xdl_getio_events':
xdl_view.o(.text+0x216f): the `gets' function is dangerous and should not
be used.
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `try_both_dlsym':
XlcDL.o(.text+0xe2): undefined reference to `dlsym'
XlcDL.o(.text+0x107): undefined reference to `dlsym'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `open_object':
XlcDL.o(.text+0x557): undefined reference to `dlopen'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `close_object':
XlcDL.o(.text+0x5cd): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [ipmosflm] Error 1
make[1]: Leaving directory `/usr/local/mosflm/mosflm622/mosflm'
make: *** [all] Error 2

er - that doesn't seem to have worked. Consult the README file



I did a google search on this error and got this back


----------------------------------
i386-redhat-linux-gcc -o ssh ssh.o sshconnect.o sshconnect1.o
sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/
-lssh
-lopenbsd-compat -lutil -lz -lnsl /usr/lib/libcrypto.a
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x8a): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xe8): undefined reference to `dlclose'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x18c): undefined reference to `dlclose'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x239): undefined reference to `dlsym'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x309): undefined reference to `dlsym'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.46927 (%build)
----------------------------------

I do not know why configure does not add -ldl to LD_FLAGS, I _have_
installed glibc-devel, and
-----------------------
ls -l /lib/libdl* /usr/lib/libdl*
-rwxr-xr-x    1 root     root        11728 Jun 18 16:13
/lib/libdl-2.2.5.so
lrwxrwxrwx    1 root     root           14 Jun 27 13:54 /lib/libdl.so.2 ->
libdl-2.2.5.so
-rw-r--r--    1 root     root         6820 Jun 18 16:13 /usr/lib/libdl.a
lrwxrwxrwx    1 root     root           20 Jun 27 13:55 /usr/lib/libdl.so
-> ../../lib/libdl.so.2
-----------------------

Adding --with-libs=-ldl to the call of configure hotfixes the problem, but
imvvvvho ./configure is broken.
                thanks, cu andreas


I tried to add this flag back into the make file for ipmosflm here:


LOCALLIBS   = -ldl ${DPSLIB}/DPSLIB.a ../cbf/lib/libcbf.a
..../jpg/libjpeg.a  /usr/lib/libdl.a


but so far I have had no luck, I also used someone else's binary for
lpmosflm and it works fine until you try to autoindex, then it dies here:


DPS Indexing using  190 reflections with I >=  20 I/sigma(I)
Generating direct lattice vectors (This may take some time):
|-----------------|
....................
 Refining  30 direct space vectors:
|----------------------------|
................................
selected 1



any help would be appreciated

jason