Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x11 library path detection by configure fails under certain conditions #5423

Closed
vicuna opened this issue Dec 14, 2011 · 2 comments
Closed

x11 library path detection by configure fails under certain conditions #5423

vicuna opened this issue Dec 14, 2011 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Dec 14, 2011

Original bug ID: 5423
Reporter: nanotube
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2013-08-31T10:46:29Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: x64
OS: SUSE Linux
OS Version: Enterprise 9
Version: 3.12.1
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Duplicate of: #5477

Bug description

X11 library path detection fails when include is in /usr/X11R6/include and the libraries are in /usr/X11R6/lib64. This causes the make world step to fail.

When we discussed this with thelema on #ocaml channel on freenode, he determined that the issue is that $x11_try_lib_dir is based on the location of include dir, with s/include/lib/. Suggested fix is to try s/include/lib64/ first.

Steps to reproduce

Try ./configure; make world; on a 64bit system with x11 includes in /usr/X11R6/include and libraries in /usr/X11R6/lib64. make world will fail at the point when it deals with the X11 libs.

Additional information

Current workaround is to add "--x11lib /usr/X11R6/lib64" to ./configure arguments to force $x11_lib_dir to point to the right place.

@vicuna
Copy link
Author

vicuna commented Feb 3, 2012

Comment author: @damiendoligez

This looks like a duplicate of #5477, except that this one is in the "Ocamlbuild" category instead of "OCaml internal build/install".

Is this really specific to OCamlbuild, or are we talking about the main OCaml configuration script here?

@vicuna
Copy link
Author

vicuna commented Feb 12, 2012

Comment author: thelema

It is just a dupe of #5477.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants