[SLE] wikimedia: math requires ocaml. (compile problem on AMD 64)
I need math funtion for wiki, which requires to install ocaml. I could not compile ocaml on a AMD 64. I got the following errors: gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o subwindow.o subwindow.c ../../boot/ocamlrun ../../tools/ocamlmklib -o graphics open.o draw.o fill.o color.o text.o image.o make_img.o dump_img.o point_col.o sound.o events.o subwindow.o -L/usr/X11R6/lib -lX11 /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11 /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[1]: *** [libgraphics.a] Error 2 make[1]: Leaving directory `/home/test/ocaml-3.09.2/otherlibs/graph' make: *** [otherlibraries] Error 2 How can I overcome this? bye Ronald -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
CS - Ronald Wiplinger wrote:
I need math funtion for wiki, which requires to install ocaml.
I could not compile ocaml on a AMD 64. I got the following errors:
Try to use GODI for installation: http://godi.ocaml-programming.de/ If it doesn't work, there's a mailing list with folks who will surely help you. Best, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
CS - Ronald Wiplinger wrote:
I need math funtion for wiki, which requires to install ocaml.
I could not compile ocaml on a AMD 64. I got the following errors:
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o subwindow.o subwindow.c ../../boot/ocamlrun ../../tools/ocamlmklib -o graphics open.o draw.o fill.o color.o text.o image.o make_img.o dump_img.o point_col.o sound.o events.o subwindow.o -L/usr/X11R6/lib -lX11 The path is wrong for the X11 libraries. You should pass an argument something like --with-x11-libs=/usr/X11R6/lib64 to your configure script
-- Joe Morris Registered Linux user 231871 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (3)
-
CS - Ronald Wiplinger
-
Joachim Schrod
-
Joe Morris (NTM)