[Top][All Lists]

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

Re: [ft-devel] Problem in ft2-demo compilation.

From: Parth Wazurkar
Subject: Re: [ft-devel] Problem in ft2-demo compilation.
Date: Thu, 20 Sep 2018 15:17:10 +0530

> => /usr/lib/x86_64-linux-gnu/
> (0x00007f40192d7000)
> Also, `libx11-dev' is properly installed, and `' files are
> located in `/usr/lib/x86_64-linux-gnu/'.

Have a look into `graph/x11/'.  There you can see the
locations where make searches for X11 libraries and header files.
This is a very simple setup and might fail easily.  However, you can
specify X11 libraries on the command line, for instance

  make X11_PATH="/X11/libraries /X11/header/files"

If this works on your Ubuntu box please update the list of directories
in `' and provide a patch.

This `make X11_PATH="/usr/include /usr/lib/x86_64-linux-gnu/X11/rstart/commands/x11r6" '
worked for me. Thanks :-)

Here is the diff:

diff --git a/graph/x11/ b/graph/x11/
index c8a87ea..5492fc9 100644
--- a/graph/x11/
+++ b/graph/x11/
@@ -55,6 +55,7 @@ ifndef X11_PATH
     X11_XLIB := include/X11/Xlib.h
     X11_PATH := $(foreach dir,$(X11_DIRS),$(wildcard $(dir)/$(X11_XLIB)))
     X11_PATH := $(X11_PATH:%/$(X11_XLIB)=%)
+   X11_PATH := /usr/include /usr/lib/x86_64-linux-gnu/X11/rstart/commands/x11r6

Thank you


reply via email to

[Prev in Thread] Current Thread [Next in Thread]