bugGNU TeXmacs - Bugs: bug #15657, image_files.cpp includes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15657: image_files.cpp includes X11/Xlib.h but is not given the required path as an include directory

Submitted by:  Anton Molyboha <anton_molyboha>
Submitted on:  Wed 08 Feb 2006 04:02:49 AM UTC  
 
Category: CompilationPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.0.6Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Thu 22 Mar 2012 08:21:34 PM UTC, comment #1:

This must have been fixed a long time ago

Philippe Joyez <pjoyez>
Project Member
Wed 08 Feb 2006 04:02:49 AM UTC, original submission:

During compilation of texmacs, the compilation of
System/Files/image_files.cpp
in src directory of the distribution produces an error:

In file included from System/Files/image_files.cpp:20:
Plugins/Imlib2/imlib2.hpp:16:22: X11/Xlib.h: No such file or directory

The reason is that though the ./configure does find the appropriate directory with XWindows includes, the directory is not supplied to

g++ <some options> ./System/Files/image_files.cpp -o Objects/image_files.o

as an -I option. The config.log and complete output of gmake -i (gmake stays for GNU make) are attached.

As a temporary solution the following works. Before running ./config change in src/makefile.in lines 177-178 from

$(system_obj): Objects/%.o: %.cpp
$(call cxx_incl,$(system_incl) -I$(tmsrc)/include)

to

$(system_obj): Objects/%.o: %.cpp
$(call cxx_incl,$(system_incl) -I$(tmsrc)/include $(CXXXWINDOW))

However, this does not look like a very nice way.

Anton Molyboha <anton_molyboha>

 

Attached Files
file #2051:  no_xlib_bug.tgz added by anton_molyboha (11KiB - application/octet-stream - config.log and make output (as make.out) produced on my system)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pjoyez (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 22 Mar 2012 08:21:34 PM UTCpjoyezStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 08 Feb 2006 04:02:49 AM UTCanton_molybohaAttached File-=>Added no_xlib_bug.tgz, #3379

    Back to the top


    Powered by Savane 3.1-cleanup1