You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3703 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 3703
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Sakshale eQuorian
Version: 3.08.3
OS: FC3 i86_64
Submission from: c-67-174-236-164.hsd1.ca.comcast.net (67.174.236.164)
While trying to build on an x64 system, make failed on
the X11 libraries.
make world
[snip]
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/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when
searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when
searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [libgraphics.a] Error 2
There are two versions installed and it got the wrong ones.
/usr/X11R6/include/X11/X.h
/usr/X11R6/lib64/Server/include/X.h
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib64/libX11.a
So, I corrected the issue with the following commandline
./configure --x11include /usr/X11R6/lib64/Server/include
--x11lib /usr/X11R6/lib64
That got the following results.
Configuration for the "graph" library:
options for compiling .... -I/usr/X11R6/include
options for linking ...... -L/usr/X11R6/lib64 -lX11
Now the make completes without any serious errors.
I am not sure that -I/usr/X11R6/include is correct though,
given that I told it to look in /usr/X11R6/lib64/Server/include.
Sakshale
The text was updated successfully, but these errors were encountered: