Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256269 - Link from /usr/X11 to /usr may be needed for correct include paths
Summary: Link from /usr/X11 to /usr may be needed for correct include paths
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 02:04 UTC by Joe Sapp (RETIRED)
Modified: 2009-01-25 18:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Sapp (RETIRED) gentoo-dev 2009-01-25 02:04:48 UTC
Symbolic link from /usr/X11 to /usr may be needed so some programs compile correctly.  It only looks to me like dev-perl/Tk-TableMatrix needs it (see bug #147422, bug #151093, bug #206180), but I'm not sure this isn't a larger, modular X issue.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-perl/Tk-TableMatrix

Actual Results:  
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib64 to find /usr/lib64/libX11.so.6.2.0
Cannot find X include files via /include
Cannot find X include files anywhere at ./myConfig line 315.
Compilation failed in require at Makefile.PL line 19.
BEGIN failed--compilation aborted at Makefile.PL line 23.
 *
 * ERROR: dev-perl/Tk-TableMatrix-1.2.3 failed.


Expected Results:  
Compile begins.

`ln -s /usr /usr/X11` seems to fix it.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-01-25 18:16:19 UTC
Absolutely not. It took years to clean up the mess that /usr/X11R6 was. We won't be creating that nightmare again.

dev-perl/Tk-TableMatrix should look for X includes in /usr/include/X11 like everybody else or - better yet - use pkgconfig to find the correct headers and libraries.

Sorry :)